aravint-ui-navigation 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Readme.md ADDED
@@ -0,0 +1,249 @@
1
+ # @digitus-fci-oa/button
2
+
3
+ A reusable, accessible Button component with support for variants, icons, loading states, and tooltip-enabled icon buttons.
4
+
5
+ Refer to this URL for npm:
6
+
7
+ https://github.com/digitus-git/AFCI_OffAuto/tree/develop_rel_phase1/packages
8
+
9
+
10
+
11
+ ---
12
+
13
+ ## Installation
14
+
15
+ ```bash
16
+ npm install @digitus-fci-oa/button
17
+ ```
18
+
19
+ ---
20
+
21
+ ## Usage
22
+
23
+ ```tsx
24
+ import { Button } from '@digitus-fci-oa/button';
25
+ import { Save, Trash2, X, Pencil } from 'lucide-react';
26
+
27
+ export function TestButton() {
28
+ return (
29
+ <div style={{ display: "flex", gap: "10px", padding: "20px" }}>
30
+
31
+ <Button variant="save" leftIcon={<Save size={14} />} loading={saveLoading}>
32
+ Save
33
+ </Button>
34
+
35
+ <Button variant="update" rightIcon={<Save size={14} />}>
36
+ Update
37
+ </Button>
38
+
39
+ <Button variant="delete" leftIcon={<Trash2 size={14} />}>
40
+ Delete
41
+ </Button>
42
+
43
+ <Button variant="cancel" leftIcon={<X size={14} />}>
44
+ Cancel
45
+ </Button>
46
+
47
+ {/* Icon-only button with tooltip */}
48
+ <Button
49
+ variant="update"
50
+ size="icon"
51
+ iconButton
52
+ tooltipLabel="Edit record"
53
+ >
54
+ <Pencil size={16} />
55
+ </Button>
56
+
57
+ </div>
58
+ );
59
+ }
60
+ ```
61
+ export default function Example() {
62
+ const [open, setOpen] = useState(false);
63
+
64
+ const handleExport = async (
65
+ type: "xlsx" | "csv" | "pdf"
66
+ ) => {
67
+ console.log(type);
68
+ };
69
+
70
+ return (
71
+ <ExportButton
72
+ open={open}
73
+ setOpen={setOpen}
74
+ onExport={handleExportClick}
75
+ buttonClassName="
76
+ flex items-center
77
+ gap-[2px]
78
+ bg-[hsla(161,94%,30%,1)]
79
+ h-[30px]
80
+ px-3
81
+ rounded-[8px]
82
+ text-white
83
+ text-xs
84
+ font-medium
85
+ "
86
+ buttonIcon={
87
+ <>
88
+ <Download className="w-4 h-4 text-white" />
89
+ <span className="text-white">Export</span>
90
+ </>
91
+ }
92
+ items={{
93
+ xlsx: {
94
+ label: "XLSX",
95
+ icon: <FileSpreadsheet />,
96
+ iconClassName: "text-green-600",
97
+ textClassName: "text-green-600",
98
+ iconWidth: "w-5",
99
+ iconHeight: "h-5",
100
+ },
101
+
102
+ csv: {
103
+ label: "CSV",
104
+ icon: <FileText />,
105
+ iconClassName: "text-blue-600",
106
+ textClassName: "text-blue-600",
107
+ iconWidth: "w-5",
108
+ iconHeight: "h-5",
109
+ },
110
+
111
+ pdf: {
112
+ label: "PDF",
113
+ icon: <FileText />,
114
+ iconClassName: "text-red-600",
115
+ textClassName: "text-red-600",
116
+ iconWidth: "w-5",
117
+ iconHeight: "h-5",
118
+ },
119
+ }}
120
+ />
121
+ );
122
+ }
123
+ ```
124
+
125
+ ---
126
+ ---
127
+
128
+ ## Props
129
+
130
+ | Prop | Type | Default | Description |
131
+ |----------------|-------------------|-------------|-----------------------------------------------------------------------------|
132
+ | `variant` | `string` | `"default"` | Button style: `save`, `update`, `delete`, `cancel` |
133
+ | `size` | `string` | `"default"` | Button size: `default`, `sm`, `lg`, `icon`, `xs` |
134
+ | `loading` | `boolean` | `false` | Shows a loading spinner and disables the button |
135
+ | `leftIcon` | `React.ReactNode` | `undefined` | Icon displayed to the left of the label |
136
+ | `rightIcon` | `React.ReactNode` | `undefined` | Icon displayed to the right of the label |
137
+ | `iconButton` | `boolean` | `false` | Wraps the button in a tooltip provider (use with `tooltipLabel`) |
138
+ | `tooltipLabel` | `string` | `undefined` | Tooltip text shown on hover when `iconButton` is `true` |
139
+ | `onClick` | `() => void` | `undefined` | Click handler |
140
+ | `children` | `React.ReactNode` | — | Button label text or icon content |
141
+ | `disabled` | `boolean` | `false` | Disables the button |
142
+ | `className` | `string` | `undefined` | Additional CSS classes (Tailwind supported) |
143
+ | `style` | `CSSProperties` | `undefined` | Inline styles (merged on top of variant styles) |
144
+
145
+ | `open` | `boolean` | |Controls dropdown visibility |
146
+ | `setOpen` | `Dispatch<SetStateAction<boolean>>` | Updates dropdown state |
147
+ | `onExport` | `(type) => void` | Export callback |
148
+ | `buttonLabel` | `string` | | Button label |
149
+ | `buttonIcon` | `ReactNode` | | Optional button icon |
150
+ | `items` | `Record` | | Export menu items |
151
+ | `className` | `string` | | Additional classes |
152
+
153
+ ---
154
+
155
+ ## Variants
156
+
157
+ | Variant | Color | Description |
158
+ |-----------|------------------|----------------------------------|
159
+ | `default` | Blue (`#3B82F6`) | General-purpose action |
160
+ | `save` | Navy (`#003B71`) | Primary save / create action |
161
+ | `update` | Navy (`#003B71`) | Edit / update action |
162
+ | `delete` | Red (`#FF6070`) | Destructive / remove action |
163
+ | `cancel` | White / bordered | Dismiss / abort action |
164
+
165
+ ---
166
+
167
+ ## Sizes
168
+
169
+ | Size | Height | Description |
170
+ |-----------|--------|------------------------------------|
171
+ | `default` | 40px | Standard button |
172
+ | `sm` | 36px | Compact button |
173
+ | `lg` | 44px | Large button |
174
+ | `icon` | 40×40px| Square icon-only button |
175
+ | `xs` | 20px | Extra-small button (e.g. in tables)|
176
+
177
+ ---
178
+
179
+ ## Icon Support
180
+
181
+ Icons can be placed on the **left** or **right** side of the button label using `leftIcon` and `rightIcon` props. Works with any icon library (e.g. [lucide-react](https://lucide.dev/)).
182
+
183
+ ```tsx
184
+ import { Pencil } from 'lucide-react';
185
+
186
+ <Button variant="update" leftIcon={<Pencil size={14} />}>
187
+ Edit
188
+ </Button>
189
+ ```
190
+
191
+ ---
192
+
193
+ ## Loading State
194
+
195
+ Pass `loading={true}` to show a spinner and automatically disable the button during async operations.
196
+
197
+ ```tsx
198
+ const [saving, setSaving] = useState(false);
199
+
200
+ <Button
201
+ variant="save"
202
+ loading={saving}
203
+ onClick={() => setSaving(true)}
204
+ leftIcon={<Save size={14} />}
205
+ >
206
+ Save
207
+ </Button>
208
+ ```
209
+
210
+ ## Supported Export Types
211
+
212
+ - XLSX
213
+ - CSV
214
+ - PDF
215
+ ---
216
+ ## Features
217
+
218
+ - Reusable dropdown export button
219
+ - TailwindCSS support
220
+ - Custom icons
221
+ - Controlled open state
222
+ - Lightweight and reusable
223
+
224
+ ---
225
+ ## Icon Button with Tooltip
226
+
227
+ Set `iconButton={true}` to wrap the button in a tooltip. Pass `tooltipLabel` to set the tooltip text. Pair with `size="icon"` for a square icon-only button.
228
+
229
+ ```tsx
230
+ import { Trash2 } from 'lucide-react';
231
+
232
+ <Button
233
+ variant="delete"
234
+ size="icon"
235
+ iconButton
236
+ tooltipLabel="Delete record"
237
+ onClick={handleDelete}
238
+ >
239
+ <Trash2 size={16} />
240
+ </Button>
241
+ ```
242
+
243
+ > **Note:** `tooltipLabel` only displays when `iconButton` is `true`. If `tooltipLabel` is omitted while `iconButton` is `true`, the tooltip trigger is still rendered but no tooltip content is shown.
244
+
245
+ ---
246
+
247
+ ## License
248
+
249
+ MIT
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("react/jsx-runtime"),he=require("react"),ht=require("react-dom");function Jt(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 f=Jt(he),Qt=Jt(ht);function en(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=en(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function tn(){for(var e,t,n=0,o="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=en(e))&&(o&&(o+=" "),o+=t);return o}const Mt=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Lt=tn,io=(e,t)=>n=>{var o;if((t==null?void 0:t.variants)==null)return Lt(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:r,defaultVariants:s}=t,i=Object.keys(r).map(c=>{const d=n==null?void 0:n[c],u=s==null?void 0:s[c];if(d===null)return null;const m=Mt(d)||Mt(u);return r[c][m]}),a=n&&Object.entries(n).reduce((c,d)=>{let[u,m]=d;return m===void 0||(c[u]=m),c},{}),l=t==null||(o=t.compoundVariants)===null||o===void 0?void 0:o.reduce((c,d)=>{let{class:u,className:m,...p}=d;return Object.entries(p).every(h=>{let[g,x]=h;return Array.isArray(x)?x.includes({...s,...a}[g]):{...s,...a}[g]===x})?[...c,u,m]:c},[]);return Lt(e,i,l,n==null?void 0:n.class,n==null?void 0:n.className)},gt="-",ao=e=>{const t=co(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{const a=i.split(gt);return a[0]===""&&a.length!==1&&a.shift(),nn(a,t)||lo(i)},getConflictingClassGroupIds:(i,a)=>{const l=n[i]||[];return a&&o[i]?[...l,...o[i]]:l}}},nn=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const n=e[0],o=t.nextPart.get(n),r=o?nn(e.slice(1),o):void 0;if(r)return r;if(t.validators.length===0)return;const s=e.join(gt);return(i=t.validators.find(({validator:a})=>a(s)))==null?void 0:i.classGroupId},Dt=/^\[(.+)\]$/,lo=e=>{if(Dt.test(e)){const t=Dt.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},co=e=>{const{theme:t,classGroups:n}=e,o={nextPart:new Map,validators:[]};for(const r in n)it(n[r],o,r,t);return o},it=(e,t,n,o)=>{e.forEach(r=>{if(typeof r=="string"){const s=r===""?t:_t(t,r);s.classGroupId=n;return}if(typeof r=="function"){if(uo(r)){it(r(o),t,n,o);return}t.validators.push({validator:r,classGroupId:n});return}Object.entries(r).forEach(([s,i])=>{it(i,_t(t,s),n,o)})})},_t=(e,t)=>{let n=e;return t.split(gt).forEach(o=>{n.nextPart.has(o)||n.nextPart.set(o,{nextPart:new Map,validators:[]}),n=n.nextPart.get(o)}),n},uo=e=>e.isThemeGetter,fo=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)}}},at="!",lt=":",po=lt.length,mo=e=>{const{prefix:t,experimentalParseClassName:n}=e;let o=r=>{const s=[];let i=0,a=0,l=0,c;for(let h=0;h<r.length;h++){let g=r[h];if(i===0&&a===0){if(g===lt){s.push(r.slice(l,h)),l=h+po;continue}if(g==="/"){c=h;continue}}g==="["?i++:g==="]"?i--:g==="("?a++:g===")"&&a--}const d=s.length===0?r:r.substring(l),u=ho(d),m=u!==d,p=c&&c>l?c-l:void 0;return{modifiers:s,hasImportantModifier:m,baseClassName:u,maybePostfixModifierPosition:p}};if(t){const r=t+lt,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},ho=e=>e.endsWith(at)?e.substring(0,e.length-1):e.startsWith(at)?e.substring(1):e,go=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}},bo=e=>({cache:fo(e.cacheSize),parseClassName:mo(e),sortModifiers:go(e),...ao(e)}),xo=/\s+/,yo=(e,t)=>{const{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:r,sortModifiers:s}=t,i=[],a=e.trim().split(xo);let l="";for(let c=a.length-1;c>=0;c-=1){const d=a[c],{isExternal:u,modifiers:m,hasImportantModifier:p,baseClassName:h,maybePostfixModifierPosition:g}=n(d);if(u){l=d+(l.length>0?" "+l:l);continue}let x=!!g,y=o(x?h.substring(0,g):h);if(!y){if(!x){l=d+(l.length>0?" "+l:l);continue}if(y=o(h),!y){l=d+(l.length>0?" "+l:l);continue}x=!1}const k=s(m).join(":"),P=p?k+at:k,R=P+y;if(i.includes(R))continue;i.push(R);const S=r(y,x);for(let T=0;T<S.length;++T){const E=S[T];i.push(P+E)}l=d+(l.length>0?" "+l:l)}return l};function wo(){let e=0,t,n,o="";for(;e<arguments.length;)(t=arguments[e++])&&(n=on(t))&&(o&&(o+=" "),o+=n);return o}const on=e=>{if(typeof e=="string")return e;let t,n="";for(let o=0;o<e.length;o++)e[o]&&(t=on(e[o]))&&(n&&(n+=" "),n+=t);return n};function vo(e,...t){let n,o,r,s=i;function i(l){const c=t.reduce((d,u)=>u(d),e());return n=bo(c),o=n.cache.get,r=n.cache.set,s=a,a(l)}function a(l){const c=o(l);if(c)return c;const d=yo(l,n);return r(l,d),d}return function(){return s(wo.apply(null,arguments))}}const W=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},rn=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,sn=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Co=/^\d+\/\d+$/,ko=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ro=/\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$/,Ao=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Po=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Eo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,we=e=>Co.test(e),O=e=>!!e&&!Number.isNaN(Number(e)),re=e=>!!e&&Number.isInteger(Number(e)),tt=e=>e.endsWith("%")&&O(e.slice(0,-1)),Q=e=>ko.test(e),So=()=>!0,To=e=>Ro.test(e)&&!Ao.test(e),an=()=>!1,Oo=e=>Po.test(e),No=e=>Eo.test(e),Mo=e=>!v(e)&&!C(e),Lo=e=>Re(e,dn,an),v=e=>rn.test(e),pe=e=>Re(e,un,To),nt=e=>Re(e,zo,O),jt=e=>Re(e,ln,an),Do=e=>Re(e,cn,No),ze=e=>Re(e,fn,Oo),C=e=>sn.test(e),Ne=e=>Ae(e,un),_o=e=>Ae(e,$o),It=e=>Ae(e,ln),jo=e=>Ae(e,dn),Io=e=>Ae(e,cn),$e=e=>Ae(e,fn,!0),Re=(e,t,n)=>{const o=rn.exec(e);return o?o[1]?t(o[1]):n(o[2]):!1},Ae=(e,t,n=!1)=>{const o=sn.exec(e);return o?o[1]?t(o[1]):n:!1},ln=e=>e==="position"||e==="percentage",cn=e=>e==="image"||e==="url",dn=e=>e==="length"||e==="size"||e==="bg-size",un=e=>e==="length",zo=e=>e==="number",$o=e=>e==="family-name",fn=e=>e==="shadow",Fo=()=>{const e=W("color"),t=W("font"),n=W("text"),o=W("font-weight"),r=W("tracking"),s=W("leading"),i=W("breakpoint"),a=W("container"),l=W("spacing"),c=W("radius"),d=W("shadow"),u=W("inset-shadow"),m=W("text-shadow"),p=W("drop-shadow"),h=W("blur"),g=W("perspective"),x=W("aspect"),y=W("ease"),k=W("animate"),P=()=>["auto","avoid","all","avoid-page","page","left","right","column"],R=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],S=()=>[...R(),C,v],T=()=>["auto","hidden","clip","visible","scroll"],E=()=>["auto","contain","none"],w=()=>[C,v,l],M=()=>[we,"full","auto",...w()],D=()=>[re,"none","subgrid",C,v],B=()=>["auto",{span:["full",re,C,v]},re,C,v],z=()=>[re,"auto",C,v],j=()=>["auto","min","max","fr",C,v],_=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],$=()=>["start","end","center","stretch","center-safe","end-safe"],N=()=>["auto",...w()],L=()=>[we,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...w()],b=()=>[e,C,v],F=()=>[...R(),It,jt,{position:[C,v]}],G=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ce=()=>["auto","cover","contain",jo,Lo,{size:[C,v]}],Se=()=>[tt,Ne,pe],V=()=>["","none","full",c,C,v],H=()=>["",O,Ne,pe],xe=()=>["solid","dashed","dotted","double"],je=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],I=()=>[O,tt,It,jt],Te=()=>["","none",h,C,v],de=()=>["none",O,C,v],ue=()=>["none",O,C,v],ye=()=>[O,C,v],fe=()=>[we,"full",...w()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Q],breakpoint:[Q],color:[So],container:[Q],"drop-shadow":[Q],ease:["in","out","in-out"],font:[Mo],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Q],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Q],shadow:[Q],spacing:["px",O],text:[Q],"text-shadow":[Q],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",we,v,C,x]}],container:["container"],columns:[{columns:[O,v,C,a]}],"break-after":[{"break-after":P()}],"break-before":[{"break-before":P()}],"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:S()}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:M()}],"inset-x":[{"inset-x":M()}],"inset-y":[{"inset-y":M()}],start:[{start:M()}],end:[{end:M()}],top:[{top:M()}],right:[{right:M()}],bottom:[{bottom:M()}],left:[{left:M()}],visibility:["visible","invisible","collapse"],z:[{z:[re,"auto",C,v]}],basis:[{basis:[we,"full","auto",a,...w()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[O,we,"auto","initial","none",v]}],grow:[{grow:["",O,C,v]}],shrink:[{shrink:["",O,C,v]}],order:[{order:[re,"first","last","none",C,v]}],"grid-cols":[{"grid-cols":D()}],"col-start-end":[{col:B()}],"col-start":[{"col-start":z()}],"col-end":[{"col-end":z()}],"grid-rows":[{"grid-rows":D()}],"row-start-end":[{row:B()}],"row-start":[{"row-start":z()}],"row-end":[{"row-end":z()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":j()}],"auto-rows":[{"auto-rows":j()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[..._(),"normal"]}],"justify-items":[{"justify-items":[...$(),"normal"]}],"justify-self":[{"justify-self":["auto",...$()]}],"align-content":[{content:["normal",..._()]}],"align-items":[{items:[...$(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...$(),{baseline:["","last"]}]}],"place-content":[{"place-content":_()}],"place-items":[{"place-items":[...$(),"baseline"]}],"place-self":[{"place-self":["auto",...$()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],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":w()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":w()}],"space-y-reverse":["space-y-reverse"],size:[{size:L()}],w:[{w:[a,"screen",...L()]}],"min-w":[{"min-w":[a,"screen","none",...L()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[i]},...L()]}],h:[{h:["screen",...L()]}],"min-h":[{"min-h":["screen","none",...L()]}],"max-h":[{"max-h":["screen",...L()]}],"font-size":[{text:["base",n,Ne,pe]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,C,nt]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",tt,v]}],"font-family":[{font:[_o,v,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,C,v]}],"line-clamp":[{"line-clamp":[O,"none",C,nt]}],leading:[{leading:[s,...w()]}],"list-image":[{"list-image":["none",C,v]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",C,v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:b()}],"text-color":[{text:b()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...xe(),"wavy"]}],"text-decoration-thickness":[{decoration:[O,"from-font","auto",C,pe]}],"text-decoration-color":[{decoration:b()}],"underline-offset":[{"underline-offset":[O,"auto",C,v]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:w()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",C,v]}],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",C,v]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:F()}],"bg-repeat":[{bg:G()}],"bg-size":[{bg:ce()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},re,C,v],radial:["",C,v],conic:[re,C,v]},Io,Do]}],"bg-color":[{bg:b()}],"gradient-from-pos":[{from:Se()}],"gradient-via-pos":[{via:Se()}],"gradient-to-pos":[{to:Se()}],"gradient-from":[{from:b()}],"gradient-via":[{via:b()}],"gradient-to":[{to:b()}],rounded:[{rounded:V()}],"rounded-s":[{"rounded-s":V()}],"rounded-e":[{"rounded-e":V()}],"rounded-t":[{"rounded-t":V()}],"rounded-r":[{"rounded-r":V()}],"rounded-b":[{"rounded-b":V()}],"rounded-l":[{"rounded-l":V()}],"rounded-ss":[{"rounded-ss":V()}],"rounded-se":[{"rounded-se":V()}],"rounded-ee":[{"rounded-ee":V()}],"rounded-es":[{"rounded-es":V()}],"rounded-tl":[{"rounded-tl":V()}],"rounded-tr":[{"rounded-tr":V()}],"rounded-br":[{"rounded-br":V()}],"rounded-bl":[{"rounded-bl":V()}],"border-w":[{border:H()}],"border-w-x":[{"border-x":H()}],"border-w-y":[{"border-y":H()}],"border-w-s":[{"border-s":H()}],"border-w-e":[{"border-e":H()}],"border-w-t":[{"border-t":H()}],"border-w-r":[{"border-r":H()}],"border-w-b":[{"border-b":H()}],"border-w-l":[{"border-l":H()}],"divide-x":[{"divide-x":H()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":H()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...xe(),"hidden","none"]}],"divide-style":[{divide:[...xe(),"hidden","none"]}],"border-color":[{border:b()}],"border-color-x":[{"border-x":b()}],"border-color-y":[{"border-y":b()}],"border-color-s":[{"border-s":b()}],"border-color-e":[{"border-e":b()}],"border-color-t":[{"border-t":b()}],"border-color-r":[{"border-r":b()}],"border-color-b":[{"border-b":b()}],"border-color-l":[{"border-l":b()}],"divide-color":[{divide:b()}],"outline-style":[{outline:[...xe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[O,C,v]}],"outline-w":[{outline:["",O,Ne,pe]}],"outline-color":[{outline:b()}],shadow:[{shadow:["","none",d,$e,ze]}],"shadow-color":[{shadow:b()}],"inset-shadow":[{"inset-shadow":["none",u,$e,ze]}],"inset-shadow-color":[{"inset-shadow":b()}],"ring-w":[{ring:H()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:b()}],"ring-offset-w":[{"ring-offset":[O,pe]}],"ring-offset-color":[{"ring-offset":b()}],"inset-ring-w":[{"inset-ring":H()}],"inset-ring-color":[{"inset-ring":b()}],"text-shadow":[{"text-shadow":["none",m,$e,ze]}],"text-shadow-color":[{"text-shadow":b()}],opacity:[{opacity:[O,C,v]}],"mix-blend":[{"mix-blend":[...je(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":je()}],"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":[O]}],"mask-image-linear-from-pos":[{"mask-linear-from":I()}],"mask-image-linear-to-pos":[{"mask-linear-to":I()}],"mask-image-linear-from-color":[{"mask-linear-from":b()}],"mask-image-linear-to-color":[{"mask-linear-to":b()}],"mask-image-t-from-pos":[{"mask-t-from":I()}],"mask-image-t-to-pos":[{"mask-t-to":I()}],"mask-image-t-from-color":[{"mask-t-from":b()}],"mask-image-t-to-color":[{"mask-t-to":b()}],"mask-image-r-from-pos":[{"mask-r-from":I()}],"mask-image-r-to-pos":[{"mask-r-to":I()}],"mask-image-r-from-color":[{"mask-r-from":b()}],"mask-image-r-to-color":[{"mask-r-to":b()}],"mask-image-b-from-pos":[{"mask-b-from":I()}],"mask-image-b-to-pos":[{"mask-b-to":I()}],"mask-image-b-from-color":[{"mask-b-from":b()}],"mask-image-b-to-color":[{"mask-b-to":b()}],"mask-image-l-from-pos":[{"mask-l-from":I()}],"mask-image-l-to-pos":[{"mask-l-to":I()}],"mask-image-l-from-color":[{"mask-l-from":b()}],"mask-image-l-to-color":[{"mask-l-to":b()}],"mask-image-x-from-pos":[{"mask-x-from":I()}],"mask-image-x-to-pos":[{"mask-x-to":I()}],"mask-image-x-from-color":[{"mask-x-from":b()}],"mask-image-x-to-color":[{"mask-x-to":b()}],"mask-image-y-from-pos":[{"mask-y-from":I()}],"mask-image-y-to-pos":[{"mask-y-to":I()}],"mask-image-y-from-color":[{"mask-y-from":b()}],"mask-image-y-to-color":[{"mask-y-to":b()}],"mask-image-radial":[{"mask-radial":[C,v]}],"mask-image-radial-from-pos":[{"mask-radial-from":I()}],"mask-image-radial-to-pos":[{"mask-radial-to":I()}],"mask-image-radial-from-color":[{"mask-radial-from":b()}],"mask-image-radial-to-color":[{"mask-radial-to":b()}],"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":R()}],"mask-image-conic-pos":[{"mask-conic":[O]}],"mask-image-conic-from-pos":[{"mask-conic-from":I()}],"mask-image-conic-to-pos":[{"mask-conic-to":I()}],"mask-image-conic-from-color":[{"mask-conic-from":b()}],"mask-image-conic-to-color":[{"mask-conic-to":b()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:F()}],"mask-repeat":[{mask:G()}],"mask-size":[{mask:ce()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",C,v]}],filter:[{filter:["","none",C,v]}],blur:[{blur:Te()}],brightness:[{brightness:[O,C,v]}],contrast:[{contrast:[O,C,v]}],"drop-shadow":[{"drop-shadow":["","none",p,$e,ze]}],"drop-shadow-color":[{"drop-shadow":b()}],grayscale:[{grayscale:["",O,C,v]}],"hue-rotate":[{"hue-rotate":[O,C,v]}],invert:[{invert:["",O,C,v]}],saturate:[{saturate:[O,C,v]}],sepia:[{sepia:["",O,C,v]}],"backdrop-filter":[{"backdrop-filter":["","none",C,v]}],"backdrop-blur":[{"backdrop-blur":Te()}],"backdrop-brightness":[{"backdrop-brightness":[O,C,v]}],"backdrop-contrast":[{"backdrop-contrast":[O,C,v]}],"backdrop-grayscale":[{"backdrop-grayscale":["",O,C,v]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[O,C,v]}],"backdrop-invert":[{"backdrop-invert":["",O,C,v]}],"backdrop-opacity":[{"backdrop-opacity":[O,C,v]}],"backdrop-saturate":[{"backdrop-saturate":[O,C,v]}],"backdrop-sepia":[{"backdrop-sepia":["",O,C,v]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",C,v]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[O,"initial",C,v]}],ease:[{ease:["linear","initial",y,C,v]}],delay:[{delay:[O,C,v]}],animate:[{animate:["none",k,C,v]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,C,v]}],"perspective-origin":[{"perspective-origin":S()}],rotate:[{rotate:de()}],"rotate-x":[{"rotate-x":de()}],"rotate-y":[{"rotate-y":de()}],"rotate-z":[{"rotate-z":de()}],scale:[{scale:ue()}],"scale-x":[{"scale-x":ue()}],"scale-y":[{"scale-y":ue()}],"scale-z":[{"scale-z":ue()}],"scale-3d":["scale-3d"],skew:[{skew:ye()}],"skew-x":[{"skew-x":ye()}],"skew-y":[{"skew-y":ye()}],transform:[{transform:[C,v,"","none","gpu","cpu"]}],"transform-origin":[{origin:S()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:fe()}],"translate-x":[{"translate-x":fe()}],"translate-y":[{"translate-y":fe()}],"translate-z":[{"translate-z":fe()}],"translate-none":["translate-none"],accent:[{accent:b()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:b()}],"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",C,v]}],"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":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"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",C,v]}],fill:[{fill:["none",...b()]}],"stroke-w":[{stroke:[O,Ne,pe,nt]}],stroke:[{stroke:["none",...b()]}],"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"]}},Wo=vo(Fo);function pn(...e){return Wo(tn(e))}function ee(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e==null||e(r),n===!1||!r.defaultPrevented)return t==null?void 0:t(r)}}function zt(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function mn(...e){return t=>{let n=!1;const o=e.map(r=>{const s=zt(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():zt(e[r],null)}}}}function be(...e){return f.useCallback(mn(...e),e)}function hn(e,t=[]){let n=[];function o(s,i){const a=f.createContext(i),l=n.length;n=[...n,i];const c=u=>{var y;const{scope:m,children:p,...h}=u,g=((y=m==null?void 0:m[e])==null?void 0:y[l])||a,x=f.useMemo(()=>h,Object.values(h));return A.jsx(g.Provider,{value:x,children:p})};c.displayName=s+"Provider";function d(u,m){var g;const p=((g=m==null?void 0:m[e])==null?void 0:g[l])||a,h=f.useContext(p);if(h)return h;if(i!==void 0)return i;throw new Error(`\`${u}\` must be used within \`${s}\``)}return[c,d]}const r=()=>{const s=n.map(i=>f.createContext(i));return function(a){const l=(a==null?void 0:a[e])||s;return f.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return r.scopeName=e,[o,Bo(r,...t)]}function Bo(...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:l,scopeName:c})=>{const u=l(s)[`__scope${c}`];return{...a,...u}},{});return f.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function Vo(e){const t=Ho(e),n=f.forwardRef((o,r)=>{const{children:s,...i}=o,a=f.Children.toArray(s),l=a.find(Uo);if(l){const c=l.props.children,d=a.map(u=>u===l?f.Children.count(c)>1?f.Children.only(null):f.isValidElement(c)?c.props.children:null:u);return A.jsx(t,{...i,ref:r,children:f.isValidElement(c)?f.cloneElement(c,void 0,d):null})}return A.jsx(t,{...i,ref:r,children:s})});return n.displayName=`${e}.Slot`,n}function Ho(e){const t=f.forwardRef((n,o)=>{const{children:r,...s}=n;if(f.isValidElement(r)){const i=Xo(r),a=Yo(s,r.props);return r.type!==f.Fragment&&(a.ref=o?mn(o,i):i),f.cloneElement(r,a)}return f.Children.count(r)>1?f.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var gn=Symbol("radix.slottable");function Go(e){const t=({children:n})=>A.jsx(A.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=gn,t}function Uo(e){return f.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===gn}function Yo(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 l=s(...a);return r(...a),l}:r&&(n[o]=r):o==="style"?n[o]={...r,...s}:o==="className"&&(n[o]=[r,s].filter(Boolean).join(" "))}return{...e,...n}}function Xo(e){var o,r;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var qo=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],le=qo.reduce((e,t)=>{const n=Vo(`Primitive.${t}`),o=f.forwardRef((r,s)=>{const{asChild:i,...a}=r,l=i?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),A.jsx(l,{...a,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function Ko(e,t){e&&Qt.flushSync(()=>e.dispatchEvent(t))}function Ye(e){const t=f.useRef(e);return f.useEffect(()=>{t.current=e}),f.useMemo(()=>(...n)=>{var o;return(o=t.current)==null?void 0:o.call(t,...n)},[])}function Zo(e,t=globalThis==null?void 0:globalThis.document){const n=Ye(e);f.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 Jo="DismissableLayer",ct="dismissableLayer.update",Qo="dismissableLayer.pointerDownOutside",er="dismissableLayer.focusOutside",$t,bn=f.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),xn=f.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:r,onFocusOutside:s,onInteractOutside:i,onDismiss:a,...l}=e,c=f.useContext(bn),[d,u]=f.useState(null),m=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=f.useState({}),h=be(t,E=>u(E)),g=Array.from(c.layers),[x]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),y=g.indexOf(x),k=d?g.indexOf(d):-1,P=c.layersWithOutsidePointerEventsDisabled.size>0,R=k>=y,S=or(E=>{const w=E.target,M=[...c.branches].some(D=>D.contains(w));!R||M||(r==null||r(E),i==null||i(E),E.defaultPrevented||a==null||a())},m),T=rr(E=>{const w=E.target;[...c.branches].some(D=>D.contains(w))||(s==null||s(E),i==null||i(E),E.defaultPrevented||a==null||a())},m);return Zo(E=>{k===c.layers.size-1&&(o==null||o(E),!E.defaultPrevented&&a&&(E.preventDefault(),a()))},m),f.useEffect(()=>{if(d)return n&&(c.layersWithOutsidePointerEventsDisabled.size===0&&($t=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(d)),c.layers.add(d),Ft(),()=>{n&&c.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=$t)}},[d,m,n,c]),f.useEffect(()=>()=>{d&&(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),Ft())},[d,c]),f.useEffect(()=>{const E=()=>p({});return document.addEventListener(ct,E),()=>document.removeEventListener(ct,E)},[]),A.jsx(le.div,{...l,ref:h,style:{pointerEvents:P?R?"auto":"none":void 0,...e.style},onFocusCapture:ee(e.onFocusCapture,T.onFocusCapture),onBlurCapture:ee(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:ee(e.onPointerDownCapture,S.onPointerDownCapture)})});xn.displayName=Jo;var tr="DismissableLayerBranch",nr=f.forwardRef((e,t)=>{const n=f.useContext(bn),o=f.useRef(null),r=be(t,o);return f.useEffect(()=>{const s=o.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),A.jsx(le.div,{...e,ref:r})});nr.displayName=tr;function or(e,t=globalThis==null?void 0:globalThis.document){const n=Ye(e),o=f.useRef(!1),r=f.useRef(()=>{});return f.useEffect(()=>{const s=a=>{if(a.target&&!o.current){let l=function(){yn(Qo,n,c,{discrete:!0})};const c={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",r.current),r.current=l,t.addEventListener("click",r.current,{once:!0})):l()}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 rr(e,t=globalThis==null?void 0:globalThis.document){const n=Ye(e),o=f.useRef(!1);return f.useEffect(()=>{const r=s=>{s.target&&!o.current&&yn(er,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 Ft(){const e=new CustomEvent(ct);document.dispatchEvent(e)}function yn(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?Ko(r,s):r.dispatchEvent(s)}var se=globalThis!=null&&globalThis.document?f.useLayoutEffect:()=>{},sr=f[" useId ".trim().toString()]||(()=>{}),ir=0;function ar(e){const[t,n]=f.useState(sr());return se(()=>{n(o=>o??String(ir++))},[e]),t?`radix-${t}`:""}const lr=["top","right","bottom","left"],ie=Math.min,U=Math.max,Ve=Math.round,Fe=Math.floor,Z=e=>({x:e,y:e}),cr={left:"right",right:"left",bottom:"top",top:"bottom"};function dt(e,t,n){return U(e,ie(t,n))}function te(e,t){return typeof e=="function"?e(t):e}function ne(e){return e.split("-")[0]}function Pe(e){return e.split("-")[1]}function bt(e){return e==="x"?"y":"x"}function xt(e){return e==="y"?"height":"width"}function K(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function yt(e){return bt(K(e))}function dr(e,t,n){n===void 0&&(n=!1);const o=Pe(e),r=yt(e),s=xt(r);let i=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=He(i)),[i,He(i)]}function ur(e){const t=He(e);return[ut(e),t,ut(t)]}function ut(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Wt=["left","right"],Bt=["right","left"],fr=["top","bottom"],pr=["bottom","top"];function mr(e,t,n){switch(e){case"top":case"bottom":return n?t?Bt:Wt:t?Wt:Bt;case"left":case"right":return t?fr:pr;default:return[]}}function hr(e,t,n,o){const r=Pe(e);let s=mr(ne(e),n==="start",o);return r&&(s=s.map(i=>i+"-"+r),t&&(s=s.concat(s.map(ut)))),s}function He(e){const t=ne(e);return cr[t]+e.slice(t.length)}function gr(e){return{top:0,right:0,bottom:0,left:0,...e}}function wn(e){return typeof e!="number"?gr(e):{top:e,right:e,bottom:e,left:e}}function Ge(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 Vt(e,t,n){let{reference:o,floating:r}=e;const s=K(t),i=yt(t),a=xt(i),l=ne(t),c=s==="y",d=o.x+o.width/2-r.width/2,u=o.y+o.height/2-r.height/2,m=o[a]/2-r[a]/2;let p;switch(l){case"top":p={x:d,y:o.y-r.height};break;case"bottom":p={x:d,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:u};break;case"left":p={x:o.x-r.width,y:u};break;default:p={x:o.x,y:o.y}}switch(Pe(t)){case"start":p[i]-=m*(n&&c?-1:1);break;case"end":p[i]+=m*(n&&c?-1:1);break}return p}async function br(e,t){var n;t===void 0&&(t={});const{x:o,y:r,platform:s,rects:i,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:m=!1,padding:p=0}=te(t,e),h=wn(p),x=a[m?u==="floating"?"reference":"floating":u],y=Ge(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(x)))==null||n?x:x.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:c,rootBoundary:d,strategy:l})),k=u==="floating"?{x:o,y:r,width:i.floating.width,height:i.floating.height}:i.reference,P=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),R=await(s.isElement==null?void 0:s.isElement(P))?await(s.getScale==null?void 0:s.getScale(P))||{x:1,y:1}:{x:1,y:1},S=Ge(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:k,offsetParent:P,strategy:l}):k);return{top:(y.top-S.top+h.top)/R.y,bottom:(S.bottom-y.bottom+h.bottom)/R.y,left:(y.left-S.left+h.left)/R.x,right:(S.right-y.right+h.right)/R.x}}const xr=50,yr=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:s=[],platform:i}=n,a=i.detectOverflow?i:{...i,detectOverflow:br},l=await(i.isRTL==null?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:r}),{x:d,y:u}=Vt(c,o,l),m=o,p=0;const h={};for(let g=0;g<s.length;g++){const x=s[g];if(!x)continue;const{name:y,fn:k}=x,{x:P,y:R,data:S,reset:T}=await k({x:d,y:u,initialPlacement:o,placement:m,strategy:r,middlewareData:h,rects:c,platform:a,elements:{reference:e,floating:t}});d=P??d,u=R??u,h[y]={...h[y],...S},T&&p<xr&&(p++,typeof T=="object"&&(T.placement&&(m=T.placement),T.rects&&(c=T.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:r}):T.rects),{x:d,y:u}=Vt(c,m,l)),g=-1)}return{x:d,y:u,placement:m,strategy:r,middlewareData:h}},wr=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:r,rects:s,platform:i,elements:a,middlewareData:l}=t,{element:c,padding:d=0}=te(e,t)||{};if(c==null)return{};const u=wn(d),m={x:n,y:o},p=yt(r),h=xt(p),g=await i.getDimensions(c),x=p==="y",y=x?"top":"left",k=x?"bottom":"right",P=x?"clientHeight":"clientWidth",R=s.reference[h]+s.reference[p]-m[p]-s.floating[h],S=m[p]-s.reference[p],T=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c));let E=T?T[P]:0;(!E||!await(i.isElement==null?void 0:i.isElement(T)))&&(E=a.floating[P]||s.floating[h]);const w=R/2-S/2,M=E/2-g[h]/2-1,D=ie(u[y],M),B=ie(u[k],M),z=D,j=E-g[h]-B,_=E/2-g[h]/2+w,$=dt(z,_,j),N=!l.arrow&&Pe(r)!=null&&_!==$&&s.reference[h]/2-(_<z?D:B)-g[h]/2<0,L=N?_<z?_-z:_-j:0;return{[p]:m[p]+L,data:{[p]:$,centerOffset:_-$-L,...N&&{alignmentOffset:L}},reset:N}}}),vr=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:l,elements:c}=t,{mainAxis:d=!0,crossAxis:u=!0,fallbackPlacements:m,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:g=!0,...x}=te(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const y=ne(r),k=K(a),P=ne(a)===a,R=await(l.isRTL==null?void 0:l.isRTL(c.floating)),S=m||(P||!g?[He(a)]:ur(a)),T=h!=="none";!m&&T&&S.push(...hr(a,g,h,R));const E=[a,...S],w=await l.detectOverflow(t,x),M=[];let D=((o=s.flip)==null?void 0:o.overflows)||[];if(d&&M.push(w[y]),u){const _=dr(r,i,R);M.push(w[_[0]],w[_[1]])}if(D=[...D,{placement:r,overflows:M}],!M.every(_=>_<=0)){var B,z;const _=(((B=s.flip)==null?void 0:B.index)||0)+1,$=E[_];if($&&(!(u==="alignment"?k!==K($):!1)||D.every(b=>K(b.placement)===k?b.overflows[0]>0:!0)))return{data:{index:_,overflows:D},reset:{placement:$}};let N=(z=D.filter(L=>L.overflows[0]<=0).sort((L,b)=>L.overflows[1]-b.overflows[1])[0])==null?void 0:z.placement;if(!N)switch(p){case"bestFit":{var j;const L=(j=D.filter(b=>{if(T){const F=K(b.placement);return F===k||F==="y"}return!0}).map(b=>[b.placement,b.overflows.filter(F=>F>0).reduce((F,G)=>F+G,0)]).sort((b,F)=>b[1]-F[1])[0])==null?void 0:j[0];L&&(N=L);break}case"initialPlacement":N=a;break}if(r!==N)return{reset:{placement:N}}}return{}}}};function Ht(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Gt(e){return lr.some(t=>e[t]>=0)}const Cr=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:o}=t,{strategy:r="referenceHidden",...s}=te(e,t);switch(r){case"referenceHidden":{const i=await o.detectOverflow(t,{...s,elementContext:"reference"}),a=Ht(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Gt(a)}}}case"escaped":{const i=await o.detectOverflow(t,{...s,altBoundary:!0}),a=Ht(i,n.floating);return{data:{escapedOffsets:a,escaped:Gt(a)}}}default:return{}}}}},vn=new Set(["left","top"]);async function kr(e,t){const{placement:n,platform:o,elements:r}=e,s=await(o.isRTL==null?void 0:o.isRTL(r.floating)),i=ne(n),a=Pe(n),l=K(n)==="y",c=vn.has(i)?-1:1,d=s&&l?-1:1,u=te(t,e);let{mainAxis:m,crossAxis:p,alignmentAxis:h}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return a&&typeof h=="number"&&(p=a==="end"?h*-1:h),l?{x:p*d,y:m*c}:{x:m*c,y:p*d}}const Rr=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,l=await kr(t,e);return i===((n=a.offset)==null?void 0:n.placement)&&(o=a.arrow)!=null&&o.alignmentOffset?{}:{x:r+l.x,y:s+l.y,data:{...l,placement:i}}}}},Ar=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r,platform:s}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:y=>{let{x:k,y:P}=y;return{x:k,y:P}}},...c}=te(e,t),d={x:n,y:o},u=await s.detectOverflow(t,c),m=K(ne(r)),p=bt(m);let h=d[p],g=d[m];if(i){const y=p==="y"?"top":"left",k=p==="y"?"bottom":"right",P=h+u[y],R=h-u[k];h=dt(P,h,R)}if(a){const y=m==="y"?"top":"left",k=m==="y"?"bottom":"right",P=g+u[y],R=g-u[k];g=dt(P,g,R)}const x=l.fn({...t,[p]:h,[m]:g});return{...x,data:{x:x.x-n,y:x.y-o,enabled:{[p]:i,[m]:a}}}}}},Pr=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:l=!0,crossAxis:c=!0}=te(e,t),d={x:n,y:o},u=K(r),m=bt(u);let p=d[m],h=d[u];const g=te(a,t),x=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){const P=m==="y"?"height":"width",R=s.reference[m]-s.floating[P]+x.mainAxis,S=s.reference[m]+s.reference[P]-x.mainAxis;p<R?p=R:p>S&&(p=S)}if(c){var y,k;const P=m==="y"?"width":"height",R=vn.has(ne(r)),S=s.reference[u]-s.floating[P]+(R&&((y=i.offset)==null?void 0:y[u])||0)+(R?0:x.crossAxis),T=s.reference[u]+s.reference[P]+(R?0:((k=i.offset)==null?void 0:k[u])||0)-(R?x.crossAxis:0);h<S?h=S:h>T&&(h=T)}return{[m]:p,[u]:h}}}},Er=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:l=()=>{},...c}=te(e,t),d=await i.detectOverflow(t,c),u=ne(r),m=Pe(r),p=K(r)==="y",{width:h,height:g}=s.floating;let x,y;u==="top"||u==="bottom"?(x=u,y=m===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(y=u,x=m==="end"?"top":"bottom");const k=g-d.top-d.bottom,P=h-d.left-d.right,R=ie(g-d[x],k),S=ie(h-d[y],P),T=!t.middlewareData.shift;let E=R,w=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(w=P),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(E=k),T&&!m){const D=U(d.left,0),B=U(d.right,0),z=U(d.top,0),j=U(d.bottom,0);p?w=h-2*(D!==0||B!==0?D+B:U(d.left,d.right)):E=g-2*(z!==0||j!==0?z+j:U(d.top,d.bottom))}await l({...t,availableWidth:w,availableHeight:E});const M=await i.getDimensions(a.floating);return h!==M.width||g!==M.height?{reset:{rects:!0}}:{}}}};function Xe(){return typeof window<"u"}function Ee(e){return Cn(e)?(e.nodeName||"").toLowerCase():"#document"}function Y(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function J(e){var t;return(t=(Cn(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Cn(e){return Xe()?e instanceof Node||e instanceof Y(e).Node:!1}function X(e){return Xe()?e instanceof Element||e instanceof Y(e).Element:!1}function oe(e){return Xe()?e instanceof HTMLElement||e instanceof Y(e).HTMLElement:!1}function Ut(e){return!Xe()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Y(e).ShadowRoot}function De(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=q(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&r!=="inline"&&r!=="contents"}function Sr(e){return/^(table|td|th)$/.test(Ee(e))}function qe(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const Tr=/transform|translate|scale|rotate|perspective|filter/,Or=/paint|layout|strict|content/,me=e=>!!e&&e!=="none";let ot;function wt(e){const t=X(e)?q(e):e;return me(t.transform)||me(t.translate)||me(t.scale)||me(t.rotate)||me(t.perspective)||!vt()&&(me(t.backdropFilter)||me(t.filter))||Tr.test(t.willChange||"")||Or.test(t.contain||"")}function Nr(e){let t=ae(e);for(;oe(t)&&!Ce(t);){if(wt(t))return t;if(qe(t))return null;t=ae(t)}return null}function vt(){return ot==null&&(ot=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),ot}function Ce(e){return/^(html|body|#document)$/.test(Ee(e))}function q(e){return Y(e).getComputedStyle(e)}function Ke(e){return X(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ae(e){if(Ee(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ut(e)&&e.host||J(e);return Ut(t)?t.host:t}function kn(e){const t=ae(e);return Ce(t)?e.ownerDocument?e.ownerDocument.body:e.body:oe(t)&&De(t)?t:kn(t)}function Me(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=kn(e),s=r===((o=e.ownerDocument)==null?void 0:o.body),i=Y(r);if(s){const a=ft(i);return t.concat(i,i.visualViewport||[],De(r)?r:[],a&&n?Me(a):[])}else return t.concat(r,Me(r,[],n))}function ft(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Rn(e){const t=q(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=oe(e),s=r?e.offsetWidth:n,i=r?e.offsetHeight:o,a=Ve(n)!==s||Ve(o)!==i;return a&&(n=s,o=i),{width:n,height:o,$:a}}function Ct(e){return X(e)?e:e.contextElement}function ve(e){const t=Ct(e);if(!oe(t))return Z(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:s}=Rn(t);let i=(s?Ve(n.width):n.width)/o,a=(s?Ve(n.height):n.height)/r;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const Mr=Z(0);function An(e){const t=Y(e);return!vt()||!t.visualViewport?Mr:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Lr(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Y(e)?!1:t}function ge(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),s=Ct(e);let i=Z(1);t&&(o?X(o)&&(i=ve(o)):i=ve(e));const a=Lr(s,n,o)?An(s):Z(0);let l=(r.left+a.x)/i.x,c=(r.top+a.y)/i.y,d=r.width/i.x,u=r.height/i.y;if(s){const m=Y(s),p=o&&X(o)?Y(o):o;let h=m,g=ft(h);for(;g&&o&&p!==h;){const x=ve(g),y=g.getBoundingClientRect(),k=q(g),P=y.left+(g.clientLeft+parseFloat(k.paddingLeft))*x.x,R=y.top+(g.clientTop+parseFloat(k.paddingTop))*x.y;l*=x.x,c*=x.y,d*=x.x,u*=x.y,l+=P,c+=R,h=Y(g),g=ft(h)}}return Ge({width:d,height:u,x:l,y:c})}function Ze(e,t){const n=Ke(e).scrollLeft;return t?t.left+n:ge(J(e)).left+n}function Pn(e,t){const n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-Ze(e,n),r=n.top+t.scrollTop;return{x:o,y:r}}function Dr(e){let{elements:t,rect:n,offsetParent:o,strategy:r}=e;const s=r==="fixed",i=J(o),a=t?qe(t.floating):!1;if(o===i||a&&s)return n;let l={scrollLeft:0,scrollTop:0},c=Z(1);const d=Z(0),u=oe(o);if((u||!u&&!s)&&((Ee(o)!=="body"||De(i))&&(l=Ke(o)),u)){const p=ge(o);c=ve(o),d.x=p.x+o.clientLeft,d.y=p.y+o.clientTop}const m=i&&!u&&!s?Pn(i,l):Z(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+d.x+m.x,y:n.y*c.y-l.scrollTop*c.y+d.y+m.y}}function _r(e){return Array.from(e.getClientRects())}function jr(e){const t=J(e),n=Ke(e),o=e.ownerDocument.body,r=U(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),s=U(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let i=-n.scrollLeft+Ze(e);const a=-n.scrollTop;return q(o).direction==="rtl"&&(i+=U(t.clientWidth,o.clientWidth)-r),{width:r,height:s,x:i,y:a}}const Yt=25;function Ir(e,t){const n=Y(e),o=J(e),r=n.visualViewport;let s=o.clientWidth,i=o.clientHeight,a=0,l=0;if(r){s=r.width,i=r.height;const d=vt();(!d||d&&t==="fixed")&&(a=r.offsetLeft,l=r.offsetTop)}const c=Ze(o);if(c<=0){const d=o.ownerDocument,u=d.body,m=getComputedStyle(u),p=d.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,h=Math.abs(o.clientWidth-u.clientWidth-p);h<=Yt&&(s-=h)}else c<=Yt&&(s+=c);return{width:s,height:i,x:a,y:l}}function zr(e,t){const n=ge(e,!0,t==="fixed"),o=n.top+e.clientTop,r=n.left+e.clientLeft,s=oe(e)?ve(e):Z(1),i=e.clientWidth*s.x,a=e.clientHeight*s.y,l=r*s.x,c=o*s.y;return{width:i,height:a,x:l,y:c}}function Xt(e,t,n){let o;if(t==="viewport")o=Ir(e,n);else if(t==="document")o=jr(J(e));else if(X(t))o=zr(t,n);else{const r=An(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return Ge(o)}function En(e,t){const n=ae(e);return n===t||!X(n)||Ce(n)?!1:q(n).position==="fixed"||En(n,t)}function $r(e,t){const n=t.get(e);if(n)return n;let o=Me(e,[],!1).filter(a=>X(a)&&Ee(a)!=="body"),r=null;const s=q(e).position==="fixed";let i=s?ae(e):e;for(;X(i)&&!Ce(i);){const a=q(i),l=wt(i);!l&&a.position==="fixed"&&(r=null),(s?!l&&!r:!l&&a.position==="static"&&!!r&&(r.position==="absolute"||r.position==="fixed")||De(i)&&!l&&En(e,i))?o=o.filter(d=>d!==i):r=a,i=ae(i)}return t.set(e,o),o}function Fr(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const i=[...n==="clippingAncestors"?qe(t)?[]:$r(t,this._c):[].concat(n),o],a=Xt(t,i[0],r);let l=a.top,c=a.right,d=a.bottom,u=a.left;for(let m=1;m<i.length;m++){const p=Xt(t,i[m],r);l=U(p.top,l),c=ie(p.right,c),d=ie(p.bottom,d),u=U(p.left,u)}return{width:c-u,height:d-l,x:u,y:l}}function Wr(e){const{width:t,height:n}=Rn(e);return{width:t,height:n}}function Br(e,t,n){const o=oe(t),r=J(t),s=n==="fixed",i=ge(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=Z(0);function c(){l.x=Ze(r)}if(o||!o&&!s)if((Ee(t)!=="body"||De(r))&&(a=Ke(t)),o){const p=ge(t,!0,s,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else r&&c();s&&!o&&r&&c();const d=r&&!o&&!s?Pn(r,a):Z(0),u=i.left+a.scrollLeft-l.x-d.x,m=i.top+a.scrollTop-l.y-d.y;return{x:u,y:m,width:i.width,height:i.height}}function rt(e){return q(e).position==="static"}function qt(e,t){if(!oe(e)||q(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return J(e)===n&&(n=n.ownerDocument.body),n}function Sn(e,t){const n=Y(e);if(qe(e))return n;if(!oe(e)){let r=ae(e);for(;r&&!Ce(r);){if(X(r)&&!rt(r))return r;r=ae(r)}return n}let o=qt(e,t);for(;o&&Sr(o)&&rt(o);)o=qt(o,t);return o&&Ce(o)&&rt(o)&&!wt(o)?n:o||Nr(e)||n}const Vr=async function(e){const t=this.getOffsetParent||Sn,n=this.getDimensions,o=await n(e.floating);return{reference:Br(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Hr(e){return q(e).direction==="rtl"}const Gr={convertOffsetParentRelativeRectToViewportRelativeRect:Dr,getDocumentElement:J,getClippingRect:Fr,getOffsetParent:Sn,getElementRects:Vr,getClientRects:_r,getDimensions:Wr,getScale:ve,isElement:X,isRTL:Hr};function Tn(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Ur(e,t){let n=null,o;const r=J(e);function s(){var a;clearTimeout(o),(a=n)==null||a.disconnect(),n=null}function i(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),s();const c=e.getBoundingClientRect(),{left:d,top:u,width:m,height:p}=c;if(a||t(),!m||!p)return;const h=Fe(u),g=Fe(r.clientWidth-(d+m)),x=Fe(r.clientHeight-(u+p)),y=Fe(d),P={rootMargin:-h+"px "+-g+"px "+-x+"px "+-y+"px",threshold:U(0,ie(1,l))||1};let R=!0;function S(T){const E=T[0].intersectionRatio;if(E!==l){if(!R)return i();E?i(!1,E):o=setTimeout(()=>{i(!1,1e-7)},1e3)}E===1&&!Tn(c,e.getBoundingClientRect())&&i(),R=!1}try{n=new IntersectionObserver(S,{...P,root:r.ownerDocument})}catch{n=new IntersectionObserver(S,P)}n.observe(e)}return i(!0),s}function Yr(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:l=!1}=o,c=Ct(e),d=r||s?[...c?Me(c):[],...t?Me(t):[]]:[];d.forEach(y=>{r&&y.addEventListener("scroll",n,{passive:!0}),s&&y.addEventListener("resize",n)});const u=c&&a?Ur(c,n):null;let m=-1,p=null;i&&(p=new ResizeObserver(y=>{let[k]=y;k&&k.target===c&&p&&t&&(p.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var P;(P=p)==null||P.observe(t)})),n()}),c&&!l&&p.observe(c),t&&p.observe(t));let h,g=l?ge(e):null;l&&x();function x(){const y=ge(e);g&&!Tn(g,y)&&n(),g=y,h=requestAnimationFrame(x)}return n(),()=>{var y;d.forEach(k=>{r&&k.removeEventListener("scroll",n),s&&k.removeEventListener("resize",n)}),u==null||u(),(y=p)==null||y.disconnect(),p=null,l&&cancelAnimationFrame(h)}}const Xr=Rr,qr=Ar,Kr=vr,Zr=Er,Jr=Cr,Kt=wr,Qr=Pr,es=(e,t,n)=>{const o=new Map,r={platform:Gr,...n},s={...r.platform,_c:o};return yr(e,t,{...r,platform:s})};var ts=typeof document<"u",ns=function(){},Be=ts?he.useLayoutEffect:ns;function Ue(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(!Ue(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)&&!Ue(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function On(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Zt(e,t){const n=On(e);return Math.round(t*n)/n}function st(e){const t=f.useRef(e);return Be(()=>{t.current=e}),t}function os(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:l,open:c}=e,[d,u]=f.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,p]=f.useState(o);Ue(m,o)||p(o);const[h,g]=f.useState(null),[x,y]=f.useState(null),k=f.useCallback(b=>{b!==T.current&&(T.current=b,g(b))},[]),P=f.useCallback(b=>{b!==E.current&&(E.current=b,y(b))},[]),R=s||h,S=i||x,T=f.useRef(null),E=f.useRef(null),w=f.useRef(d),M=l!=null,D=st(l),B=st(r),z=st(c),j=f.useCallback(()=>{if(!T.current||!E.current)return;const b={placement:t,strategy:n,middleware:m};B.current&&(b.platform=B.current),es(T.current,E.current,b).then(F=>{const G={...F,isPositioned:z.current!==!1};_.current&&!Ue(w.current,G)&&(w.current=G,Qt.flushSync(()=>{u(G)}))})},[m,t,n,B,z]);Be(()=>{c===!1&&w.current.isPositioned&&(w.current.isPositioned=!1,u(b=>({...b,isPositioned:!1})))},[c]);const _=f.useRef(!1);Be(()=>(_.current=!0,()=>{_.current=!1}),[]),Be(()=>{if(R&&(T.current=R),S&&(E.current=S),R&&S){if(D.current)return D.current(R,S,j);j()}},[R,S,j,D,M]);const $=f.useMemo(()=>({reference:T,floating:E,setReference:k,setFloating:P}),[k,P]),N=f.useMemo(()=>({reference:R,floating:S}),[R,S]),L=f.useMemo(()=>{const b={position:n,left:0,top:0};if(!N.floating)return b;const F=Zt(N.floating,d.x),G=Zt(N.floating,d.y);return a?{...b,transform:"translate("+F+"px, "+G+"px)",...On(N.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:F,top:G}},[n,a,N.floating,d.x,d.y]);return f.useMemo(()=>({...d,update:j,refs:$,elements:N,floatingStyles:L}),[d,j,$,N,L])}const rs=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?Kt({element:o.current,padding:r}).fn(n):{}:o?Kt({element:o,padding:r}).fn(n):{}}}},ss=(e,t)=>{const n=Xr(e);return{name:n.name,fn:n.fn,options:[e,t]}},is=(e,t)=>{const n=qr(e);return{name:n.name,fn:n.fn,options:[e,t]}},as=(e,t)=>({fn:Qr(e).fn,options:[e,t]}),ls=(e,t)=>{const n=Kr(e);return{name:n.name,fn:n.fn,options:[e,t]}},cs=(e,t)=>{const n=Zr(e);return{name:n.name,fn:n.fn,options:[e,t]}},ds=(e,t)=>{const n=Jr(e);return{name:n.name,fn:n.fn,options:[e,t]}},us=(e,t)=>{const n=rs(e);return{name:n.name,fn:n.fn,options:[e,t]}};var fs="Arrow",Nn=f.forwardRef((e,t)=>{const{children:n,width:o=10,height:r=5,...s}=e;return A.jsx(le.svg,{...s,ref:t,width:o,height:r,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:A.jsx("polygon",{points:"0,0 30,0 15,10"})})});Nn.displayName=fs;var ps=Nn;function ms(e){const[t,n]=f.useState(void 0);return se(()=>{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 l=s.borderBoxSize,c=Array.isArray(l)?l[0]:l;i=c.inlineSize,a=c.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",[Mn,Ln]=hn(kt),[hs,Dn]=Mn(kt),_n=e=>{const{__scopePopper:t,children:n}=e,[o,r]=f.useState(null);return A.jsx(hs,{scope:t,anchor:o,onAnchorChange:r,children:n})};_n.displayName=kt;var jn="PopperAnchor",In=f.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:o,...r}=e,s=Dn(jn,n),i=f.useRef(null),a=be(t,i),l=f.useRef(null);return f.useEffect(()=>{const c=l.current;l.current=(o==null?void 0:o.current)||i.current,c!==l.current&&s.onAnchorChange(l.current)}),o?null:A.jsx(le.div,{...r,ref:a})});In.displayName=jn;var Rt="PopperContent",[gs,bs]=Mn(Rt),zn=f.forwardRef((e,t)=>{var I,Te,de,ue,ye,fe;const{__scopePopper:n,side:o="bottom",sideOffset:r=0,align:s="center",alignOffset:i=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:c=[],collisionPadding:d=0,sticky:u="partial",hideWhenDetached:m=!1,updatePositionStrategy:p="optimized",onPlaced:h,...g}=e,x=Dn(Rt,n),[y,k]=f.useState(null),P=be(t,Oe=>k(Oe)),[R,S]=f.useState(null),T=ms(R),E=(T==null?void 0:T.width)??0,w=(T==null?void 0:T.height)??0,M=o+(s!=="center"?"-"+s:""),D=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},B=Array.isArray(c)?c:[c],z=B.length>0,j={padding:D,boundary:B.filter(ys),altBoundary:z},{refs:_,floatingStyles:$,placement:N,isPositioned:L,middlewareData:b}=os({strategy:"fixed",placement:M,whileElementsMounted:(...Oe)=>Yr(...Oe,{animationFrame:p==="always"}),elements:{reference:x.anchor},middleware:[ss({mainAxis:r+w,alignmentAxis:i}),l&&is({mainAxis:!0,crossAxis:!1,limiter:u==="partial"?as():void 0,...j}),l&&ls({...j}),cs({...j,apply:({elements:Oe,rects:Nt,availableWidth:no,availableHeight:oo})=>{const{width:ro,height:so}=Nt.reference,Ie=Oe.floating.style;Ie.setProperty("--radix-popper-available-width",`${no}px`),Ie.setProperty("--radix-popper-available-height",`${oo}px`),Ie.setProperty("--radix-popper-anchor-width",`${ro}px`),Ie.setProperty("--radix-popper-anchor-height",`${so}px`)}}),R&&us({element:R,padding:a}),ws({arrowWidth:E,arrowHeight:w}),m&&ds({strategy:"referenceHidden",...j})]}),[F,G]=Wn(N),ce=Ye(h);se(()=>{L&&(ce==null||ce())},[L,ce]);const Se=(I=b.arrow)==null?void 0:I.x,V=(Te=b.arrow)==null?void 0:Te.y,H=((de=b.arrow)==null?void 0:de.centerOffset)!==0,[xe,je]=f.useState();return se(()=>{y&&je(window.getComputedStyle(y).zIndex)},[y]),A.jsx("div",{ref:_.setFloating,"data-radix-popper-content-wrapper":"",style:{...$,transform:L?$.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:xe,"--radix-popper-transform-origin":[(ue=b.transformOrigin)==null?void 0:ue.x,(ye=b.transformOrigin)==null?void 0:ye.y].join(" "),...((fe=b.hide)==null?void 0:fe.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:A.jsx(gs,{scope:n,placedSide:F,onArrowChange:S,arrowX:Se,arrowY:V,shouldHideArrow:H,children:A.jsx(le.div,{"data-side":F,"data-align":G,...g,ref:P,style:{...g.style,animation:L?void 0:"none"}})})})});zn.displayName=Rt;var $n="PopperArrow",xs={top:"bottom",right:"left",bottom:"top",left:"right"},Fn=f.forwardRef(function(t,n){const{__scopePopper:o,...r}=t,s=bs($n,o),i=xs[s.placedSide];return A.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:A.jsx(ps,{...r,ref:n,style:{...r.style,display:"block"}})})});Fn.displayName=$n;function ys(e){return e!==null}var ws=e=>({name:"transformOrigin",options:e,fn(t){var x,y,k;const{placement:n,rects:o,middlewareData:r}=t,i=((x=r.arrow)==null?void 0:x.centerOffset)!==0,a=i?0:e.arrowWidth,l=i?0:e.arrowHeight,[c,d]=Wn(n),u={start:"0%",center:"50%",end:"100%"}[d],m=(((y=r.arrow)==null?void 0:y.x)??0)+a/2,p=(((k=r.arrow)==null?void 0:k.y)??0)+l/2;let h="",g="";return c==="bottom"?(h=i?u:`${m}px`,g=`${-l}px`):c==="top"?(h=i?u:`${m}px`,g=`${o.floating.height+l}px`):c==="right"?(h=`${-l}px`,g=i?u:`${p}px`):c==="left"&&(h=`${o.floating.width+l}px`,g=i?u:`${p}px`),{data:{x:h,y:g}}}});function Wn(e){const[t,n="center"]=e.split("-");return[t,n]}var vs=_n,Cs=In,ks=zn,Rs=Fn,As="Portal",Bn=f.forwardRef((e,t)=>{var a;const{container:n,...o}=e,[r,s]=f.useState(!1);se(()=>s(!0),[]);const i=n||r&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return i?ht.createPortal(A.jsx(le.div,{...o,ref:t}),i):null});Bn.displayName=As;function Ps(e,t){return f.useReducer((n,o)=>t[n][o]??n,e)}var At=e=>{const{present:t,children:n}=e,o=Es(t),r=typeof n=="function"?n({present:o.isPresent}):f.Children.only(n),s=be(o.ref,Ss(r));return typeof n=="function"||o.isPresent?f.cloneElement(r,{ref:s}):null};At.displayName="Presence";function Es(e){const[t,n]=f.useState(),o=f.useRef(null),r=f.useRef(e),s=f.useRef("none"),i=e?"mounted":"unmounted",[a,l]=Ps(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return f.useEffect(()=>{const c=We(o.current);s.current=a==="mounted"?c:"none"},[a]),se(()=>{const c=o.current,d=r.current;if(d!==e){const m=s.current,p=We(c);e?l("MOUNT"):p==="none"||(c==null?void 0:c.display)==="none"?l("UNMOUNT"):l(d&&m!==p?"ANIMATION_OUT":"UNMOUNT"),r.current=e}},[e,l]),se(()=>{if(t){let c;const d=t.ownerDocument.defaultView??window,u=p=>{const g=We(o.current).includes(CSS.escape(p.animationName));if(p.target===t&&g&&(l("ANIMATION_END"),!r.current)){const x=t.style.animationFillMode;t.style.animationFillMode="forwards",c=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=x)})}},m=p=>{p.target===t&&(s.current=We(o.current))};return t.addEventListener("animationstart",m),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{d.clearTimeout(c),t.removeEventListener("animationstart",m),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:f.useCallback(c=>{o.current=c?getComputedStyle(c):null,n(c)},[])}}function We(e){return(e==null?void 0:e.animationName)||"none"}function Ss(e){var o,r;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Ts=f[" useInsertionEffect ".trim().toString()]||se;function Os({prop:e,defaultProp:t,onChange:n=()=>{},caller:o}){const[r,s,i]=Ns({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:r;{const d=f.useRef(e!==void 0);f.useEffect(()=>{const u=d.current;u!==a&&console.warn(`${o} is changing from ${u?"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.`),d.current=a},[a,o])}const c=f.useCallback(d=>{var u;if(a){const m=Ms(d)?d(e):d;m!==e&&((u=i.current)==null||u.call(i,m))}else s(d)},[a,e,s,i]);return[l,c]}function Ns({defaultProp:e,onChange:t}){const[n,o]=f.useState(e),r=f.useRef(n),s=f.useRef(t);return Ts(()=>{s.current=t},[t]),f.useEffect(()=>{var i;r.current!==n&&((i=s.current)==null||i.call(s,n),r.current=n)},[n,r]),[n,o,s]}function Ms(e){return typeof e=="function"}var Ls=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"}),Ds="VisuallyHidden",Vn=f.forwardRef((e,t)=>A.jsx(le.span,{...e,ref:t,style:{...Ls,...e.style}}));Vn.displayName=Ds;var _s=Vn,[Je]=hn("Tooltip",[Ln]),Qe=Ln(),Hn="TooltipProvider",js=700,pt="tooltip.open",[Is,Pt]=Je(Hn),Gn=e=>{const{__scopeTooltip:t,delayDuration:n=js,skipDelayDuration:o=300,disableHoverableContent:r=!1,children:s}=e,i=f.useRef(!0),a=f.useRef(!1),l=f.useRef(0);return f.useEffect(()=>{const c=l.current;return()=>window.clearTimeout(c)},[]),A.jsx(Is,{scope:t,isOpenDelayedRef:i,delayDuration:n,onOpen:f.useCallback(()=>{window.clearTimeout(l.current),i.current=!1},[]),onClose:f.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>i.current=!0,o)},[o]),isPointerInTransitRef:a,onPointerInTransitChange:f.useCallback(c=>{a.current=c},[]),disableHoverableContent:r,children:s})};Gn.displayName=Hn;var Le="Tooltip",[zs,_e]=Je(Le),Un=e=>{const{__scopeTooltip:t,children:n,open:o,defaultOpen:r,onOpenChange:s,disableHoverableContent:i,delayDuration:a}=e,l=Pt(Le,e.__scopeTooltip),c=Qe(t),[d,u]=f.useState(null),m=ar(),p=f.useRef(0),h=i??l.disableHoverableContent,g=a??l.delayDuration,x=f.useRef(!1),[y,k]=Os({prop:o,defaultProp:r??!1,onChange:E=>{E?(l.onOpen(),document.dispatchEvent(new CustomEvent(pt))):l.onClose(),s==null||s(E)},caller:Le}),P=f.useMemo(()=>y?x.current?"delayed-open":"instant-open":"closed",[y]),R=f.useCallback(()=>{window.clearTimeout(p.current),p.current=0,x.current=!1,k(!0)},[k]),S=f.useCallback(()=>{window.clearTimeout(p.current),p.current=0,k(!1)},[k]),T=f.useCallback(()=>{window.clearTimeout(p.current),p.current=window.setTimeout(()=>{x.current=!0,k(!0),p.current=0},g)},[g,k]);return f.useEffect(()=>()=>{p.current&&(window.clearTimeout(p.current),p.current=0)},[]),A.jsx(vs,{...c,children:A.jsx(zs,{scope:t,contentId:m,open:y,stateAttribute:P,trigger:d,onTriggerChange:u,onTriggerEnter:f.useCallback(()=>{l.isOpenDelayedRef.current?T():R()},[l.isOpenDelayedRef,T,R]),onTriggerLeave:f.useCallback(()=>{h?S():(window.clearTimeout(p.current),p.current=0)},[S,h]),onOpen:R,onClose:S,disableHoverableContent:h,children:n})})};Un.displayName=Le;var mt="TooltipTrigger",Yn=f.forwardRef((e,t)=>{const{__scopeTooltip:n,...o}=e,r=_e(mt,n),s=Pt(mt,n),i=Qe(n),a=f.useRef(null),l=be(t,a,r.onTriggerChange),c=f.useRef(!1),d=f.useRef(!1),u=f.useCallback(()=>c.current=!1,[]);return f.useEffect(()=>()=>document.removeEventListener("pointerup",u),[u]),A.jsx(Cs,{asChild:!0,...i,children:A.jsx(le.button,{"aria-describedby":r.open?r.contentId:void 0,"data-state":r.stateAttribute,...o,ref:l,onPointerMove:ee(e.onPointerMove,m=>{m.pointerType!=="touch"&&!d.current&&!s.isPointerInTransitRef.current&&(r.onTriggerEnter(),d.current=!0)}),onPointerLeave:ee(e.onPointerLeave,()=>{r.onTriggerLeave(),d.current=!1}),onPointerDown:ee(e.onPointerDown,()=>{r.open&&r.onClose(),c.current=!0,document.addEventListener("pointerup",u,{once:!0})}),onFocus:ee(e.onFocus,()=>{c.current||r.onOpen()}),onBlur:ee(e.onBlur,r.onClose),onClick:ee(e.onClick,r.onClose)})})});Yn.displayName=mt;var Et="TooltipPortal",[$s,Fs]=Je(Et,{forceMount:void 0}),Xn=e=>{const{__scopeTooltip:t,forceMount:n,children:o,container:r}=e,s=_e(Et,t);return A.jsx($s,{scope:t,forceMount:n,children:A.jsx(At,{present:n||s.open,children:A.jsx(Bn,{asChild:!0,container:r,children:o})})})};Xn.displayName=Et;var ke="TooltipContent",qn=f.forwardRef((e,t)=>{const n=Fs(ke,e.__scopeTooltip),{forceMount:o=n.forceMount,side:r="top",...s}=e,i=_e(ke,e.__scopeTooltip);return A.jsx(At,{present:o||i.open,children:i.disableHoverableContent?A.jsx(Kn,{side:r,...s,ref:t}):A.jsx(Ws,{side:r,...s,ref:t})})}),Ws=f.forwardRef((e,t)=>{const n=_e(ke,e.__scopeTooltip),o=Pt(ke,e.__scopeTooltip),r=f.useRef(null),s=be(t,r),[i,a]=f.useState(null),{trigger:l,onClose:c}=n,d=r.current,{onPointerInTransitChange:u}=o,m=f.useCallback(()=>{a(null),u(!1)},[u]),p=f.useCallback((h,g)=>{const x=h.currentTarget,y={x:h.clientX,y:h.clientY},k=Gs(y,x.getBoundingClientRect()),P=Us(y,k),R=Ys(g.getBoundingClientRect()),S=qs([...P,...R]);a(S),u(!0)},[u]);return f.useEffect(()=>()=>m(),[m]),f.useEffect(()=>{if(l&&d){const h=x=>p(x,d),g=x=>p(x,l);return l.addEventListener("pointerleave",h),d.addEventListener("pointerleave",g),()=>{l.removeEventListener("pointerleave",h),d.removeEventListener("pointerleave",g)}}},[l,d,p,m]),f.useEffect(()=>{if(i){const h=g=>{const x=g.target,y={x:g.clientX,y:g.clientY},k=(l==null?void 0:l.contains(x))||(d==null?void 0:d.contains(x)),P=!Xs(y,i);k?m():P&&(m(),c())};return document.addEventListener("pointermove",h),()=>document.removeEventListener("pointermove",h)}},[l,d,i,c,m]),A.jsx(Kn,{...e,ref:s})}),[Bs,Vs]=Je(Le,{isInside:!1}),Hs=Go("TooltipContent"),Kn=f.forwardRef((e,t)=>{const{__scopeTooltip:n,children:o,"aria-label":r,onEscapeKeyDown:s,onPointerDownOutside:i,...a}=e,l=_e(ke,n),c=Qe(n),{onClose:d}=l;return f.useEffect(()=>(document.addEventListener(pt,d),()=>document.removeEventListener(pt,d)),[d]),f.useEffect(()=>{if(l.trigger){const u=m=>{const p=m.target;p!=null&&p.contains(l.trigger)&&d()};return window.addEventListener("scroll",u,{capture:!0}),()=>window.removeEventListener("scroll",u,{capture:!0})}},[l.trigger,d]),A.jsx(xn,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:u=>u.preventDefault(),onDismiss:d,children:A.jsxs(ks,{"data-state":l.stateAttribute,...c,...a,ref:t,style:{...a.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[A.jsx(Hs,{children:o}),A.jsx(Bs,{scope:n,isInside:!0,children:A.jsx(_s,{id:l.contentId,role:"tooltip",children:r||o})})]})})});qn.displayName=ke;var Zn="TooltipArrow",Jn=f.forwardRef((e,t)=>{const{__scopeTooltip:n,...o}=e,r=Qe(n);return Vs(Zn,n).isInside?null:A.jsx(Rs,{...r,...o,ref:t})});Jn.displayName=Zn;function Gs(e,t){const n=Math.abs(t.top-e.y),o=Math.abs(t.bottom-e.y),r=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,o,r,s)){case s:return"left";case r:return"right";case n:return"top";case o:return"bottom";default:throw new Error("unreachable")}}function Us(e,t,n=5){const o=[];switch(t){case"top":o.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":o.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":o.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":o.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return o}function Ys(e){const{top:t,right:n,bottom:o,left:r}=e;return[{x:r,y:t},{x:n,y:t},{x:n,y:o},{x:r,y:o}]}function Xs(e,t){const{x:n,y:o}=e;let r=!1;for(let s=0,i=t.length-1;s<t.length;i=s++){const a=t[s],l=t[i],c=a.x,d=a.y,u=l.x,m=l.y;d>o!=m>o&&n<(u-c)*(o-d)/(m-d)+c&&(r=!r)}return r}function qs(e){const t=e.slice();return t.sort((n,o)=>n.x<o.x?-1:n.x>o.x?1:n.y<o.y?-1:n.y>o.y?1:0),Ks(t)}function Ks(e){if(e.length<=1)return e.slice();const t=[];for(let o=0;o<e.length;o++){const r=e[o];for(;t.length>=2;){const s=t[t.length-1],i=t[t.length-2];if((s.x-i.x)*(r.y-i.y)>=(s.y-i.y)*(r.x-i.x))t.pop();else break}t.push(r)}t.pop();const n=[];for(let o=e.length-1;o>=0;o--){const r=e[o];for(;n.length>=2;){const s=n[n.length-1],i=n[n.length-2];if((s.x-i.x)*(r.y-i.y)>=(s.y-i.y)*(r.x-i.x))n.pop();else break}n.push(r)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var Zs=Gn,Js=Un,Qs=Yn,ei=Xn,Qn=qn,ti=Jn;const St=Zs,Tt=Js,Ot=Qs,et=f.forwardRef(({className:e,sideOffset:t=6,style:n,...o},r)=>{const s={backgroundColor:"#000000",color:"#ffffff",zIndex:99999,...n};return A.jsx(ei,{children:A.jsxs(Qn,{ref:r,sideOffset:t,className:`overflow-hidden rounded-lg border border-slate-950 px-3 py-1 text-xs text-white ${e??""}`,style:s,...o,children:[o.children,A.jsx(ti,{style:{fill:"#000000"}})]})})});et.displayName=Qn.displayName;const eo=io("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-blue-500 text-white",save:"text-white",delete:"text-white",update:"text-white",cancel:"text-[#414651] border border-[#D5D7DA]",outline:"text-[#003B71]"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3 text-xs",lg:"h-11 rounded-md px-8",icon:"h-10 w-10",xs:"h-5 px-1 text-xs rounded"}},defaultVariants:{variant:"default",size:"default"}}),to=he.forwardRef(({className:e,variant:t,size:n,loading:o=!1,disabled:r,children:s,leftIcon:i,datatestid:a,rightIcon:l,style:c,iconButton:d=!1,tooltipLabel:u,saveColor:m="#003B71",deleteColor:p="#FF6070",updateColor:h="#003B71",cancelColor:g="#ffffff",outlineColor:x="#003B71",...y},k)=>{const R={...t&&{save:{backgroundColor:m},delete:{backgroundColor:p},update:{backgroundColor:h},cancel:{backgroundColor:g},outline:{backgroundColor:x}}[t],...c},S=A.jsx("button",{ref:k,"data-testid":a,className:pn(eo({variant:t,size:n}),e),style:R,disabled:r||o,...y,children:A.jsxs(A.Fragment,{children:[o&&A.jsx("div",{className:"w-4 h-4 border-2 border-current border-t-transparent rounded-full animate-spin"}),!o&&i&&i,s,!o&&l&&l]})});return d?A.jsx(St,{children:A.jsxs(Tt,{children:[A.jsx(Ot,{asChild:!0,children:S}),u&&A.jsx(et,{children:u})]})}):S});to.displayName="Button";const ni=({items:e,onExport:t,onClose:n,style:o})=>A.jsx("div",{style:o,onMouseDown:r=>r.stopPropagation(),className:"w-36 bg-white border border-gray-300 rounded shadow-lg",children:e.map(r=>A.jsxs("button",{onClick:()=>{t(r.type),n()},className:"flex items-center gap-2 w-full px-3 py-2 text-xs hover:bg-[#f0f4fa]",children:[A.jsx("span",{className:r.iconClassName,children:he.isValidElement(r.icon)?he.cloneElement(r.icon,{className:`${r.iconWidth||"w-4"} ${r.iconHeight||"h-4"}`}):r.icon}),A.jsx("span",{className:r.textClassName,children:r.label})]},r.type))}),oi=({items:e,onExport:t,open:n,setOpen:o,buttonIcon:r,className:s="",buttonClassName:i=""})=>{const a=he.useRef(null),[l,c]=he.useState({top:0,left:0,width:0}),d=()=>{if(!n&&a.current){const u=a.current.getBoundingClientRect();c({top:u.bottom+4,left:u.left,width:u.width})}o(!n)};return A.jsxs("div",{className:`relative inline-block ${s}`,children:[A.jsx("button",{ref:a,type:"button",onClick:d,className:i,children:r}),n&&ht.createPortal(A.jsx(ni,{items:e,onExport:t,onClose:()=>o(!1),style:{position:"fixed",top:l.top,left:l.left,minWidth:l.width,zIndex:9999}}),document.body)]})},ri=({text:e="",maxLength:t=20,className:n=""})=>{const o=String(e??""),r=o.length>t,s=r?`${o.slice(0,t)}..`:o;return r?A.jsx(St,{children:A.jsxs(Tt,{children:[A.jsx(Ot,{asChild:!0,children:A.jsx("div",{className:`flex items-center cursor-pointer ${n}`,children:s})}),o&&A.jsx(et,{children:o})]})}):A.jsx("div",{className:`flex items-center ${n}`,children:s})};exports.Button=to;exports.ExportButton=oi;exports.Tooltip=Tt;exports.TooltipContent=et;exports.TooltipProvider=St;exports.TooltipTrigger=Ot;exports.TruncatedText=ri;exports.buttonVariants=eo;exports.cn=pn;
@@ -0,0 +1 @@
1
+ /*! tailwindcss v4.0.15 | MIT License | https://tailwindcss.com */@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-600:oklch(57.7% .245 27.325);--color-green-600:oklch(62.7% .194 149.214);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-slate-950:oklch(12.9% .042 264.695);--color-gray-300:oklch(87.2% .01 258.338);--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--font-weight-medium:500;--radius-md:.375rem;--radius-lg:.5rem;--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.not-sr-only{clip:auto;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:static;overflow:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.isolate{isolation:isolate}.isolation-auto{isolation:auto}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.flex{display:flex}.flow-root{display:flow-root}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.inline-table{display:inline-table}.list-item{display:list-item}.table{display:table}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-column{display:table-column}.table-column-group{display:table-column-group}.table-footer-group{display:table-footer-group}.table-header-group{display:table-header-group}.table-row{display:table-row}.table-row-group{display:table-row-group}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-11{height:calc(var(--spacing)*11)}.h-\[30px\]{height:30px}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-10{width:calc(var(--spacing)*10)}.w-36{width:calc(var(--spacing)*36)}.w-full{width:100%}.shrink{flex-shrink:1}.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.translate-none{translate:none}.scale-3d{scale:var(--tw-scale-x)var(--tw-scale-y)var(--tw-scale-z)}.transform{transform:var(--tw-rotate-x)var(--tw-rotate-y)var(--tw-rotate-z)var(--tw-skew-x)var(--tw-skew-y)}.animate-spin{animation:var(--animate-spin)}.cursor-pointer{cursor:pointer}.touch-pinch-zoom{--tw-pinch-zoom:pinch-zoom;touch-action:var(--tw-pan-x,)var(--tw-pan-y,)var(--tw-pinch-zoom,)}.resize{resize:both}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:calc(var(--spacing)*2)}.gap-\[2px\]{gap:2px}:where(.space-y-reverse>:not(:last-child)){--tw-space-y-reverse:1}:where(.space-x-reverse>:not(:last-child)){--tw-space-x-reverse:1}:where(.divide-x>:not(:last-child)){--tw-divide-x-reverse:0;border-inline-style:var(--tw-border-style);border-inline-start-width:calc(1px*var(--tw-divide-x-reverse));border-inline-end-width:calc(1px*calc(1 - var(--tw-divide-x-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-y-reverse>:not(:last-child)){--tw-divide-y-reverse:1}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.rounded-\[8px\]{border-radius:8px}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-s{border-start-start-radius:.25rem;border-end-start-radius:.25rem}.rounded-ss{border-start-start-radius:.25rem}.rounded-e{border-start-end-radius:.25rem;border-end-end-radius:.25rem}.rounded-se{border-start-end-radius:.25rem}.rounded-ee{border-end-end-radius:.25rem}.rounded-es{border-end-start-radius:.25rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-l{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-tl{border-top-left-radius:.25rem}.rounded-r{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.rounded-tr{border-top-right-radius:.25rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-br{border-bottom-right-radius:.25rem}.rounded-bl{border-bottom-left-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-x{border-inline-style:var(--tw-border-style);border-inline-width:1px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-s{border-inline-start-style:var(--tw-border-style);border-inline-start-width:1px}.border-e{border-inline-end-style:var(--tw-border-style);border-inline-end-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-\[\#D5D7DA\]{border-color:#d5d7da}.border-current{border-color:currentColor}.border-gray-300{border-color:var(--color-gray-300)}.border-slate-950{border-color:var(--color-slate-950)}.border-t-transparent{border-top-color:#0000}.bg-\[hsla\(161\,94\%\,30\%\,1\)\]{background-color:#059467}.bg-blue-500{background-color:var(--color-blue-500)}.bg-white{background-color:var(--color-white)}.bg-repeat{background-repeat:repeat}.px-1{padding-inline:calc(var(--spacing)*1)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.text-wrap{text-wrap:wrap}.text-clip{text-overflow:clip}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.text-\[\#003B71\]{color:#003b71}.text-\[\#414651\]{color:#414651}.text-blue-600{color:var(--color-blue-600)}.text-green-600{color:var(--color-green-600)}.text-red-600{color:var(--color-red-600)}.text-white{color:var(--color-white)}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.normal-case{text-transform:none}.uppercase{text-transform:uppercase}.italic{font-style:italic}.not-italic{font-style:normal}.diagonal-fractions{--tw-numeric-fraction:diagonal-fractions;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.lining-nums{--tw-numeric-figure:lining-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.oldstyle-nums{--tw-numeric-figure:oldstyle-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.proportional-nums{--tw-numeric-spacing:proportional-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.slashed-zero{--tw-slashed-zero:slashed-zero;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.stacked-fractions{--tw-numeric-fraction:stacked-fractions;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.normal-nums{font-variant-numeric:normal}.line-through{text-decoration-line:line-through}.no-underline{text-decoration-line:none}.overline{text-decoration-line:overline}.underline{text-decoration-line:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.subpixel-antialiased{-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentColor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.inset-ring{--tw-inset-ring-shadow:inset 0 0 0 1px var(--tw-inset-ring-color,currentColor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.drop-shadow{--tw-drop-shadow:drop-shadow(0 1px 2px #0000001a)drop-shadow(0 1px 1px #0000000f);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.grayscale{--tw-grayscale:grayscale(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.invert{--tw-invert:invert(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.sepia{--tw-sepia:sepia(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-grayscale{--tw-backdrop-grayscale:grayscale(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-invert{--tw-backdrop-invert:invert(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-sepia{--tw-backdrop-sepia:sepia(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}:where(.divide-x-reverse>:not(:last-child)){--tw-divide-x-reverse:1}.ring-inset{--tw-ring-inset:inset}@media(hover:hover){.hover\:bg-\[\#f0f4fa\]:hover{background-color:#f0f4fa}}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentColor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:opacity-50:disabled{opacity:.5}}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false;initial-value:rotateX(0)}@property --tw-rotate-y{syntax:"*";inherits:false;initial-value:rotateY(0)}@property --tw-rotate-z{syntax:"*";inherits:false;initial-value:rotateZ(0)}@property --tw-skew-x{syntax:"*";inherits:false;initial-value:skewX(0)}@property --tw-skew-y{syntax:"*";inherits:false;initial-value:skewY(0)}@property --tw-pan-x{syntax:"*";inherits:false}@property --tw-pan-y{syntax:"*";inherits:false}@property --tw-pinch-zoom{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}