@vuer-ai/vuer-uikit 0.0.2 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (230) hide show
  1. package/README.md +80 -0
  2. package/dist/chunk-25GQKTNF.mjs +105 -0
  3. package/dist/chunk-277NQUJD.js +99 -0
  4. package/dist/chunk-3FR3WKI4.mjs +24 -0
  5. package/dist/chunk-3Q75Z2CT.mjs +76 -0
  6. package/dist/chunk-5BIQ3IN7.js +93 -0
  7. package/dist/chunk-5GPQ7U5B.mjs +50 -0
  8. package/dist/chunk-66JQXJEV.mjs +272 -0
  9. package/dist/chunk-6ILSFDR5.mjs +161 -0
  10. package/dist/chunk-6L4KPPOD.mjs +90 -0
  11. package/dist/chunk-75QDQ67T.js +56 -0
  12. package/dist/chunk-7A7VNE3J.mjs +31 -0
  13. package/dist/chunk-7SXCVFSA.mjs +200 -0
  14. package/dist/chunk-7V4ELMOH.js +52 -0
  15. package/dist/chunk-7WUQTWQX.js +303 -0
  16. package/dist/chunk-A2Z57NAA.js +202 -0
  17. package/dist/chunk-ATDHGFVI.mjs +82 -0
  18. package/dist/chunk-ATEHWT2R.mjs +78 -0
  19. package/dist/chunk-B5EMQBVL.js +93 -0
  20. package/dist/chunk-CLTLT5XW.js +27 -0
  21. package/dist/chunk-COFRS37Z.mjs +337 -0
  22. package/dist/chunk-CP7QYV4N.mjs +110 -0
  23. package/dist/chunk-CZSRIDXN.mjs +165 -0
  24. package/dist/chunk-D4C5V4EN.mjs +53 -0
  25. package/dist/chunk-DWIK2CUV.mjs +45 -0
  26. package/dist/chunk-ECWCQWV5.js +148 -0
  27. package/dist/chunk-ENZI5WM7.js +108 -0
  28. package/dist/chunk-FVT46HEE.js +21 -0
  29. package/dist/chunk-FXIL4NQZ.js +58 -0
  30. package/dist/chunk-FYS6YECN.js +33 -0
  31. package/dist/chunk-G7XNQVPB.js +187 -0
  32. package/dist/chunk-GSXXTAQ3.js +373 -0
  33. package/dist/chunk-HUQZOPYD.js +2 -0
  34. package/dist/chunk-HW6SLBO3.mjs +9 -0
  35. package/dist/chunk-IPKCIMU4.mjs +156 -0
  36. package/dist/chunk-J7PTSP4Q.mjs +19 -0
  37. package/dist/chunk-KJ42IGH6.js +2 -0
  38. package/dist/chunk-KO7BQ6RR.js +83 -0
  39. package/dist/chunk-KQHNQQUZ.js +103 -0
  40. package/dist/chunk-KVFK3YC7.js +187 -0
  41. package/dist/chunk-KYKEJFJT.js +110 -0
  42. package/dist/chunk-LD7Y34QT.js +79 -0
  43. package/dist/chunk-LVSI4HYF.mjs +409 -0
  44. package/dist/chunk-M3KBBKQR.mjs +15 -0
  45. package/dist/chunk-MASRZTZC.mjs +34 -0
  46. package/dist/chunk-NN7R5DNL.mjs +119 -0
  47. package/dist/chunk-OE56M4MX.js +93 -0
  48. package/dist/chunk-OTDY2E2A.js +163 -0
  49. package/dist/chunk-PKGNHHWG.mjs +60 -0
  50. package/dist/chunk-Q3APPCB2.mjs +91 -0
  51. package/dist/chunk-QOUX33X5.mjs +111 -0
  52. package/dist/chunk-QS7WS6DD.mjs +1 -0
  53. package/dist/chunk-QZASHJNJ.js +24 -0
  54. package/dist/chunk-R6XNT4PN.js +431 -0
  55. package/dist/chunk-RACVRWME.js +136 -0
  56. package/dist/chunk-S2F2GRDB.mjs +1 -0
  57. package/dist/chunk-SI56IQWH.js +102 -0
  58. package/dist/chunk-ST4P6AN6.js +2 -0
  59. package/dist/chunk-TOZYLDAL.mjs +72 -0
  60. package/dist/chunk-UFR656UY.mjs +87 -0
  61. package/dist/chunk-UWO6RBCE.js +11 -0
  62. package/dist/chunk-VGCVIHBR.mjs +1 -0
  63. package/dist/chunk-WOG6UIG5.mjs +71 -0
  64. package/dist/chunk-X2QENXCS.mjs +54 -0
  65. package/dist/chunk-XACRGXGF.js +75 -0
  66. package/dist/chunk-XPNUQSKQ.mjs +94 -0
  67. package/dist/chunk-YQORMF34.js +110 -0
  68. package/dist/chunk-Z37VNICQ.js +67 -0
  69. package/dist/chunk-ZJXBC33M.js +112 -0
  70. package/dist/highlight-cursor/cursor-context.d.mts +7 -0
  71. package/dist/highlight-cursor/cursor-context.d.ts +7 -0
  72. package/dist/highlight-cursor/cursor-context.js +14 -0
  73. package/dist/highlight-cursor/cursor-context.mjs +1 -0
  74. package/dist/highlight-cursor/cursor-provider.d.mts +7 -0
  75. package/dist/highlight-cursor/cursor-provider.d.ts +7 -0
  76. package/dist/highlight-cursor/cursor-provider.js +12 -0
  77. package/dist/highlight-cursor/cursor-provider.mjs +3 -0
  78. package/dist/highlight-cursor/enhanced-components.d.mts +20 -0
  79. package/dist/highlight-cursor/enhanced-components.d.ts +20 -0
  80. package/dist/highlight-cursor/enhanced-components.js +36 -0
  81. package/dist/highlight-cursor/enhanced-components.mjs +11 -0
  82. package/dist/highlight-cursor/index.d.mts +16 -0
  83. package/dist/highlight-cursor/index.d.ts +16 -0
  84. package/dist/highlight-cursor/index.js +50 -0
  85. package/dist/highlight-cursor/index.mjs +13 -0
  86. package/dist/highlight-cursor/tabs-cursor-context.d.mts +14 -0
  87. package/dist/highlight-cursor/tabs-cursor-context.d.ts +14 -0
  88. package/dist/highlight-cursor/tabs-cursor-context.js +14 -0
  89. package/dist/highlight-cursor/tabs-cursor-context.mjs +1 -0
  90. package/dist/highlight-cursor/types.d.mts +39 -0
  91. package/dist/highlight-cursor/types.d.ts +39 -0
  92. package/dist/highlight-cursor/types.js +2 -0
  93. package/dist/highlight-cursor/types.mjs +1 -0
  94. package/dist/highlight-cursor/with-cursor.d.mts +7 -0
  95. package/dist/highlight-cursor/with-cursor.d.ts +7 -0
  96. package/dist/highlight-cursor/with-cursor.js +11 -0
  97. package/dist/highlight-cursor/with-cursor.mjs +2 -0
  98. package/dist/index.css +314 -0
  99. package/dist/index.d.mts +51 -0
  100. package/dist/index.d.ts +51 -0
  101. package/dist/index.js +425 -6744
  102. package/dist/index.mjs +34 -0
  103. package/dist/styles/theme.css +191 -0
  104. package/dist/styles/theme.d.mts +2 -0
  105. package/dist/styles/theme.d.ts +2 -0
  106. package/dist/styles/toast.css +58 -0
  107. package/dist/styles/toast.d.mts +2 -0
  108. package/dist/styles/toast.d.ts +2 -0
  109. package/dist/styles/variables.css +188 -0
  110. package/dist/styles/variables.d.mts +2 -0
  111. package/dist/styles/variables.d.ts +2 -0
  112. package/dist/ui/avatar.d.mts +16 -0
  113. package/dist/ui/avatar.d.ts +16 -0
  114. package/dist/ui/avatar.js +23 -0
  115. package/dist/ui/avatar.mjs +2 -0
  116. package/dist/ui/badge.d.mts +14 -0
  117. package/dist/ui/badge.d.ts +14 -0
  118. package/dist/ui/badge.js +16 -0
  119. package/dist/ui/badge.mjs +3 -0
  120. package/dist/ui/button.d.mts +16 -0
  121. package/dist/ui/button.d.ts +16 -0
  122. package/dist/ui/button.js +12 -0
  123. package/dist/ui/button.mjs +3 -0
  124. package/dist/ui/card.d.mts +12 -0
  125. package/dist/ui/card.d.ts +12 -0
  126. package/dist/ui/card.js +36 -0
  127. package/dist/ui/card.mjs +3 -0
  128. package/dist/ui/checkbox.d.mts +11 -0
  129. package/dist/ui/checkbox.d.ts +11 -0
  130. package/dist/ui/checkbox.js +12 -0
  131. package/dist/ui/checkbox.mjs +3 -0
  132. package/dist/ui/collapsible.d.mts +9 -0
  133. package/dist/ui/collapsible.d.ts +9 -0
  134. package/dist/ui/collapsible.js +20 -0
  135. package/dist/ui/collapsible.mjs +3 -0
  136. package/dist/ui/dropdown.d.mts +28 -0
  137. package/dist/ui/dropdown.d.ts +28 -0
  138. package/dist/ui/dropdown.js +68 -0
  139. package/dist/ui/dropdown.mjs +3 -0
  140. package/dist/ui/index.d.mts +44 -0
  141. package/dist/ui/index.d.ts +44 -0
  142. package/dist/ui/index.js +398 -0
  143. package/dist/ui/index.mjs +29 -0
  144. package/dist/ui/input-numbers.d.mts +15 -0
  145. package/dist/ui/input-numbers.d.ts +15 -0
  146. package/dist/ui/input-numbers.js +13 -0
  147. package/dist/ui/input-numbers.mjs +4 -0
  148. package/dist/ui/input.d.mts +22 -0
  149. package/dist/ui/input.d.ts +22 -0
  150. package/dist/ui/input.js +16 -0
  151. package/dist/ui/input.mjs +3 -0
  152. package/dist/ui/layout.d.mts +12 -0
  153. package/dist/ui/layout.d.ts +12 -0
  154. package/dist/ui/layout.js +12 -0
  155. package/dist/ui/layout.mjs +3 -0
  156. package/dist/ui/modal.d.mts +28 -0
  157. package/dist/ui/modal.d.ts +28 -0
  158. package/dist/ui/modal.js +48 -0
  159. package/dist/ui/modal.mjs +3 -0
  160. package/dist/ui/popover.d.mts +10 -0
  161. package/dist/ui/popover.d.ts +10 -0
  162. package/dist/ui/popover.js +23 -0
  163. package/dist/ui/popover.mjs +2 -0
  164. package/dist/ui/radio-group.d.mts +8 -0
  165. package/dist/ui/radio-group.d.ts +8 -0
  166. package/dist/ui/radio-group.js +16 -0
  167. package/dist/ui/radio-group.mjs +3 -0
  168. package/dist/ui/select.d.mts +28 -0
  169. package/dist/{types/ui → ui}/select.d.ts +18 -14
  170. package/dist/ui/select.js +48 -0
  171. package/dist/ui/select.mjs +3 -0
  172. package/dist/ui/sheet.d.mts +16 -0
  173. package/dist/ui/sheet.d.ts +16 -0
  174. package/dist/ui/sheet.js +39 -0
  175. package/dist/ui/sheet.mjs +2 -0
  176. package/dist/ui/slider.d.mts +10 -0
  177. package/dist/ui/slider.d.ts +10 -0
  178. package/dist/ui/slider.js +12 -0
  179. package/dist/ui/slider.mjs +3 -0
  180. package/dist/ui/switch.d.mts +7 -0
  181. package/dist/ui/switch.d.ts +7 -0
  182. package/dist/ui/switch.js +12 -0
  183. package/dist/ui/switch.mjs +3 -0
  184. package/dist/ui/tabs.d.mts +16 -0
  185. package/dist/ui/tabs.d.ts +16 -0
  186. package/dist/ui/tabs.js +25 -0
  187. package/dist/ui/tabs.mjs +4 -0
  188. package/dist/ui/textarea.d.mts +16 -0
  189. package/dist/ui/textarea.d.ts +16 -0
  190. package/dist/ui/textarea.js +12 -0
  191. package/dist/ui/textarea.mjs +3 -0
  192. package/dist/ui/theme-context.d.mts +17 -0
  193. package/dist/{types/ui → ui}/theme-context.d.ts +5 -3
  194. package/dist/ui/theme-context.js +14 -0
  195. package/dist/ui/theme-context.mjs +1 -0
  196. package/dist/ui/toast.d.mts +7 -0
  197. package/dist/ui/toast.d.ts +7 -0
  198. package/dist/ui/toast.js +14 -0
  199. package/dist/ui/toast.mjs +1 -0
  200. package/dist/ui/toggle-group.d.mts +12 -0
  201. package/dist/ui/toggle-group.d.ts +12 -0
  202. package/dist/ui/toggle-group.js +17 -0
  203. package/dist/ui/toggle-group.mjs +4 -0
  204. package/dist/ui/toggle.d.mts +13 -0
  205. package/dist/ui/toggle.d.ts +13 -0
  206. package/dist/ui/toggle.js +16 -0
  207. package/dist/ui/toggle.mjs +3 -0
  208. package/dist/ui/tooltip.d.mts +10 -0
  209. package/dist/ui/tooltip.d.ts +10 -0
  210. package/dist/ui/tooltip.js +23 -0
  211. package/dist/ui/tooltip.mjs +2 -0
  212. package/dist/ui/tree-view.d.mts +27 -0
  213. package/dist/ui/tree-view.d.ts +27 -0
  214. package/dist/ui/tree-view.js +11 -0
  215. package/dist/ui/tree-view.mjs +2 -0
  216. package/dist/utils/cn.d.mts +5 -0
  217. package/dist/utils/cn.d.ts +5 -0
  218. package/dist/utils/cn.js +10 -0
  219. package/dist/utils/cn.mjs +1 -0
  220. package/dist/utils/index.d.mts +2 -0
  221. package/dist/utils/index.d.ts +2 -0
  222. package/dist/utils/index.js +11 -0
  223. package/dist/utils/index.mjs +2 -0
  224. package/package.json +49 -27
  225. package/dist/index.umd.js +0 -74
  226. package/dist/types/index.d.ts +0 -4
  227. package/dist/types/lib/utils.d.ts +0 -2
  228. package/dist/types/ui/button.d.ts +0 -13
  229. package/dist/types/ui/input.d.ts +0 -19
  230. package/dist/vuer-uikit.css +0 -1
package/dist/index.umd.js DELETED
@@ -1,74 +0,0 @@
1
- (function(K,x){typeof exports=="object"&&typeof module<"u"?x(exports,require("react/jsx-runtime"),require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","react-dom"],x):(K=typeof globalThis<"u"?globalThis:K||self,x(K.VuerUikit={},K.jsxRuntime,K.React,K.ReactDOM))})(this,function(K,x,G,dn){"use strict";function un(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const d=un(G),Qe=un(dn);function fn(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function xt(...e){return t=>{let n=!1;const o=e.map(r=>{const s=fn(r,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let r=0;r<o.length;r++){const s=o[r];typeof s=="function"?s():fn(e[r],null)}}}}function ee(...e){return d.useCallback(xt(...e),e)}function Ge(e){const t=Sr(e),n=d.forwardRef((o,r)=>{const{children:s,...i}=o,a=d.Children.toArray(s),c=a.find(Er);if(c){const l=c.props.children,f=a.map(p=>p===c?d.Children.count(l)>1?d.Children.only(null):d.isValidElement(l)?l.props.children:null:p);return x.jsx(t,{...i,ref:r,children:d.isValidElement(l)?d.cloneElement(l,void 0,f):null})}return x.jsx(t,{...i,ref:r,children:s})});return n.displayName=`${e}.Slot`,n}var xr=Ge("Slot");function Sr(e){const t=d.forwardRef((n,o)=>{const{children:r,...s}=n;if(d.isValidElement(r)){const i=Pr(r),a=kr(s,r.props);return r.type!==d.Fragment&&(a.ref=o?xt(o,i):i),d.cloneElement(r,a)}return d.Children.count(r)>1?d.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Cr=Symbol("radix.slottable");function Er(e){return d.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Cr}function kr(e,t){const n={...t};for(const o in t){const r=e[o],s=t[o];/^on[A-Z]/.test(o)?r&&s?n[o]=(...a)=>{const c=s(...a);return r(...a),c}:r&&(n[o]=r):o==="style"?n[o]={...r,...s}:o==="className"&&(n[o]=[r,s].filter(Boolean).join(" "))}return{...e,...n}}function Pr(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function pn(e){var t,n,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=pn(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function mn(){for(var e,t,n=0,o="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=pn(e))&&(o&&(o+=" "),o+=t);return o}const hn=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,gn=mn,St=(e,t)=>n=>{var o;if(t?.variants==null)return gn(e,n?.class,n?.className);const{variants:r,defaultVariants:s}=t,i=Object.keys(r).map(l=>{const f=n?.[l],p=s?.[l];if(f===null)return null;const g=hn(f)||hn(p);return r[l][g]}),a=n&&Object.entries(n).reduce((l,f)=>{let[p,g]=f;return g===void 0||(l[p]=g),l},{}),c=t==null||(o=t.compoundVariants)===null||o===void 0?void 0:o.reduce((l,f)=>{let{class:p,className:g,...h}=f;return Object.entries(h).every(v=>{let[u,m]=v;return Array.isArray(m)?m.includes({...s,...a}[u]):{...s,...a}[u]===m})?[...l,p,g]:l},[]);return gn(e,i,c,n?.class,n?.className)},Ct="-",Ar=e=>{const t=Or(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{const a=i.split(Ct);return a[0]===""&&a.length!==1&&a.shift(),vn(a,t)||Tr(i)},getConflictingClassGroupIds:(i,a)=>{const c=n[i]||[];return a&&o[i]?[...c,...o[i]]:c}}},vn=(e,t)=>{if(e.length===0)return t.classGroupId;const n=e[0],o=t.nextPart.get(n),r=o?vn(e.slice(1),o):void 0;if(r)return r;if(t.validators.length===0)return;const s=e.join(Ct);return t.validators.find(({validator:i})=>i(s))?.classGroupId},bn=/^\[(.+)\]$/,Tr=e=>{if(bn.test(e)){const t=bn.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},Or=e=>{const{theme:t,classGroups:n}=e,o={nextPart:new Map,validators:[]};for(const r in n)Et(n[r],o,r,t);return o},Et=(e,t,n,o)=>{e.forEach(r=>{if(typeof r=="string"){const s=r===""?t:yn(t,r);s.classGroupId=n;return}if(typeof r=="function"){if(Ir(r)){Et(r(o),t,n,o);return}t.validators.push({validator:r,classGroupId:n});return}Object.entries(r).forEach(([s,i])=>{Et(i,yn(t,s),n,o)})})},yn=(e,t)=>{let n=e;return t.split(Ct).forEach(o=>{n.nextPart.has(o)||n.nextPart.set(o,{nextPart:new Map,validators:[]}),n=n.nextPart.get(o)}),n},Ir=e=>e.isThemeGetter,Nr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,o=new Map;const r=(s,i)=>{n.set(s,i),t++,t>e&&(t=0,o=n,n=new Map)};return{get(s){let i=n.get(s);if(i!==void 0)return i;if((i=o.get(s))!==void 0)return r(s,i),i},set(s,i){n.has(s)?n.set(s,i):r(s,i)}}},kt="!",Pt=":",Mr=Pt.length,Rr=e=>{const{prefix:t,experimentalParseClassName:n}=e;let o=r=>{const s=[];let i=0,a=0,c=0,l;for(let v=0;v<r.length;v++){let u=r[v];if(i===0&&a===0){if(u===Pt){s.push(r.slice(c,v)),c=v+Mr;continue}if(u==="/"){l=v;continue}}u==="["?i++:u==="]"?i--:u==="("?a++:u===")"&&a--}const f=s.length===0?r:r.substring(c),p=_r(f),g=p!==f,h=l&&l>c?l-c:void 0;return{modifiers:s,hasImportantModifier:g,baseClassName:p,maybePostfixModifierPosition:h}};if(t){const r=t+Pt,s=o;o=i=>i.startsWith(r)?s(i.substring(r.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:i,maybePostfixModifierPosition:void 0}}if(n){const r=o;o=s=>n({className:s,parseClassName:r})}return o},_r=e=>e.endsWith(kt)?e.substring(0,e.length-1):e.startsWith(kt)?e.substring(1):e,Lr=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(o=>[o,!0]));return o=>{if(o.length<=1)return o;const r=[];let s=[];return o.forEach(i=>{i[0]==="["||t[i]?(r.push(...s.sort(),i),s=[]):s.push(i)}),r.push(...s.sort()),r}},Dr=e=>({cache:Nr(e.cacheSize),parseClassName:Rr(e),sortModifiers:Lr(e),...Ar(e)}),zr=/\s+/,Fr=(e,t)=>{const{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:r,sortModifiers:s}=t,i=[],a=e.trim().split(zr);let c="";for(let l=a.length-1;l>=0;l-=1){const f=a[l],{isExternal:p,modifiers:g,hasImportantModifier:h,baseClassName:v,maybePostfixModifierPosition:u}=n(f);if(p){c=f+(c.length>0?" "+c:c);continue}let m=!!u,y=o(m?v.substring(0,u):v);if(!y){if(!m){c=f+(c.length>0?" "+c:c);continue}if(y=o(v),!y){c=f+(c.length>0?" "+c:c);continue}m=!1}const b=s(g).join(":"),w=h?b+kt:b,C=w+y;if(i.includes(C))continue;i.push(C);const k=r(y,m);for(let I=0;I<k.length;++I){const P=k[I];i.push(w+P)}c=f+(c.length>0?" "+c:c)}return c};function Br(){let e=0,t,n,o="";for(;e<arguments.length;)(t=arguments[e++])&&(n=wn(t))&&(o&&(o+=" "),o+=n);return o}const wn=e=>{if(typeof e=="string")return e;let t,n="";for(let o=0;o<e.length;o++)e[o]&&(t=wn(e[o]))&&(n&&(n+=" "),n+=t);return n};function Vr(e,...t){let n,o,r,s=i;function i(c){const l=t.reduce((f,p)=>p(f),e());return n=Dr(l),o=n.cache.get,r=n.cache.set,s=a,a(c)}function a(c){const l=o(c);if(l)return l;const f=Fr(c,n);return r(c,f),f}return function(){return s(Br.apply(null,arguments))}}const J=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},xn=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Sn=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Wr=/^\d+\/\d+$/,$r=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Hr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ur=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,jr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Gr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,_e=e=>Wr.test(e),M=e=>!!e&&!Number.isNaN(Number(e)),Se=e=>!!e&&Number.isInteger(Number(e)),At=e=>e.endsWith("%")&&M(e.slice(0,-1)),be=e=>$r.test(e),Kr=()=>!0,Yr=e=>Hr.test(e)&&!Ur.test(e),Cn=()=>!1,Xr=e=>jr.test(e),qr=e=>Gr.test(e),Zr=e=>!T(e)&&!O(e),Qr=e=>Le(e,Tn,Cn),T=e=>xn.test(e),Te=e=>Le(e,On,Yr),Tt=e=>Le(e,os,M),En=e=>Le(e,Pn,Cn),Jr=e=>Le(e,An,qr),Je=e=>Le(e,In,Xr),O=e=>Sn.test(e),Ke=e=>De(e,On),es=e=>De(e,rs),kn=e=>De(e,Pn),ts=e=>De(e,Tn),ns=e=>De(e,An),et=e=>De(e,In,!0),Le=(e,t,n)=>{const o=xn.exec(e);return o?o[1]?t(o[1]):n(o[2]):!1},De=(e,t,n=!1)=>{const o=Sn.exec(e);return o?o[1]?t(o[1]):n:!1},Pn=e=>e==="position"||e==="percentage",An=e=>e==="image"||e==="url",Tn=e=>e==="length"||e==="size"||e==="bg-size",On=e=>e==="length",os=e=>e==="number",rs=e=>e==="family-name",In=e=>e==="shadow",ss=Vr(()=>{const e=J("color"),t=J("font"),n=J("text"),o=J("font-weight"),r=J("tracking"),s=J("leading"),i=J("breakpoint"),a=J("container"),c=J("spacing"),l=J("radius"),f=J("shadow"),p=J("inset-shadow"),g=J("text-shadow"),h=J("drop-shadow"),v=J("blur"),u=J("perspective"),m=J("aspect"),y=J("ease"),b=J("animate"),w=()=>["auto","avoid","all","avoid-page","page","left","right","column"],C=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],k=()=>[...C(),O,T],I=()=>["auto","hidden","clip","visible","scroll"],P=()=>["auto","contain","none"],E=()=>[O,T,c],R=()=>[_e,"full","auto",...E()],D=()=>[Se,"none","subgrid",O,T],W=()=>["auto",{span:["full",Se,O,T]},Se,O,T],F=()=>[Se,"auto",O,T],z=()=>["auto","min","max","fr",O,T],L=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],B=()=>["start","end","center","stretch","center-safe","end-safe"],N=()=>["auto",...E()],_=()=>[_e,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...E()],S=()=>[e,O,T],$=()=>[...C(),kn,En,{position:[O,T]}],te=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ge=()=>["auto","cover","contain",ts,Qr,{size:[O,T]}],xe=()=>[At,Ke,Te],q=()=>["","none","full",l,O,T],Y=()=>["",M,Ke,Te],de=()=>["solid","dashed","dotted","double"],ve=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],A=()=>[M,At,kn,En],U=()=>["","none",v,O,T],Q=()=>["none",M,O,T],V=()=>["none",M,O,T],H=()=>[M,O,T],j=()=>[_e,"full",...E()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[be],breakpoint:[be],color:[Kr],container:[be],"drop-shadow":[be],ease:["in","out","in-out"],font:[Zr],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[be],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[be],shadow:[be],spacing:["px",M],text:[be],"text-shadow":[be],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",_e,T,O,m]}],container:["container"],columns:[{columns:[M,T,O,a]}],"break-after":[{"break-after":w()}],"break-before":[{"break-before":w()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:k()}],overflow:[{overflow:I()}],"overflow-x":[{"overflow-x":I()}],"overflow-y":[{"overflow-y":I()}],overscroll:[{overscroll:P()}],"overscroll-x":[{"overscroll-x":P()}],"overscroll-y":[{"overscroll-y":P()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:R()}],"inset-x":[{"inset-x":R()}],"inset-y":[{"inset-y":R()}],start:[{start:R()}],end:[{end:R()}],top:[{top:R()}],right:[{right:R()}],bottom:[{bottom:R()}],left:[{left:R()}],visibility:["visible","invisible","collapse"],z:[{z:[Se,"auto",O,T]}],basis:[{basis:[_e,"full","auto",a,...E()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[M,_e,"auto","initial","none",T]}],grow:[{grow:["",M,O,T]}],shrink:[{shrink:["",M,O,T]}],order:[{order:[Se,"first","last","none",O,T]}],"grid-cols":[{"grid-cols":D()}],"col-start-end":[{col:W()}],"col-start":[{"col-start":F()}],"col-end":[{"col-end":F()}],"grid-rows":[{"grid-rows":D()}],"row-start-end":[{row:W()}],"row-start":[{"row-start":F()}],"row-end":[{"row-end":F()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":z()}],"auto-rows":[{"auto-rows":z()}],gap:[{gap:E()}],"gap-x":[{"gap-x":E()}],"gap-y":[{"gap-y":E()}],"justify-content":[{justify:[...L(),"normal"]}],"justify-items":[{"justify-items":[...B(),"normal"]}],"justify-self":[{"justify-self":["auto",...B()]}],"align-content":[{content:["normal",...L()]}],"align-items":[{items:[...B(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...B(),{baseline:["","last"]}]}],"place-content":[{"place-content":L()}],"place-items":[{"place-items":[...B(),"baseline"]}],"place-self":[{"place-self":["auto",...B()]}],p:[{p:E()}],px:[{px:E()}],py:[{py:E()}],ps:[{ps:E()}],pe:[{pe:E()}],pt:[{pt:E()}],pr:[{pr:E()}],pb:[{pb:E()}],pl:[{pl:E()}],m:[{m:N()}],mx:[{mx:N()}],my:[{my:N()}],ms:[{ms:N()}],me:[{me:N()}],mt:[{mt:N()}],mr:[{mr:N()}],mb:[{mb:N()}],ml:[{ml:N()}],"space-x":[{"space-x":E()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":E()}],"space-y-reverse":["space-y-reverse"],size:[{size:_()}],w:[{w:[a,"screen",..._()]}],"min-w":[{"min-w":[a,"screen","none",..._()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[i]},..._()]}],h:[{h:["screen","lh",..._()]}],"min-h":[{"min-h":["screen","lh","none",..._()]}],"max-h":[{"max-h":["screen","lh",..._()]}],"font-size":[{text:["base",n,Ke,Te]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,O,Tt]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",At,T]}],"font-family":[{font:[es,T,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[r,O,T]}],"line-clamp":[{"line-clamp":[M,"none",O,Tt]}],leading:[{leading:[s,...E()]}],"list-image":[{"list-image":["none",O,T]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",O,T]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:S()}],"text-color":[{text:S()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...de(),"wavy"]}],"text-decoration-thickness":[{decoration:[M,"from-font","auto",O,Te]}],"text-decoration-color":[{decoration:S()}],"underline-offset":[{"underline-offset":[M,"auto",O,T]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:E()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",O,T]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",O,T]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:$()}],"bg-repeat":[{bg:te()}],"bg-size":[{bg:ge()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Se,O,T],radial:["",O,T],conic:[Se,O,T]},ns,Jr]}],"bg-color":[{bg:S()}],"gradient-from-pos":[{from:xe()}],"gradient-via-pos":[{via:xe()}],"gradient-to-pos":[{to:xe()}],"gradient-from":[{from:S()}],"gradient-via":[{via:S()}],"gradient-to":[{to:S()}],rounded:[{rounded:q()}],"rounded-s":[{"rounded-s":q()}],"rounded-e":[{"rounded-e":q()}],"rounded-t":[{"rounded-t":q()}],"rounded-r":[{"rounded-r":q()}],"rounded-b":[{"rounded-b":q()}],"rounded-l":[{"rounded-l":q()}],"rounded-ss":[{"rounded-ss":q()}],"rounded-se":[{"rounded-se":q()}],"rounded-ee":[{"rounded-ee":q()}],"rounded-es":[{"rounded-es":q()}],"rounded-tl":[{"rounded-tl":q()}],"rounded-tr":[{"rounded-tr":q()}],"rounded-br":[{"rounded-br":q()}],"rounded-bl":[{"rounded-bl":q()}],"border-w":[{border:Y()}],"border-w-x":[{"border-x":Y()}],"border-w-y":[{"border-y":Y()}],"border-w-s":[{"border-s":Y()}],"border-w-e":[{"border-e":Y()}],"border-w-t":[{"border-t":Y()}],"border-w-r":[{"border-r":Y()}],"border-w-b":[{"border-b":Y()}],"border-w-l":[{"border-l":Y()}],"divide-x":[{"divide-x":Y()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Y()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...de(),"hidden","none"]}],"divide-style":[{divide:[...de(),"hidden","none"]}],"border-color":[{border:S()}],"border-color-x":[{"border-x":S()}],"border-color-y":[{"border-y":S()}],"border-color-s":[{"border-s":S()}],"border-color-e":[{"border-e":S()}],"border-color-t":[{"border-t":S()}],"border-color-r":[{"border-r":S()}],"border-color-b":[{"border-b":S()}],"border-color-l":[{"border-l":S()}],"divide-color":[{divide:S()}],"outline-style":[{outline:[...de(),"none","hidden"]}],"outline-offset":[{"outline-offset":[M,O,T]}],"outline-w":[{outline:["",M,Ke,Te]}],"outline-color":[{outline:S()}],shadow:[{shadow:["","none",f,et,Je]}],"shadow-color":[{shadow:S()}],"inset-shadow":[{"inset-shadow":["none",p,et,Je]}],"inset-shadow-color":[{"inset-shadow":S()}],"ring-w":[{ring:Y()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:S()}],"ring-offset-w":[{"ring-offset":[M,Te]}],"ring-offset-color":[{"ring-offset":S()}],"inset-ring-w":[{"inset-ring":Y()}],"inset-ring-color":[{"inset-ring":S()}],"text-shadow":[{"text-shadow":["none",g,et,Je]}],"text-shadow-color":[{"text-shadow":S()}],opacity:[{opacity:[M,O,T]}],"mix-blend":[{"mix-blend":[...ve(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ve()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[M]}],"mask-image-linear-from-pos":[{"mask-linear-from":A()}],"mask-image-linear-to-pos":[{"mask-linear-to":A()}],"mask-image-linear-from-color":[{"mask-linear-from":S()}],"mask-image-linear-to-color":[{"mask-linear-to":S()}],"mask-image-t-from-pos":[{"mask-t-from":A()}],"mask-image-t-to-pos":[{"mask-t-to":A()}],"mask-image-t-from-color":[{"mask-t-from":S()}],"mask-image-t-to-color":[{"mask-t-to":S()}],"mask-image-r-from-pos":[{"mask-r-from":A()}],"mask-image-r-to-pos":[{"mask-r-to":A()}],"mask-image-r-from-color":[{"mask-r-from":S()}],"mask-image-r-to-color":[{"mask-r-to":S()}],"mask-image-b-from-pos":[{"mask-b-from":A()}],"mask-image-b-to-pos":[{"mask-b-to":A()}],"mask-image-b-from-color":[{"mask-b-from":S()}],"mask-image-b-to-color":[{"mask-b-to":S()}],"mask-image-l-from-pos":[{"mask-l-from":A()}],"mask-image-l-to-pos":[{"mask-l-to":A()}],"mask-image-l-from-color":[{"mask-l-from":S()}],"mask-image-l-to-color":[{"mask-l-to":S()}],"mask-image-x-from-pos":[{"mask-x-from":A()}],"mask-image-x-to-pos":[{"mask-x-to":A()}],"mask-image-x-from-color":[{"mask-x-from":S()}],"mask-image-x-to-color":[{"mask-x-to":S()}],"mask-image-y-from-pos":[{"mask-y-from":A()}],"mask-image-y-to-pos":[{"mask-y-to":A()}],"mask-image-y-from-color":[{"mask-y-from":S()}],"mask-image-y-to-color":[{"mask-y-to":S()}],"mask-image-radial":[{"mask-radial":[O,T]}],"mask-image-radial-from-pos":[{"mask-radial-from":A()}],"mask-image-radial-to-pos":[{"mask-radial-to":A()}],"mask-image-radial-from-color":[{"mask-radial-from":S()}],"mask-image-radial-to-color":[{"mask-radial-to":S()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":C()}],"mask-image-conic-pos":[{"mask-conic":[M]}],"mask-image-conic-from-pos":[{"mask-conic-from":A()}],"mask-image-conic-to-pos":[{"mask-conic-to":A()}],"mask-image-conic-from-color":[{"mask-conic-from":S()}],"mask-image-conic-to-color":[{"mask-conic-to":S()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:$()}],"mask-repeat":[{mask:te()}],"mask-size":[{mask:ge()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",O,T]}],filter:[{filter:["","none",O,T]}],blur:[{blur:U()}],brightness:[{brightness:[M,O,T]}],contrast:[{contrast:[M,O,T]}],"drop-shadow":[{"drop-shadow":["","none",h,et,Je]}],"drop-shadow-color":[{"drop-shadow":S()}],grayscale:[{grayscale:["",M,O,T]}],"hue-rotate":[{"hue-rotate":[M,O,T]}],invert:[{invert:["",M,O,T]}],saturate:[{saturate:[M,O,T]}],sepia:[{sepia:["",M,O,T]}],"backdrop-filter":[{"backdrop-filter":["","none",O,T]}],"backdrop-blur":[{"backdrop-blur":U()}],"backdrop-brightness":[{"backdrop-brightness":[M,O,T]}],"backdrop-contrast":[{"backdrop-contrast":[M,O,T]}],"backdrop-grayscale":[{"backdrop-grayscale":["",M,O,T]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[M,O,T]}],"backdrop-invert":[{"backdrop-invert":["",M,O,T]}],"backdrop-opacity":[{"backdrop-opacity":[M,O,T]}],"backdrop-saturate":[{"backdrop-saturate":[M,O,T]}],"backdrop-sepia":[{"backdrop-sepia":["",M,O,T]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":E()}],"border-spacing-x":[{"border-spacing-x":E()}],"border-spacing-y":[{"border-spacing-y":E()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",O,T]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[M,"initial",O,T]}],ease:[{ease:["linear","initial",y,O,T]}],delay:[{delay:[M,O,T]}],animate:[{animate:["none",b,O,T]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[u,O,T]}],"perspective-origin":[{"perspective-origin":k()}],rotate:[{rotate:Q()}],"rotate-x":[{"rotate-x":Q()}],"rotate-y":[{"rotate-y":Q()}],"rotate-z":[{"rotate-z":Q()}],scale:[{scale:V()}],"scale-x":[{"scale-x":V()}],"scale-y":[{"scale-y":V()}],"scale-z":[{"scale-z":V()}],"scale-3d":["scale-3d"],skew:[{skew:H()}],"skew-x":[{"skew-x":H()}],"skew-y":[{"skew-y":H()}],transform:[{transform:[O,T,"","none","gpu","cpu"]}],"transform-origin":[{origin:k()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:j()}],"translate-x":[{"translate-x":j()}],"translate-y":[{"translate-y":j()}],"translate-z":[{"translate-z":j()}],"translate-none":["translate-none"],accent:[{accent:S()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:S()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",O,T]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":E()}],"scroll-mx":[{"scroll-mx":E()}],"scroll-my":[{"scroll-my":E()}],"scroll-ms":[{"scroll-ms":E()}],"scroll-me":[{"scroll-me":E()}],"scroll-mt":[{"scroll-mt":E()}],"scroll-mr":[{"scroll-mr":E()}],"scroll-mb":[{"scroll-mb":E()}],"scroll-ml":[{"scroll-ml":E()}],"scroll-p":[{"scroll-p":E()}],"scroll-px":[{"scroll-px":E()}],"scroll-py":[{"scroll-py":E()}],"scroll-ps":[{"scroll-ps":E()}],"scroll-pe":[{"scroll-pe":E()}],"scroll-pt":[{"scroll-pt":E()}],"scroll-pr":[{"scroll-pr":E()}],"scroll-pb":[{"scroll-pb":E()}],"scroll-pl":[{"scroll-pl":E()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",O,T]}],fill:[{fill:["none",...S()]}],"stroke-w":[{stroke:[M,Ke,Te,Tt]}],stroke:[{stroke:["none",...S()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function oe(...e){return ss(mn(e))}const is=St(["inline-flex","items-center","justify-center","shrink-0","whitespace-nowrap","rounded-uk-sm","font-medium","transition-all","[&_svg]:shrink-0 ","[&_svg]:pointer-events-none","outline-none","disabled:pointer-events-none","disabled:bg-bg-tertiary","disabled:text-text-tertiary","focus-visible:border-ring","focus-visible:ring-ring/50","focus-visible:ring-[3px]","focus-visible:bg-brand-tertiary","aria-invalid:ring-destructive/20","aria-invalid:border-destructive"],{variants:{variant:{primary:["bg-brand-primary","text-text-withbg","hover:bg-brand-secondary","active:bg-brand-tertiary"],secondary:["bg-bg-secondary","text-text-highlight","hover:bg-bg-tertiary ","active:bg-bg-mask"],destructive:["bg-danger-primary","text-text-withbg","hover:bg-danger-secondary","active:bg-danger-tertiary"],ghost:["text-text-primary","hover:bg-bg-tertiary","hover:text-text-secondary","active:bg-bg-secondary"],link:["text-text-primary","underline-offset-4","hover:underline"]},size:{sm:["text-xs","h-5.5","gap-xxs","px-md","[&_svg:not([class*='size-'])]:size-3"],base:["text-xs","h-7 ","gap-xs"," px-lg","[&_svg:not([class*='size-'])]:size-3.5"],lg:["text-sm","h-8"," gap-xs","px-xl","[&_svg:not([class*='size-'])]:size-4"]},icon:{false:null,true:null}},compoundVariants:[{size:"sm",icon:!0,class:["px-xs","py-xs"," size-5.5"]},{size:"base",icon:!0,class:["px-sm","py-sm","size-7"]},{size:"lg",icon:!0,class:["px-md","py-md"," size-8"]}],defaultVariants:{variant:"primary",size:"base",icon:!1}}),as=G.forwardRef(function({className:t,variant:n,size:o,icon:r,asChild:s=!1,...i},a){const c=s?xr:"button";return x.jsx(c,{ref:a,"data-slot":"button",className:oe(is({variant:n,size:o,icon:r,className:t})),...i})}),cs=St(["px-1.5","flex","gap-md","items-center","rounded-uk-sm","overflow-hidden","bg-bg-secondary","outline","outline-transparent","-outline-offset-1"],{variants:{state:{default:["hover:outline-text-tertiary ","has-[input:focus]:outline-brand-primary"],disabled:["bg-bg-tertiary"],error:["outline-danger-primary"]},size:{default:["h-9 ","text-xs"],sm:["h-6 ","text-sm ","[&_.input-slot>svg:not([class*='size-'])]:size-xl"]}},defaultVariants:{state:"default",size:"default"}}),ls=G.forwardRef(function({style:t,className:n,side:o,children:r,disabled:s,state:i,size:a,name:c,...l},f){const p=G.useRef(null);return x.jsxs("div",{style:t,className:oe(cs({size:a,className:n,state:s?"disabled":i})),onPointerDown:g=>{const h=g.target;if(h.closest("input, button, a"))return;const v=p.current;if(!v)return;const m=h.closest(`
2
- .input-slot[data-side='right'],
3
- .input-slot:not([data-side='right']) ~ .input-slot:not([data-side='left'])
4
- `)?v.value.length:0;requestAnimationFrame(()=>{try{v.setSelectionRange(m,m)}catch{}v.focus()})},children:[x.jsx("input",{spellCheck:"false",...l,"data-side":o,disabled:s,name:c??"text",ref:xt(p,f),className:oe(["data-[side=right]:text-right","outline-none","w-full","h-full"])}),r]})}),ds=G.forwardRef(function({className:e,children:t,side:n="left",...o},r){return x.jsx("div",{"data-side":n,...o,ref:r,className:oe(["input-slot","cursor-text","shrink-0","order-[0]","data-[side=left]:-order-1","text-text-tertiary"],e),children:t})});function Nn(e,[t,n]){return Math.min(n,Math.max(t,e))}function Z(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),n===!1||!r.defaultPrevented)return t?.(r)}}function Ot(e,t=[]){let n=[];function o(s,i){const a=d.createContext(i),c=n.length;n=[...n,i];const l=p=>{const{scope:g,children:h,...v}=p,u=g?.[e]?.[c]||a,m=d.useMemo(()=>v,Object.values(v));return x.jsx(u.Provider,{value:m,children:h})};l.displayName=s+"Provider";function f(p,g){const h=g?.[e]?.[c]||a,v=d.useContext(h);if(v)return v;if(i!==void 0)return i;throw new Error(`\`${p}\` must be used within \`${s}\``)}return[l,f]}const r=()=>{const s=n.map(i=>d.createContext(i));return function(a){const c=a?.[e]||s;return d.useMemo(()=>({[`__scope${e}`]:{...a,[e]:c}}),[a,c])}};return r.scopeName=e,[o,us(r,...t)]}function us(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const o=e.map(r=>({useScope:r(),scopeName:r.scopeName}));return function(s){const i=o.reduce((a,{useScope:c,scopeName:l})=>{const p=c(s)[`__scope${l}`];return{...a,...p}},{});return d.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function fs(e){const t=e+"CollectionProvider",[n,o]=Ot(t),[r,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=u=>{const{scope:m,children:y}=u,b=G.useRef(null),w=G.useRef(new Map).current;return x.jsx(r,{scope:m,itemMap:w,collectionRef:b,children:y})};i.displayName=t;const a=e+"CollectionSlot",c=Ge(a),l=G.forwardRef((u,m)=>{const{scope:y,children:b}=u,w=s(a,y),C=ee(m,w.collectionRef);return x.jsx(c,{ref:C,children:b})});l.displayName=a;const f=e+"CollectionItemSlot",p="data-radix-collection-item",g=Ge(f),h=G.forwardRef((u,m)=>{const{scope:y,children:b,...w}=u,C=G.useRef(null),k=ee(m,C),I=s(f,y);return G.useEffect(()=>(I.itemMap.set(C,{ref:C,...w}),()=>void I.itemMap.delete(C))),x.jsx(g,{[p]:"",ref:k,children:b})});h.displayName=f;function v(u){const m=s(e+"CollectionConsumer",u);return G.useCallback(()=>{const b=m.collectionRef.current;if(!b)return[];const w=Array.from(b.querySelectorAll(`[${p}]`));return Array.from(m.itemMap.values()).sort((I,P)=>w.indexOf(I.ref.current)-w.indexOf(P.ref.current))},[m.collectionRef,m.itemMap])}return[{Provider:i,Slot:l,ItemSlot:h},v,o]}var ps=d.createContext(void 0);function ms(e){const t=d.useContext(ps);return e||t||"ltr"}var hs=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],X=hs.reduce((e,t)=>{const n=Ge(`Primitive.${t}`),o=d.forwardRef((r,s)=>{const{asChild:i,...a}=r,c=i?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),x.jsx(c,{...a,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function gs(e,t){e&&Qe.flushSync(()=>e.dispatchEvent(t))}function Oe(e){const t=d.useRef(e);return d.useEffect(()=>{t.current=e}),d.useMemo(()=>(...n)=>t.current?.(...n),[])}function vs(e,t=globalThis?.document){const n=Oe(e);d.useEffect(()=>{const o=r=>{r.key==="Escape"&&n(r)};return t.addEventListener("keydown",o,{capture:!0}),()=>t.removeEventListener("keydown",o,{capture:!0})},[n,t])}var bs="DismissableLayer",It="dismissableLayer.update",ys="dismissableLayer.pointerDownOutside",ws="dismissableLayer.focusOutside",Mn,Rn=d.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),_n=d.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:r,onFocusOutside:s,onInteractOutside:i,onDismiss:a,...c}=e,l=d.useContext(Rn),[f,p]=d.useState(null),g=f?.ownerDocument??globalThis?.document,[,h]=d.useState({}),v=ee(t,P=>p(P)),u=Array.from(l.layers),[m]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),y=u.indexOf(m),b=f?u.indexOf(f):-1,w=l.layersWithOutsidePointerEventsDisabled.size>0,C=b>=y,k=Cs(P=>{const E=P.target,R=[...l.branches].some(D=>D.contains(E));!C||R||(r?.(P),i?.(P),P.defaultPrevented||a?.())},g),I=Es(P=>{const E=P.target;[...l.branches].some(D=>D.contains(E))||(s?.(P),i?.(P),P.defaultPrevented||a?.())},g);return vs(P=>{b===l.layers.size-1&&(o?.(P),!P.defaultPrevented&&a&&(P.preventDefault(),a()))},g),d.useEffect(()=>{if(f)return n&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(Mn=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),l.layersWithOutsidePointerEventsDisabled.add(f)),l.layers.add(f),Ln(),()=>{n&&l.layersWithOutsidePointerEventsDisabled.size===1&&(g.body.style.pointerEvents=Mn)}},[f,g,n,l]),d.useEffect(()=>()=>{f&&(l.layers.delete(f),l.layersWithOutsidePointerEventsDisabled.delete(f),Ln())},[f,l]),d.useEffect(()=>{const P=()=>h({});return document.addEventListener(It,P),()=>document.removeEventListener(It,P)},[]),x.jsx(X.div,{...c,ref:v,style:{pointerEvents:w?C?"auto":"none":void 0,...e.style},onFocusCapture:Z(e.onFocusCapture,I.onFocusCapture),onBlurCapture:Z(e.onBlurCapture,I.onBlurCapture),onPointerDownCapture:Z(e.onPointerDownCapture,k.onPointerDownCapture)})});_n.displayName=bs;var xs="DismissableLayerBranch",Ss=d.forwardRef((e,t)=>{const n=d.useContext(Rn),o=d.useRef(null),r=ee(t,o);return d.useEffect(()=>{const s=o.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),x.jsx(X.div,{...e,ref:r})});Ss.displayName=xs;function Cs(e,t=globalThis?.document){const n=Oe(e),o=d.useRef(!1),r=d.useRef(()=>{});return d.useEffect(()=>{const s=a=>{if(a.target&&!o.current){let c=function(){Dn(ys,n,l,{discrete:!0})};const l={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",r.current),r.current=c,t.addEventListener("click",r.current,{once:!0})):c()}else t.removeEventListener("click",r.current);o.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",s),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>o.current=!0}}function Es(e,t=globalThis?.document){const n=Oe(e),o=d.useRef(!1);return d.useEffect(()=>{const r=s=>{s.target&&!o.current&&Dn(ws,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function Ln(){const e=new CustomEvent(It);document.dispatchEvent(e)}function Dn(e,t,n,{discrete:o}){const r=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),o?gs(r,s):r.dispatchEvent(s)}var Nt=0;function ks(){d.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??zn()),document.body.insertAdjacentElement("beforeend",e[1]??zn()),Nt++,()=>{Nt===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Nt--}},[])}function zn(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Mt="focusScope.autoFocusOnMount",Rt="focusScope.autoFocusOnUnmount",Fn={bubbles:!1,cancelable:!0},Ps="FocusScope",Bn=d.forwardRef((e,t)=>{const{loop:n=!1,trapped:o=!1,onMountAutoFocus:r,onUnmountAutoFocus:s,...i}=e,[a,c]=d.useState(null),l=Oe(r),f=Oe(s),p=d.useRef(null),g=ee(t,u=>c(u)),h=d.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;d.useEffect(()=>{if(o){let u=function(w){if(h.paused||!a)return;const C=w.target;a.contains(C)?p.current=C:Ce(p.current,{select:!0})},m=function(w){if(h.paused||!a)return;const C=w.relatedTarget;C!==null&&(a.contains(C)||Ce(p.current,{select:!0}))},y=function(w){if(document.activeElement===document.body)for(const k of w)k.removedNodes.length>0&&Ce(a)};document.addEventListener("focusin",u),document.addEventListener("focusout",m);const b=new MutationObserver(y);return a&&b.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",u),document.removeEventListener("focusout",m),b.disconnect()}}},[o,a,h.paused]),d.useEffect(()=>{if(a){$n.add(h);const u=document.activeElement;if(!a.contains(u)){const y=new CustomEvent(Mt,Fn);a.addEventListener(Mt,l),a.dispatchEvent(y),y.defaultPrevented||(As(Ms(Vn(a)),{select:!0}),document.activeElement===u&&Ce(a))}return()=>{a.removeEventListener(Mt,l),setTimeout(()=>{const y=new CustomEvent(Rt,Fn);a.addEventListener(Rt,f),a.dispatchEvent(y),y.defaultPrevented||Ce(u??document.body,{select:!0}),a.removeEventListener(Rt,f),$n.remove(h)},0)}}},[a,l,f,h]);const v=d.useCallback(u=>{if(!n&&!o||h.paused)return;const m=u.key==="Tab"&&!u.altKey&&!u.ctrlKey&&!u.metaKey,y=document.activeElement;if(m&&y){const b=u.currentTarget,[w,C]=Ts(b);w&&C?!u.shiftKey&&y===C?(u.preventDefault(),n&&Ce(w,{select:!0})):u.shiftKey&&y===w&&(u.preventDefault(),n&&Ce(C,{select:!0})):y===b&&u.preventDefault()}},[n,o,h.paused]);return x.jsx(X.div,{tabIndex:-1,...i,ref:g,onKeyDown:v})});Bn.displayName=Ps;function As(e,{select:t=!1}={}){const n=document.activeElement;for(const o of e)if(Ce(o,{select:t}),document.activeElement!==n)return}function Ts(e){const t=Vn(e),n=Wn(t,e),o=Wn(t.reverse(),e);return[n,o]}function Vn(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const r=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||r?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Wn(e,t){for(const n of e)if(!Os(n,{upTo:t}))return n}function Os(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Is(e){return e instanceof HTMLInputElement&&"select"in e}function Ce(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Is(e)&&t&&e.select()}}var $n=Ns();function Ns(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=Hn(e,t),e.unshift(t)},remove(t){e=Hn(e,t),e[0]?.resume()}}}function Hn(e,t){const n=[...e],o=n.indexOf(t);return o!==-1&&n.splice(o,1),n}function Ms(e){return e.filter(t=>t.tagName!=="A")}var ne=globalThis?.document?d.useLayoutEffect:()=>{},Rs=d[" useId ".trim().toString()]||(()=>{}),_s=0;function _t(e){const[t,n]=d.useState(Rs());return ne(()=>{n(o=>o??String(_s++))},[e]),e||(t?`radix-${t}`:"")}const Ls=["top","right","bottom","left"],Ee=Math.min,re=Math.max,tt=Math.round,nt=Math.floor,ue=e=>({x:e,y:e}),Ds={left:"right",right:"left",bottom:"top",top:"bottom"},zs={start:"end",end:"start"};function Lt(e,t,n){return re(e,Ee(t,n))}function ye(e,t){return typeof e=="function"?e(t):e}function we(e){return e.split("-")[0]}function ze(e){return e.split("-")[1]}function Dt(e){return e==="x"?"y":"x"}function zt(e){return e==="y"?"height":"width"}const Fs=new Set(["top","bottom"]);function fe(e){return Fs.has(we(e))?"y":"x"}function Ft(e){return Dt(fe(e))}function Bs(e,t,n){n===void 0&&(n=!1);const o=ze(e),r=Ft(e),s=zt(r);let i=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=ot(i)),[i,ot(i)]}function Vs(e){const t=ot(e);return[Bt(e),t,Bt(t)]}function Bt(e){return e.replace(/start|end/g,t=>zs[t])}const Un=["left","right"],jn=["right","left"],Ws=["top","bottom"],$s=["bottom","top"];function Hs(e,t,n){switch(e){case"top":case"bottom":return n?t?jn:Un:t?Un:jn;case"left":case"right":return t?Ws:$s;default:return[]}}function Us(e,t,n,o){const r=ze(e);let s=Hs(we(e),n==="start",o);return r&&(s=s.map(i=>i+"-"+r),t&&(s=s.concat(s.map(Bt)))),s}function ot(e){return e.replace(/left|right|bottom|top/g,t=>Ds[t])}function js(e){return{top:0,right:0,bottom:0,left:0,...e}}function Gn(e){return typeof e!="number"?js(e):{top:e,right:e,bottom:e,left:e}}function rt(e){const{x:t,y:n,width:o,height:r}=e;return{width:o,height:r,top:n,left:t,right:t+o,bottom:n+r,x:t,y:n}}function Kn(e,t,n){let{reference:o,floating:r}=e;const s=fe(t),i=Ft(t),a=zt(i),c=we(t),l=s==="y",f=o.x+o.width/2-r.width/2,p=o.y+o.height/2-r.height/2,g=o[a]/2-r[a]/2;let h;switch(c){case"top":h={x:f,y:o.y-r.height};break;case"bottom":h={x:f,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:p};break;case"left":h={x:o.x-r.width,y:p};break;default:h={x:o.x,y:o.y}}switch(ze(t)){case"start":h[i]-=g*(n&&l?-1:1);break;case"end":h[i]+=g*(n&&l?-1:1);break}return h}const Gs=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:s=[],platform:i}=n,a=s.filter(Boolean),c=await(i.isRTL==null?void 0:i.isRTL(t));let l=await i.getElementRects({reference:e,floating:t,strategy:r}),{x:f,y:p}=Kn(l,o,c),g=o,h={},v=0;for(let u=0;u<a.length;u++){const{name:m,fn:y}=a[u],{x:b,y:w,data:C,reset:k}=await y({x:f,y:p,initialPlacement:o,placement:g,strategy:r,middlewareData:h,rects:l,platform:i,elements:{reference:e,floating:t}});f=b??f,p=w??p,h={...h,[m]:{...h[m],...C}},k&&v<=50&&(v++,typeof k=="object"&&(k.placement&&(g=k.placement),k.rects&&(l=k.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:r}):k.rects),{x:f,y:p}=Kn(l,g,c)),u=-1)}return{x:f,y:p,placement:g,strategy:r,middlewareData:h}};async function Ye(e,t){var n;t===void 0&&(t={});const{x:o,y:r,platform:s,rects:i,elements:a,strategy:c}=e,{boundary:l="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:g=!1,padding:h=0}=ye(t,e),v=Gn(h),m=a[g?p==="floating"?"reference":"floating":p],y=rt(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(m)))==null||n?m:m.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:l,rootBoundary:f,strategy:c})),b=p==="floating"?{x:o,y:r,width:i.floating.width,height:i.floating.height}:i.reference,w=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),C=await(s.isElement==null?void 0:s.isElement(w))?await(s.getScale==null?void 0:s.getScale(w))||{x:1,y:1}:{x:1,y:1},k=rt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:b,offsetParent:w,strategy:c}):b);return{top:(y.top-k.top+v.top)/C.y,bottom:(k.bottom-y.bottom+v.bottom)/C.y,left:(y.left-k.left+v.left)/C.x,right:(k.right-y.right+v.right)/C.x}}const Ks=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:r,rects:s,platform:i,elements:a,middlewareData:c}=t,{element:l,padding:f=0}=ye(e,t)||{};if(l==null)return{};const p=Gn(f),g={x:n,y:o},h=Ft(r),v=zt(h),u=await i.getDimensions(l),m=h==="y",y=m?"top":"left",b=m?"bottom":"right",w=m?"clientHeight":"clientWidth",C=s.reference[v]+s.reference[h]-g[h]-s.floating[v],k=g[h]-s.reference[h],I=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l));let P=I?I[w]:0;(!P||!await(i.isElement==null?void 0:i.isElement(I)))&&(P=a.floating[w]||s.floating[v]);const E=C/2-k/2,R=P/2-u[v]/2-1,D=Ee(p[y],R),W=Ee(p[b],R),F=D,z=P-u[v]-W,L=P/2-u[v]/2+E,B=Lt(F,L,z),N=!c.arrow&&ze(r)!=null&&L!==B&&s.reference[v]/2-(L<F?D:W)-u[v]/2<0,_=N?L<F?L-F:L-z:0;return{[h]:g[h]+_,data:{[h]:B,centerOffset:L-B-_,...N&&{alignmentOffset:_}},reset:N}}}),Ys=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:r,middlewareData:s,rects:i,initialPlacement:a,platform:c,elements:l}=t,{mainAxis:f=!0,crossAxis:p=!0,fallbackPlacements:g,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:u=!0,...m}=ye(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const y=we(r),b=fe(a),w=we(a)===a,C=await(c.isRTL==null?void 0:c.isRTL(l.floating)),k=g||(w||!u?[ot(a)]:Vs(a)),I=v!=="none";!g&&I&&k.push(...Us(a,u,v,C));const P=[a,...k],E=await Ye(t,m),R=[];let D=((o=s.flip)==null?void 0:o.overflows)||[];if(f&&R.push(E[y]),p){const L=Bs(r,i,C);R.push(E[L[0]],E[L[1]])}if(D=[...D,{placement:r,overflows:R}],!R.every(L=>L<=0)){var W,F;const L=(((W=s.flip)==null?void 0:W.index)||0)+1,B=P[L];if(B&&(!(p==="alignment"?b!==fe(B):!1)||D.every(S=>S.overflows[0]>0&&fe(S.placement)===b)))return{data:{index:L,overflows:D},reset:{placement:B}};let N=(F=D.filter(_=>_.overflows[0]<=0).sort((_,S)=>_.overflows[1]-S.overflows[1])[0])==null?void 0:F.placement;if(!N)switch(h){case"bestFit":{var z;const _=(z=D.filter(S=>{if(I){const $=fe(S.placement);return $===b||$==="y"}return!0}).map(S=>[S.placement,S.overflows.filter($=>$>0).reduce(($,te)=>$+te,0)]).sort((S,$)=>S[1]-$[1])[0])==null?void 0:z[0];_&&(N=_);break}case"initialPlacement":N=a;break}if(r!==N)return{reset:{placement:N}}}return{}}}};function Yn(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Xn(e){return Ls.some(t=>e[t]>=0)}const Xs=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:o="referenceHidden",...r}=ye(e,t);switch(o){case"referenceHidden":{const s=await Ye(t,{...r,elementContext:"reference"}),i=Yn(s,n.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:Xn(i)}}}case"escaped":{const s=await Ye(t,{...r,altBoundary:!0}),i=Yn(s,n.floating);return{data:{escapedOffsets:i,escaped:Xn(i)}}}default:return{}}}}},qn=new Set(["left","top"]);async function qs(e,t){const{placement:n,platform:o,elements:r}=e,s=await(o.isRTL==null?void 0:o.isRTL(r.floating)),i=we(n),a=ze(n),c=fe(n)==="y",l=qn.has(i)?-1:1,f=s&&c?-1:1,p=ye(t,e);let{mainAxis:g,crossAxis:h,alignmentAxis:v}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return a&&typeof v=="number"&&(h=a==="end"?v*-1:v),c?{x:h*f,y:g*l}:{x:g*l,y:h*f}}const Zs=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:r,y:s,placement:i,middlewareData:a}=t,c=await qs(t,e);return i===((n=a.offset)==null?void 0:n.placement)&&(o=a.arrow)!=null&&o.alignmentOffset?{}:{x:r+c.x,y:s+c.y,data:{...c,placement:i}}}}},Qs=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:a={fn:m=>{let{x:y,y:b}=m;return{x:y,y:b}}},...c}=ye(e,t),l={x:n,y:o},f=await Ye(t,c),p=fe(we(r)),g=Dt(p);let h=l[g],v=l[p];if(s){const m=g==="y"?"top":"left",y=g==="y"?"bottom":"right",b=h+f[m],w=h-f[y];h=Lt(b,h,w)}if(i){const m=p==="y"?"top":"left",y=p==="y"?"bottom":"right",b=v+f[m],w=v-f[y];v=Lt(b,v,w)}const u=a.fn({...t,[g]:h,[p]:v});return{...u,data:{x:u.x-n,y:u.y-o,enabled:{[g]:s,[p]:i}}}}}},Js=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:o,placement:r,rects:s,middlewareData:i}=t,{offset:a=0,mainAxis:c=!0,crossAxis:l=!0}=ye(e,t),f={x:n,y:o},p=fe(r),g=Dt(p);let h=f[g],v=f[p];const u=ye(a,t),m=typeof u=="number"?{mainAxis:u,crossAxis:0}:{mainAxis:0,crossAxis:0,...u};if(c){const w=g==="y"?"height":"width",C=s.reference[g]-s.floating[w]+m.mainAxis,k=s.reference[g]+s.reference[w]-m.mainAxis;h<C?h=C:h>k&&(h=k)}if(l){var y,b;const w=g==="y"?"width":"height",C=qn.has(we(r)),k=s.reference[p]-s.floating[w]+(C&&((y=i.offset)==null?void 0:y[p])||0)+(C?0:m.crossAxis),I=s.reference[p]+s.reference[w]+(C?0:((b=i.offset)==null?void 0:b[p])||0)-(C?m.crossAxis:0);v<k?v=k:v>I&&(v=I)}return{[g]:h,[p]:v}}}},ei=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,o;const{placement:r,rects:s,platform:i,elements:a}=t,{apply:c=()=>{},...l}=ye(e,t),f=await Ye(t,l),p=we(r),g=ze(r),h=fe(r)==="y",{width:v,height:u}=s.floating;let m,y;p==="top"||p==="bottom"?(m=p,y=g===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(y=p,m=g==="end"?"top":"bottom");const b=u-f.top-f.bottom,w=v-f.left-f.right,C=Ee(u-f[m],b),k=Ee(v-f[y],w),I=!t.middlewareData.shift;let P=C,E=k;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(E=w),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(P=b),I&&!g){const D=re(f.left,0),W=re(f.right,0),F=re(f.top,0),z=re(f.bottom,0);h?E=v-2*(D!==0||W!==0?D+W:re(f.left,f.right)):P=u-2*(F!==0||z!==0?F+z:re(f.top,f.bottom))}await c({...t,availableWidth:E,availableHeight:P});const R=await i.getDimensions(a.floating);return v!==R.width||u!==R.height?{reset:{rects:!0}}:{}}}};function st(){return typeof window<"u"}function Fe(e){return Zn(e)?(e.nodeName||"").toLowerCase():"#document"}function se(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function pe(e){var t;return(t=(Zn(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Zn(e){return st()?e instanceof Node||e instanceof se(e).Node:!1}function ae(e){return st()?e instanceof Element||e instanceof se(e).Element:!1}function me(e){return st()?e instanceof HTMLElement||e instanceof se(e).HTMLElement:!1}function Qn(e){return!st()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof se(e).ShadowRoot}const ti=new Set(["inline","contents"]);function Xe(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=ce(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!ti.has(r)}const ni=new Set(["table","td","th"]);function oi(e){return ni.has(Fe(e))}const ri=[":popover-open",":modal"];function it(e){return ri.some(t=>{try{return e.matches(t)}catch{return!1}})}const si=["transform","translate","scale","rotate","perspective"],ii=["transform","translate","scale","rotate","perspective","filter"],ai=["paint","layout","strict","content"];function Vt(e){const t=Wt(),n=ae(e)?ce(e):e;return si.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||ii.some(o=>(n.willChange||"").includes(o))||ai.some(o=>(n.contain||"").includes(o))}function ci(e){let t=ke(e);for(;me(t)&&!Be(t);){if(Vt(t))return t;if(it(t))return null;t=ke(t)}return null}function Wt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const li=new Set(["html","body","#document"]);function Be(e){return li.has(Fe(e))}function ce(e){return se(e).getComputedStyle(e)}function at(e){return ae(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ke(e){if(Fe(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Qn(e)&&e.host||pe(e);return Qn(t)?t.host:t}function Jn(e){const t=ke(e);return Be(t)?e.ownerDocument?e.ownerDocument.body:e.body:me(t)&&Xe(t)?t:Jn(t)}function qe(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=Jn(e),s=r===((o=e.ownerDocument)==null?void 0:o.body),i=se(r);if(s){const a=$t(i);return t.concat(i,i.visualViewport||[],Xe(r)?r:[],a&&n?qe(a):[])}return t.concat(r,qe(r,[],n))}function $t(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function eo(e){const t=ce(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=me(e),s=r?e.offsetWidth:n,i=r?e.offsetHeight:o,a=tt(n)!==s||tt(o)!==i;return a&&(n=s,o=i),{width:n,height:o,$:a}}function Ht(e){return ae(e)?e:e.contextElement}function Ve(e){const t=Ht(e);if(!me(t))return ue(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:s}=eo(t);let i=(s?tt(n.width):n.width)/o,a=(s?tt(n.height):n.height)/r;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const di=ue(0);function to(e){const t=se(e);return!Wt()||!t.visualViewport?di:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ui(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==se(e)?!1:t}function Ie(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),s=Ht(e);let i=ue(1);t&&(o?ae(o)&&(i=Ve(o)):i=Ve(e));const a=ui(s,n,o)?to(s):ue(0);let c=(r.left+a.x)/i.x,l=(r.top+a.y)/i.y,f=r.width/i.x,p=r.height/i.y;if(s){const g=se(s),h=o&&ae(o)?se(o):o;let v=g,u=$t(v);for(;u&&o&&h!==v;){const m=Ve(u),y=u.getBoundingClientRect(),b=ce(u),w=y.left+(u.clientLeft+parseFloat(b.paddingLeft))*m.x,C=y.top+(u.clientTop+parseFloat(b.paddingTop))*m.y;c*=m.x,l*=m.y,f*=m.x,p*=m.y,c+=w,l+=C,v=se(u),u=$t(v)}}return rt({width:f,height:p,x:c,y:l})}function Ut(e,t){const n=at(e).scrollLeft;return t?t.left+n:Ie(pe(e)).left+n}function no(e,t,n){n===void 0&&(n=!1);const o=e.getBoundingClientRect(),r=o.left+t.scrollLeft-(n?0:Ut(e,o)),s=o.top+t.scrollTop;return{x:r,y:s}}function fi(e){let{elements:t,rect:n,offsetParent:o,strategy:r}=e;const s=r==="fixed",i=pe(o),a=t?it(t.floating):!1;if(o===i||a&&s)return n;let c={scrollLeft:0,scrollTop:0},l=ue(1);const f=ue(0),p=me(o);if((p||!p&&!s)&&((Fe(o)!=="body"||Xe(i))&&(c=at(o)),me(o))){const h=Ie(o);l=Ve(o),f.x=h.x+o.clientLeft,f.y=h.y+o.clientTop}const g=i&&!p&&!s?no(i,c,!0):ue(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+f.x+g.x,y:n.y*l.y-c.scrollTop*l.y+f.y+g.y}}function pi(e){return Array.from(e.getClientRects())}function mi(e){const t=pe(e),n=at(e),o=e.ownerDocument.body,r=re(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),s=re(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let i=-n.scrollLeft+Ut(e);const a=-n.scrollTop;return ce(o).direction==="rtl"&&(i+=re(t.clientWidth,o.clientWidth)-r),{width:r,height:s,x:i,y:a}}function hi(e,t){const n=se(e),o=pe(e),r=n.visualViewport;let s=o.clientWidth,i=o.clientHeight,a=0,c=0;if(r){s=r.width,i=r.height;const l=Wt();(!l||l&&t==="fixed")&&(a=r.offsetLeft,c=r.offsetTop)}return{width:s,height:i,x:a,y:c}}const gi=new Set(["absolute","fixed"]);function vi(e,t){const n=Ie(e,!0,t==="fixed"),o=n.top+e.clientTop,r=n.left+e.clientLeft,s=me(e)?Ve(e):ue(1),i=e.clientWidth*s.x,a=e.clientHeight*s.y,c=r*s.x,l=o*s.y;return{width:i,height:a,x:c,y:l}}function oo(e,t,n){let o;if(t==="viewport")o=hi(e,n);else if(t==="document")o=mi(pe(e));else if(ae(t))o=vi(t,n);else{const r=to(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return rt(o)}function ro(e,t){const n=ke(e);return n===t||!ae(n)||Be(n)?!1:ce(n).position==="fixed"||ro(n,t)}function bi(e,t){const n=t.get(e);if(n)return n;let o=qe(e,[],!1).filter(a=>ae(a)&&Fe(a)!=="body"),r=null;const s=ce(e).position==="fixed";let i=s?ke(e):e;for(;ae(i)&&!Be(i);){const a=ce(i),c=Vt(i);!c&&a.position==="fixed"&&(r=null),(s?!c&&!r:!c&&a.position==="static"&&!!r&&gi.has(r.position)||Xe(i)&&!c&&ro(e,i))?o=o.filter(f=>f!==i):r=a,i=ke(i)}return t.set(e,o),o}function yi(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const i=[...n==="clippingAncestors"?it(t)?[]:bi(t,this._c):[].concat(n),o],a=i[0],c=i.reduce((l,f)=>{const p=oo(t,f,r);return l.top=re(p.top,l.top),l.right=Ee(p.right,l.right),l.bottom=Ee(p.bottom,l.bottom),l.left=re(p.left,l.left),l},oo(t,a,r));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function wi(e){const{width:t,height:n}=eo(e);return{width:t,height:n}}function xi(e,t,n){const o=me(t),r=pe(t),s=n==="fixed",i=Ie(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const c=ue(0);function l(){c.x=Ut(r)}if(o||!o&&!s)if((Fe(t)!=="body"||Xe(r))&&(a=at(t)),o){const h=Ie(t,!0,s,t);c.x=h.x+t.clientLeft,c.y=h.y+t.clientTop}else r&&l();s&&!o&&r&&l();const f=r&&!o&&!s?no(r,a):ue(0),p=i.left+a.scrollLeft-c.x-f.x,g=i.top+a.scrollTop-c.y-f.y;return{x:p,y:g,width:i.width,height:i.height}}function jt(e){return ce(e).position==="static"}function so(e,t){if(!me(e)||ce(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return pe(e)===n&&(n=n.ownerDocument.body),n}function io(e,t){const n=se(e);if(it(e))return n;if(!me(e)){let r=ke(e);for(;r&&!Be(r);){if(ae(r)&&!jt(r))return r;r=ke(r)}return n}let o=so(e,t);for(;o&&oi(o)&&jt(o);)o=so(o,t);return o&&Be(o)&&jt(o)&&!Vt(o)?n:o||ci(e)||n}const Si=async function(e){const t=this.getOffsetParent||io,n=this.getDimensions,o=await n(e.floating);return{reference:xi(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Ci(e){return ce(e).direction==="rtl"}const Ei={convertOffsetParentRelativeRectToViewportRelativeRect:fi,getDocumentElement:pe,getClippingRect:yi,getOffsetParent:io,getElementRects:Si,getClientRects:pi,getDimensions:wi,getScale:Ve,isElement:ae,isRTL:Ci};function ao(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ki(e,t){let n=null,o;const r=pe(e);function s(){var a;clearTimeout(o),(a=n)==null||a.disconnect(),n=null}function i(a,c){a===void 0&&(a=!1),c===void 0&&(c=1),s();const l=e.getBoundingClientRect(),{left:f,top:p,width:g,height:h}=l;if(a||t(),!g||!h)return;const v=nt(p),u=nt(r.clientWidth-(f+g)),m=nt(r.clientHeight-(p+h)),y=nt(f),w={rootMargin:-v+"px "+-u+"px "+-m+"px "+-y+"px",threshold:re(0,Ee(1,c))||1};let C=!0;function k(I){const P=I[0].intersectionRatio;if(P!==c){if(!C)return i();P?i(!1,P):o=setTimeout(()=>{i(!1,1e-7)},1e3)}P===1&&!ao(l,e.getBoundingClientRect())&&i(),C=!1}try{n=new IntersectionObserver(k,{...w,root:r.ownerDocument})}catch{n=new IntersectionObserver(k,w)}n.observe(e)}return i(!0),s}function Pi(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:r=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:c=!1}=o,l=Ht(e),f=r||s?[...l?qe(l):[],...qe(t)]:[];f.forEach(y=>{r&&y.addEventListener("scroll",n,{passive:!0}),s&&y.addEventListener("resize",n)});const p=l&&a?ki(l,n):null;let g=-1,h=null;i&&(h=new ResizeObserver(y=>{let[b]=y;b&&b.target===l&&h&&(h.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var w;(w=h)==null||w.observe(t)})),n()}),l&&!c&&h.observe(l),h.observe(t));let v,u=c?Ie(e):null;c&&m();function m(){const y=Ie(e);u&&!ao(u,y)&&n(),u=y,v=requestAnimationFrame(m)}return n(),()=>{var y;f.forEach(b=>{r&&b.removeEventListener("scroll",n),s&&b.removeEventListener("resize",n)}),p?.(),(y=h)==null||y.disconnect(),h=null,c&&cancelAnimationFrame(v)}}const Ai=Zs,Ti=Qs,Oi=Ys,Ii=ei,Ni=Xs,co=Ks,Mi=Js,Ri=(e,t,n)=>{const o=new Map,r={platform:Ei,...n},s={...r.platform,_c:o};return Gs(e,t,{...r,platform:s})};var _i=typeof document<"u",Li=function(){},ct=_i?G.useLayoutEffect:Li;function lt(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,o,r;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(o=n;o--!==0;)if(!lt(e[o],t[o]))return!1;return!0}if(r=Object.keys(e),n=r.length,n!==Object.keys(t).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(t,r[o]))return!1;for(o=n;o--!==0;){const s=r[o];if(!(s==="_owner"&&e.$$typeof)&&!lt(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function lo(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function uo(e,t){const n=lo(e);return Math.round(t*n)/n}function Gt(e){const t=d.useRef(e);return ct(()=>{t.current=e}),t}function Di(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:r,elements:{reference:s,floating:i}={},transform:a=!0,whileElementsMounted:c,open:l}=e,[f,p]=d.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[g,h]=d.useState(o);lt(g,o)||h(o);const[v,u]=d.useState(null),[m,y]=d.useState(null),b=d.useCallback(S=>{S!==I.current&&(I.current=S,u(S))},[]),w=d.useCallback(S=>{S!==P.current&&(P.current=S,y(S))},[]),C=s||v,k=i||m,I=d.useRef(null),P=d.useRef(null),E=d.useRef(f),R=c!=null,D=Gt(c),W=Gt(r),F=Gt(l),z=d.useCallback(()=>{if(!I.current||!P.current)return;const S={placement:t,strategy:n,middleware:g};W.current&&(S.platform=W.current),Ri(I.current,P.current,S).then($=>{const te={...$,isPositioned:F.current!==!1};L.current&&!lt(E.current,te)&&(E.current=te,Qe.flushSync(()=>{p(te)}))})},[g,t,n,W,F]);ct(()=>{l===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,p(S=>({...S,isPositioned:!1})))},[l]);const L=d.useRef(!1);ct(()=>(L.current=!0,()=>{L.current=!1}),[]),ct(()=>{if(C&&(I.current=C),k&&(P.current=k),C&&k){if(D.current)return D.current(C,k,z);z()}},[C,k,z,D,R]);const B=d.useMemo(()=>({reference:I,floating:P,setReference:b,setFloating:w}),[b,w]),N=d.useMemo(()=>({reference:C,floating:k}),[C,k]),_=d.useMemo(()=>{const S={position:n,left:0,top:0};if(!N.floating)return S;const $=uo(N.floating,f.x),te=uo(N.floating,f.y);return a?{...S,transform:"translate("+$+"px, "+te+"px)",...lo(N.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:$,top:te}},[n,a,N.floating,f.x,f.y]);return d.useMemo(()=>({...f,update:z,refs:B,elements:N,floatingStyles:_}),[f,z,B,N,_])}const zi=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:o,padding:r}=typeof e=="function"?e(n):e;return o&&t(o)?o.current!=null?co({element:o.current,padding:r}).fn(n):{}:o?co({element:o,padding:r}).fn(n):{}}}},Fi=(e,t)=>({...Ai(e),options:[e,t]}),Bi=(e,t)=>({...Ti(e),options:[e,t]}),Vi=(e,t)=>({...Mi(e),options:[e,t]}),Wi=(e,t)=>({...Oi(e),options:[e,t]}),$i=(e,t)=>({...Ii(e),options:[e,t]}),Hi=(e,t)=>({...Ni(e),options:[e,t]}),Ui=(e,t)=>({...zi(e),options:[e,t]});var ji="Arrow",fo=d.forwardRef((e,t)=>{const{children:n,width:o=10,height:r=5,...s}=e;return x.jsx(X.svg,{...s,ref:t,width:o,height:r,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:x.jsx("polygon",{points:"0,0 30,0 15,10"})})});fo.displayName=ji;var Gi=fo;function Ki(e){const[t,n]=d.useState(void 0);return ne(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const o=new ResizeObserver(r=>{if(!Array.isArray(r)||!r.length)return;const s=r[0];let i,a;if("borderBoxSize"in s){const c=s.borderBoxSize,l=Array.isArray(c)?c[0]:c;i=l.inlineSize,a=l.blockSize}else i=e.offsetWidth,a=e.offsetHeight;n({width:i,height:a})});return o.observe(e,{box:"border-box"}),()=>o.unobserve(e)}else n(void 0)},[e]),t}var Kt="Popper",[po,mo]=Ot(Kt),[Yi,ho]=po(Kt),go=e=>{const{__scopePopper:t,children:n}=e,[o,r]=d.useState(null);return x.jsx(Yi,{scope:t,anchor:o,onAnchorChange:r,children:n})};go.displayName=Kt;var vo="PopperAnchor",bo=d.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:o,...r}=e,s=ho(vo,n),i=d.useRef(null),a=ee(t,i);return d.useEffect(()=>{s.onAnchorChange(o?.current||i.current)}),o?null:x.jsx(X.div,{...r,ref:a})});bo.displayName=vo;var Yt="PopperContent",[Xi,qi]=po(Yt),yo=d.forwardRef((e,t)=>{const{__scopePopper:n,side:o="bottom",sideOffset:r=0,align:s="center",alignOffset:i=0,arrowPadding:a=0,avoidCollisions:c=!0,collisionBoundary:l=[],collisionPadding:f=0,sticky:p="partial",hideWhenDetached:g=!1,updatePositionStrategy:h="optimized",onPlaced:v,...u}=e,m=ho(Yt,n),[y,b]=d.useState(null),w=ee(t,A=>b(A)),[C,k]=d.useState(null),I=Ki(C),P=I?.width??0,E=I?.height??0,R=o+(s!=="center"?"-"+s:""),D=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},W=Array.isArray(l)?l:[l],F=W.length>0,z={padding:D,boundary:W.filter(Qi),altBoundary:F},{refs:L,floatingStyles:B,placement:N,isPositioned:_,middlewareData:S}=Di({strategy:"fixed",placement:R,whileElementsMounted:(...A)=>Pi(...A,{animationFrame:h==="always"}),elements:{reference:m.anchor},middleware:[Fi({mainAxis:r+E,alignmentAxis:i}),c&&Bi({mainAxis:!0,crossAxis:!1,limiter:p==="partial"?Vi():void 0,...z}),c&&Wi({...z}),$i({...z,apply:({elements:A,rects:U,availableWidth:Q,availableHeight:V})=>{const{width:H,height:j}=U.reference,ie=A.floating.style;ie.setProperty("--radix-popper-available-width",`${Q}px`),ie.setProperty("--radix-popper-available-height",`${V}px`),ie.setProperty("--radix-popper-anchor-width",`${H}px`),ie.setProperty("--radix-popper-anchor-height",`${j}px`)}}),C&&Ui({element:C,padding:a}),Ji({arrowWidth:P,arrowHeight:E}),g&&Hi({strategy:"referenceHidden",...z})]}),[$,te]=So(N),ge=Oe(v);ne(()=>{_&&ge?.()},[_,ge]);const xe=S.arrow?.x,q=S.arrow?.y,Y=S.arrow?.centerOffset!==0,[de,ve]=d.useState();return ne(()=>{y&&ve(window.getComputedStyle(y).zIndex)},[y]),x.jsx("div",{ref:L.setFloating,"data-radix-popper-content-wrapper":"",style:{...B,transform:_?B.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:de,"--radix-popper-transform-origin":[S.transformOrigin?.x,S.transformOrigin?.y].join(" "),...S.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:x.jsx(Xi,{scope:n,placedSide:$,onArrowChange:k,arrowX:xe,arrowY:q,shouldHideArrow:Y,children:x.jsx(X.div,{"data-side":$,"data-align":te,...u,ref:w,style:{...u.style,animation:_?void 0:"none"}})})})});yo.displayName=Yt;var wo="PopperArrow",Zi={top:"bottom",right:"left",bottom:"top",left:"right"},xo=d.forwardRef(function(t,n){const{__scopePopper:o,...r}=t,s=qi(wo,o),i=Zi[s.placedSide];return x.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:x.jsx(Gi,{...r,ref:n,style:{...r.style,display:"block"}})})});xo.displayName=wo;function Qi(e){return e!==null}var Ji=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:o,middlewareData:r}=t,i=r.arrow?.centerOffset!==0,a=i?0:e.arrowWidth,c=i?0:e.arrowHeight,[l,f]=So(n),p={start:"0%",center:"50%",end:"100%"}[f],g=(r.arrow?.x??0)+a/2,h=(r.arrow?.y??0)+c/2;let v="",u="";return l==="bottom"?(v=i?p:`${g}px`,u=`${-c}px`):l==="top"?(v=i?p:`${g}px`,u=`${o.floating.height+c}px`):l==="right"?(v=`${-c}px`,u=i?p:`${h}px`):l==="left"&&(v=`${o.floating.width+c}px`,u=i?p:`${h}px`),{data:{x:v,y:u}}}});function So(e){const[t,n="center"]=e.split("-");return[t,n]}var ea=go,ta=bo,na=yo,oa=xo,ra="Portal",Co=d.forwardRef((e,t)=>{const{container:n,...o}=e,[r,s]=d.useState(!1);ne(()=>s(!0),[]);const i=n||r&&globalThis?.document?.body;return i?dn.createPortal(x.jsx(X.div,{...o,ref:t}),i):null});Co.displayName=ra;var sa=d[" useInsertionEffect ".trim().toString()]||ne;function Eo({prop:e,defaultProp:t,onChange:n=()=>{},caller:o}){const[r,s,i]=ia({defaultProp:t,onChange:n}),a=e!==void 0,c=a?e:r;{const f=d.useRef(e!==void 0);d.useEffect(()=>{const p=f.current;p!==a&&console.warn(`${o} is changing from ${p?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),f.current=a},[a,o])}const l=d.useCallback(f=>{if(a){const p=aa(f)?f(e):f;p!==e&&i.current?.(p)}else s(f)},[a,e,s,i]);return[c,l]}function ia({defaultProp:e,onChange:t}){const[n,o]=d.useState(e),r=d.useRef(n),s=d.useRef(t);return sa(()=>{s.current=t},[t]),d.useEffect(()=>{r.current!==n&&(s.current?.(n),r.current=n)},[n,r]),[n,o,s]}function aa(e){return typeof e=="function"}function ca(e){const t=d.useRef({value:e,previous:e});return d.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var ko=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),la="VisuallyHidden",da=d.forwardRef((e,t)=>x.jsx(X.span,{...e,ref:t,style:{...ko,...e.style}}));da.displayName=la;var ua=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},We=new WeakMap,dt=new WeakMap,ut={},Xt=0,Po=function(e){return e&&(e.host||Po(e.parentNode))},fa=function(e,t){return t.map(function(n){if(e.contains(n))return n;var o=Po(n);return o&&e.contains(o)?o:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},pa=function(e,t,n,o){var r=fa(t,Array.isArray(e)?e:[e]);ut[n]||(ut[n]=new WeakMap);var s=ut[n],i=[],a=new Set,c=new Set(r),l=function(p){!p||a.has(p)||(a.add(p),l(p.parentNode))};r.forEach(l);var f=function(p){!p||c.has(p)||Array.prototype.forEach.call(p.children,function(g){if(a.has(g))f(g);else try{var h=g.getAttribute(o),v=h!==null&&h!=="false",u=(We.get(g)||0)+1,m=(s.get(g)||0)+1;We.set(g,u),s.set(g,m),i.push(g),u===1&&v&&dt.set(g,!0),m===1&&g.setAttribute(n,"true"),v||g.setAttribute(o,"true")}catch(y){console.error("aria-hidden: cannot operate on ",g,y)}})};return f(t),a.clear(),Xt++,function(){i.forEach(function(p){var g=We.get(p)-1,h=s.get(p)-1;We.set(p,g),s.set(p,h),g||(dt.has(p)||p.removeAttribute(o),dt.delete(p)),h||p.removeAttribute(n)}),Xt--,Xt||(We=new WeakMap,We=new WeakMap,dt=new WeakMap,ut={})}},ma=function(e,t,n){n===void 0&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),r=ua(e);return r?(o.push.apply(o,Array.from(r.querySelectorAll("[aria-live], script"))),pa(o,r,n,"aria-hidden")):function(){return null}},he=function(){return he=Object.assign||function(t){for(var n,o=1,r=arguments.length;o<r;o++){n=arguments[o];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},he.apply(this,arguments)};function Ao(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n}function ha(e,t,n){if(n||arguments.length===2)for(var o=0,r=t.length,s;o<r;o++)(s||!(o in t))&&(s||(s=Array.prototype.slice.call(t,0,o)),s[o]=t[o]);return e.concat(s||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var ft="right-scroll-bar-position",pt="width-before-scroll-bar",ga="with-scroll-bars-hidden",va="--removed-body-scroll-bar-size";function qt(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function ba(e,t){var n=G.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(o){var r=n.value;r!==o&&(n.value=o,n.callback(o,r))}}}})[0];return n.callback=t,n.facade}var ya=typeof window<"u"?d.useLayoutEffect:d.useEffect,To=new WeakMap;function wa(e,t){var n=ba(null,function(o){return e.forEach(function(r){return qt(r,o)})});return ya(function(){var o=To.get(n);if(o){var r=new Set(o),s=new Set(e),i=n.current;r.forEach(function(a){s.has(a)||qt(a,null)}),s.forEach(function(a){r.has(a)||qt(a,i)})}To.set(n,e)},[e]),n}function xa(e){return e}function Sa(e,t){t===void 0&&(t=xa);var n=[],o=!1,r={read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(s){var i=t(s,o);return n.push(i),function(){n=n.filter(function(a){return a!==i})}},assignSyncMedium:function(s){for(o=!0;n.length;){var i=n;n=[],i.forEach(s)}n={push:function(a){return s(a)},filter:function(){return n}}},assignMedium:function(s){o=!0;var i=[];if(n.length){var a=n;n=[],a.forEach(s),i=n}var c=function(){var f=i;i=[],f.forEach(s)},l=function(){return Promise.resolve().then(c)};l(),n={push:function(f){i.push(f),l()},filter:function(f){return i=i.filter(f),n}}}};return r}function Ca(e){e===void 0&&(e={});var t=Sa(null);return t.options=he({async:!0,ssr:!1},e),t}var Oo=function(e){var t=e.sideCar,n=Ao(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw new Error("Sidecar medium not found");return d.createElement(o,he({},n))};Oo.isSideCarExport=!0;function Ea(e,t){return e.useMedium(t),Oo}var Io=Ca(),Zt=function(){},mt=d.forwardRef(function(e,t){var n=d.useRef(null),o=d.useState({onScrollCapture:Zt,onWheelCapture:Zt,onTouchMoveCapture:Zt}),r=o[0],s=o[1],i=e.forwardProps,a=e.children,c=e.className,l=e.removeScrollBar,f=e.enabled,p=e.shards,g=e.sideCar,h=e.noRelative,v=e.noIsolation,u=e.inert,m=e.allowPinchZoom,y=e.as,b=y===void 0?"div":y,w=e.gapMode,C=Ao(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),k=g,I=wa([n,t]),P=he(he({},C),r);return d.createElement(d.Fragment,null,f&&d.createElement(k,{sideCar:Io,removeScrollBar:l,shards:p,noRelative:h,noIsolation:v,inert:u,setCallbacks:s,allowPinchZoom:!!m,lockRef:n,gapMode:w}),i?d.cloneElement(d.Children.only(a),he(he({},P),{ref:I})):d.createElement(b,he({},P,{className:c,ref:I}),a))});mt.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},mt.classNames={fullWidth:pt,zeroRight:ft};var ka=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Pa(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=ka();return t&&e.setAttribute("nonce",t),e}function Aa(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Ta(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Oa=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Pa())&&(Aa(t,n),Ta(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Ia=function(){var e=Oa();return function(t,n){d.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},No=function(){var e=Ia(),t=function(n){var o=n.styles,r=n.dynamic;return e(o,r),null};return t},Na={left:0,top:0,right:0,gap:0},Qt=function(e){return parseInt(e||"",10)||0},Ma=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],o=t[e==="padding"?"paddingTop":"marginTop"],r=t[e==="padding"?"paddingRight":"marginRight"];return[Qt(n),Qt(o),Qt(r)]},Ra=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Na;var t=Ma(e),n=document.documentElement.clientWidth,o=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,o-n+t[2]-t[0])}},_a=No(),$e="data-scroll-locked",La=function(e,t,n,o){var r=e.left,s=e.top,i=e.right,a=e.gap;return n===void 0&&(n="margin"),`
5
- .`.concat(ga,` {
6
- overflow: hidden `).concat(o,`;
7
- padding-right: `).concat(a,"px ").concat(o,`;
8
- }
9
- body[`).concat($e,`] {
10
- overflow: hidden `).concat(o,`;
11
- overscroll-behavior: contain;
12
- `).concat([t&&"position: relative ".concat(o,";"),n==="margin"&&`
13
- padding-left: `.concat(r,`px;
14
- padding-top: `).concat(s,`px;
15
- padding-right: `).concat(i,`px;
16
- margin-left:0;
17
- margin-top:0;
18
- margin-right: `).concat(a,"px ").concat(o,`;
19
- `),n==="padding"&&"padding-right: ".concat(a,"px ").concat(o,";")].filter(Boolean).join(""),`
20
- }
21
-
22
- .`).concat(ft,` {
23
- right: `).concat(a,"px ").concat(o,`;
24
- }
25
-
26
- .`).concat(pt,` {
27
- margin-right: `).concat(a,"px ").concat(o,`;
28
- }
29
-
30
- .`).concat(ft," .").concat(ft,` {
31
- right: 0 `).concat(o,`;
32
- }
33
-
34
- .`).concat(pt," .").concat(pt,` {
35
- margin-right: 0 `).concat(o,`;
36
- }
37
-
38
- body[`).concat($e,`] {
39
- `).concat(va,": ").concat(a,`px;
40
- }
41
- `)},Mo=function(){var e=parseInt(document.body.getAttribute($e)||"0",10);return isFinite(e)?e:0},Da=function(){d.useEffect(function(){return document.body.setAttribute($e,(Mo()+1).toString()),function(){var e=Mo()-1;e<=0?document.body.removeAttribute($e):document.body.setAttribute($e,e.toString())}},[])},za=function(e){var t=e.noRelative,n=e.noImportant,o=e.gapMode,r=o===void 0?"margin":o;Da();var s=d.useMemo(function(){return Ra(r)},[r]);return d.createElement(_a,{styles:La(s,!t,r,n?"":"!important")})},Jt=!1;if(typeof window<"u")try{var ht=Object.defineProperty({},"passive",{get:function(){return Jt=!0,!0}});window.addEventListener("test",ht,ht),window.removeEventListener("test",ht,ht)}catch{Jt=!1}var He=Jt?{passive:!1}:!1,Fa=function(e){return e.tagName==="TEXTAREA"},Ro=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Fa(e)&&n[t]==="visible")},Ba=function(e){return Ro(e,"overflowY")},Va=function(e){return Ro(e,"overflowX")},_o=function(e,t){var n=t.ownerDocument,o=t;do{typeof ShadowRoot<"u"&&o instanceof ShadowRoot&&(o=o.host);var r=Lo(e,o);if(r){var s=Do(e,o),i=s[1],a=s[2];if(i>a)return!0}o=o.parentNode}while(o&&o!==n.body);return!1},Wa=function(e){var t=e.scrollTop,n=e.scrollHeight,o=e.clientHeight;return[t,n,o]},$a=function(e){var t=e.scrollLeft,n=e.scrollWidth,o=e.clientWidth;return[t,n,o]},Lo=function(e,t){return e==="v"?Ba(t):Va(t)},Do=function(e,t){return e==="v"?Wa(t):$a(t)},Ha=function(e,t){return e==="h"&&t==="rtl"?-1:1},Ua=function(e,t,n,o,r){var s=Ha(e,window.getComputedStyle(t).direction),i=s*o,a=n.target,c=t.contains(a),l=!1,f=i>0,p=0,g=0;do{if(!a)break;var h=Do(e,a),v=h[0],u=h[1],m=h[2],y=u-m-s*v;(v||y)&&Lo(e,a)&&(p+=y,g+=v);var b=a.parentNode;a=b&&b.nodeType===Node.DOCUMENT_FRAGMENT_NODE?b.host:b}while(!c&&a!==document.body||c&&(t.contains(a)||t===a));return(f&&Math.abs(p)<1||!f&&Math.abs(g)<1)&&(l=!0),l},gt=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},zo=function(e){return[e.deltaX,e.deltaY]},Fo=function(e){return e&&"current"in e?e.current:e},ja=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Ga=function(e){return`
42
- .block-interactivity-`.concat(e,` {pointer-events: none;}
43
- .allow-interactivity-`).concat(e,` {pointer-events: all;}
44
- `)},Ka=0,Ue=[];function Ya(e){var t=d.useRef([]),n=d.useRef([0,0]),o=d.useRef(),r=d.useState(Ka++)[0],s=d.useState(No)[0],i=d.useRef(e);d.useEffect(function(){i.current=e},[e]),d.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(r));var u=ha([e.lockRef.current],(e.shards||[]).map(Fo),!0).filter(Boolean);return u.forEach(function(m){return m.classList.add("allow-interactivity-".concat(r))}),function(){document.body.classList.remove("block-interactivity-".concat(r)),u.forEach(function(m){return m.classList.remove("allow-interactivity-".concat(r))})}}},[e.inert,e.lockRef.current,e.shards]);var a=d.useCallback(function(u,m){if("touches"in u&&u.touches.length===2||u.type==="wheel"&&u.ctrlKey)return!i.current.allowPinchZoom;var y=gt(u),b=n.current,w="deltaX"in u?u.deltaX:b[0]-y[0],C="deltaY"in u?u.deltaY:b[1]-y[1],k,I=u.target,P=Math.abs(w)>Math.abs(C)?"h":"v";if("touches"in u&&P==="h"&&I.type==="range")return!1;var E=_o(P,I);if(!E)return!0;if(E?k=P:(k=P==="v"?"h":"v",E=_o(P,I)),!E)return!1;if(!o.current&&"changedTouches"in u&&(w||C)&&(o.current=k),!k)return!0;var R=o.current||k;return Ua(R,m,u,R==="h"?w:C)},[]),c=d.useCallback(function(u){var m=u;if(!(!Ue.length||Ue[Ue.length-1]!==s)){var y="deltaY"in m?zo(m):gt(m),b=t.current.filter(function(k){return k.name===m.type&&(k.target===m.target||m.target===k.shadowParent)&&ja(k.delta,y)})[0];if(b&&b.should){m.cancelable&&m.preventDefault();return}if(!b){var w=(i.current.shards||[]).map(Fo).filter(Boolean).filter(function(k){return k.contains(m.target)}),C=w.length>0?a(m,w[0]):!i.current.noIsolation;C&&m.cancelable&&m.preventDefault()}}},[]),l=d.useCallback(function(u,m,y,b){var w={name:u,delta:m,target:y,should:b,shadowParent:Xa(y)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(C){return C!==w})},1)},[]),f=d.useCallback(function(u){n.current=gt(u),o.current=void 0},[]),p=d.useCallback(function(u){l(u.type,zo(u),u.target,a(u,e.lockRef.current))},[]),g=d.useCallback(function(u){l(u.type,gt(u),u.target,a(u,e.lockRef.current))},[]);d.useEffect(function(){return Ue.push(s),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:g}),document.addEventListener("wheel",c,He),document.addEventListener("touchmove",c,He),document.addEventListener("touchstart",f,He),function(){Ue=Ue.filter(function(u){return u!==s}),document.removeEventListener("wheel",c,He),document.removeEventListener("touchmove",c,He),document.removeEventListener("touchstart",f,He)}},[]);var h=e.removeScrollBar,v=e.inert;return d.createElement(d.Fragment,null,v?d.createElement(s,{styles:Ga(r)}):null,h?d.createElement(za,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Xa(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const qa=Ea(Io,Ya);var Bo=d.forwardRef(function(e,t){return d.createElement(mt,he({},e,{ref:t,sideCar:qa}))});Bo.classNames=mt.classNames;var Za=[" ","Enter","ArrowUp","ArrowDown"],Qa=[" ","Enter"],Ne="Select",[vt,bt,Ja]=fs(Ne),[je,Zc]=Ot(Ne,[Ja,mo]),yt=mo(),[ec,Pe]=je(Ne),[tc,nc]=je(Ne),Vo=e=>{const{__scopeSelect:t,children:n,open:o,defaultOpen:r,onOpenChange:s,value:i,defaultValue:a,onValueChange:c,dir:l,name:f,autoComplete:p,disabled:g,required:h,form:v}=e,u=yt(t),[m,y]=d.useState(null),[b,w]=d.useState(null),[C,k]=d.useState(!1),I=ms(l),[P,E]=Eo({prop:o,defaultProp:r??!1,onChange:s,caller:Ne}),[R,D]=Eo({prop:i,defaultProp:a,onChange:c,caller:Ne}),W=d.useRef(null),F=m?v||!!m.closest("form"):!0,[z,L]=d.useState(new Set),B=Array.from(z).map(N=>N.props.value).join(";");return x.jsx(ea,{...u,children:x.jsxs(ec,{required:h,scope:t,trigger:m,onTriggerChange:y,valueNode:b,onValueNodeChange:w,valueNodeHasChildren:C,onValueNodeHasChildrenChange:k,contentId:_t(),value:R,onValueChange:D,open:P,onOpenChange:E,dir:I,triggerPointerDownPosRef:W,disabled:g,children:[x.jsx(vt.Provider,{scope:t,children:x.jsx(tc,{scope:e.__scopeSelect,onNativeOptionAdd:d.useCallback(N=>{L(_=>new Set(_).add(N))},[]),onNativeOptionRemove:d.useCallback(N=>{L(_=>{const S=new Set(_);return S.delete(N),S})},[]),children:n})}),F?x.jsxs(dr,{"aria-hidden":!0,required:h,tabIndex:-1,name:f,autoComplete:p,value:R,onChange:N=>D(N.target.value),disabled:g,form:v,children:[R===void 0?x.jsx("option",{value:""}):null,Array.from(z)]},B):null]})})};Vo.displayName=Ne;var Wo="SelectTrigger",$o=d.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:o=!1,...r}=e,s=yt(n),i=Pe(Wo,n),a=i.disabled||o,c=ee(t,i.onTriggerChange),l=bt(n),f=d.useRef("touch"),[p,g,h]=fr(u=>{const m=l().filter(w=>!w.disabled),y=m.find(w=>w.value===i.value),b=pr(m,u,y);b!==void 0&&i.onValueChange(b.value)}),v=u=>{a||(i.onOpenChange(!0),h()),u&&(i.triggerPointerDownPosRef.current={x:Math.round(u.pageX),y:Math.round(u.pageY)})};return x.jsx(ta,{asChild:!0,...s,children:x.jsx(X.button,{type:"button",role:"combobox","aria-controls":i.contentId,"aria-expanded":i.open,"aria-required":i.required,"aria-autocomplete":"none",dir:i.dir,"data-state":i.open?"open":"closed",disabled:a,"data-disabled":a?"":void 0,"data-placeholder":ur(i.value)?"":void 0,...r,ref:c,onClick:Z(r.onClick,u=>{u.currentTarget.focus(),f.current!=="mouse"&&v(u)}),onPointerDown:Z(r.onPointerDown,u=>{f.current=u.pointerType;const m=u.target;m.hasPointerCapture(u.pointerId)&&m.releasePointerCapture(u.pointerId),u.button===0&&u.ctrlKey===!1&&u.pointerType==="mouse"&&(v(u),u.preventDefault())}),onKeyDown:Z(r.onKeyDown,u=>{const m=p.current!=="";!(u.ctrlKey||u.altKey||u.metaKey)&&u.key.length===1&&g(u.key),!(m&&u.key===" ")&&Za.includes(u.key)&&(v(),u.preventDefault())})})})});$o.displayName=Wo;var Ho="SelectValue",Uo=d.forwardRef((e,t)=>{const{__scopeSelect:n,className:o,style:r,children:s,placeholder:i="",...a}=e,c=Pe(Ho,n),{onValueNodeHasChildrenChange:l}=c,f=s!==void 0,p=ee(t,c.onValueNodeChange);return ne(()=>{l(f)},[l,f]),x.jsx(X.span,{...a,ref:p,style:{pointerEvents:"none"},children:ur(c.value)?x.jsx(x.Fragment,{children:i}):s})});Uo.displayName=Ho;var oc="SelectIcon",jo=d.forwardRef((e,t)=>{const{__scopeSelect:n,children:o,...r}=e;return x.jsx(X.span,{"aria-hidden":!0,...r,ref:t,children:o||"▼"})});jo.displayName=oc;var rc="SelectPortal",Go=e=>x.jsx(Co,{asChild:!0,...e});Go.displayName=rc;var Me="SelectContent",Ko=d.forwardRef((e,t)=>{const n=Pe(Me,e.__scopeSelect),[o,r]=d.useState();if(ne(()=>{r(new DocumentFragment)},[]),!n.open){const s=o;return s?Qe.createPortal(x.jsx(Yo,{scope:e.__scopeSelect,children:x.jsx(vt.Slot,{scope:e.__scopeSelect,children:x.jsx("div",{children:e.children})})}),s):null}return x.jsx(Xo,{...e,ref:t})});Ko.displayName=Me;var le=10,[Yo,Ae]=je(Me),sc="SelectContentImpl",ic=Ge("SelectContent.RemoveScroll"),Xo=d.forwardRef((e,t)=>{const{__scopeSelect:n,position:o="item-aligned",onCloseAutoFocus:r,onEscapeKeyDown:s,onPointerDownOutside:i,side:a,sideOffset:c,align:l,alignOffset:f,arrowPadding:p,collisionBoundary:g,collisionPadding:h,sticky:v,hideWhenDetached:u,avoidCollisions:m,...y}=e,b=Pe(Me,n),[w,C]=d.useState(null),[k,I]=d.useState(null),P=ee(t,A=>C(A)),[E,R]=d.useState(null),[D,W]=d.useState(null),F=bt(n),[z,L]=d.useState(!1),B=d.useRef(!1);d.useEffect(()=>{if(w)return ma(w)},[w]),ks();const N=d.useCallback(A=>{const[U,...Q]=F().map(j=>j.ref.current),[V]=Q.slice(-1),H=document.activeElement;for(const j of A)if(j===H||(j?.scrollIntoView({block:"nearest"}),j===U&&k&&(k.scrollTop=0),j===V&&k&&(k.scrollTop=k.scrollHeight),j?.focus(),document.activeElement!==H))return},[F,k]),_=d.useCallback(()=>N([E,w]),[N,E,w]);d.useEffect(()=>{z&&_()},[z,_]);const{onOpenChange:S,triggerPointerDownPosRef:$}=b;d.useEffect(()=>{if(w){let A={x:0,y:0};const U=V=>{A={x:Math.abs(Math.round(V.pageX)-($.current?.x??0)),y:Math.abs(Math.round(V.pageY)-($.current?.y??0))}},Q=V=>{A.x<=10&&A.y<=10?V.preventDefault():w.contains(V.target)||S(!1),document.removeEventListener("pointermove",U),$.current=null};return $.current!==null&&(document.addEventListener("pointermove",U),document.addEventListener("pointerup",Q,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",U),document.removeEventListener("pointerup",Q,{capture:!0})}}},[w,S,$]),d.useEffect(()=>{const A=()=>S(!1);return window.addEventListener("blur",A),window.addEventListener("resize",A),()=>{window.removeEventListener("blur",A),window.removeEventListener("resize",A)}},[S]);const[te,ge]=fr(A=>{const U=F().filter(H=>!H.disabled),Q=U.find(H=>H.ref.current===document.activeElement),V=pr(U,A,Q);V&&setTimeout(()=>V.ref.current.focus())}),xe=d.useCallback((A,U,Q)=>{const V=!B.current&&!Q;(b.value!==void 0&&b.value===U||V)&&(R(A),V&&(B.current=!0))},[b.value]),q=d.useCallback(()=>w?.focus(),[w]),Y=d.useCallback((A,U,Q)=>{const V=!B.current&&!Q;(b.value!==void 0&&b.value===U||V)&&W(A)},[b.value]),de=o==="popper"?en:qo,ve=de===en?{side:a,sideOffset:c,align:l,alignOffset:f,arrowPadding:p,collisionBoundary:g,collisionPadding:h,sticky:v,hideWhenDetached:u,avoidCollisions:m}:{};return x.jsx(Yo,{scope:n,content:w,viewport:k,onViewportChange:I,itemRefCallback:xe,selectedItem:E,onItemLeave:q,itemTextRefCallback:Y,focusSelectedItem:_,selectedItemText:D,position:o,isPositioned:z,searchRef:te,children:x.jsx(Bo,{as:ic,allowPinchZoom:!0,children:x.jsx(Bn,{asChild:!0,trapped:b.open,onMountAutoFocus:A=>{A.preventDefault()},onUnmountAutoFocus:Z(r,A=>{b.trigger?.focus({preventScroll:!0}),A.preventDefault()}),children:x.jsx(_n,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:A=>A.preventDefault(),onDismiss:()=>b.onOpenChange(!1),children:x.jsx(de,{role:"listbox",id:b.contentId,"data-state":b.open?"open":"closed",dir:b.dir,onContextMenu:A=>A.preventDefault(),...y,...ve,onPlaced:()=>L(!0),ref:P,style:{display:"flex",flexDirection:"column",outline:"none",...y.style},onKeyDown:Z(y.onKeyDown,A=>{const U=A.ctrlKey||A.altKey||A.metaKey;if(A.key==="Tab"&&A.preventDefault(),!U&&A.key.length===1&&ge(A.key),["ArrowUp","ArrowDown","Home","End"].includes(A.key)){let V=F().filter(H=>!H.disabled).map(H=>H.ref.current);if(["ArrowUp","End"].includes(A.key)&&(V=V.slice().reverse()),["ArrowUp","ArrowDown"].includes(A.key)){const H=A.target,j=V.indexOf(H);V=V.slice(j+1)}setTimeout(()=>N(V)),A.preventDefault()}})})})})})})});Xo.displayName=sc;var ac="SelectItemAlignedPosition",qo=d.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:o,...r}=e,s=Pe(Me,n),i=Ae(Me,n),[a,c]=d.useState(null),[l,f]=d.useState(null),p=ee(t,P=>f(P)),g=bt(n),h=d.useRef(!1),v=d.useRef(!0),{viewport:u,selectedItem:m,selectedItemText:y,focusSelectedItem:b}=i,w=d.useCallback(()=>{if(s.trigger&&s.valueNode&&a&&l&&u&&m&&y){const P=s.trigger.getBoundingClientRect(),E=l.getBoundingClientRect(),R=s.valueNode.getBoundingClientRect(),D=y.getBoundingClientRect();if(s.dir!=="rtl"){const H=D.left-E.left,j=R.left-H,ie=P.left-j,Re=P.width+ie,an=Math.max(Re,E.width),cn=window.innerWidth-le,ln=Nn(j,[le,Math.max(le,cn-an)]);a.style.minWidth=Re+"px",a.style.left=ln+"px"}else{const H=E.right-D.right,j=window.innerWidth-R.right-H,ie=window.innerWidth-P.right-j,Re=P.width+ie,an=Math.max(Re,E.width),cn=window.innerWidth-le,ln=Nn(j,[le,Math.max(le,cn-an)]);a.style.minWidth=Re+"px",a.style.right=ln+"px"}const W=g(),F=window.innerHeight-le*2,z=u.scrollHeight,L=window.getComputedStyle(l),B=parseInt(L.borderTopWidth,10),N=parseInt(L.paddingTop,10),_=parseInt(L.borderBottomWidth,10),S=parseInt(L.paddingBottom,10),$=B+N+z+S+_,te=Math.min(m.offsetHeight*5,$),ge=window.getComputedStyle(u),xe=parseInt(ge.paddingTop,10),q=parseInt(ge.paddingBottom,10),Y=P.top+P.height/2-le,de=F-Y,ve=m.offsetHeight/2,A=m.offsetTop+ve,U=B+N+A,Q=$-U;if(U<=Y){const H=W.length>0&&m===W[W.length-1].ref.current;a.style.bottom="0px";const j=l.clientHeight-u.offsetTop-u.offsetHeight,ie=Math.max(de,ve+(H?q:0)+j+_),Re=U+ie;a.style.height=Re+"px"}else{const H=W.length>0&&m===W[0].ref.current;a.style.top="0px";const ie=Math.max(Y,B+u.offsetTop+(H?xe:0)+ve)+Q;a.style.height=ie+"px",u.scrollTop=U-Y+u.offsetTop}a.style.margin=`${le}px 0`,a.style.minHeight=te+"px",a.style.maxHeight=F+"px",o?.(),requestAnimationFrame(()=>h.current=!0)}},[g,s.trigger,s.valueNode,a,l,u,m,y,s.dir,o]);ne(()=>w(),[w]);const[C,k]=d.useState();ne(()=>{l&&k(window.getComputedStyle(l).zIndex)},[l]);const I=d.useCallback(P=>{P&&v.current===!0&&(w(),b?.(),v.current=!1)},[w,b]);return x.jsx(lc,{scope:n,contentWrapper:a,shouldExpandOnScrollRef:h,onScrollButtonChange:I,children:x.jsx("div",{ref:c,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:C},children:x.jsx(X.div,{...r,ref:p,style:{boxSizing:"border-box",maxHeight:"100%",...r.style}})})})});qo.displayName=ac;var cc="SelectPopperPosition",en=d.forwardRef((e,t)=>{const{__scopeSelect:n,align:o="start",collisionPadding:r=le,...s}=e,i=yt(n);return x.jsx(na,{...i,...s,ref:t,align:o,collisionPadding:r,style:{boxSizing:"border-box",...s.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});en.displayName=cc;var[lc,tn]=je(Me,{}),nn="SelectViewport",Zo=d.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:o,...r}=e,s=Ae(nn,n),i=tn(nn,n),a=ee(t,s.onViewportChange),c=d.useRef(0);return x.jsxs(x.Fragment,{children:[x.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),x.jsx(vt.Slot,{scope:n,children:x.jsx(X.div,{"data-radix-select-viewport":"",role:"presentation",...r,ref:a,style:{position:"relative",flex:1,overflow:"hidden auto",...r.style},onScroll:Z(r.onScroll,l=>{const f=l.currentTarget,{contentWrapper:p,shouldExpandOnScrollRef:g}=i;if(g?.current&&p){const h=Math.abs(c.current-f.scrollTop);if(h>0){const v=window.innerHeight-le*2,u=parseFloat(p.style.minHeight),m=parseFloat(p.style.height),y=Math.max(u,m);if(y<v){const b=y+h,w=Math.min(v,b),C=b-w;p.style.height=w+"px",p.style.bottom==="0px"&&(f.scrollTop=C>0?C:0,p.style.justifyContent="flex-end")}}}c.current=f.scrollTop})})})]})});Zo.displayName=nn;var Qo="SelectGroup",[dc,uc]=je(Qo),Jo=d.forwardRef((e,t)=>{const{__scopeSelect:n,...o}=e,r=_t();return x.jsx(dc,{scope:n,id:r,children:x.jsx(X.div,{role:"group","aria-labelledby":r,...o,ref:t})})});Jo.displayName=Qo;var er="SelectLabel",tr=d.forwardRef((e,t)=>{const{__scopeSelect:n,...o}=e,r=uc(er,n);return x.jsx(X.div,{id:r.id,...o,ref:t})});tr.displayName=er;var wt="SelectItem",[fc,nr]=je(wt),or=d.forwardRef((e,t)=>{const{__scopeSelect:n,value:o,disabled:r=!1,textValue:s,...i}=e,a=Pe(wt,n),c=Ae(wt,n),l=a.value===o,[f,p]=d.useState(s??""),[g,h]=d.useState(!1),v=ee(t,b=>c.itemRefCallback?.(b,o,r)),u=_t(),m=d.useRef("touch"),y=()=>{r||(a.onValueChange(o),a.onOpenChange(!1))};if(o==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return x.jsx(fc,{scope:n,value:o,disabled:r,textId:u,isSelected:l,onItemTextChange:d.useCallback(b=>{p(w=>w||(b?.textContent??"").trim())},[]),children:x.jsx(vt.ItemSlot,{scope:n,value:o,disabled:r,textValue:f,children:x.jsx(X.div,{role:"option","aria-labelledby":u,"data-highlighted":g?"":void 0,"aria-selected":l&&g,"data-state":l?"checked":"unchecked","aria-disabled":r||void 0,"data-disabled":r?"":void 0,tabIndex:r?void 0:-1,...i,ref:v,onFocus:Z(i.onFocus,()=>h(!0)),onBlur:Z(i.onBlur,()=>h(!1)),onClick:Z(i.onClick,()=>{m.current!=="mouse"&&y()}),onPointerUp:Z(i.onPointerUp,()=>{m.current==="mouse"&&y()}),onPointerDown:Z(i.onPointerDown,b=>{m.current=b.pointerType}),onPointerMove:Z(i.onPointerMove,b=>{m.current=b.pointerType,r?c.onItemLeave?.():m.current==="mouse"&&b.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Z(i.onPointerLeave,b=>{b.currentTarget===document.activeElement&&c.onItemLeave?.()}),onKeyDown:Z(i.onKeyDown,b=>{c.searchRef?.current!==""&&b.key===" "||(Qa.includes(b.key)&&y(),b.key===" "&&b.preventDefault())})})})})});or.displayName=wt;var Ze="SelectItemText",rr=d.forwardRef((e,t)=>{const{__scopeSelect:n,className:o,style:r,...s}=e,i=Pe(Ze,n),a=Ae(Ze,n),c=nr(Ze,n),l=nc(Ze,n),[f,p]=d.useState(null),g=ee(t,y=>p(y),c.onItemTextChange,y=>a.itemTextRefCallback?.(y,c.value,c.disabled)),h=f?.textContent,v=d.useMemo(()=>x.jsx("option",{value:c.value,disabled:c.disabled,children:h},c.value),[c.disabled,c.value,h]),{onNativeOptionAdd:u,onNativeOptionRemove:m}=l;return ne(()=>(u(v),()=>m(v)),[u,m,v]),x.jsxs(x.Fragment,{children:[x.jsx(X.span,{id:c.textId,...s,ref:g}),c.isSelected&&i.valueNode&&!i.valueNodeHasChildren?Qe.createPortal(s.children,i.valueNode):null]})});rr.displayName=Ze;var sr="SelectItemIndicator",pc=d.forwardRef((e,t)=>{const{__scopeSelect:n,...o}=e;return nr(sr,n).isSelected?x.jsx(X.span,{"aria-hidden":!0,...o,ref:t}):null});pc.displayName=sr;var on="SelectScrollUpButton",ir=d.forwardRef((e,t)=>{const n=Ae(on,e.__scopeSelect),o=tn(on,e.__scopeSelect),[r,s]=d.useState(!1),i=ee(t,o.onScrollButtonChange);return ne(()=>{if(n.viewport&&n.isPositioned){let a=function(){const l=c.scrollTop>0;s(l)};const c=n.viewport;return a(),c.addEventListener("scroll",a),()=>c.removeEventListener("scroll",a)}},[n.viewport,n.isPositioned]),r?x.jsx(cr,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:c}=n;a&&c&&(a.scrollTop=a.scrollTop-c.offsetHeight)}}):null});ir.displayName=on;var rn="SelectScrollDownButton",ar=d.forwardRef((e,t)=>{const n=Ae(rn,e.__scopeSelect),o=tn(rn,e.__scopeSelect),[r,s]=d.useState(!1),i=ee(t,o.onScrollButtonChange);return ne(()=>{if(n.viewport&&n.isPositioned){let a=function(){const l=c.scrollHeight-c.clientHeight,f=Math.ceil(c.scrollTop)<l;s(f)};const c=n.viewport;return a(),c.addEventListener("scroll",a),()=>c.removeEventListener("scroll",a)}},[n.viewport,n.isPositioned]),r?x.jsx(cr,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:c}=n;a&&c&&(a.scrollTop=a.scrollTop+c.offsetHeight)}}):null});ar.displayName=rn;var cr=d.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:o,...r}=e,s=Ae("SelectScrollButton",n),i=d.useRef(null),a=bt(n),c=d.useCallback(()=>{i.current!==null&&(window.clearInterval(i.current),i.current=null)},[]);return d.useEffect(()=>()=>c(),[c]),ne(()=>{a().find(f=>f.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:"nearest"})},[a]),x.jsx(X.div,{"aria-hidden":!0,...r,ref:t,style:{flexShrink:0,...r.style},onPointerDown:Z(r.onPointerDown,()=>{i.current===null&&(i.current=window.setInterval(o,50))}),onPointerMove:Z(r.onPointerMove,()=>{s.onItemLeave?.(),i.current===null&&(i.current=window.setInterval(o,50))}),onPointerLeave:Z(r.onPointerLeave,()=>{c()})})}),mc="SelectSeparator",lr=d.forwardRef((e,t)=>{const{__scopeSelect:n,...o}=e;return x.jsx(X.div,{"aria-hidden":!0,...o,ref:t})});lr.displayName=mc;var sn="SelectArrow",hc=d.forwardRef((e,t)=>{const{__scopeSelect:n,...o}=e,r=yt(n),s=Pe(sn,n),i=Ae(sn,n);return s.open&&i.position==="popper"?x.jsx(oa,{...r,...o,ref:t}):null});hc.displayName=sn;var gc="SelectBubbleInput",dr=d.forwardRef(({__scopeSelect:e,value:t,...n},o)=>{const r=d.useRef(null),s=ee(o,r),i=ca(t);return d.useEffect(()=>{const a=r.current;if(!a)return;const c=window.HTMLSelectElement.prototype,f=Object.getOwnPropertyDescriptor(c,"value").set;if(i!==t&&f){const p=new Event("change",{bubbles:!0});f.call(a,t),a.dispatchEvent(p)}},[i,t]),x.jsx(X.select,{...n,style:{...ko,...n.style},ref:s,defaultValue:t})});dr.displayName=gc;function ur(e){return e===""||e===void 0}function fr(e){const t=Oe(e),n=d.useRef(""),o=d.useRef(0),r=d.useCallback(i=>{const a=n.current+i;t(a),function c(l){n.current=l,window.clearTimeout(o.current),l!==""&&(o.current=window.setTimeout(()=>c(""),1e3))}(a)},[t]),s=d.useCallback(()=>{n.current="",window.clearTimeout(o.current)},[]);return d.useEffect(()=>()=>window.clearTimeout(o.current),[]),[n,r,s]}function pr(e,t,n){const r=t.length>1&&Array.from(t).every(l=>l===t[0])?t[0]:t,s=n?e.indexOf(n):-1;let i=vc(e,Math.max(s,0));r.length===1&&(i=i.filter(l=>l!==n));const c=i.find(l=>l.textValue.toLowerCase().startsWith(r.toLowerCase()));return c!==n?c:void 0}function vc(e,t){return e.map((n,o)=>e[(t+o)%e.length])}var bc=Vo,yc=$o,wc=Uo,xc=jo,Sc=Go,Cc=Ko,Ec=Zo,kc=Jo,Pc=tr,Ac=or,Tc=rr,Oc=ir,Ic=ar,Nc=lr;/**
45
- * @license lucide-react v0.525.0 - ISC
46
- *
47
- * This source code is licensed under the ISC license.
48
- * See the LICENSE file in the root directory of this source tree.
49
- */const Mc=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Rc=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,o)=>o?o.toUpperCase():n.toLowerCase()),mr=e=>{const t=Rc(e);return t.charAt(0).toUpperCase()+t.slice(1)},hr=(...e)=>e.filter((t,n,o)=>!!t&&t.trim()!==""&&o.indexOf(t)===n).join(" ").trim(),_c=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/**
50
- * @license lucide-react v0.525.0 - ISC
51
- *
52
- * This source code is licensed under the ISC license.
53
- * See the LICENSE file in the root directory of this source tree.
54
- */var Lc={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
55
- * @license lucide-react v0.525.0 - ISC
56
- *
57
- * This source code is licensed under the ISC license.
58
- * See the LICENSE file in the root directory of this source tree.
59
- */const Dc=G.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:o,className:r="",children:s,iconNode:i,...a},c)=>G.createElement("svg",{ref:c,...Lc,width:t,height:t,stroke:e,strokeWidth:o?Number(n)*24/Number(t):n,className:hr("lucide",r),...!s&&!_c(a)&&{"aria-hidden":"true"},...a},[...i.map(([l,f])=>G.createElement(l,f)),...Array.isArray(s)?s:[s]]));/**
60
- * @license lucide-react v0.525.0 - ISC
61
- *
62
- * This source code is licensed under the ISC license.
63
- * See the LICENSE file in the root directory of this source tree.
64
- */const gr=(e,t)=>{const n=G.forwardRef(({className:o,...r},s)=>G.createElement(Dc,{ref:s,iconNode:t,className:hr(`lucide-${Mc(mr(e))}`,`lucide-${e}`,o),...r}));return n.displayName=mr(e),n};/**
65
- * @license lucide-react v0.525.0 - ISC
66
- *
67
- * This source code is licensed under the ISC license.
68
- * See the LICENSE file in the root directory of this source tree.
69
- */const vr=gr("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
70
- * @license lucide-react v0.525.0 - ISC
71
- *
72
- * This source code is licensed under the ISC license.
73
- * See the LICENSE file in the root directory of this source tree.
74
- */const zc=gr("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);function Fc({...e}){return x.jsx(bc,{"data-slot":"select",...e})}function Bc({className:e,...t}){return x.jsx(kc,{"data-slot":"select-group",className:oe("space-y-xs",e),...t})}function Vc({...e}){return x.jsx(wc,{"data-slot":"select-value",...e})}const Wc=St(["flex","items-center","justify-between","gap-2","rounded-uk-sm","bg-bg-secondary","whitespace-nowrap","shadow-xs","transition-[color,box-shadow]","outline-none","inset-ring","inset-ring-transparent","*:data-[slot=select-value]:line-clamp-1","*:data-[slot=select-value]:flex","*:data-[slot=select-value]:items-center","*:data-[slot=select-value]:gap-2","[&_svg]:pointer-events-none","[&_svg]:shrink-0","[&_svg:not([class*='size-'])]:size-4","[&_svg:not([class*='text-'])]:text-muted-foreground"],{variants:{state:{default:"hover:inset-ring-text-tertiary focus-visible:inset-ring-brand-primary",disabled:"disabled:cursor-not-allowed disabled:bg-bg-tertiary text-text-tertiary",error:"inset-ring-danger-primary"},size:{sm:"p-sm text-sm h-6.5",base:"",lg:""}},defaultVariants:{size:"base"}});function $c({className:e,size:t,children:n,disabled:o,state:r,...s}){return x.jsxs(yc,{"data-slot":"select-trigger","data-size":t,className:oe(Wc({size:t,className:e,state:o?"disabled":r})),disabled:o,...s,children:[n,x.jsx(xc,{asChild:!0,children:x.jsx(vr,{className:"size-4 opacity-50"})})]})}function Hc({className:e,children:t,position:n="popper",...o}){return x.jsx(Sc,{children:x.jsxs(Cc,{"data-slot":"select-content",className:oe(["bg-bg-primary","data-[state=open]:animate-in","data-[state=closed]:animate-out","data-[state=closed]:fade-out-0","data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95","data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2","data-[side=left]:slide-in-from-right-2","data-[side=right]:slide-in-from-left-2","data-[side=top]:slide-in-from-bottom-2","relative","z-50","max-h-(--radix-select-content-available-height)","min-w-[8rem]","origin-(--radix-select-content-transform-origin)","overflow-x-hidden","overflow-y-auto","rounded-uk-md","shadow-md","shadow-[0_8px_20px_0_rgba(0,0,0,.80)]"],{"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1":n==="popper"},e),position:n,...o,children:[x.jsx(br,{}),x.jsx(Ec,{className:oe("p-md",{"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1":n==="popper"}),children:t}),x.jsx(yr,{})]})})}function Uc({className:e,...t}){return x.jsx(Pc,{"data-slot":"select-label",className:oe("text-text-secondary px-2 py-1.5 text-xs",e),...t})}function jc({className:e,children:t,prefix:n,suffix:o,...r}){return x.jsxs(Ac,{"data-slot":"select-item",className:oe(["group/select-item","w-full","flex","gap-md","items-center","px-md","py-xs","relative","cursor-default","rounded-uk-xs","text-xs","outline-hidden","select-none","hover:bg-bg-tertiary","data-[state=checked]:bg-brand-primary","data-[disabled]:pointer-events-none","data-[disabled]:text-text-tertiary","data-[disabled]:bg-bg-tertiary","[&_svg]:pointer-events-none","[&_svg]:shrink-0","[&_svg:not([class*='size-'])]:size-4","[&_svg:not([class*='text-'])]:text-muted-foreground","*:[span]:last:flex","*:[span]:last:items-center","*:[span]:last:gap-2"],e),...r,children:[x.jsx("p",{className:"text-text-tertiary group-data-[state=checked]/select-item:text-text-withbg flex shrink-0 gap-0.5",children:n}),x.jsx(Tc,{children:t}),x.jsx("p",{className:"text-text-tertiary group-data-[state=checked]/select-item:text-text-withbg ml-auto flex shrink-0 gap-0.5",children:o})]})}function Gc({className:e,...t}){return x.jsx(Nc,{"data-slot":"select-separator",className:oe("bg-line-primary my-lg pointer-events-none -mx-1 h-px",e),...t})}function br({className:e,...t}){return x.jsx(Oc,{"data-slot":"select-scroll-up-button",className:oe("flex cursor-default items-center justify-center py-1",e),...t,children:x.jsx(zc,{className:"size-4"})})}function yr({className:e,...t}){return x.jsx(Ic,{"data-slot":"select-scroll-down-button",className:oe("flex cursor-default items-center justify-center py-1",e),...t,children:x.jsx(vr,{className:"size-4"})})}const Kc={theme:"system",setTheme:()=>null},wr=G.createContext(Kc);function Yc({children:e,defaultTheme:t="system",storageKey:n="vuer-theme",...o}){const[r,s]=G.useState(()=>localStorage.getItem(n)||t);return G.useEffect(()=>{const i=window.document.documentElement;if(i.classList.remove("light","dark","liquidlight","liquiddark","system"),r==="system"){const a=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";i.classList.add(a);return}i.classList.add(r)},[r]),x.jsx(wr.Provider,{...o,value:G.useMemo(()=>({theme:r,setTheme:i=>{localStorage.setItem(n,i),s(i)}}),[n,r]),children:e})}const Xc=()=>{const e=G.useContext(wr);if(e===void 0)throw new Error("useTheme must be used within a ThemeProvider");return e};K.Button=as,K.InputRoot=ls,K.InputSlot=ds,K.Select=Fc,K.SelectContent=Hc,K.SelectGroup=Bc,K.SelectItem=jc,K.SelectLabel=Uc,K.SelectScrollDownButton=yr,K.SelectScrollUpButton=br,K.SelectSeparator=Gc,K.SelectTrigger=$c,K.SelectValue=Vc,K.ThemeProvider=Yc,K.useTheme=Xc,Object.defineProperty(K,Symbol.toStringTag,{value:"Module"})});
@@ -1,4 +0,0 @@
1
- export { Button, type ButtonProps } from './ui/button';
2
- export { InputRoot, InputSlot, type InputRootProps, type InputSlotProps } from './ui/input';
3
- export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, } from './ui/select';
4
- export { ThemeProvider, useTheme, type Theme } from './ui/theme-context';
@@ -1,2 +0,0 @@
1
- import { ClassValue } from 'clsx';
2
- export declare function cn(...inputs: ClassValue[]): string;
@@ -1,13 +0,0 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- import { ComponentProps } from 'react';
3
- declare const buttonVariants: (props?: ({
4
- variant?: "primary" | "secondary" | "destructive" | "ghost" | "link" | null | undefined;
5
- size?: "sm" | "base" | "lg" | null | undefined;
6
- icon?: boolean | null | undefined;
7
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
8
- interface ButtonProps extends ComponentProps<"button">, VariantProps<typeof buttonVariants> {
9
- asChild?: boolean;
10
- }
11
- declare const Button: import('react').ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
12
- export { Button };
13
- export type { ButtonProps };
@@ -1,19 +0,0 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- import { ComponentProps } from 'react';
3
- declare const inputRootVariants: (props?: ({
4
- state?: "disabled" | "default" | "error" | null | undefined;
5
- size?: "sm" | "default" | null | undefined;
6
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
- type InputComponentProps = Omit<ComponentProps<"input">, "size">;
8
- interface InputRootProps extends InputComponentProps, VariantProps<typeof inputRootVariants> {
9
- state?: "default" | "error";
10
- side?: "left" | "right";
11
- asChild?: boolean;
12
- }
13
- declare const InputRoot: import('react').ForwardRefExoticComponent<Omit<InputRootProps, "ref"> & import('react').RefAttributes<HTMLInputElement>>;
14
- interface InputSlotProps extends ComponentProps<"div"> {
15
- side?: "left" | "right";
16
- }
17
- declare const InputSlot: import('react').ForwardRefExoticComponent<Omit<InputSlotProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
18
- export { InputRoot, InputSlot };
19
- export type { InputRootProps, InputSlotProps };
@@ -1 +0,0 @@
1
- @property --tw-animation-delay{syntax:"*";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:"*";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:"*";inherits:false}@property --tw-animation-fill-mode{syntax:"*";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:"*";inherits:false;initial-value:0}@theme inline{--animation-delay-0: 0s; --animation-delay-75: 75ms; --animation-delay-100: .1s; --animation-delay-150: .15s; --animation-delay-200: .2s; --animation-delay-300: .3s; --animation-delay-500: .5s; --animation-delay-700: .7s; --animation-delay-1000: 1s; --animation-repeat-0: 0; --animation-repeat-1: 1; --animation-repeat-infinite: infinite; --animation-direction-normal: normal; --animation-direction-reverse: reverse; --animation-direction-alternate: alternate; --animation-direction-alternate-reverse: alternate-reverse; --animation-fill-mode-none: none; --animation-fill-mode-forwards: forwards; --animation-fill-mode-backwards: backwards; --animation-fill-mode-both: both; --percentage-0: 0; --percentage-5: .05; --percentage-10: .1; --percentage-15: .15; --percentage-20: .2; --percentage-25: .25; --percentage-30: .3; --percentage-35: .35; --percentage-40: .4; --percentage-45: .45; --percentage-50: .5; --percentage-55: .55; --percentage-60: .6; --percentage-65: .65; --percentage-70: .7; --percentage-75: .75; --percentage-80: .8; --percentage-85: .85; --percentage-90: .9; --percentage-95: .95; --percentage-100: 1; --percentage-translate-full: 1; --animate-in: enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); --animate-out: exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); @keyframes enter { from { opacity: var(--tw-enter-opacity,1); transform: translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0)); }}@keyframes exit { to { opacity: var(--tw-exit-opacity,1); transform: translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0)scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0)); }}--animate-accordion-down: accordion-down var(--tw-animation-duration,var(--tw-duration,.2s))ease-out; --animate-accordion-up: accordion-up var(--tw-animation-duration,var(--tw-duration,.2s))ease-out; --animate-collapsible-down: collapsible-down var(--tw-animation-duration,var(--tw-duration,.2s))ease-out; --animate-collapsible-up: collapsible-up var(--tw-animation-duration,var(--tw-duration,.2s))ease-out; @keyframes accordion-down { from { height: 0; }to { height: var(--radix-accordion-content-height,var(--bits-accordion-content-height,var(--reka-accordion-content-height,var(--kb-accordion-content-height,auto)))); }}@keyframes accordion-up { from { height: var(--radix-accordion-content-height,var(--bits-accordion-content-height,var(--reka-accordion-content-height,var(--kb-accordion-content-height,auto)))); }to { height: 0; }}@keyframes collapsible-down { from { height: 0; }to { height: var(--radix-collapsible-content-height,var(--bits-collapsible-content-height,var(--reka-collapsible-content-height,var(--kb-collapsible-content-height,auto)))); }}@keyframes collapsible-up { from { height: var(--radix-collapsible-content-height,var(--bits-collapsible-content-height,var(--reka-collapsible-content-height,var(--kb-collapsible-content-height,auto)))); }to { height: 0; }}--animate-caret-blink: caret-blink 1.25s ease-out infinite; @keyframes caret-blink { 0%,70%,100% { opacity: 1; }20%,50% { opacity: 0; }}}@utility animation-duration-*{--tw-animation-duration: calc(--value(number)*1ms) ; --tw-animation-duration: --value(--animation-duration-*,[duration],"initial",[*]); animation-duration: calc(--value(number)*1ms) ; animation-duration: --value(--animation-duration-*,[duration],"initial",[*]);}@utility delay-*{animation-delay: calc(--value(number)*1ms) ; animation-delay: --value(--animation-delay-*,[duration],"initial",[*]); --tw-animation-delay: calc(--value(number)*1ms) ; --tw-animation-delay: --value(--animation-delay-*,[duration],"initial",[*]);}@utility repeat-*{animation-iteration-count: --value(--animation-repeat-*,number,"initial",[*]); --tw-animation-iteration-count: --value(--animation-repeat-*,number,"initial",[*]);}@utility direction-*{animation-direction: --value(--animation-direction-*,"initial",[*]); --tw-animation-direction: --value(--animation-direction-*,"initial",[*]);}@utility fill-mode-*{animation-fill-mode: --value(--animation-fill-mode-*,"initial",[*]); --tw-animation-fill-mode: --value(--animation-fill-mode-*,"initial",[*]);}@utility running{animation-play-state: running;}@utility paused{animation-play-state: paused;}@utility play-state-*{animation-play-state: --value("initial",[*]);}@utility fade-in{--tw-enter-opacity: 0;}@utility fade-in-*{--tw-enter-opacity: calc(--value(number)*.01) ; --tw-enter-opacity: --value(--percentage-*,[*]);}@utility fade-out{--tw-exit-opacity: 0;}@utility fade-out-*{--tw-exit-opacity: calc(--value(number)*.01) ; --tw-exit-opacity: --value(--percentage-*,[*]);}@utility zoom-in{--tw-enter-scale: 0;}@utility zoom-in-*{--tw-enter-scale: calc(--value(number)*1%) ; --tw-enter-scale: --value(ratio) ; --tw-enter-scale: --value(--percentage-*,[*]);}@utility -zoom-in-*{--tw-enter-scale: calc(--value(number)*-1%) ; --tw-enter-scale: calc(--value(ratio)*-1) ; --tw-enter-scale: --value(--percentage-*,[*]);}@utility zoom-out{--tw-exit-scale: 0;}@utility zoom-out-*{--tw-exit-scale: calc(--value(number)*1%) ; --tw-exit-scale: --value(ratio) ; --tw-exit-scale: --value(--percentage-*,[*]);}@utility -zoom-out-*{--tw-exit-scale: calc(--value(number)*-1%) ; --tw-exit-scale: calc(--value(ratio)*-1) ; --tw-exit-scale: --value(--percentage-*,[*]);}@utility spin-in{--tw-enter-rotate: 30deg;}@utility spin-in-*{--tw-enter-rotate: calc(--value(number)*1deg) ; --tw-enter-rotate: calc(--value(ratio)*360deg) ; --tw-enter-rotate: --value(--rotate-*,[*]);}@utility -spin-in{--tw-enter-rotate: -30deg;}@utility -spin-in-*{--tw-enter-rotate: calc(--value(number)*-1deg) ; --tw-enter-rotate: calc(--value(ratio)*-360deg) ; --tw-enter-rotate: --value(--rotate-*,[*]);}@utility spin-out{--tw-exit-rotate: 30deg;}@utility spin-out-*{--tw-exit-rotate: calc(--value(number)*1deg) ; --tw-exit-rotate: calc(--value(ratio)*360deg) ; --tw-exit-rotate: --value(--rotate-*,[*]);}@utility -spin-out{--tw-exit-rotate: -30deg;}@utility -spin-out-*{--tw-exit-rotate: calc(--value(number)*-1deg) ; --tw-exit-rotate: calc(--value(ratio)*-360deg) ; --tw-exit-rotate: --value(--rotate-*,[*]);}@utility slide-in-from-top{--tw-enter-translate-y: -100%;}@utility slide-in-from-top-*{--tw-enter-translate-y: calc(--value(integer)*var(--spacing)*-1); --tw-enter-translate-y: calc(--value(--percentage-*,--percentage-translate-*)*-100%) ; --tw-enter-translate-y: calc(--value(ratio)*-100%) ; --tw-enter-translate-y: calc(--value(--translate-*,[percentage],[length])*-1) ;}@utility slide-in-from-bottom{--tw-enter-translate-y: 100%;}@utility slide-in-from-bottom-*{--tw-enter-translate-y: calc(--value(integer)*var(--spacing)); --tw-enter-translate-y: calc(--value(--percentage-*,--percentage-translate-*)*100%) ; --tw-enter-translate-y: calc(--value(ratio)*100%) ; --tw-enter-translate-y: --value(--translate-*,[percentage],[length]);}@utility slide-in-from-left{--tw-enter-translate-x: -100%;}@utility slide-in-from-left-*{--tw-enter-translate-x: calc(--value(integer)*var(--spacing)*-1); --tw-enter-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*-100%) ; --tw-enter-translate-x: calc(--value(ratio)*-100%) ; --tw-enter-translate-x: calc(--value(--translate-*,[percentage],[length])*-1) ;}@utility slide-in-from-right{--tw-enter-translate-x: 100%;}@utility slide-in-from-right-*{--tw-enter-translate-x: calc(--value(integer)*var(--spacing)); --tw-enter-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*100%) ; --tw-enter-translate-x: calc(--value(ratio)*100%) ; --tw-enter-translate-x: --value(--translate-*,[percentage],[length]);}@utility slide-in-from-start{&:dir(ltr){ --tw-enter-translate-x: -100%; }&:dir(rtl){ --tw-enter-translate-x: 100%; }}@utility slide-in-from-start-*{&:where(:dir(ltr),[dir="ltr"],[dir="ltr"]*){ --tw-enter-translate-x: calc(--value(integer)*var(--spacing)*-1); --tw-enter-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*-100%) ; --tw-enter-translate-x: calc(--value(ratio)*-100%) ; --tw-enter-translate-x: calc(--value(--translate-*,[percentage],[length])*-1) ; }&:where(:dir(rtl),[dir="rtl"],[dir="rtl"]*){ --tw-enter-translate-x: calc(--value(integer)*var(--spacing)); --tw-enter-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*100%) ; --tw-enter-translate-x: calc(--value(ratio)*100%) ; --tw-enter-translate-x: --value(--translate-*,[percentage],[length]); }}@utility slide-in-from-end{&:dir(ltr){ --tw-enter-translate-x: 100%; }&:dir(rtl){ --tw-enter-translate-x: -100%; }}@utility slide-in-from-end-*{&:where(:dir(ltr),[dir="ltr"],[dir="ltr"]*){ --tw-enter-translate-x: calc(--value(integer)*var(--spacing)); --tw-enter-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*100%) ; --tw-enter-translate-x: calc(--value(ratio)*100%) ; --tw-enter-translate-x: --value(--translate-*,[percentage],[length]); }&:where(:dir(rtl),[dir="rtl"],[dir="rtl"]*){ --tw-enter-translate-x: calc(--value(integer)*var(--spacing)*-1); --tw-enter-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*-100%) ; --tw-enter-translate-x: calc(--value(ratio)*-100%) ; --tw-enter-translate-x: calc(--value(--translate-*,[percentage],[length])*-1) ; }}@utility slide-out-to-top{--tw-exit-translate-y: -100%;}@utility slide-out-to-top-*{--tw-exit-translate-y: calc(--value(integer)*var(--spacing)*-1); --tw-exit-translate-y: calc(--value(--percentage-*,--percentage-translate-*)*-100%) ; --tw-exit-translate-y: calc(--value(ratio)*-100%) ; --tw-exit-translate-y: calc(--value(--translate-*,[percentage],[length])*-1) ;}@utility slide-out-to-bottom{--tw-exit-translate-y: 100%;}@utility slide-out-to-bottom-*{--tw-exit-translate-y: calc(--value(integer)*var(--spacing)); --tw-exit-translate-y: calc(--value(--percentage-*,--percentage-translate-*)*100%) ; --tw-exit-translate-y: calc(--value(ratio)*100%) ; --tw-exit-translate-y: --value(--translate-*,[percentage],[length]);}@utility slide-out-to-left{--tw-exit-translate-x: -100%;}@utility slide-out-to-left-*{--tw-exit-translate-x: calc(--value(integer)*var(--spacing)*-1); --tw-exit-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*-100%) ; --tw-exit-translate-x: calc(--value(ratio)*-100%) ; --tw-exit-translate-x: calc(--value(--translate-*,[percentage],[length])*-1) ;}@utility slide-out-to-right{--tw-exit-translate-x: 100%;}@utility slide-out-to-right-*{--tw-exit-translate-x: calc(--value(integer)*var(--spacing)); --tw-exit-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*100%) ; --tw-exit-translate-x: calc(--value(ratio)*100%) ; --tw-exit-translate-x: --value(--translate-*,[percentage],[length]);}@utility slide-out-to-start{&:dir(ltr){ --tw-exit-translate-x: -100%; }&:dir(rtl){ --tw-exit-translate-x: 100%; }}@utility slide-out-to-start-*{&:where(:dir(ltr),[dir="ltr"],[dir="ltr"]*){ --tw-exit-translate-x: calc(--value(integer)*var(--spacing)*-1); --tw-exit-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*-100%) ; --tw-exit-translate-x: calc(--value(ratio)*-100%) ; --tw-exit-translate-x: calc(--value(--translate-*,[percentage],[length])*-1) ; }&:where(:dir(rtl),[dir="rtl"],[dir="rtl"]*){ --tw-exit-translate-x: calc(--value(integer)*var(--spacing)); --tw-exit-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*100%) ; --tw-exit-translate-x: calc(--value(ratio)*100%) ; --tw-exit-translate-x: --value(--translate-*,[percentage],[length]); }}@utility slide-out-to-end{&:dir(ltr){ --tw-exit-translate-x: 100%; }&:dir(rtl){ --tw-exit-translate-x: -100%; }}@utility slide-out-to-end-*{&:where(:dir(ltr),[dir="ltr"],[dir="ltr"]*){ --tw-exit-translate-x: calc(--value(integer)*var(--spacing)); --tw-exit-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*100%) ; --tw-exit-translate-x: calc(--value(ratio)*100%) ; --tw-exit-translate-x: --value(--translate-*,[percentage],[length]); }&:where(:dir(rtl),[dir="rtl"],[dir="rtl"]*){ --tw-exit-translate-x: calc(--value(integer)*var(--spacing)*-1); --tw-exit-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*-100%) ; --tw-exit-translate-x: calc(--value(ratio)*-100%) ; --tw-exit-translate-x: calc(--value(--translate-*,[percentage],[length])*-1) ; }}:root{--brand-primary: var(--blue-6);--brand-secondary: var(--blue-4);--brand-tertiary: var(--blue-8);--text-highlight: var(--black-1);--text-primary: var(--gray-9);--text-secondary: var(--gray-7);--text-tertiary: var(--gray-5);--text-withbg: var(--white-1);--bg-primary: var(--white-1);--bg-secondary: var(--gray-1);--bg-tertiary: var(--gray-2);--bg-mask: var(--black-alpha-5);--icon-highlight: var(--black-1);--icon-primary: var(--gray-8);--icon-secondary: var(--gray-6);--icon-tertiary: var(--gray-4);--icon-withbg: var(--white-1);--danger-primary: var(--red-6);--danger-secondary: var(--red-4);--danger-tertiary: var(--red-8);--accent-warning: var(--yellow-6);--accent-success: var(--green-6);--line-primary: var(--gray-2);--line-secondary: var(--gray-6);--shadow-primary: var(--black-alpha-3);--shadow-secondary: var(--black-alpha-4);--black-1: rgba(0, 0, 0, 1);--black-alpha-1: rgba(0, 0, 0, .6);--black-alpha-2: rgba(0, 0, 0, .2);--black-alpha-3: rgba(0, 0, 0, .1);--black-alpha-4: rgba(0, 0, 0, .06);--black-alpha-5: rgba(56, 57, 59, .5);--black-alpha-6: rgba(90, 93, 98, .3);--black-alpha-7: rgba(75, 77, 83, .5);--white-1: rgba(255, 255, 255, 1);--white-alpha-1: rgba(227, 230, 235, .6);--white-alpha-2: rgba(173, 176, 183, .6);--white-alpha-3: rgba(246, 247, 248, .8);--blue-1: rgba(230, 246, 255, 1);--blue-2: rgba(163, 220, 255, 1);--blue-3: rgba(122, 200, 255, 1);--blue-4: rgba(82, 177, 255, 1);--blue-5: rgba(41, 151, 255, 1);--blue-6: rgba(0, 123, 255, 1);--blue-7: rgba(0, 98, 217, 1);--blue-8: rgba(0, 74, 179, 1);--blue-9: rgba(0, 54, 140, 1);--blue-10: rgba(0, 36, 102, 1);--gray-1: rgba(245, 245, 245, 1);--gray-2: rgba(220, 222, 229, 1);--gray-3: rgba(202, 206, 217, 1);--gray-4: rgba(181, 184, 196, 1);--gray-5: rgba(147, 150, 159, 1);--gray-6: rgba(121, 124, 131, 1);--gray-7: rgba(87, 90, 96, 1);--gray-8: rgba(75, 77, 83, 1);--gray-9: rgba(52, 53, 56, 1);--gray-10: rgba(29, 29, 30, 1);--red-1: rgba(255, 240, 240, 1);--red-2: rgba(255, 232, 232, 1);--red-3: rgba(255, 191, 192, 1);--red-4: rgba(255, 150, 156, 1);--red-5: rgba(255, 110, 122, 1);--red-6: rgba(255, 69, 91, 1);--red-7: rgba(217, 48, 73, 1);--red-8: rgba(179, 30, 58, 1);--red-9: rgba(140, 17, 44, 1);--red-10: rgba(102, 11, 34, 1);--yellow-1: rgba(255, 253, 240, 1);--yellow-2: rgba(255, 248, 214, 1);--yellow-3: rgba(255, 237, 173, 1);--yellow-4: rgba(255, 224, 133, 1);--yellow-5: rgba(255, 209, 92, 1);--yellow-6: rgba(251, 187, 49, 1);--yellow-7: rgba(212, 149, 32, 1);--yellow-8: rgba(173, 114, 17, 1);--yellow-9: rgba(135, 82, 7, 1);--yellow-10: rgba(97, 55, 4, 1);--green-1: rgba(240, 255, 243, 1);--green-2: rgba(228, 242, 231, 1);--green-3: rgba(211, 230, 216, 1);--green-4: rgba(165, 217, 181, 1);--green-5: rgba(122, 204, 151, 1);--green-6: rgba(84, 190, 125, 1);--green-7: rgba(60, 153, 99, 1);--green-8: rgba(39, 115, 73, 1);--green-9: rgba(22, 77, 48, 1);--green-10: rgba(11, 38, 25, 1);--radius: .25rem;--spacing: .25rem}.dark{--brand-primary: var(--blue-6);--brand-secondary: var(--blue-4);--brand-tertiary: var(--blue-8);--text-highlight: var(--white-1);--text-primary: var(--gray-2);--text-secondary: var(--gray-5);--text-tertiary: var(--gray-6);--text-withbg: var(--white-1);--bg-primary: var(--gray-10);--bg-secondary: var(--gray-9);--bg-tertiary: var(--gray-7);--bg-mask: var(--black-alpha-5);--icon-highlight: var(--white-1);--icon-primary: var(--gray-2);--icon-secondary: var(--gray-5);--icon-tertiary: var(--gray-6);--icon-withbg: var(--white-1);--danger-primary: var(--red-6);--danger-secondary: var(--red-4);--danger-tertiary: var(--red-8);--accent-warning: var(--yellow-6);--accent-success: var(--green-6);--line-primary: var(--gray-8);--line-secondary: var(--gray-4);--shadow-primary: var(--black-alpha-1);--shadow-secondary: var(--black-alpha-2)}.liquidlight{--brand-primary: var(--blue-6);--brand-secondary: var(--blue-4);--brand-tertiary: var(--blue-8);--text-highlight: var(--black-1);--text-primary: var(--gray-9);--text-secondary: var(--gray-7);--text-tertiary: var(--gray-5);--text-withbg: var(--white-1);--bg-primary: var(--white-1);--bg-secondary: var(--white-alpha-1);--bg-tertiary: var(--gray-2);--bg-mask: var(--white-alpha-3);--line-primary: var(--white-alpha-2);--line-secondary: var(--gray-6);--shadow-primary: var(--black-alpha-3);--shadow-secondary: var(--black-alpha-4)}.liquiddark{--brand-primary: var(--blue-6);--brand-secondary: var(--blue-4);--brand-tertiary: var(--blue-8);--text-highlight: var(--white-1);--text-primary: var(--gray-2);--text-secondary: var(--gray-5);--text-tertiary: var(--gray-6);--text-withbg: var(--white-1);--bg-primary: var(--gray-10);--bg-secondary: var(--black-alpha-6);--bg-tertiary: var(--gray-7);--bg-mask: var(--black-alpha-5);--icon-highlight: var(--white-1);--icon-primary: var(--gray-2);--icon-secondary: var(--gray-5);--icon-tertiary: var(--gray-6);--icon-withbg: var(--white-1);--danger-primary: var(--red-6);--danger-secondary: var(--red-4);--danger-tertiary: var(--red-8);--accent-warning: var(--yellow-6);--accent-success: var(--green-6);--line-primary: var(--black-alpha-7);--line-secondary: var(--gray-4);--shadow-primary: var(--black-alpha-1);--shadow-secondary: var(--black-alpha-2)}@theme inline{ --color-brand-primary: var(--brand-primary); --color-brand-secondary: var(--brand-secondary); --color-brand-tertiary: var(--brand-tertiary); --color-text-highlight: var(--text-highlight); --color-text-primary: var(--text-primary); --color-text-secondary: var(--text-secondary); --color-text-tertiary: var(--text-tertiary); --color-text-withbg: var(--text-withbg); --color-bg-primary: var(--bg-primary); --color-bg-secondary: var(--bg-secondary); --color-bg-tertiary: var(--bg-tertiary); --color-bg-mask: var(--bg-mask); --color-icon-highlight: var(--icon-highlight); --color-icon-primary: var(--icon-primary); --color-icon-secondary: var(--icon-secondary); --color-icon-tertiary: var(--icon-tertiary); --color-icon-withbg: var(--icon-withbg); --color-danger-primary: var(--danger-primary); --color-danger-secondary: var(--danger-secondary); --color-danger-tertiary: var(--danger-tertiary); --color-accent-warning: var(--accent-warning); --color-accent-success: var(--accent-success); --color-line-primary: var(--line-primary); --color-line-secondary: var(--line-secondary); --color-shadow-primary: var(--shadow-primary); --color-shadow-secondary: var(--shadow-secondary); --radius-uk-xs: var(--radius); --radius-uk-sm: calc(var(--radius) + 2px); --radius-uk-md: calc(var(--radius) + 4px); --radius-uk-lg: calc(var(--radius) + 8px); --radius-uk-xl: calc(var(--radius) + 12px); --spacing-xxs: calc(var(--spacing) - 2px); --spacing-xs: var(--spacing); --spacing-sm: calc(var(--spacing) + 2px); --spacing-md: calc(var(--spacing) + 4px); --spacing-lg: calc(var(--spacing) + 8px); --spacing-xl: calc(var(--spacing) + 12px); }