@medway-ui/core 1.0.6 → 1.0.8
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/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import*as de from'@radix-ui/react-avatar';import {cva}from'class-variance-authority';import {clsx}from'clsx';import {User,Check,ChevronRight,HamburgerMd,ChevronRightMd,CloseMd,ChevronLeftMd}from'@medway-ui/icons';import {jsxs,jsx,Fragment}from'react/jsx-runtime';import {Slot}from'@radix-ui/react-slot';import*as Ea from'@radix-ui/react-separator';import*as q from'@radix-ui/react-dialog';import*as y from'react';import {forwardRef,createElement}from'react';import*as G from'@radix-ui/react-tooltip';import*as ue from'@radix-ui/react-collapsible';import*as C from'@radix-ui/react-dropdown-menu';import*as R from'@radix-ui/react-alert-dialog';var ft=Object.defineProperty,it=Object.defineProperties;var nt=Object.getOwnPropertyDescriptors;var ke=Object.getOwnPropertySymbols;var Sa=Object.prototype.hasOwnProperty,ba=Object.prototype.propertyIsEnumerable;var Ca=(e,a,o)=>a in e?ft(e,a,{enumerable:true,configurable:true,writable:true,value:o}):e[a]=o,d=(e,a)=>{for(var o in a||(a={}))Sa.call(a,o)&&Ca(e,o,a[o]);if(ke)for(var o of ke(a))ba.call(a,o)&&Ca(e,o,a[o]);return e},b=(e,a)=>it(e,nt(a));var s=(e,a)=>{var o={};for(var t in e)Sa.call(e,t)&&a.indexOf(t)<0&&(o[t]=e[t]);if(e!=null&&ke)for(var t of ke(e))a.indexOf(t)<0&&ba.call(e,t)&&(o[t]=e[t]);return o};var _e="-",ct=e=>{let a=mt(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:t}=e;return {getClassGroupId:f=>{let p=f.split(_e);return p[0]===""&&p.length!==1&&p.shift(),Ma(p,a)||pt(f)},getConflictingClassGroupIds:(f,p)=>{let c=o[f]||[];return p&&t[f]?[...c,...t[f]]:c}}},Ma=(e,a)=>{var f;if(e.length===0)return a.classGroupId;let o=e[0],t=a.nextPart.get(o),r=t?Ma(e.slice(1),t):void 0;if(r)return r;if(a.validators.length===0)return;let l=e.join(_e);return (f=a.validators.find(({validator:p})=>p(l)))==null?void 0:f.classGroupId},wa=/^\[(.+)\]$/,pt=e=>{if(wa.test(e)){let a=wa.exec(e)[1],o=a==null?void 0:a.substring(0,a.indexOf(":"));if(o)return "arbitrary.."+o}},mt=e=>{let{theme:a,classGroups:o}=e,t={nextPart:new Map,validators:[]};for(let r in o)Ee(o[r],t,r,a);return t},Ee=(e,a,o,t)=>{e.forEach(r=>{if(typeof r=="string"){let l=r===""?a:ka(a,r);l.classGroupId=o;return}if(typeof r=="function"){if(Lt(r)){Ee(r(t),a,o,t);return}a.validators.push({validator:r,classGroupId:o});return}Object.entries(r).forEach(([l,f])=>{Ee(f,ka(a,l),o,t);});});},ka=(e,a)=>{let o=e;return a.split(_e).forEach(t=>{o.nextPart.has(t)||o.nextPart.set(t,{nextPart:new Map,validators:[]}),o=o.nextPart.get(t);}),o},Lt=e=>e.isThemeGetter,gt=e=>{if(e<1)return {get:()=>{},set:()=>{}};let a=0,o=new Map,t=new Map,r=(l,f)=>{o.set(l,f),a++,a>e&&(a=0,t=o,o=new Map);};return {get(l){let f=o.get(l);if(f!==void 0)return f;if((f=t.get(l))!==void 0)return r(l,f),f},set(l,f){o.has(l)?o.set(l,f):r(l,f);}}},We="!",Xe=":",xt=Xe.length,It=e=>{let{prefix:a,experimentalParseClassName:o}=e,t=r=>{let l=[],f=0,p=0,c=0,I;for(let w=0;w<r.length;w++){let P=r[w];if(f===0&&p===0){if(P===Xe){l.push(r.slice(c,w)),c=w+xt;continue}if(P==="/"){I=w;continue}}P==="["?f++:P==="]"?f--:P==="("?p++:P===")"&&p--;}let h=l.length===0?r:r.substring(c),k=ht(h),A=k!==h,F=I&&I>c?I-c:void 0;return {modifiers:l,hasImportantModifier:A,baseClassName:k,maybePostfixModifierPosition:F}};if(a){let r=a+Xe,l=t;t=f=>f.startsWith(r)?l(f.substring(r.length)):{isExternal:true,modifiers:[],hasImportantModifier:false,baseClassName:f,maybePostfixModifierPosition:void 0};}if(o){let r=t;t=l=>o({className:l,parseClassName:r});}return t},ht=e=>e.endsWith(We)?e.substring(0,e.length-1):e.startsWith(We)?e.substring(1):e,Ct=e=>{let a=Object.fromEntries(e.orderSensitiveModifiers.map(t=>[t,true]));return t=>{if(t.length<=1)return t;let r=[],l=[];return t.forEach(f=>{f[0]==="["||a[f]?(r.push(...l.sort(),f),l=[]):l.push(f);}),r.push(...l.sort()),r}},St=e=>d({cache:gt(e.cacheSize),parseClassName:It(e),sortModifiers:Ct(e)},ct(e)),bt=/\s+/,wt=(e,a)=>{let{parseClassName:o,getClassGroupId:t,getConflictingClassGroupIds:r,sortModifiers:l}=a,f=[],p=e.trim().split(bt),c="";for(let I=p.length-1;I>=0;I-=1){let h=p[I],{isExternal:k,modifiers:A,hasImportantModifier:F,baseClassName:w,maybePostfixModifierPosition:P}=o(h);if(k){c=h+(c.length>0?" "+c:c);continue}let U=!!P,O=t(U?w.substring(0,P):w);if(!O){if(!U){c=h+(c.length>0?" "+c:c);continue}if(O=t(w),!O){c=h+(c.length>0?" "+c:c);continue}U=false;}let S=l(A).join(":"),B=F?S+We:S,ee=B+O;if(f.includes(ee))continue;f.push(ee);let ae=r(O,U);for(let J=0;J<ae.length;++J){let ne=ae[J];f.push(B+ne);}c=h+(c.length>0?" "+c:c);}return c};function kt(){let e=0,a,o,t="";for(;e<arguments.length;)(a=arguments[e++])&&(o=Da(a))&&(t&&(t+=" "),t+=o);return t}var Da=e=>{if(typeof e=="string")return e;let a,o="";for(let t=0;t<e.length;t++)e[t]&&(a=Da(e[t]))&&(o&&(o+=" "),o+=a);return o};function Pa(e,...a){let o,t,r,l=f;function f(c){let I=a.reduce((h,k)=>k(h),e());return o=St(I),t=o.cache.get,r=o.cache.set,l=p,p(c)}function p(c){let I=t(c);if(I)return I;let h=wt(c,o);return r(c,h),h}return function(){return l(kt.apply(null,arguments))}}var M=e=>{let a=o=>o[e]||[];return a.isThemeGetter=true,a},Ra=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Ba=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Pt=/^\d+\/\d+$/,vt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,yt=/\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$/,At=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Mt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Dt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,oe=e=>Pt.test(e),x=e=>!!e&&!Number.isNaN(Number(e)),Z=e=>!!e&&Number.isInteger(Number(e)),Ve=e=>e.endsWith("%")&&x(e.slice(0,-1)),X=e=>vt.test(e),Rt=()=>true,Bt=e=>yt.test(e)&&!At.test(e),Fa=()=>false,Ft=e=>Mt.test(e),Tt=e=>Dt.test(e),qt=e=>!i(e)&&!n(e),Ut=e=>re(e,Ua,Fa),i=e=>Ra.test(e),j=e=>re(e,Oa,Bt),Ne=e=>re(e,Vt,x),va=e=>re(e,Ta,Fa),Ot=e=>re(e,qa,Tt),Pe=e=>re(e,Ha,Ft),n=e=>Ba.test(e),ce=e=>le(e,Oa),Ht=e=>le(e,Nt),ya=e=>le(e,Ta),Gt=e=>le(e,Ua),zt=e=>le(e,qa),ve=e=>le(e,Ha,true),re=(e,a,o)=>{let t=Ra.exec(e);return t?t[1]?a(t[1]):o(t[2]):false},le=(e,a,o=false)=>{let t=Ba.exec(e);return t?t[1]?a(t[1]):o:false},Ta=e=>e==="position"||e==="percentage",qa=e=>e==="image"||e==="url",Ua=e=>e==="length"||e==="size"||e==="bg-size",Oa=e=>e==="length",Vt=e=>e==="number",Nt=e=>e==="family-name",Ha=e=>e==="shadow";var Aa=()=>{let e=M("color"),a=M("font"),o=M("text"),t=M("font-weight"),r=M("tracking"),l=M("leading"),f=M("breakpoint"),p=M("container"),c=M("spacing"),I=M("radius"),h=M("shadow"),k=M("inset-shadow"),A=M("text-shadow"),F=M("drop-shadow"),w=M("blur"),P=M("perspective"),U=M("aspect"),O=M("ease"),S=M("animate"),B=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ee=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],ae=()=>[...ee(),n,i],J=()=>["auto","hidden","clip","visible","scroll"],ne=()=>["auto","contain","none"],g=()=>[n,i,c],E=()=>[oe,"full","auto",...g()],ca=()=>[Z,"none","subgrid",n,i],pa=()=>["auto",{span:["full",Z,n,i]},Z,n,i],he=()=>[Z,"auto",n,i],ma=()=>["auto","min","max","fr",n,i],He=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],te=()=>["start","end","center","stretch","center-safe","end-safe"],W=()=>["auto",...g()],$=()=>[oe,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...g()],m=()=>[e,n,i],La=()=>[...ee(),ya,va,{position:[n,i]}],ga=()=>["no-repeat",{repeat:["","x","y","space","round"]}],xa=()=>["auto","cover","contain",Gt,Ut,{size:[n,i]}],Ge=()=>[Ve,ce,j],T=()=>["","none","full",I,n,i],H=()=>["",x,ce,j],Ce=()=>["solid","dashed","dotted","double"],Ia=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],D=()=>[x,Ve,ya,va],ha=()=>["","none",w,n,i],Se=()=>["none",x,n,i],be=()=>["none",x,n,i],ze=()=>[x,n,i],we=()=>[oe,"full",...g()];return {cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[X],breakpoint:[X],color:[Rt],container:[X],"drop-shadow":[X],ease:["in","out","in-out"],font:[qt],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[X],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[X],shadow:[X],spacing:["px",x],text:[X],"text-shadow":[X],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",oe,i,n,U]}],container:["container"],columns:[{columns:[x,i,n,p]}],"break-after":[{"break-after":B()}],"break-before":[{"break-before":B()}],"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:ae()}],overflow:[{overflow:J()}],"overflow-x":[{"overflow-x":J()}],"overflow-y":[{"overflow-y":J()}],overscroll:[{overscroll:ne()}],"overscroll-x":[{"overscroll-x":ne()}],"overscroll-y":[{"overscroll-y":ne()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:E()}],"inset-x":[{"inset-x":E()}],"inset-y":[{"inset-y":E()}],start:[{start:E()}],end:[{end:E()}],top:[{top:E()}],right:[{right:E()}],bottom:[{bottom:E()}],left:[{left:E()}],visibility:["visible","invisible","collapse"],z:[{z:[Z,"auto",n,i]}],basis:[{basis:[oe,"full","auto",p,...g()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[x,oe,"auto","initial","none",i]}],grow:[{grow:["",x,n,i]}],shrink:[{shrink:["",x,n,i]}],order:[{order:[Z,"first","last","none",n,i]}],"grid-cols":[{"grid-cols":ca()}],"col-start-end":[{col:pa()}],"col-start":[{"col-start":he()}],"col-end":[{"col-end":he()}],"grid-rows":[{"grid-rows":ca()}],"row-start-end":[{row:pa()}],"row-start":[{"row-start":he()}],"row-end":[{"row-end":he()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ma()}],"auto-rows":[{"auto-rows":ma()}],gap:[{gap:g()}],"gap-x":[{"gap-x":g()}],"gap-y":[{"gap-y":g()}],"justify-content":[{justify:[...He(),"normal"]}],"justify-items":[{"justify-items":[...te(),"normal"]}],"justify-self":[{"justify-self":["auto",...te()]}],"align-content":[{content:["normal",...He()]}],"align-items":[{items:[...te(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...te(),{baseline:["","last"]}]}],"place-content":[{"place-content":He()}],"place-items":[{"place-items":[...te(),"baseline"]}],"place-self":[{"place-self":["auto",...te()]}],p:[{p:g()}],px:[{px:g()}],py:[{py:g()}],ps:[{ps:g()}],pe:[{pe:g()}],pt:[{pt:g()}],pr:[{pr:g()}],pb:[{pb:g()}],pl:[{pl:g()}],m:[{m:W()}],mx:[{mx:W()}],my:[{my:W()}],ms:[{ms:W()}],me:[{me:W()}],mt:[{mt:W()}],mr:[{mr:W()}],mb:[{mb:W()}],ml:[{ml:W()}],"space-x":[{"space-x":g()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":g()}],"space-y-reverse":["space-y-reverse"],size:[{size:$()}],w:[{w:[p,"screen",...$()]}],"min-w":[{"min-w":[p,"screen","none",...$()]}],"max-w":[{"max-w":[p,"screen","none","prose",{screen:[f]},...$()]}],h:[{h:["screen",...$()]}],"min-h":[{"min-h":["screen","none",...$()]}],"max-h":[{"max-h":["screen",...$()]}],"font-size":[{text:["base",o,ce,j]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[t,n,Ne]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Ve,i]}],"font-family":[{font:[Ht,i,a]}],"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,n,i]}],"line-clamp":[{"line-clamp":[x,"none",n,Ne]}],leading:[{leading:[l,...g()]}],"list-image":[{"list-image":["none",n,i]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",n,i]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:m()}],"text-color":[{text:m()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Ce(),"wavy"]}],"text-decoration-thickness":[{decoration:[x,"from-font","auto",n,j]}],"text-decoration-color":[{decoration:m()}],"underline-offset":[{"underline-offset":[x,"auto",n,i]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:g()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",n,i]}],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",n,i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:La()}],"bg-repeat":[{bg:ga()}],"bg-size":[{bg:xa()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Z,n,i],radial:["",n,i],conic:[Z,n,i]},zt,Ot]}],"bg-color":[{bg:m()}],"gradient-from-pos":[{from:Ge()}],"gradient-via-pos":[{via:Ge()}],"gradient-to-pos":[{to:Ge()}],"gradient-from":[{from:m()}],"gradient-via":[{via:m()}],"gradient-to":[{to:m()}],rounded:[{rounded:T()}],"rounded-s":[{"rounded-s":T()}],"rounded-e":[{"rounded-e":T()}],"rounded-t":[{"rounded-t":T()}],"rounded-r":[{"rounded-r":T()}],"rounded-b":[{"rounded-b":T()}],"rounded-l":[{"rounded-l":T()}],"rounded-ss":[{"rounded-ss":T()}],"rounded-se":[{"rounded-se":T()}],"rounded-ee":[{"rounded-ee":T()}],"rounded-es":[{"rounded-es":T()}],"rounded-tl":[{"rounded-tl":T()}],"rounded-tr":[{"rounded-tr":T()}],"rounded-br":[{"rounded-br":T()}],"rounded-bl":[{"rounded-bl":T()}],"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:[...Ce(),"hidden","none"]}],"divide-style":[{divide:[...Ce(),"hidden","none"]}],"border-color":[{border:m()}],"border-color-x":[{"border-x":m()}],"border-color-y":[{"border-y":m()}],"border-color-s":[{"border-s":m()}],"border-color-e":[{"border-e":m()}],"border-color-t":[{"border-t":m()}],"border-color-r":[{"border-r":m()}],"border-color-b":[{"border-b":m()}],"border-color-l":[{"border-l":m()}],"divide-color":[{divide:m()}],"outline-style":[{outline:[...Ce(),"none","hidden"]}],"outline-offset":[{"outline-offset":[x,n,i]}],"outline-w":[{outline:["",x,ce,j]}],"outline-color":[{outline:m()}],shadow:[{shadow:["","none",h,ve,Pe]}],"shadow-color":[{shadow:m()}],"inset-shadow":[{"inset-shadow":["none",k,ve,Pe]}],"inset-shadow-color":[{"inset-shadow":m()}],"ring-w":[{ring:H()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:m()}],"ring-offset-w":[{"ring-offset":[x,j]}],"ring-offset-color":[{"ring-offset":m()}],"inset-ring-w":[{"inset-ring":H()}],"inset-ring-color":[{"inset-ring":m()}],"text-shadow":[{"text-shadow":["none",A,ve,Pe]}],"text-shadow-color":[{"text-shadow":m()}],opacity:[{opacity:[x,n,i]}],"mix-blend":[{"mix-blend":[...Ia(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ia()}],"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":[x]}],"mask-image-linear-from-pos":[{"mask-linear-from":D()}],"mask-image-linear-to-pos":[{"mask-linear-to":D()}],"mask-image-linear-from-color":[{"mask-linear-from":m()}],"mask-image-linear-to-color":[{"mask-linear-to":m()}],"mask-image-t-from-pos":[{"mask-t-from":D()}],"mask-image-t-to-pos":[{"mask-t-to":D()}],"mask-image-t-from-color":[{"mask-t-from":m()}],"mask-image-t-to-color":[{"mask-t-to":m()}],"mask-image-r-from-pos":[{"mask-r-from":D()}],"mask-image-r-to-pos":[{"mask-r-to":D()}],"mask-image-r-from-color":[{"mask-r-from":m()}],"mask-image-r-to-color":[{"mask-r-to":m()}],"mask-image-b-from-pos":[{"mask-b-from":D()}],"mask-image-b-to-pos":[{"mask-b-to":D()}],"mask-image-b-from-color":[{"mask-b-from":m()}],"mask-image-b-to-color":[{"mask-b-to":m()}],"mask-image-l-from-pos":[{"mask-l-from":D()}],"mask-image-l-to-pos":[{"mask-l-to":D()}],"mask-image-l-from-color":[{"mask-l-from":m()}],"mask-image-l-to-color":[{"mask-l-to":m()}],"mask-image-x-from-pos":[{"mask-x-from":D()}],"mask-image-x-to-pos":[{"mask-x-to":D()}],"mask-image-x-from-color":[{"mask-x-from":m()}],"mask-image-x-to-color":[{"mask-x-to":m()}],"mask-image-y-from-pos":[{"mask-y-from":D()}],"mask-image-y-to-pos":[{"mask-y-to":D()}],"mask-image-y-from-color":[{"mask-y-from":m()}],"mask-image-y-to-color":[{"mask-y-to":m()}],"mask-image-radial":[{"mask-radial":[n,i]}],"mask-image-radial-from-pos":[{"mask-radial-from":D()}],"mask-image-radial-to-pos":[{"mask-radial-to":D()}],"mask-image-radial-from-color":[{"mask-radial-from":m()}],"mask-image-radial-to-color":[{"mask-radial-to":m()}],"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":ee()}],"mask-image-conic-pos":[{"mask-conic":[x]}],"mask-image-conic-from-pos":[{"mask-conic-from":D()}],"mask-image-conic-to-pos":[{"mask-conic-to":D()}],"mask-image-conic-from-color":[{"mask-conic-from":m()}],"mask-image-conic-to-color":[{"mask-conic-to":m()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:La()}],"mask-repeat":[{mask:ga()}],"mask-size":[{mask:xa()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",n,i]}],filter:[{filter:["","none",n,i]}],blur:[{blur:ha()}],brightness:[{brightness:[x,n,i]}],contrast:[{contrast:[x,n,i]}],"drop-shadow":[{"drop-shadow":["","none",F,ve,Pe]}],"drop-shadow-color":[{"drop-shadow":m()}],grayscale:[{grayscale:["",x,n,i]}],"hue-rotate":[{"hue-rotate":[x,n,i]}],invert:[{invert:["",x,n,i]}],saturate:[{saturate:[x,n,i]}],sepia:[{sepia:["",x,n,i]}],"backdrop-filter":[{"backdrop-filter":["","none",n,i]}],"backdrop-blur":[{"backdrop-blur":ha()}],"backdrop-brightness":[{"backdrop-brightness":[x,n,i]}],"backdrop-contrast":[{"backdrop-contrast":[x,n,i]}],"backdrop-grayscale":[{"backdrop-grayscale":["",x,n,i]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[x,n,i]}],"backdrop-invert":[{"backdrop-invert":["",x,n,i]}],"backdrop-opacity":[{"backdrop-opacity":[x,n,i]}],"backdrop-saturate":[{"backdrop-saturate":[x,n,i]}],"backdrop-sepia":[{"backdrop-sepia":["",x,n,i]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":g()}],"border-spacing-x":[{"border-spacing-x":g()}],"border-spacing-y":[{"border-spacing-y":g()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",n,i]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[x,"initial",n,i]}],ease:[{ease:["linear","initial",O,n,i]}],delay:[{delay:[x,n,i]}],animate:[{animate:["none",S,n,i]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[P,n,i]}],"perspective-origin":[{"perspective-origin":ae()}],rotate:[{rotate:Se()}],"rotate-x":[{"rotate-x":Se()}],"rotate-y":[{"rotate-y":Se()}],"rotate-z":[{"rotate-z":Se()}],scale:[{scale:be()}],"scale-x":[{"scale-x":be()}],"scale-y":[{"scale-y":be()}],"scale-z":[{"scale-z":be()}],"scale-3d":["scale-3d"],skew:[{skew:ze()}],"skew-x":[{"skew-x":ze()}],"skew-y":[{"skew-y":ze()}],transform:[{transform:[n,i,"","none","gpu","cpu"]}],"transform-origin":[{origin:ae()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:we()}],"translate-x":[{"translate-x":we()}],"translate-y":[{"translate-y":we()}],"translate-z":[{"translate-z":we()}],"translate-none":["translate-none"],accent:[{accent:m()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:m()}],"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",n,i]}],"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":g()}],"scroll-mx":[{"scroll-mx":g()}],"scroll-my":[{"scroll-my":g()}],"scroll-ms":[{"scroll-ms":g()}],"scroll-me":[{"scroll-me":g()}],"scroll-mt":[{"scroll-mt":g()}],"scroll-mr":[{"scroll-mr":g()}],"scroll-mb":[{"scroll-mb":g()}],"scroll-ml":[{"scroll-ml":g()}],"scroll-p":[{"scroll-p":g()}],"scroll-px":[{"scroll-px":g()}],"scroll-py":[{"scroll-py":g()}],"scroll-ps":[{"scroll-ps":g()}],"scroll-pe":[{"scroll-pe":g()}],"scroll-pt":[{"scroll-pt":g()}],"scroll-pr":[{"scroll-pr":g()}],"scroll-pb":[{"scroll-pb":g()}],"scroll-pl":[{"scroll-pl":g()}],"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",n,i]}],fill:[{fill:["none",...m()]}],"stroke-w":[{stroke:[x,ce,j,Ne]}],stroke:[{stroke:["none",...m()]}],"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"]}},Et=(e,{cacheSize:a,prefix:o,experimentalParseClassName:t,extend:r={},override:l={}})=>(pe(e,"cacheSize",a),pe(e,"prefix",o),pe(e,"experimentalParseClassName",t),ye(e.theme,l.theme),ye(e.classGroups,l.classGroups),ye(e.conflictingClassGroups,l.conflictingClassGroups),ye(e.conflictingClassGroupModifiers,l.conflictingClassGroupModifiers),pe(e,"orderSensitiveModifiers",l.orderSensitiveModifiers),Ae(e.theme,r.theme),Ae(e.classGroups,r.classGroups),Ae(e.conflictingClassGroups,r.conflictingClassGroups),Ae(e.conflictingClassGroupModifiers,r.conflictingClassGroupModifiers),Ga(e,r,"orderSensitiveModifiers"),e),pe=(e,a,o)=>{o!==void 0&&(e[a]=o);},ye=(e,a)=>{if(a)for(let o in a)pe(e,o,a[o]);},Ae=(e,a)=>{if(a)for(let o in a)Ga(e,a,o);},Ga=(e,a,o)=>{let t=a[o];t!==void 0&&(e[o]=e[o]?e[o].concat(t):t);},za=(e,...a)=>typeof e=="function"?Pa(Aa,e,...a):Pa(()=>Et(Aa(),e),...a);var Xt=za({extend:{classGroups:{"font-size":["text-xxs","text-xs","text-sm","text-base","text-lg","text-xl","text-2xl","text-3xl","text-4xl","text-5xl","text-6xl","text-7xl","text-8xl","text-9xl"]}}});function u(...e){return Xt(clsx(e))}var Zt=cva("relative flex shrink-0 overflow-hidden rounded-full",{variants:{size:{sm:"size-8",md:"size-10",lg:"size-12",xl:"size-14"}},defaultVariants:{size:"md"}});function Qt(l){var f=l,{className:e,size:a,badge:o,children:t}=f,r=s(f,["className","size","badge","children"]);return jsxs("div",{className:"relative",children:[o&&jsx("div",{className:u("absolute -top-0.5 z-10 flex items-center justify-center rounded-full bg-secondary-background-fill font-bold text-secondary-foreground-onfill ring-1 ring-background",a==="sm"&&"-right-2 size-4 text-xxs",(a==="md"||!a)&&"-right-1 size-4 text-xxs",a==="lg"&&"-right-2 size-5 text-xs",a==="xl"&&"-right-3 size-6 text-xs"),children:o}),jsx(de.Root,b(d({"data-slot":"avatar",className:u(Zt({size:a,className:e}))},r),{children:t}))]})}function Jt(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(de.Image,d({"data-slot":"avatar-image",className:u("size-full object-cover",e)},a))}function $t(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(de.Fallback,b(d({"data-slot":"avatar-fallback",className:u("flex size-full items-center justify-center rounded-full bg-gray-background-soft text-sm font-semibold text-primary-foreground",e)},a),{children:a.children?a.children:jsx(User,{className:"size-1/2"})}))}function Ke({size:e=24,className:a}){return jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:u("animate-spin",a),children:jsx("path",{d:"M21 12a9 9 0 1 1-6.219-8.56"})})}var Le=cva("inline-flex items-center justify-center place-items-center gap-2 rounded-pill text-sm font-semibold whitespace-nowrap transition-all disabled:pointer-events-none shrink-0 [&_svg]:shrink-0 hover:cursor-pointer focus:outline-0 [grid-template-areas:'stack']",{variants:{variant:{regular:"bg-primary-background-fill text-primary-foreground-onfill hover:bg-primary-background-fill-emphasis disabled:bg-gray-background-fill-muted disabled:text-gray-foreground-onfill","regular-soft":"bg-primary-background-soft text-primary-foreground hover:bg-primary-background-soft-emphasis hover:text-primary-foreground-emphasis disabled:bg-gray-background-soft-muted disabled:text-gray-foreground-muted","regular-basic":"bg-transparent text-primary-foreground hover:bg-primary-background-soft-emphasis hover:text-primary-foreground-emphasis disabled:bg-transparent disabled:text-gray-foreground-muted",emphasis:"bg-secondary-background-fill text-secondary-foreground-onfill hover:bg-secondary-background-fill-emphasis disabled:bg-gray-background-fill-muted disabled:text-gray-foreground-onfill","emphasis-soft":"bg-secondary-background-soft text-secondary-foreground hover:bg-secondary-background-soft-emphasis hover:text-secondary-foreground-emphasis disabled:bg-gray-background-soft-muted disabled:text-gray-foreground-muted","emphasis-basic":"bg-transparent text-secondary-foreground hover:bg-secondary-background-soft-emphasis hover:text-secondary-foreground-emphasis disabled:bg-transparent disabled:text-gray-foreground-muted",error:"bg-red-background-fill text-red-foreground-onfill hover:bg-red-background-fill-emphasis disabled:bg-gray-background-fill-muted disabled:text-gray-foreground-onfill","error-soft":"bg-red-background-soft text-red-foreground hover:bg-red-background-soft-emphasis hover:text-red-foreground-emphasis disabled:bg-gray-background-soft-muted disabled:text-gray-foreground-muted","error-basic":"bg-transparent text-red-foreground hover:bg-red-background-soft-emphasis hover:text-red-foreground-emphasis disabled:bg-transparent disabled:text-gray-foreground-muted",warning:"bg-yellow-background-fill text-yellow-foreground-onfill hover:bg-yellow-background-fill-emphasis disabled:bg-gray-background-fill-muted disabled:text-gray-foreground-onfill","warning-soft":"bg-yellow-background-soft text-yellow-foreground hover:bg-yellow-background-soft-emphasis hover:text-yellow-foreground-emphasis disabled:bg-gray-background-soft-muted disabled:text-gray-foreground-muted","warning-basic":"bg-transparent text-yellow-foreground hover:bg-yellow-background-soft-emphasis hover:text-yellow-foreground-emphasis disabled:bg-transparent disabled:text-gray-foreground-muted",success:"bg-green-background-fill text-green-foreground-onfill hover:bg-green-background-fill-emphasis disabled:bg-gray-background-fill-muted disabled:text-gray-foreground-onfill","success-soft":"bg-green-background-soft text-green-foreground hover:bg-green-background-soft-emphasis hover:text-green-foreground-emphasis disabled:bg-gray-background-soft-muted disabled:text-gray-foreground-muted","success-basic":"bg-transparent text-green-foreground hover:bg-green-background-soft-emphasis hover:text-green-foreground-emphasis disabled:bg-transparent disabled:text-gray-foreground-muted",outlined:"border border-border bg-transparent text-foreground hover:border-transparent hover:bg-gray-50 disabled:border-transparent dark:bg-transparent hover:dark:border-gray-400 disabled:border-gray-stroke-muted disabled:text-gray-foreground-muted",gradient:"text-white [background:linear-gradient(284deg,var(--color-primary)_2.11%,var(--color-secondary)_128.06%)] hover:[background:linear-gradient(284deg,var(--color-primary)2.11%,var(--color-secondary)102.63%)] disabled:[background:var(--color-gray-50)] disabled:bg-gray-background-fill-muted disabled:text-gray-foreground-onfill",medbrain:"border-2 border-transparent bg-clip-text [background:linear-gradient(var(--color-white),var(--color-white))_padding-box,linear-gradient(75deg,var(--color-secondary),var(--color-cm-lighten-3))_border-box] [box-shadow:-8px_0_8px_0_var(--color-prev-16)_inset,8px_0_8px_0_var(--color-secondary-24)_inset,0_0_8px_0_var(--color-cm-16)_inset] hover:[background:linear-gradient(var(--color-white),var(--color-white))_padding-box,linear-gradient(75deg,var(--color-cm-lighten-3),var(--color-secondary))_border-box] [&_span]:bg-clip-text [&_span]:text-transparent [&_span]:bg-gradient-to-r [&_span]:from-cm [&_span]:to-primary [&_span]:hover:to-secondary disabled:bg-gray-background-fill-muted disabled:text-gray-foreground-onfill [&_svg]:text-cm-darken-1"},size:{sm:"min-h-8 px-3 py-1 has-[>svg]:px-3 [&_svg:not([class*='size-'])]:size-4 text-xs",md:"min-h-10 px-3.5 py-2 has-[>svg]:px-3.5 [&_svg:not([class*='size-'])]:size-5 text-sm",lg:"min-h-12 px-4 py-3 has-[>svg]:px-4 [&_svg:not([class*='size-'])]:size-6 text-base",xl:"min-h-14 px-[18px] py-3.5 has-[>svg]:px-[18px] [&_svg:not([class*='size-'])]:size-7 text-lg"}},defaultVariants:{variant:"regular",size:"md"}});function ao(k){var A=k,{className:e,containerClassName:a,variant:o,size:t,asChild:r=false,iconRight:l,iconLeft:f,badge:p,loading:c=false,alert:I}=A,h=s(A,["className","containerClassName","variant","size","asChild","iconRight","iconLeft","badge","loading","alert"]);let F=r?Slot:"button",w=S=>S!=null&&S!==0&&S!==""&&S!=="0",P=S=>S,U=()=>I?jsxs("span",{className:u("relative mr-1 flex size-2.5",t==="sm"&&"size-2",t==="lg"&&"size-2.5",t==="xl"&&"size-3"),children:[jsx("span",{className:"absolute inline-flex h-full w-full animate-ping rounded-full opacity-75",style:{backgroundColor:I}}),jsx("span",{className:u("relative inline-flex size-2.5 rounded-full",t==="sm"&&"size-2",t==="lg"&&"size-2.5",t==="xl"&&"size-3"),style:{backgroundColor:I}})]}):null,O=()=>c?jsxs(Fragment,{children:[jsx(Ke,{className:"[grid-area:stack]"}),jsx("span",{className:u("[grid-area:stack]",c&&"invisible"),children:h.children})]}):jsxs(Fragment,{children:[I?U():f&&P(f),h.children&&jsx("span",{children:h.children}),l&&P(l)]});return jsxs("div",{className:u("relative",a),children:[w(p)&&jsx("div",{className:u("absolute -right-2 -top-0.5 z-10 flex size-5 items-center justify-center rounded-full bg-secondary-background-fill text-xs font-bold text-secondary-foreground-onfill ring-1 ring-background"),children:p}),jsx(F,b(d({disabled:c,"data-slot":"button",className:u(!h.children&&"!p-3",c&&"!inline-grid",Le({variant:o,size:t,className:e}))},h),{children:O()}))]})}function Ze(t){var r=t,{className:e,type:a}=r,o=s(r,["className","type"]);return jsx("input",d({type:a,"data-slot":"input",className:u("placeholder:text-muted-foreground selection:text-primary-foreground shadow-xs flex h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-base outline-none transition-[color,box-shadow] selection:bg-primary file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 dark:bg-gray-300 md:text-sm","focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-red-8 aria-invalid:border-red",e)},o))}function oo({width:e=171,height:a=36,className:o,svgClassName:t}){return jsxs("svg",{className:u("dark:brightness-0 dark:invert",o),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 171 36",width:e,height:a,children:[jsx("path",{fill:"#01CFB5",d:"M170.246 8.366 158.874 34.77c-.317.744-1.131 1.23-2.038 1.23h-3.47c-1.552 0-2.606-1.377-2.011-2.628l2.875-6.066-8.476-18.918c-.563-1.246.492-2.59 2.027-2.59h3.541c.929 0 1.755.513 2.061 1.278l4.688 11.864h.093l4.464-11.836c.295-.782 1.126-1.306 2.066-1.306h3.514c1.524 0 2.573 1.322 2.038 2.568Zm-24.869 8.623v10.42a.823.823 0 0 1-.82.826h-3.956a.818.818 0 0 1-.82-.825v-.667a11.207 11.207 0 0 1-5.699 1.541c-6.235 0-11.295-5.054-11.295-11.295 0-6.24 5.06-11.295 11.295-11.295 2.076 0 4.027.557 5.694 1.541v-.006a11.295 11.295 0 0 1 5.601 9.76Zm-5.984.005c0-2.94-2.377-5.327-5.306-5.327-2.929 0-5.306 2.388-5.306 5.327 0 2.94 2.377 5.323 5.306 5.323 2.929 0 5.306-2.383 5.306-5.323Zm5.793.4c.005-.099.005-.192.005-.29 0-.098-.005-.191-.005-.284v.573Zm-26.17-11.722h-4.355a.977.977 0 0 0-.978.978v11.902a3.416 3.416 0 0 1-6.831 0V6.65a.977.977 0 0 0-.978-.978h-4.355a.977.977 0 0 0-.978.978v11.902a3.417 3.417 0 0 1-5.83 2.415c-.618-.617-1-1.47-1-2.415V6.65a.977.977 0 0 0-.979-.978h-4.355a.977.977 0 0 0-.978.978v13.088h-.006c0 .781.115 1.535.334 2.256 1.098 3.623 4.765 6.29 9.13 6.29 2.739 0 5.209-1.054 6.935-2.732 1.689 1.83 4.197 2.994 7 2.994 4.53 0 8.295-3.043 9.06-7.043.093-.487.143-.99.143-1.497V6.65a.978.978 0 0 0-.979-.978Z"}),jsx("path",{fill:"#00205B",className:t,d:"M65.557 7.694c-.639.399-1.235.863-1.781 1.388.54-.536 1.137-1 1.781-1.388ZM82.727.831v26.617a.82.82 0 0 1-.82.825h-3.956a.77.77 0 0 1-.415-.12.81.81 0 0 1-.405-.71v-.755a11.018 11.018 0 0 1-5.689 1.574c-5.47 0-10.01-3.967-10.923-9.191-.016-.098-.038-.197-.054-.3-.011-.088-.028-.18-.039-.268 0-.028-.005-.055-.01-.088-.006-.06-.012-.12-.023-.18-.005-.076-.01-.159-.021-.24v-.028c-.006-.093-.017-.18-.017-.273a9.516 9.516 0 0 1 0-1.11l.017-.273v-.027l.032-.311c0-.033.006-.066.006-.099a.665.665 0 0 0 .01-.104c.012-.087.023-.18.039-.267.016-.11.033-.213.055-.323a11.09 11.09 0 0 1 3.17-6.005 11.548 11.548 0 0 1 1.88-1.48 9.127 9.127 0 0 1 1.31-.646c1.039-.42 2.186-.65 3.405-.683-.071 0-.142.011-.213.011a9.587 9.587 0 0 0-3.203.672c-.453.18-.896.4-1.311.65.393-.245.809-.459 1.23-.655-.006 0-.011.005-.017.005l.033-.016c-.011.005-.022.005-.038.01a8.79 8.79 0 0 1 .519-.229c-.039.017-.071.033-.104.05.038-.017.07-.033.11-.05.087-.033.174-.065.267-.098.087-.038.175-.066.268-.099.033-.016.065-.021.098-.032.055-.017.104-.039.158-.055.11-.033.214-.066.323-.098a9.584 9.584 0 0 1 .607-.153c.092-.022.196-.044.295-.066.098-.016.196-.033.295-.055l.295-.049h.005a2.82 2.82 0 0 0 .197-.027c.07-.005.131-.022.202-.022.087-.01.18-.016.268-.022.082-.01.164-.01.246-.016.07 0 .142-.011.213-.011.136-.006.273-.006.415-.006.093 0 .191.006.284.006h.12c.083 0 .159.005.236.01.098.006.196.012.295.023.087.005.174.01.256.022.05.005.099.01.142.016.088.01.175.022.257.038l.312.05c1.06.185 2.07.519 3.005.983v.115c-.038-.022-.076-.038-.12-.06.038.022.077.038.12.065v-.12c.268.131.525.273.77.426V.825a.827.827 0 0 1 .82-.825h3.957a.838.838 0 0 1 .836.83Zm-5.694 16.213a5.32 5.32 0 0 0-5.312-5.323c-2.929 0-5.306 2.388-5.306 5.323 0 2.94 2.377 5.322 5.306 5.322a5.316 5.316 0 0 0 5.312-5.322Zm-19.59.431c0 .41-.017.765-.066 1.132a.597.597 0 0 1-.596.524H42.284a.598.598 0 0 0-.574.77c.623 1.94 2.46 3.192 4.749 3.192 1.607 0 2.678-.574 3.656-1.749a.614.614 0 0 1 .47-.213h5.191c.448 0 .738.47.53.869-2.093 4.033-5.705 6.372-9.847 6.372-6.06 0-11.137-5.055-11.137-11.088 0-6.033 4.847-11.235 11.022-11.235h.006c6.284 0 11.093 4.94 11.093 11.426Zm-6.563-3.393c-.738-1.683-2.437-2.754-4.541-2.754-1.973 0-3.721 1.027-4.47 2.754a.594.594 0 0 0 .552.825h7.907a.593.593 0 0 0 .552-.825ZM23.13 5.803c-2.738 0-5.207 1.055-6.934 2.733-1.689-1.831-4.197-2.995-7-2.995-4.53 0-8.295 3.044-9.06 7.044-.088.486-.137.989-.137 1.497v13.35c0 .54.437.978.978.978h4.355a.977.977 0 0 0 .978-.978V15.618c0-1.65 1.328-3.263 2.962-3.476a3.398 3.398 0 0 1 2.87.973c.617.617 1 1.47 1 2.415v11.902c0 .54.436.978.977.978h4.355a.977.977 0 0 0 .979-.978V15.618c0-1.65 1.327-3.263 2.961-3.476a3.398 3.398 0 0 1 2.87.973c.617.617 1 1.47 1 2.415v11.902c0 .54.436.978.977.978h4.355a.977.977 0 0 0 .979-.978V14.344a7.75 7.75 0 0 0-.334-2.257c-1.098-3.623-4.77-6.284-9.13-6.284Z"})]})}function ro({width:e=60,height:a=67,className:o,svgClassName:t}){return jsx("svg",{className:u("dark:brightness-0 dark:invert",o),width:e,height:a,viewBox:"0 0 60 67",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsx("path",{fill:"#00205B",className:t,d:"M42.33 10.8959C37.32 10.8959 32.8 12.8259 29.64 15.8959C26.55 12.5459 21.96 10.4159 16.83 10.4159C8.54 10.4159 1.65 15.9859 0.25 23.3059C0.09 24.1959 0 25.1159 0 26.0459V50.4759C0 51.4659 0.8 52.2659 1.79 52.2659H9.76C10.75 52.2659 11.55 51.4659 11.55 50.4759V28.8559C11.55 25.8359 13.98 22.8859 16.97 22.4959C19.03 22.2259 20.91 22.9659 22.22 24.2759C23.35 25.4059 24.05 26.9659 24.05 28.6959V50.4759C24.05 51.4659 24.85 52.2659 25.84 52.2659H33.81C34.8 52.2659 35.6 51.4659 35.6 50.4759V28.8559C35.6 25.8359 38.03 22.8859 41.02 22.4959C43.08 22.2259 44.96 22.9659 46.27 24.2759C47.4 25.4059 48.1 26.9659 48.1 28.6959V50.4759C48.1 51.4659 48.9 52.2659 49.89 52.2659H57.86C58.85 52.2659 59.65 51.4659 59.65 50.4759V26.5259C59.65 25.0959 59.44 23.7159 59.04 22.3959C57.03 15.7659 50.31 10.8959 42.33 10.8959Z"})})}function Qe(r){var l=r,{className:e,orientation:a="horizontal",decorative:o=true}=l,t=s(l,["className","orientation","decorative"]);return jsx(Ea.Root,d({"data-slot":"separator-root",decorative:o,orientation:a,className:u("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",e)},t))}var Wa=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),uo=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,o,t)=>t?t.toUpperCase():o.toLowerCase()),Je=e=>{let a=uo(e);return a.charAt(0).toUpperCase()+a.slice(1)},Re=(...e)=>e.filter((a,o,t)=>!!a&&a.trim()!==""&&t.indexOf(a)===o).join(" ").trim(),Xa=e=>{for(let a in e)if(a.startsWith("aria-")||a==="role"||a==="title")return true};var _a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};var Za=forwardRef((I,c)=>{var h=I,{color:e="currentColor",size:a=24,strokeWidth:o=2,absoluteStrokeWidth:t,className:r="",children:l,iconNode:f}=h,p=s(h,["color","size","strokeWidth","absoluteStrokeWidth","className","children","iconNode"]);return createElement("svg",d(d(b(d({ref:c},_a),{width:a,height:a,stroke:e,strokeWidth:t?Number(o)*24/Number(a):o,className:Re("lucide",r)}),!l&&!Xa(p)&&{"aria-hidden":"true"}),p),[...f.map(([k,A])=>createElement(k,A)),...Array.isArray(l)?l:[l]])});var Qa=(e,a)=>{let o=forwardRef((f,l)=>{var p=f,{className:t}=p,r=s(p,["className"]);return createElement(Za,d({ref:l,iconNode:a,className:Re(`lucide-${Wa(Je(e))}`,`lucide-${e}`,t)},r))});return o.displayName=Je(e),o};var co=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],ge=Qa("x",co);function je(a){var e=s(a,[]);return jsx(q.Root,d({"data-slot":"sheet"},e))}function po(a){var e=s(a,[]);return jsx(q.Portal,d({"data-slot":"sheet-portal"},e))}function mo(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(q.Overlay,d({"data-slot":"sheet-overlay",className:u("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e)},a))}function Ja(r){var l=r,{className:e,children:a,side:o="right"}=l,t=s(l,["className","children","side"]);return jsxs(po,{children:[jsx(mo,{}),jsxs(q.Content,b(d({"data-slot":"sheet-content",className:u("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",o==="right"&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",o==="left"&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",o==="top"&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",o==="bottom"&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",e)},t),{children:[a,jsxs(q.Close,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",children:[jsx(ge,{className:"size-4"}),jsx("span",{className:"sr-only",children:"Close"})]})]}))]})}function $a(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"sheet-header",className:u("flex flex-col gap-1.5 p-4",e)},a))}function ja(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(q.Title,d({"data-slot":"sheet-title",className:u("text-foreground font-semibold",e)},a))}function Ya(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(q.Description,d({"data-slot":"sheet-description",className:u("text-muted-foreground text-sm",e)},a))}function Be(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"skeleton",className:u("animate-pulse rounded-md bg-gray-150",e)},a))}function Ye(o){var t=o,{delayDuration:e=0}=t,a=s(t,["delayDuration"]);return jsx(G.Provider,d({"data-slot":"tooltip-provider",delayDuration:e},a))}function Fe(a){var e=s(a,[]);return jsx(Ye,{children:jsx(G.Root,d({"data-slot":"tooltip"},e))})}function ea(a){var e=s(a,[]);return jsx(G.Trigger,d({"data-slot":"tooltip-trigger"},e))}function aa(r){var l=r,{className:e,sideOffset:a=0,children:o}=l,t=s(l,["className","sideOffset","children"]);return jsx(G.Portal,{children:jsxs(G.Content,b(d({"data-slot":"tooltip-content",sideOffset:a,className:u("origin-(--radix-tooltip-content-transform-origin) z-50 w-fit text-balance rounded-md bg-surface-elevated px-3 py-2 text-sm font-medium text-gray-foreground-emphasis animate-in fade-in-0 zoom-in-95 [filter:drop-shadow(0_0_1px_var(--color-drop-shadow-layer-a))_drop-shadow(0_2px_2px_var(--color-drop-shadow-layer-b))] data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e)},t),{children:[o,jsx(G.Arrow,{className:"z-50 size-3 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px] bg-surface-elevated fill-surface-elevated"})]}))})}function xo(a){var e=s(a,[]);return jsx(ue.Root,d({"data-slot":"collapsible"},e))}function Io(a){var e=s(a,[]);return jsx(ue.CollapsibleTrigger,d({"data-slot":"collapsible-trigger"},e))}function ho(a){var e=s(a,[]);return jsx(ue.CollapsibleContent,d({"data-slot":"collapsible-content"},e))}var oa=768;function xe(){let[e,a]=y.useState(void 0);return y.useEffect(()=>{let o=window.matchMedia(`(max-width: ${oa-1}px)`),t=()=>{a(window.innerWidth<oa);};return o.addEventListener("change",t),a(window.innerWidth<oa),()=>o.removeEventListener("change",t)},[]),!!e}function ra(a){var e=s(a,[]);return jsx(C.Root,d({"data-slot":"dropdown-menu"},e))}function So(a){var e=s(a,[]);return jsx(C.Portal,d({"data-slot":"dropdown-menu-portal"},e))}function la(a){var e=s(a,[]);return jsx(C.Trigger,d({className:u("cursor-pointer",e.className),"data-slot":"dropdown-menu-trigger"},e))}function da(r){var l=r,{className:e,sideOffset:a=4,side:o}=l,t=s(l,["className","sideOffset","side"]);let f=xe();return jsx(C.Portal,{children:jsx(C.Content,d({"data-slot":"dropdown-menu-content",sideOffset:a,side:f?"bottom":o,className:u("max-h-(--radix-dropdown-menu-content-available-height) origin-(--radix-dropdown-menu-content-transform-origin) z-50 max-h-screen min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-surface-elevated p-3 pb-2 text-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e)},t))})}function bo(a){var e=s(a,[]);return jsx(C.Group,d({"data-slot":"dropdown-menu-group"},e))}function qe(r){var l=r,{className:e,inset:a,variant:o="default"}=l,t=s(l,["className","inset","variant"]);return jsx(C.Item,d({"data-slot":"dropdown-menu-item","data-inset":a,"data-variant":o,className:u("data-[variant=destructive]:*:[svg]:!text-destructive outline-hidden relative flex cursor-pointer select-none items-center gap-2.5 rounded-sm px-2 py-2 text-sm font-medium text-gray-foreground hover:bg-secondary-background-soft-emphasis focus:outline-0 data-[disabled]:pointer-events-none data-[inset]:pl-8 data-[variant=destructive]:text-red-foreground data-[disabled]:opacity-50 data-[variant=destructive]:hover:bg-red-background-soft-emphasis dark:[&_img]:brightness-0 dark:[&_img]:invert [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",e)},t))}function wo(r){var l=r,{className:e,children:a,checked:o}=l,t=s(l,["className","children","checked"]);return jsxs(C.CheckboxItem,b(d({"data-slot":"dropdown-menu-checkbox-item",className:u("outline-hidden relative flex cursor-pointer select-none items-center gap-2 rounded-md px-2 py-2 text-sm font-medium text-gray-foreground hover:bg-secondary-background-soft-emphasis focus:outline-0 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:[&_img]:brightness-0 dark:[&_img]:invert [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg]:text-secondary-foreground",e),checked:o},t),{children:[a,jsx("span",{className:"pointer-events-none absolute right-0 flex size-3.5 items-center justify-center",children:jsx(C.ItemIndicator,{children:jsx(Check,{className:"size-4"})})})]}))}function Ue(a){var e=s(a,[]);return jsx(C.RadioGroup,d({"data-slot":"dropdown-menu-radio-group"},e))}function sa(t){var r=t,{className:e,children:a}=r,o=s(r,["className","children"]);return jsxs(C.RadioItem,b(d({"data-slot":"dropdown-menu-radio-item",className:u("outline-hidden relative flex cursor-pointer select-none items-center gap-2 rounded-md px-2 py-3 text-sm font-medium text-gray-foreground hover:bg-secondary-background-soft-emphasis focus:outline-0 aria-checked:text-secondary-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:[&_img]:brightness-0 dark:[&_img]:invert [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:text-secondary-foreground",e)},o),{children:[a,jsx("span",{className:"pointer-events-none absolute right-0 flex size-3.5 items-center justify-center",children:jsx(C.ItemIndicator,{children:jsx(Check,{className:"size-4"})})})]}))}function ua(t){var r=t,{className:e,inset:a}=r,o=s(r,["className","inset"]);return jsx(C.Label,d({"data-slot":"dropdown-menu-label","data-inset":a,className:u("px-2 py-3 text-xs font-semibold uppercase text-gray-foreground-muted data-[inset]:pl-8 [&:not(:first-child)]:mt-2.5",e)},o))}function fa(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(C.Separator,d({"data-slot":"dropdown-menu-separator",className:u("-mx-3 my-2 h-px bg-border",e)},a))}function ko(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("span",d({"data-slot":"dropdown-menu-shortcut",className:u("ml-auto text-xs tracking-widest text-gray-foreground",e)},a))}function Po(a){var e=s(a,[]);return jsx(C.Sub,d({"data-slot":"dropdown-menu-sub"},e))}function vo(r){var l=r,{className:e,inset:a,children:o}=l,t=s(l,["className","inset","children"]);return jsxs(C.SubTrigger,b(d({"data-slot":"dropdown-menu-sub-trigger","data-inset":a,className:u("flex cursor-pointer select-none items-center rounded-sm px-2 py-2 text-sm font-medium text-gray-foreground outline-0 focus:outline-0 data-[inset]:pl-8",e)},t),{children:[o,jsx(ChevronRight,{className:"ml-auto size-3"})]}))}function yo(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(C.SubContent,d({"data-slot":"dropdown-menu-sub-content",className:u("origin-(--radix-dropdown-menu-content-transform-origin) z-50 min-w-[8rem] overflow-hidden rounded-md border bg-surface-elevated p-1 text-gray-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e)},a))}var Ro="sidebar_state",Bo=60*60*24*7,Fo="b",tt=y.createContext(null);function fe(){let e=y.useContext(tt);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}function To(f){var p=f,{defaultOpen:e=true,open:a,onOpenChange:o,className:t,children:r}=p,l=s(p,["defaultOpen","open","onOpenChange","className","children"]);let c=xe(),[I,h]=y.useState(false),[k,A]=y.useState(e),F=a!=null?a:k,w=y.useCallback(S=>{let B=typeof S=="function"?S(F):S;o?o(B):A(B),document.cookie=`${Ro}=${B}; path=/; max-age=${Bo}`;},[o,F]),P=y.useCallback(()=>c?h(S=>!S):w(S=>!S),[c,w,h]);y.useEffect(()=>{let S=B=>{B.key===Fo&&(B.metaKey||B.ctrlKey)&&(B.preventDefault(),P());};return window.addEventListener("keydown",S),()=>window.removeEventListener("keydown",S)},[P]);let U=F?"expanded":"collapsed",O=y.useMemo(()=>({state:U,open:F,setOpen:w,isMobile:c,openMobile:I,setOpenMobile:h,toggleSidebar:P}),[U,F,w,c,I,h,P]);return jsx(tt.Provider,{value:O,children:jsx(Ye,{delayDuration:0,children:jsx("div",b(d({"data-slot":"sidebar-wrapper",className:u("group/sidebar-wrapper has-data-[variant=inset]:bg-surface-navigation flex min-h-svh w-full",t)},l),{children:r}))})})}function qo(f){var p=f,{side:e="left",variant:a="sidebar",collapsible:o="offcanvas",className:t,children:r}=p,l=s(p,["side","variant","collapsible","className","children"]);let{isMobile:c,state:I,openMobile:h,setOpenMobile:k}=fe();return o==="none"?jsx("div",b(d({"data-slot":"sidebar",className:u("flex h-full w-[var(--sidebar-width)] flex-col bg-surface-navigation text-gray-foreground",t)},l),{children:r})):c?jsx(je,b(d({open:h,onOpenChange:k},l),{children:jsxs(Ja,{"data-sidebar":"sidebar","data-slot":"sidebar","data-mobile":"true",className:"w-[var(--sidebar-width-mobile)] bg-surface-navigation p-0 text-gray-foreground [&>button]:hidden",side:e,children:[jsxs($a,{className:"sr-only",children:[jsx(ja,{children:"Sidebar"}),jsx(Ya,{children:"Displays the mobile sidebar."})]}),jsx("div",{className:"flex h-full w-full flex-col",children:r})]})})):jsxs("div",{className:"group peer hidden text-gray-foreground md:block","data-state":I,"data-collapsible":I==="collapsed"?o:"","data-variant":a,"data-side":e,"data-slot":"sidebar",children:[jsx("div",{"data-slot":"sidebar-gap",className:u("relative w-[var(--sidebar-width)] bg-transparent transition-[width] duration-200 ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",a==="floating"||a==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]":"group-data-[collapsible=icon]:w-[var(--sidebar-width-icon)]")}),jsx("div",b(d({"data-slot":"sidebar-container",className:u("fixed inset-y-0 z-10 hidden h-svh w-[var(--sidebar-width)] border-border transition-[left,right,width] duration-200 ease-linear md:flex",e==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",a==="floating"||a==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]":"group-data-[collapsible=icon]:w-[var(--sidebar-width-icon)] group-data-[side=left]:border-r group-data-[side=right]:border-l",t)},l),{children:jsx("div",{"data-sidebar":"sidebar","data-slot":"sidebar-inner",className:"flex h-full w-full flex-col bg-surface-navigation group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-border group-data-[variant=floating]:shadow-sm",children:r})}))]})}function Uo(c){var I=c,{className:e,onClick:a,sizeIcon:o="size-5",icon:t=jsx(HamburgerMd,{className:o}),showTooltip:r=false,tooltipContent:l,enableHover:f=false}=I,p=s(I,["className","onClick","sizeIcon","icon","showTooltip","tooltipContent","enableHover"]);let{toggleSidebar:h,open:k,isMobile:A}=fe(),[F,w]=y.useState(false),U=l||{open:"Esconder",closed:"Mostrar"},O=()=>f&&F?k?jsx(ChevronLeftMd,{className:o}):jsx(ChevronRightMd,{className:o}):t,S=jsxs("button",b(d({"data-sidebar":"trigger","data-slot":"sidebar-trigger",className:u("flex min-h-8 min-w-8 items-center justify-center rounded-full bg-surface-elevated text-gray-foreground transition-all duration-200 hover:shadow-[0px_0px_2px_0px_rgba(24,26,30,0.16),0px_2px_4px_0px_rgba(24,26,30,0.08)] [&>svg]:text-gray-foreground",e),onClick:B=>{a==null||a(B),h();},onMouseEnter:!A&&f?()=>w(true):void 0,onMouseLeave:!A&&f?()=>w(false):void 0},p),{children:[O(),jsx("span",{className:"sr-only",children:"Toggle Sidebar"})]}));return !r||A?S:jsxs(Fe,{children:[jsx(ea,{asChild:true,children:S}),jsx(aa,{side:"right",align:"center",children:k?U.open:U.closed})]})}function Oo(o){var t=o,{className:e}=t,a=s(t,["className"]);let{toggleSidebar:r}=fe();return jsx("button",d({"data-sidebar":"rail","data-slot":"sidebar-rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:r,title:"Toggle Sidebar",className:u("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full hover:group-data-[collapsible=offcanvas]:bg-surface-navigation","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",e)},a))}function Ho(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("main",d({"data-slot":"sidebar-inset",className:u("relative flex w-full flex-1 flex-col bg-surface-navigation","md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm",e)},a))}function Go(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(Ze,d({"data-slot":"sidebar-input","data-sidebar":"input",className:u("bg-bg-surface-navigation h-8 w-full shadow-none",e)},a))}function zo(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"sidebar-header","data-sidebar":"header",className:u("flex flex-col gap-0.5 px-4 pt-3",e)},a))}function Vo(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"sidebar-footer","data-sidebar":"footer",className:u("flex flex-col gap-0.5 px-4 pb-3 [[data-state=collapsed]_&]:px-2",e)},a))}function No(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(Qe,d({"data-slot":"sidebar-separator","data-sidebar":"separator",className:u("mx-2 w-auto bg-border",e)},a))}function Eo(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"sidebar-content","data-sidebar":"content",className:u("flex min-h-0 flex-1 flex-col gap-0.5 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e)},a))}function Wo(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"sidebar-group","data-sidebar":"group",className:u("relative flex w-full min-w-0 flex-col p-2 px-4",e)},a))}function Xo(t){var r=t,{className:e,asChild:a=false}=r,o=s(r,["className","asChild"]);return jsx(a?Slot:"div",d({"data-slot":"sidebar-group-label","data-sidebar":"group-label",className:u("outline-hidden flex h-12 shrink-0 items-center whitespace-nowrap rounded-md px-2 text-xs font-semibold uppercase text-gray-foreground-muted ring-ring transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:mt-0 group-data-[collapsible=icon]:hidden",e)},o))}function _o(t){var r=t,{className:e,asChild:a=false}=r,o=s(r,["className","asChild"]);return jsx(a?Slot:"button",d({"data-slot":"sidebar-group-action","data-sidebar":"group-action",className:u("outline-hidden absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-gray-foreground ring-ring transition-transform hover:bg-secondary-background-soft-emphasis focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 md:after:hidden","group-data-[collapsible=icon]:hidden",e)},o))}function Ko(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"sidebar-group-content","data-sidebar":"group-content",className:u("w-full text-sm",e)},a))}function Zo(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("ul",d({"data-slot":"sidebar-menu","data-sidebar":"menu",className:u("flex w-full min-w-0 flex-col gap-1",e)},a))}function Qo(r){var l=r,{className:e,isActive:a,children:o}=l,t=s(l,["className","isActive","children"]);return jsxs("li",b(d({"data-slot":"sidebar-menu-item","data-sidebar":"menu-item",className:u("group/menu-item relative hover:cursor-pointer",e)},t),{children:[a&&jsx("span",{className:"absolute -left-4 top-0 h-full w-0.5 bg-secondary-stroke-emphasis","aria-hidden":"true"}),o]}))}var Jo=cva("peer/menu-button font-medium flex w-full items-center gap-2.5 overflow-hidden rounded-md p-[.55rem] text-left text-sm outline-hidden ring-ring transition-[width,height,padding] hover:bg-secondary-background-soft-emphasis focus-visible:ring-2 active:text-secondary-foreground active:font-semibold disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:text-secondary-foreground data-[active=true]:font-semibold data-[active=true]:hover:bg-secondary-background-soft-emphasis data-[active=true]:hover:text-secondary-foreground group-data-[collapsible=icon]:size-10! group-data-[collapsible=icon]:p-2.5! [&>span:last-child]:truncate [&>svg]:data-[active=true]:stroke-[2.2] [&>svg]:size-5 [&>svg]:shrink-0 mx-auto",{variants:{variant:{default:"hover:bg-secondary-background-soft-emphasis",section:"[[data-state=collapsed]_&]:p-[5px]",outline:"bg-surface-navigation shadow-[0_0_0_1px_hsl(var(--color-border))] hover:bg-secondary-background-soft-emphasis hover:shadow-[0_0_0_1px_hsl(var(--secondary))]"},size:{sm:"h-8 text-xs",md:"h-10 text-sm",lg:"h-12 text-base group-data-[collapsible=icon]:p-0!"}},defaultVariants:{variant:"default",size:"md"}});function $o(p){var c=p,{asChild:e=false,isActive:a=false,variant:o="default",size:t="md",tooltip:r,className:l}=c,f=s(c,["asChild","isActive","variant","size","tooltip","className"]);let I=e?Slot:"button",{isMobile:h,state:k}=fe(),A=jsx(I,d({"data-slot":"sidebar-menu-button","data-sidebar":"menu-button","data-size":t,"data-active":a,className:u(Jo({variant:o,size:t}),l)},f));return r?(typeof r=="string"&&(r={children:r}),jsxs(Fe,{children:[jsx(ea,{asChild:true,children:A}),jsx(aa,d({side:"right",align:"center",hidden:k!=="collapsed"||h},r))]})):A}function jo(r){var l=r,{className:e,asChild:a=false,showOnHover:o=false}=l,t=s(l,["className","asChild","showOnHover"]);return jsx(a?Slot:"button",d({"data-slot":"sidebar-menu-action","data-sidebar":"menu-action",className:u("outline-hidden absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-gray-foreground ring-ring transition-transform hover:bg-secondary-background-soft-emphasis focus-visible:ring-2 peer-hover/menu-button:text-secondary-stroke-emphasis [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 md:after:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",o&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-secondary md:opacity-0",e)},t))}function Yo(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"sidebar-menu-badge","data-sidebar":"menu-badge",className:u("pointer-events-none absolute right-1 flex h-5 min-w-5 select-none items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-gray-foreground","peer-hover/menu-button:text-secondary peer-data-[active=true]/menu-button:text-secondary","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",e)},a))}function er(t){var r=t,{className:e,showIcon:a=false}=r,o=s(r,["className","showIcon"]);let l=y.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return jsxs("div",b(d({"data-slot":"sidebar-menu-skeleton","data-sidebar":"menu-skeleton",className:u("flex h-8 items-center gap-0.5 rounded-md px-2",e)},o),{children:[a&&jsx(Be,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),jsx(Be,{className:"max-w-(--skeleton-width) h-4 flex-1","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":l}})]}))}function ar(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("ul",d({"data-slot":"sidebar-menu-sub","data-sidebar":"menu-sub",className:u("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e)},a))}function tr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("li",d({"data-slot":"sidebar-menu-sub-item","data-sidebar":"menu-sub-item",className:u("group/menu-sub-item relative",e)},a))}function or({icon:e,title:a}){let{state:o,isMobile:t}=fe();return jsxs(Fragment,{children:[y.isValidElement(e)?y.cloneElement(e,{strokeWidth:1.8}):e,jsx("span",{className:u("whitespace-nowrap",o==="collapsed"&&"opacity-0",t&&"opacity-100"),children:a})]})}function rr(){return jsx("div",{className:"ml-auto transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90",children:jsx(ChevronRightMd,{size:20,strokeWidth:1.5})})}function lr(l){var f=l,{asChild:e=false,size:a="md",isActive:o=false,className:t}=f,r=s(f,["asChild","size","isActive","className"]);return jsx(e?Slot:"a",d({"data-slot":"sidebar-menu-sub-button","data-sidebar":"menu-sub-button","data-size":a,"data-active":o,className:u("outline-hidden flex h-9 min-w-0 -translate-x-px items-center gap-0.5 overflow-hidden rounded-md px-2 font-medium text-gray-foreground ring-ring hover:bg-secondary-background-soft-emphasis focus-visible:ring-2 active:font-semibold active:text-secondary-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-gray-foreground","data-[active=true]:font-semibold data-[active=true]:text-secondary-foreground",a==="sm"&&"text-xs",a==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",t)},r))}var ot=y.createContext({});function sr({children:e,value:a,onValueChange:o,open:t,defaultOpen:r,onOpenChange:l}){let[f,p]=y.useState(a||""),c={value:a||f,onValueChange:o||p};return jsx(ot.Provider,{value:c,children:jsx(ra,{open:t,defaultOpen:r,onOpenChange:l,children:e})})}function ur({children:e,asChild:a=true,className:o}){return jsx(la,{className:o,asChild:a,children:e})}function fr({children:e,align:a="center",side:o="right",className:t}){return jsx(da,{className:t,align:a,side:o,children:e})}function ir({children:e,label:a}){let{value:o,onValueChange:t}=y.useContext(ot);return a?jsxs(Fragment,{children:[jsx(ua,{children:a}),jsx(Ue,{value:o,onValueChange:t,children:e})]}):jsx(Ue,{value:o,onValueChange:t,children:e})}function nr({children:e,value:a,onClick:o,icon:t}){let r=()=>{o&&o();};return a?jsxs(sa,{value:a,onClick:r,children:[typeof t=="string"?jsx("img",{src:t,alt:"",width:20,height:14}):t,e]}):jsxs(qe,{onClick:r,children:[typeof t=="string"?jsx("img",{src:t,alt:"",width:20,height:14}):t,e]})}function cr({children:e,onClick:a,icon:o}){return jsxs(qe,{onClick:a,children:[o,e]})}function pr(){return jsx(fa,{})}var na=y.createContext(null),gr=cva("relative flex flex-col items-center justify-between gap-5 w-full rounded-md px-4 py-3 text-sm has-[>svg]:gap-x-9 gap-y-1 items-center [&>svg]:translate-y-0 [&>svg]:text-current lg:flex-row",{variants:{variant:{regular:"[background:linear-gradient(0deg,_var(--color-primary-background-soft)_0%,_var(--color-primary-background-soft)_100%),_var(--color-surface-card)] text-primary-foreground [&>svg]:text-primary-foreground",emphasis:"[background:linear-gradient(0deg,_var(--color-secondary-background-soft)_0%,_var(--color-secondary-background-soft)_100%),_var(--color-surface-card)] text-secondary-foreground [&>svg]:text-secondary-foreground",success:"[background:linear-gradient(0deg,_var(--color-green-background-soft)_0%,_var(--color-green-background-soft)_100%),_var(--color-surface-card)] text-green-foreground [&>svg]:text-green-foreground",warning:"[background:linear-gradient(0deg,_var(--color-yellow-background-soft)_0%,_var(--color-yellow-background-soft)_100%),_var(--color-surface-card)] text-yellow-foreground [&>svg]:text-yellow-foreground",error:"[background:linear-gradient(0deg,_var(--color-red-background-soft)_0%,_var(--color-red-background-soft)_100%),_var(--color-surface-card)] text-red-foreground [&>svg]:text-red-foreground"}},defaultVariants:{variant:"regular"}});function xr(l){var f=l,{className:e,variant:a="regular",onClose:o,children:t}=f,r=s(f,["className","variant","onClose","children"]);let p=y.Children.toArray(t).some(I=>y.isValidElement(I)&&I.type===dt),c=y.Children.toArray(t).some(I=>y.isValidElement(I)&&I.type===lt);return jsx(na.Provider,{value:{variant:a,hasDescription:p,hasTitle:c,onClose:o},children:jsxs("div",b(d({"data-slot":"alert",role:"alert",className:u(gr({variant:a}),e)},r),{children:[t,o&&jsx(CloseMd,{"aria-label":"alert-close",onClick:o,className:"absolute right-4 top-2 !size-4 cursor-pointer !text-gray-foreground"})]}))})}function Ir(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"alert-container",className:u("flex gap-3 [&>svg]:min-h-6 [&>svg]:min-w-6",e)},a))}function hr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"alert-content",className:u("flex flex-col gap-1",e)},a))}function lt(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"alert-title",className:u("line-clamp-1 min-h-4 text-base font-medium",e)},a))}function dt(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"alert-description",className:u("!line-clamp-3 grid justify-items-start gap-1 text-sm leading-5",e)},a))}function Cr(o){var t=o,{className:e}=t,a=s(t,["className"]);let r=y.useContext(na),l=(r==null?void 0:r.hasDescription)||false,f=(r==null?void 0:r.hasTitle)||false,p=r==null?void 0:r.onClose;return jsx("div",d({"data-slot":"alert-actions",className:u("relative mt-2 flex flex-wrap items-center gap-x-2 lg:mt-0 lg:flex-nowrap",(!l||!f)&&p&&"lg:right-5",e)},a))}var Sr=cva("inline-flex items-center justify-center rounded-pill px-3 py-2 min-h-10 text-sm font-semibold transition-colors whitespace-nowrap focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:brightness-90",{variants:{variant:{regular:"text-current",basic:"text-current"},alertVariant:{regular:"",emphasis:"",success:"",warning:"",error:""}},compoundVariants:[{variant:"regular",alertVariant:"regular",class:"bg-primary-background-soft"},{variant:"regular",alertVariant:"emphasis",class:"bg-secondary-background-soft"},{variant:"regular",alertVariant:"success",class:"bg-green-background-soft"},{variant:"regular",alertVariant:"warning",class:"bg-yellow-background-soft"},{variant:"regular",alertVariant:"error",class:"bg-red-background-soft"}],defaultVariants:{variant:"regular",alertVariant:"regular"}});function br(t){var r=t,{className:e,variant:a}=r,o=s(r,["className","variant"]);let l=y.useContext(na),f=(l==null?void 0:l.variant)||"regular";return jsx("button",d({className:u(Sr({variant:a,alertVariant:f}),e)},o))}function kr(a){var e=s(a,[]);return jsx(R.Root,d({"data-slot":"alert-dialog"},e))}function Pr(a){var e=s(a,[]);return jsx(R.Trigger,d({"data-slot":"alert-dialog-trigger"},e))}function st(a){var e=s(a,[]);return jsx(R.Portal,d({"data-slot":"alert-dialog-portal"},e))}function ut(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(R.Overlay,d({"data-slot":"alert-dialog-overlay",className:u("fixed inset-0 z-50 bg-black-80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e)},a))}function vr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxs(st,{children:[jsx(ut,{}),jsx(R.Content,d({"data-slot":"alert-dialog-content",className:u("fixed left-1/2 top-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-lg border bg-surface-elevated p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:max-w-lg",e)},a))]})}function yr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"alert-dialog-header",className:u("flex flex-col gap-2 text-center sm:text-left",e)},a))}function Ar(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"alert-dialog-footer",className:u("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e)},a))}function Mr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(R.Title,d({"data-slot":"alert-dialog-title",className:u("text-lg font-semibold",e)},a))}function Dr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(R.Description,d({"data-slot":"alert-dialog-description",className:u("text-sm text-foreground",e)},a))}function Rr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(R.Action,d({className:u(Le(),e)},a))}function Br(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(R.Cancel,d({className:u(Le({variant:"outlined"}),e)},a))}/*! Bundled license information:
|
|
1
|
+
import*as le from'@radix-ui/react-avatar';import {cva}from'class-variance-authority';import {clsx}from'clsx';import {User,Check,ChevronRight,HamburgerMd,ChevronRightMd,CloseMd,ChevronLeftMd}from'@medway-ui/icons';import {jsxs,jsx,Fragment}from'react/jsx-runtime';import {Slot}from'@radix-ui/react-slot';import*as Ea from'@radix-ui/react-separator';import*as H from'@radix-ui/react-dialog';import*as A from'react';import {forwardRef,createElement}from'react';import*as G from'@radix-ui/react-tooltip';import*as ue from'@radix-ui/react-collapsible';import*as C from'@radix-ui/react-dropdown-menu';import*as R from'@radix-ui/react-alert-dialog';var dt=Object.defineProperty,st=Object.defineProperties;var ut=Object.getOwnPropertyDescriptors;var ke=Object.getOwnPropertySymbols;var Sa=Object.prototype.hasOwnProperty,ba=Object.prototype.propertyIsEnumerable;var Ca=(e,a,o)=>a in e?dt(e,a,{enumerable:true,configurable:true,writable:true,value:o}):e[a]=o,d=(e,a)=>{for(var o in a||(a={}))Sa.call(a,o)&&Ca(e,o,a[o]);if(ke)for(var o of ke(a))ba.call(a,o)&&Ca(e,o,a[o]);return e},b=(e,a)=>st(e,ut(a));var s=(e,a)=>{var o={};for(var t in e)Sa.call(e,t)&&a.indexOf(t)<0&&(o[t]=e[t]);if(e!=null&&ke)for(var t of ke(e))a.indexOf(t)<0&&ba.call(e,t)&&(o[t]=e[t]);return o};var _e="-",ft=e=>{let a=nt(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:t}=e;return {getClassGroupId:f=>{let p=f.split(_e);return p[0]===""&&p.length!==1&&p.shift(),Ma(p,a)||it(f)},getConflictingClassGroupIds:(f,p)=>{let c=o[f]||[];return p&&t[f]?[...c,...t[f]]:c}}},Ma=(e,a)=>{var f;if(e.length===0)return a.classGroupId;let o=e[0],t=a.nextPart.get(o),r=t?Ma(e.slice(1),t):void 0;if(r)return r;if(a.validators.length===0)return;let l=e.join(_e);return (f=a.validators.find(({validator:p})=>p(l)))==null?void 0:f.classGroupId},wa=/^\[(.+)\]$/,it=e=>{if(wa.test(e)){let a=wa.exec(e)[1],o=a==null?void 0:a.substring(0,a.indexOf(":"));if(o)return "arbitrary.."+o}},nt=e=>{let{theme:a,classGroups:o}=e,t={nextPart:new Map,validators:[]};for(let r in o)Ee(o[r],t,r,a);return t},Ee=(e,a,o,t)=>{e.forEach(r=>{if(typeof r=="string"){let l=r===""?a:ka(a,r);l.classGroupId=o;return}if(typeof r=="function"){if(ct(r)){Ee(r(t),a,o,t);return}a.validators.push({validator:r,classGroupId:o});return}Object.entries(r).forEach(([l,f])=>{Ee(f,ka(a,l),o,t);});});},ka=(e,a)=>{let o=e;return a.split(_e).forEach(t=>{o.nextPart.has(t)||o.nextPart.set(t,{nextPart:new Map,validators:[]}),o=o.nextPart.get(t);}),o},ct=e=>e.isThemeGetter,pt=e=>{if(e<1)return {get:()=>{},set:()=>{}};let a=0,o=new Map,t=new Map,r=(l,f)=>{o.set(l,f),a++,a>e&&(a=0,t=o,o=new Map);};return {get(l){let f=o.get(l);if(f!==void 0)return f;if((f=t.get(l))!==void 0)return r(l,f),f},set(l,f){o.has(l)?o.set(l,f):r(l,f);}}},We="!",Xe=":",mt=Xe.length,Lt=e=>{let{prefix:a,experimentalParseClassName:o}=e,t=r=>{let l=[],f=0,p=0,c=0,I;for(let w=0;w<r.length;w++){let y=r[w];if(f===0&&p===0){if(y===Xe){l.push(r.slice(c,w)),c=w+mt;continue}if(y==="/"){I=w;continue}}y==="["?f++:y==="]"?f--:y==="("?p++:y===")"&&p--;}let h=l.length===0?r:r.substring(c),v=gt(h),P=v!==h,F=I&&I>c?I-c:void 0;return {modifiers:l,hasImportantModifier:P,baseClassName:v,maybePostfixModifierPosition:F}};if(a){let r=a+Xe,l=t;t=f=>f.startsWith(r)?l(f.substring(r.length)):{isExternal:true,modifiers:[],hasImportantModifier:false,baseClassName:f,maybePostfixModifierPosition:void 0};}if(o){let r=t;t=l=>o({className:l,parseClassName:r});}return t},gt=e=>e.endsWith(We)?e.substring(0,e.length-1):e.startsWith(We)?e.substring(1):e,xt=e=>{let a=Object.fromEntries(e.orderSensitiveModifiers.map(t=>[t,true]));return t=>{if(t.length<=1)return t;let r=[],l=[];return t.forEach(f=>{f[0]==="["||a[f]?(r.push(...l.sort(),f),l=[]):l.push(f);}),r.push(...l.sort()),r}},It=e=>d({cache:pt(e.cacheSize),parseClassName:Lt(e),sortModifiers:xt(e)},ft(e)),ht=/\s+/,Ct=(e,a)=>{let{parseClassName:o,getClassGroupId:t,getConflictingClassGroupIds:r,sortModifiers:l}=a,f=[],p=e.trim().split(ht),c="";for(let I=p.length-1;I>=0;I-=1){let h=p[I],{isExternal:v,modifiers:P,hasImportantModifier:F,baseClassName:w,maybePostfixModifierPosition:y}=o(h);if(v){c=h+(c.length>0?" "+c:c);continue}let q=!!y,U=t(q?w.substring(0,y):w);if(!U){if(!q){c=h+(c.length>0?" "+c:c);continue}if(U=t(w),!U){c=h+(c.length>0?" "+c:c);continue}q=false;}let S=l(P).join(":"),B=F?S+We:S,Y=B+U;if(f.includes(Y))continue;f.push(Y);let ee=r(U,q);for(let Z=0;Z<ee.length;++Z){let ne=ee[Z];f.push(B+ne);}c=h+(c.length>0?" "+c:c);}return c};function St(){let e=0,a,o,t="";for(;e<arguments.length;)(a=arguments[e++])&&(o=Da(a))&&(t&&(t+=" "),t+=o);return t}var Da=e=>{if(typeof e=="string")return e;let a,o="";for(let t=0;t<e.length;t++)e[t]&&(a=Da(e[t]))&&(o&&(o+=" "),o+=a);return o};function Pa(e,...a){let o,t,r,l=f;function f(c){let I=a.reduce((h,v)=>v(h),e());return o=It(I),t=o.cache.get,r=o.cache.set,l=p,p(c)}function p(c){let I=t(c);if(I)return I;let h=Ct(c,o);return r(c,h),h}return function(){return l(St.apply(null,arguments))}}var M=e=>{let a=o=>o[e]||[];return a.isThemeGetter=true,a},Ra=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Ba=/^\((?:(\w[\w-]*):)?(.+)\)$/i,bt=/^\d+\/\d+$/,wt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,kt=/\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$/,Pt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,vt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,yt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,te=e=>bt.test(e),x=e=>!!e&&!Number.isNaN(Number(e)),_=e=>!!e&&Number.isInteger(Number(e)),Ve=e=>e.endsWith("%")&&x(e.slice(0,-1)),X=e=>wt.test(e),At=()=>true,Mt=e=>kt.test(e)&&!Pt.test(e),Fa=()=>false,Dt=e=>vt.test(e),Rt=e=>yt.test(e),Bt=e=>!i(e)&&!n(e),Ft=e=>oe(e,Ua,Fa),i=e=>Ra.test(e),J=e=>oe(e,Oa,Mt),Ne=e=>oe(e,Ht,x),va=e=>oe(e,Ta,Fa),Tt=e=>oe(e,qa,Rt),Pe=e=>oe(e,Ha,Dt),n=e=>Ba.test(e),ce=e=>re(e,Oa),qt=e=>re(e,Gt),ya=e=>re(e,Ta),Ut=e=>re(e,Ua),Ot=e=>re(e,qa),ve=e=>re(e,Ha,true),oe=(e,a,o)=>{let t=Ra.exec(e);return t?t[1]?a(t[1]):o(t[2]):false},re=(e,a,o=false)=>{let t=Ba.exec(e);return t?t[1]?a(t[1]):o:false},Ta=e=>e==="position"||e==="percentage",qa=e=>e==="image"||e==="url",Ua=e=>e==="length"||e==="size"||e==="bg-size",Oa=e=>e==="length",Ht=e=>e==="number",Gt=e=>e==="family-name",Ha=e=>e==="shadow";var Aa=()=>{let e=M("color"),a=M("font"),o=M("text"),t=M("font-weight"),r=M("tracking"),l=M("leading"),f=M("breakpoint"),p=M("container"),c=M("spacing"),I=M("radius"),h=M("shadow"),v=M("inset-shadow"),P=M("text-shadow"),F=M("drop-shadow"),w=M("blur"),y=M("perspective"),q=M("aspect"),U=M("ease"),S=M("animate"),B=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],ee=()=>[...Y(),n,i],Z=()=>["auto","hidden","clip","visible","scroll"],ne=()=>["auto","contain","none"],L=()=>[n,i,c],E=()=>[te,"full","auto",...L()],ca=()=>[_,"none","subgrid",n,i],pa=()=>["auto",{span:["full",_,n,i]},_,n,i],he=()=>[_,"auto",n,i],ma=()=>["auto","min","max","fr",n,i],He=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ae=()=>["start","end","center","stretch","center-safe","end-safe"],W=()=>["auto",...L()],Q=()=>[te,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...L()],m=()=>[e,n,i],La=()=>[...Y(),ya,va,{position:[n,i]}],ga=()=>["no-repeat",{repeat:["","x","y","space","round"]}],xa=()=>["auto","cover","contain",Ut,Ft,{size:[n,i]}],Ge=()=>[Ve,ce,J],T=()=>["","none","full",I,n,i],O=()=>["",x,ce,J],Ce=()=>["solid","dashed","dotted","double"],Ia=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],D=()=>[x,Ve,ya,va],ha=()=>["","none",w,n,i],Se=()=>["none",x,n,i],be=()=>["none",x,n,i],ze=()=>[x,n,i],we=()=>[te,"full",...L()];return {cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[X],breakpoint:[X],color:[At],container:[X],"drop-shadow":[X],ease:["in","out","in-out"],font:[Bt],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[X],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[X],shadow:[X],spacing:["px",x],text:[X],"text-shadow":[X],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",te,i,n,q]}],container:["container"],columns:[{columns:[x,i,n,p]}],"break-after":[{"break-after":B()}],"break-before":[{"break-before":B()}],"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:ee()}],overflow:[{overflow:Z()}],"overflow-x":[{"overflow-x":Z()}],"overflow-y":[{"overflow-y":Z()}],overscroll:[{overscroll:ne()}],"overscroll-x":[{"overscroll-x":ne()}],"overscroll-y":[{"overscroll-y":ne()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:E()}],"inset-x":[{"inset-x":E()}],"inset-y":[{"inset-y":E()}],start:[{start:E()}],end:[{end:E()}],top:[{top:E()}],right:[{right:E()}],bottom:[{bottom:E()}],left:[{left:E()}],visibility:["visible","invisible","collapse"],z:[{z:[_,"auto",n,i]}],basis:[{basis:[te,"full","auto",p,...L()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[x,te,"auto","initial","none",i]}],grow:[{grow:["",x,n,i]}],shrink:[{shrink:["",x,n,i]}],order:[{order:[_,"first","last","none",n,i]}],"grid-cols":[{"grid-cols":ca()}],"col-start-end":[{col:pa()}],"col-start":[{"col-start":he()}],"col-end":[{"col-end":he()}],"grid-rows":[{"grid-rows":ca()}],"row-start-end":[{row:pa()}],"row-start":[{"row-start":he()}],"row-end":[{"row-end":he()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ma()}],"auto-rows":[{"auto-rows":ma()}],gap:[{gap:L()}],"gap-x":[{"gap-x":L()}],"gap-y":[{"gap-y":L()}],"justify-content":[{justify:[...He(),"normal"]}],"justify-items":[{"justify-items":[...ae(),"normal"]}],"justify-self":[{"justify-self":["auto",...ae()]}],"align-content":[{content:["normal",...He()]}],"align-items":[{items:[...ae(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ae(),{baseline:["","last"]}]}],"place-content":[{"place-content":He()}],"place-items":[{"place-items":[...ae(),"baseline"]}],"place-self":[{"place-self":["auto",...ae()]}],p:[{p:L()}],px:[{px:L()}],py:[{py:L()}],ps:[{ps:L()}],pe:[{pe:L()}],pt:[{pt:L()}],pr:[{pr:L()}],pb:[{pb:L()}],pl:[{pl:L()}],m:[{m:W()}],mx:[{mx:W()}],my:[{my:W()}],ms:[{ms:W()}],me:[{me:W()}],mt:[{mt:W()}],mr:[{mr:W()}],mb:[{mb:W()}],ml:[{ml:W()}],"space-x":[{"space-x":L()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":L()}],"space-y-reverse":["space-y-reverse"],size:[{size:Q()}],w:[{w:[p,"screen",...Q()]}],"min-w":[{"min-w":[p,"screen","none",...Q()]}],"max-w":[{"max-w":[p,"screen","none","prose",{screen:[f]},...Q()]}],h:[{h:["screen",...Q()]}],"min-h":[{"min-h":["screen","none",...Q()]}],"max-h":[{"max-h":["screen",...Q()]}],"font-size":[{text:["base",o,ce,J]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[t,n,Ne]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Ve,i]}],"font-family":[{font:[qt,i,a]}],"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,n,i]}],"line-clamp":[{"line-clamp":[x,"none",n,Ne]}],leading:[{leading:[l,...L()]}],"list-image":[{"list-image":["none",n,i]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",n,i]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:m()}],"text-color":[{text:m()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Ce(),"wavy"]}],"text-decoration-thickness":[{decoration:[x,"from-font","auto",n,J]}],"text-decoration-color":[{decoration:m()}],"underline-offset":[{"underline-offset":[x,"auto",n,i]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:L()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",n,i]}],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",n,i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:La()}],"bg-repeat":[{bg:ga()}],"bg-size":[{bg:xa()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},_,n,i],radial:["",n,i],conic:[_,n,i]},Ot,Tt]}],"bg-color":[{bg:m()}],"gradient-from-pos":[{from:Ge()}],"gradient-via-pos":[{via:Ge()}],"gradient-to-pos":[{to:Ge()}],"gradient-from":[{from:m()}],"gradient-via":[{via:m()}],"gradient-to":[{to:m()}],rounded:[{rounded:T()}],"rounded-s":[{"rounded-s":T()}],"rounded-e":[{"rounded-e":T()}],"rounded-t":[{"rounded-t":T()}],"rounded-r":[{"rounded-r":T()}],"rounded-b":[{"rounded-b":T()}],"rounded-l":[{"rounded-l":T()}],"rounded-ss":[{"rounded-ss":T()}],"rounded-se":[{"rounded-se":T()}],"rounded-ee":[{"rounded-ee":T()}],"rounded-es":[{"rounded-es":T()}],"rounded-tl":[{"rounded-tl":T()}],"rounded-tr":[{"rounded-tr":T()}],"rounded-br":[{"rounded-br":T()}],"rounded-bl":[{"rounded-bl":T()}],"border-w":[{border:O()}],"border-w-x":[{"border-x":O()}],"border-w-y":[{"border-y":O()}],"border-w-s":[{"border-s":O()}],"border-w-e":[{"border-e":O()}],"border-w-t":[{"border-t":O()}],"border-w-r":[{"border-r":O()}],"border-w-b":[{"border-b":O()}],"border-w-l":[{"border-l":O()}],"divide-x":[{"divide-x":O()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":O()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Ce(),"hidden","none"]}],"divide-style":[{divide:[...Ce(),"hidden","none"]}],"border-color":[{border:m()}],"border-color-x":[{"border-x":m()}],"border-color-y":[{"border-y":m()}],"border-color-s":[{"border-s":m()}],"border-color-e":[{"border-e":m()}],"border-color-t":[{"border-t":m()}],"border-color-r":[{"border-r":m()}],"border-color-b":[{"border-b":m()}],"border-color-l":[{"border-l":m()}],"divide-color":[{divide:m()}],"outline-style":[{outline:[...Ce(),"none","hidden"]}],"outline-offset":[{"outline-offset":[x,n,i]}],"outline-w":[{outline:["",x,ce,J]}],"outline-color":[{outline:m()}],shadow:[{shadow:["","none",h,ve,Pe]}],"shadow-color":[{shadow:m()}],"inset-shadow":[{"inset-shadow":["none",v,ve,Pe]}],"inset-shadow-color":[{"inset-shadow":m()}],"ring-w":[{ring:O()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:m()}],"ring-offset-w":[{"ring-offset":[x,J]}],"ring-offset-color":[{"ring-offset":m()}],"inset-ring-w":[{"inset-ring":O()}],"inset-ring-color":[{"inset-ring":m()}],"text-shadow":[{"text-shadow":["none",P,ve,Pe]}],"text-shadow-color":[{"text-shadow":m()}],opacity:[{opacity:[x,n,i]}],"mix-blend":[{"mix-blend":[...Ia(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ia()}],"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":[x]}],"mask-image-linear-from-pos":[{"mask-linear-from":D()}],"mask-image-linear-to-pos":[{"mask-linear-to":D()}],"mask-image-linear-from-color":[{"mask-linear-from":m()}],"mask-image-linear-to-color":[{"mask-linear-to":m()}],"mask-image-t-from-pos":[{"mask-t-from":D()}],"mask-image-t-to-pos":[{"mask-t-to":D()}],"mask-image-t-from-color":[{"mask-t-from":m()}],"mask-image-t-to-color":[{"mask-t-to":m()}],"mask-image-r-from-pos":[{"mask-r-from":D()}],"mask-image-r-to-pos":[{"mask-r-to":D()}],"mask-image-r-from-color":[{"mask-r-from":m()}],"mask-image-r-to-color":[{"mask-r-to":m()}],"mask-image-b-from-pos":[{"mask-b-from":D()}],"mask-image-b-to-pos":[{"mask-b-to":D()}],"mask-image-b-from-color":[{"mask-b-from":m()}],"mask-image-b-to-color":[{"mask-b-to":m()}],"mask-image-l-from-pos":[{"mask-l-from":D()}],"mask-image-l-to-pos":[{"mask-l-to":D()}],"mask-image-l-from-color":[{"mask-l-from":m()}],"mask-image-l-to-color":[{"mask-l-to":m()}],"mask-image-x-from-pos":[{"mask-x-from":D()}],"mask-image-x-to-pos":[{"mask-x-to":D()}],"mask-image-x-from-color":[{"mask-x-from":m()}],"mask-image-x-to-color":[{"mask-x-to":m()}],"mask-image-y-from-pos":[{"mask-y-from":D()}],"mask-image-y-to-pos":[{"mask-y-to":D()}],"mask-image-y-from-color":[{"mask-y-from":m()}],"mask-image-y-to-color":[{"mask-y-to":m()}],"mask-image-radial":[{"mask-radial":[n,i]}],"mask-image-radial-from-pos":[{"mask-radial-from":D()}],"mask-image-radial-to-pos":[{"mask-radial-to":D()}],"mask-image-radial-from-color":[{"mask-radial-from":m()}],"mask-image-radial-to-color":[{"mask-radial-to":m()}],"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":Y()}],"mask-image-conic-pos":[{"mask-conic":[x]}],"mask-image-conic-from-pos":[{"mask-conic-from":D()}],"mask-image-conic-to-pos":[{"mask-conic-to":D()}],"mask-image-conic-from-color":[{"mask-conic-from":m()}],"mask-image-conic-to-color":[{"mask-conic-to":m()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:La()}],"mask-repeat":[{mask:ga()}],"mask-size":[{mask:xa()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",n,i]}],filter:[{filter:["","none",n,i]}],blur:[{blur:ha()}],brightness:[{brightness:[x,n,i]}],contrast:[{contrast:[x,n,i]}],"drop-shadow":[{"drop-shadow":["","none",F,ve,Pe]}],"drop-shadow-color":[{"drop-shadow":m()}],grayscale:[{grayscale:["",x,n,i]}],"hue-rotate":[{"hue-rotate":[x,n,i]}],invert:[{invert:["",x,n,i]}],saturate:[{saturate:[x,n,i]}],sepia:[{sepia:["",x,n,i]}],"backdrop-filter":[{"backdrop-filter":["","none",n,i]}],"backdrop-blur":[{"backdrop-blur":ha()}],"backdrop-brightness":[{"backdrop-brightness":[x,n,i]}],"backdrop-contrast":[{"backdrop-contrast":[x,n,i]}],"backdrop-grayscale":[{"backdrop-grayscale":["",x,n,i]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[x,n,i]}],"backdrop-invert":[{"backdrop-invert":["",x,n,i]}],"backdrop-opacity":[{"backdrop-opacity":[x,n,i]}],"backdrop-saturate":[{"backdrop-saturate":[x,n,i]}],"backdrop-sepia":[{"backdrop-sepia":["",x,n,i]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":L()}],"border-spacing-x":[{"border-spacing-x":L()}],"border-spacing-y":[{"border-spacing-y":L()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",n,i]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[x,"initial",n,i]}],ease:[{ease:["linear","initial",U,n,i]}],delay:[{delay:[x,n,i]}],animate:[{animate:["none",S,n,i]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[y,n,i]}],"perspective-origin":[{"perspective-origin":ee()}],rotate:[{rotate:Se()}],"rotate-x":[{"rotate-x":Se()}],"rotate-y":[{"rotate-y":Se()}],"rotate-z":[{"rotate-z":Se()}],scale:[{scale:be()}],"scale-x":[{"scale-x":be()}],"scale-y":[{"scale-y":be()}],"scale-z":[{"scale-z":be()}],"scale-3d":["scale-3d"],skew:[{skew:ze()}],"skew-x":[{"skew-x":ze()}],"skew-y":[{"skew-y":ze()}],transform:[{transform:[n,i,"","none","gpu","cpu"]}],"transform-origin":[{origin:ee()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:we()}],"translate-x":[{"translate-x":we()}],"translate-y":[{"translate-y":we()}],"translate-z":[{"translate-z":we()}],"translate-none":["translate-none"],accent:[{accent:m()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:m()}],"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",n,i]}],"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":L()}],"scroll-mx":[{"scroll-mx":L()}],"scroll-my":[{"scroll-my":L()}],"scroll-ms":[{"scroll-ms":L()}],"scroll-me":[{"scroll-me":L()}],"scroll-mt":[{"scroll-mt":L()}],"scroll-mr":[{"scroll-mr":L()}],"scroll-mb":[{"scroll-mb":L()}],"scroll-ml":[{"scroll-ml":L()}],"scroll-p":[{"scroll-p":L()}],"scroll-px":[{"scroll-px":L()}],"scroll-py":[{"scroll-py":L()}],"scroll-ps":[{"scroll-ps":L()}],"scroll-pe":[{"scroll-pe":L()}],"scroll-pt":[{"scroll-pt":L()}],"scroll-pr":[{"scroll-pr":L()}],"scroll-pb":[{"scroll-pb":L()}],"scroll-pl":[{"scroll-pl":L()}],"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",n,i]}],fill:[{fill:["none",...m()]}],"stroke-w":[{stroke:[x,ce,J,Ne]}],stroke:[{stroke:["none",...m()]}],"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"]}},zt=(e,{cacheSize:a,prefix:o,experimentalParseClassName:t,extend:r={},override:l={}})=>(pe(e,"cacheSize",a),pe(e,"prefix",o),pe(e,"experimentalParseClassName",t),ye(e.theme,l.theme),ye(e.classGroups,l.classGroups),ye(e.conflictingClassGroups,l.conflictingClassGroups),ye(e.conflictingClassGroupModifiers,l.conflictingClassGroupModifiers),pe(e,"orderSensitiveModifiers",l.orderSensitiveModifiers),Ae(e.theme,r.theme),Ae(e.classGroups,r.classGroups),Ae(e.conflictingClassGroups,r.conflictingClassGroups),Ae(e.conflictingClassGroupModifiers,r.conflictingClassGroupModifiers),Ga(e,r,"orderSensitiveModifiers"),e),pe=(e,a,o)=>{o!==void 0&&(e[a]=o);},ye=(e,a)=>{if(a)for(let o in a)pe(e,o,a[o]);},Ae=(e,a)=>{if(a)for(let o in a)Ga(e,a,o);},Ga=(e,a,o)=>{let t=a[o];t!==void 0&&(e[o]=e[o]?e[o].concat(t):t);},za=(e,...a)=>typeof e=="function"?Pa(Aa,e,...a):Pa(()=>zt(Aa(),e),...a);var Nt=za({extend:{classGroups:{"font-size":["text-xxs","text-xs","text-sm","text-base","text-lg","text-xl","text-2xl","text-3xl","text-4xl","text-5xl","text-6xl","text-7xl","text-8xl","text-9xl"]}}});function u(...e){return Nt(clsx(e))}var Xt=cva("relative flex shrink-0 overflow-hidden rounded-full",{variants:{size:{sm:"size-8",md:"size-10",lg:"size-12",xl:"size-14"}},defaultVariants:{size:"md"}});function _t(l){var f=l,{className:e,size:a,badge:o,children:t}=f,r=s(f,["className","size","badge","children"]);return jsxs("div",{className:"relative",children:[o&&jsx("div",{className:u("absolute -top-0.5 z-10 flex items-center justify-center rounded-full bg-secondary-background-fill font-bold text-secondary-foreground-onfill ring-1 ring-background",a==="sm"&&"-right-2 size-4 text-xxs",(a==="md"||!a)&&"-right-1 size-4 text-xxs",a==="lg"&&"-right-2 size-5 text-xs",a==="xl"&&"-right-3 size-6 text-xs"),children:o}),jsx(le.Root,b(d({"data-slot":"avatar",className:u(Xt({size:a,className:e}))},r),{children:t}))]})}function Kt(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(le.Image,d({"data-slot":"avatar-image",className:u("size-full object-cover",e)},a))}function Zt(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(le.Fallback,b(d({"data-slot":"avatar-fallback",className:u("flex size-full items-center justify-center rounded-full bg-gray-background-soft text-sm font-semibold text-primary-foreground",e)},a),{children:a.children?a.children:jsx(User,{className:"size-1/2"})}))}function Ke({size:e=24,className:a}){return jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:u("animate-spin",a),children:jsx("path",{d:"M21 12a9 9 0 1 1-6.219-8.56"})})}var Le=cva("inline-flex items-center justify-center place-items-center gap-2 rounded-pill text-sm font-semibold whitespace-nowrap transition-all disabled:pointer-events-none shrink-0 [&_svg]:shrink-0 hover:cursor-pointer focus:outline-0 [grid-template-areas:'stack']",{variants:{variant:{regular:"bg-primary-background-fill text-primary-foreground-onfill hover:bg-primary-background-fill-emphasis disabled:bg-gray-background-fill-muted disabled:text-gray-foreground-onfill","regular-soft":"bg-primary-background-soft text-primary-foreground hover:bg-primary-background-soft-emphasis hover:text-primary-foreground-emphasis disabled:bg-gray-background-soft-muted disabled:text-gray-foreground-muted","regular-basic":"bg-transparent text-primary-foreground hover:bg-primary-background-soft-emphasis hover:text-primary-foreground-emphasis disabled:bg-transparent disabled:text-gray-foreground-muted",emphasis:"bg-secondary-background-fill text-secondary-foreground-onfill hover:bg-secondary-background-fill-emphasis disabled:bg-gray-background-fill-muted disabled:text-gray-foreground-onfill","emphasis-soft":"bg-secondary-background-soft text-secondary-foreground hover:bg-secondary-background-soft-emphasis hover:text-secondary-foreground-emphasis disabled:bg-gray-background-soft-muted disabled:text-gray-foreground-muted","emphasis-basic":"bg-transparent text-secondary-foreground hover:bg-secondary-background-soft-emphasis hover:text-secondary-foreground-emphasis disabled:bg-transparent disabled:text-gray-foreground-muted",error:"bg-red-background-fill text-red-foreground-onfill hover:bg-red-background-fill-emphasis disabled:bg-gray-background-fill-muted disabled:text-gray-foreground-onfill","error-soft":"bg-red-background-soft text-red-foreground hover:bg-red-background-soft-emphasis hover:text-red-foreground-emphasis disabled:bg-gray-background-soft-muted disabled:text-gray-foreground-muted","error-basic":"bg-transparent text-red-foreground hover:bg-red-background-soft-emphasis hover:text-red-foreground-emphasis disabled:bg-transparent disabled:text-gray-foreground-muted",warning:"bg-yellow-background-fill text-yellow-foreground-onfill hover:bg-yellow-background-fill-emphasis disabled:bg-gray-background-fill-muted disabled:text-gray-foreground-onfill","warning-soft":"bg-yellow-background-soft text-yellow-foreground hover:bg-yellow-background-soft-emphasis hover:text-yellow-foreground-emphasis disabled:bg-gray-background-soft-muted disabled:text-gray-foreground-muted","warning-basic":"bg-transparent text-yellow-foreground hover:bg-yellow-background-soft-emphasis hover:text-yellow-foreground-emphasis disabled:bg-transparent disabled:text-gray-foreground-muted",success:"bg-green-background-fill text-green-foreground-onfill hover:bg-green-background-fill-emphasis disabled:bg-gray-background-fill-muted disabled:text-gray-foreground-onfill","success-soft":"bg-green-background-soft text-green-foreground hover:bg-green-background-soft-emphasis hover:text-green-foreground-emphasis disabled:bg-gray-background-soft-muted disabled:text-gray-foreground-muted","success-basic":"bg-transparent text-green-foreground hover:bg-green-background-soft-emphasis hover:text-green-foreground-emphasis disabled:bg-transparent disabled:text-gray-foreground-muted",outlined:"border border-border bg-transparent text-foreground hover:border-transparent hover:bg-gray-50 disabled:border-transparent dark:bg-transparent hover:dark:border-gray-400 disabled:border-gray-stroke-muted disabled:text-gray-foreground-muted",gradient:"text-white [background:linear-gradient(284deg,var(--color-primary)_2.11%,var(--color-secondary)_128.06%)] hover:[background:linear-gradient(284deg,var(--color-primary)2.11%,var(--color-secondary)102.63%)] disabled:[background:var(--color-gray-50)] disabled:bg-gray-background-fill-muted disabled:text-gray-foreground-onfill",medbrain:"border-2 border-transparent bg-clip-text [background:linear-gradient(var(--color-white),var(--color-white))_padding-box,linear-gradient(75deg,var(--color-secondary),var(--color-cm-lighten-3))_border-box] [box-shadow:-8px_0_8px_0_var(--color-prev-16)_inset,8px_0_8px_0_var(--color-secondary-24)_inset,0_0_8px_0_var(--color-cm-16)_inset] hover:[background:linear-gradient(var(--color-white),var(--color-white))_padding-box,linear-gradient(75deg,var(--color-cm-lighten-3),var(--color-secondary))_border-box] [&_span]:bg-clip-text [&_span]:text-transparent [&_span]:bg-gradient-to-r [&_span]:from-cm [&_span]:to-primary [&_span]:hover:to-secondary disabled:bg-gray-background-fill-muted disabled:text-gray-foreground-onfill [&_svg]:text-cm-darken-1"},size:{sm:"min-h-8 px-3 py-1 has-[>svg]:px-3 [&_svg:not([class*='size-'])]:size-4 text-xs",md:"min-h-10 px-3.5 py-2 has-[>svg]:px-3.5 [&_svg:not([class*='size-'])]:size-5 text-sm",lg:"min-h-12 px-4 py-3 has-[>svg]:px-4 [&_svg:not([class*='size-'])]:size-6 text-base",xl:"min-h-14 px-[18px] py-3.5 has-[>svg]:px-[18px] [&_svg:not([class*='size-'])]:size-7 text-lg"}},defaultVariants:{variant:"regular",size:"md"}});function jt(v){var P=v,{className:e,containerClassName:a,variant:o,size:t,asChild:r=false,iconRight:l,iconLeft:f,badge:p,loading:c=false,alert:I}=P,h=s(P,["className","containerClassName","variant","size","asChild","iconRight","iconLeft","badge","loading","alert"]);let F=r?Slot:"button",w=S=>S!=null&&S!==0&&S!==""&&S!=="0",y=S=>S,q=()=>I?jsxs("span",{className:u("relative mr-1 flex size-2.5",t==="sm"&&"size-2",t==="lg"&&"size-2.5",t==="xl"&&"size-3"),children:[jsx("span",{className:"absolute inline-flex h-full w-full animate-ping rounded-full opacity-75",style:{backgroundColor:I}}),jsx("span",{className:u("relative inline-flex size-2.5 rounded-full",t==="sm"&&"size-2",t==="lg"&&"size-2.5",t==="xl"&&"size-3"),style:{backgroundColor:I}})]}):null,U=()=>c?jsxs(Fragment,{children:[jsx(Ke,{className:"[grid-area:stack]"}),jsx("span",{className:u("[grid-area:stack]",c&&"invisible"),children:h.children})]}):jsxs(Fragment,{children:[I?q():f&&y(f),h.children&&jsx("span",{children:h.children}),l&&y(l)]});return jsxs("div",{className:u("relative",a),children:[w(p)&&jsx("div",{className:u("absolute -right-2 -top-0.5 z-10 flex size-5 items-center justify-center rounded-full bg-secondary-background-fill text-xs font-bold text-secondary-foreground-onfill ring-1 ring-background"),children:p}),jsx(F,b(d({disabled:c,"data-slot":"button",className:u(!h.children&&"!p-3",c&&"!inline-grid",Le({variant:o,size:t,className:e}))},h),{children:U()}))]})}function Ze(t){var r=t,{className:e,type:a}=r,o=s(r,["className","type"]);return jsx("input",d({type:a,"data-slot":"input",className:u("placeholder:text-muted-foreground selection:text-primary-foreground shadow-xs flex h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-base outline-none transition-[color,box-shadow] selection:bg-primary file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 dark:bg-gray-300 md:text-sm","focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-red-8 aria-invalid:border-red",e)},o))}function eo({width:e=171,height:a=36,className:o,svgClassName:t}){return jsxs("svg",{className:u("dark:brightness-0 dark:invert",o),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 171 36",width:e,height:a,children:[jsx("path",{fill:"#01CFB5",d:"M170.246 8.366 158.874 34.77c-.317.744-1.131 1.23-2.038 1.23h-3.47c-1.552 0-2.606-1.377-2.011-2.628l2.875-6.066-8.476-18.918c-.563-1.246.492-2.59 2.027-2.59h3.541c.929 0 1.755.513 2.061 1.278l4.688 11.864h.093l4.464-11.836c.295-.782 1.126-1.306 2.066-1.306h3.514c1.524 0 2.573 1.322 2.038 2.568Zm-24.869 8.623v10.42a.823.823 0 0 1-.82.826h-3.956a.818.818 0 0 1-.82-.825v-.667a11.207 11.207 0 0 1-5.699 1.541c-6.235 0-11.295-5.054-11.295-11.295 0-6.24 5.06-11.295 11.295-11.295 2.076 0 4.027.557 5.694 1.541v-.006a11.295 11.295 0 0 1 5.601 9.76Zm-5.984.005c0-2.94-2.377-5.327-5.306-5.327-2.929 0-5.306 2.388-5.306 5.327 0 2.94 2.377 5.323 5.306 5.323 2.929 0 5.306-2.383 5.306-5.323Zm5.793.4c.005-.099.005-.192.005-.29 0-.098-.005-.191-.005-.284v.573Zm-26.17-11.722h-4.355a.977.977 0 0 0-.978.978v11.902a3.416 3.416 0 0 1-6.831 0V6.65a.977.977 0 0 0-.978-.978h-4.355a.977.977 0 0 0-.978.978v11.902a3.417 3.417 0 0 1-5.83 2.415c-.618-.617-1-1.47-1-2.415V6.65a.977.977 0 0 0-.979-.978h-4.355a.977.977 0 0 0-.978.978v13.088h-.006c0 .781.115 1.535.334 2.256 1.098 3.623 4.765 6.29 9.13 6.29 2.739 0 5.209-1.054 6.935-2.732 1.689 1.83 4.197 2.994 7 2.994 4.53 0 8.295-3.043 9.06-7.043.093-.487.143-.99.143-1.497V6.65a.978.978 0 0 0-.979-.978Z"}),jsx("path",{fill:"#00205B",className:t,d:"M65.557 7.694c-.639.399-1.235.863-1.781 1.388.54-.536 1.137-1 1.781-1.388ZM82.727.831v26.617a.82.82 0 0 1-.82.825h-3.956a.77.77 0 0 1-.415-.12.81.81 0 0 1-.405-.71v-.755a11.018 11.018 0 0 1-5.689 1.574c-5.47 0-10.01-3.967-10.923-9.191-.016-.098-.038-.197-.054-.3-.011-.088-.028-.18-.039-.268 0-.028-.005-.055-.01-.088-.006-.06-.012-.12-.023-.18-.005-.076-.01-.159-.021-.24v-.028c-.006-.093-.017-.18-.017-.273a9.516 9.516 0 0 1 0-1.11l.017-.273v-.027l.032-.311c0-.033.006-.066.006-.099a.665.665 0 0 0 .01-.104c.012-.087.023-.18.039-.267.016-.11.033-.213.055-.323a11.09 11.09 0 0 1 3.17-6.005 11.548 11.548 0 0 1 1.88-1.48 9.127 9.127 0 0 1 1.31-.646c1.039-.42 2.186-.65 3.405-.683-.071 0-.142.011-.213.011a9.587 9.587 0 0 0-3.203.672c-.453.18-.896.4-1.311.65.393-.245.809-.459 1.23-.655-.006 0-.011.005-.017.005l.033-.016c-.011.005-.022.005-.038.01a8.79 8.79 0 0 1 .519-.229c-.039.017-.071.033-.104.05.038-.017.07-.033.11-.05.087-.033.174-.065.267-.098.087-.038.175-.066.268-.099.033-.016.065-.021.098-.032.055-.017.104-.039.158-.055.11-.033.214-.066.323-.098a9.584 9.584 0 0 1 .607-.153c.092-.022.196-.044.295-.066.098-.016.196-.033.295-.055l.295-.049h.005a2.82 2.82 0 0 0 .197-.027c.07-.005.131-.022.202-.022.087-.01.18-.016.268-.022.082-.01.164-.01.246-.016.07 0 .142-.011.213-.011.136-.006.273-.006.415-.006.093 0 .191.006.284.006h.12c.083 0 .159.005.236.01.098.006.196.012.295.023.087.005.174.01.256.022.05.005.099.01.142.016.088.01.175.022.257.038l.312.05c1.06.185 2.07.519 3.005.983v.115c-.038-.022-.076-.038-.12-.06.038.022.077.038.12.065v-.12c.268.131.525.273.77.426V.825a.827.827 0 0 1 .82-.825h3.957a.838.838 0 0 1 .836.83Zm-5.694 16.213a5.32 5.32 0 0 0-5.312-5.323c-2.929 0-5.306 2.388-5.306 5.323 0 2.94 2.377 5.322 5.306 5.322a5.316 5.316 0 0 0 5.312-5.322Zm-19.59.431c0 .41-.017.765-.066 1.132a.597.597 0 0 1-.596.524H42.284a.598.598 0 0 0-.574.77c.623 1.94 2.46 3.192 4.749 3.192 1.607 0 2.678-.574 3.656-1.749a.614.614 0 0 1 .47-.213h5.191c.448 0 .738.47.53.869-2.093 4.033-5.705 6.372-9.847 6.372-6.06 0-11.137-5.055-11.137-11.088 0-6.033 4.847-11.235 11.022-11.235h.006c6.284 0 11.093 4.94 11.093 11.426Zm-6.563-3.393c-.738-1.683-2.437-2.754-4.541-2.754-1.973 0-3.721 1.027-4.47 2.754a.594.594 0 0 0 .552.825h7.907a.593.593 0 0 0 .552-.825ZM23.13 5.803c-2.738 0-5.207 1.055-6.934 2.733-1.689-1.831-4.197-2.995-7-2.995-4.53 0-8.295 3.044-9.06 7.044-.088.486-.137.989-.137 1.497v13.35c0 .54.437.978.978.978h4.355a.977.977 0 0 0 .978-.978V15.618c0-1.65 1.328-3.263 2.962-3.476a3.398 3.398 0 0 1 2.87.973c.617.617 1 1.47 1 2.415v11.902c0 .54.436.978.977.978h4.355a.977.977 0 0 0 .979-.978V15.618c0-1.65 1.327-3.263 2.961-3.476a3.398 3.398 0 0 1 2.87.973c.617.617 1 1.47 1 2.415v11.902c0 .54.436.978.977.978h4.355a.977.977 0 0 0 .979-.978V14.344a7.75 7.75 0 0 0-.334-2.257c-1.098-3.623-4.77-6.284-9.13-6.284Z"})]})}function ao({width:e=60,height:a=67,className:o,svgClassName:t}){return jsx("svg",{className:u("dark:brightness-0 dark:invert",o),width:e,height:a,viewBox:"0 0 60 67",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsx("path",{fill:"#00205B",className:t,d:"M42.33 10.8959C37.32 10.8959 32.8 12.8259 29.64 15.8959C26.55 12.5459 21.96 10.4159 16.83 10.4159C8.54 10.4159 1.65 15.9859 0.25 23.3059C0.09 24.1959 0 25.1159 0 26.0459V50.4759C0 51.4659 0.8 52.2659 1.79 52.2659H9.76C10.75 52.2659 11.55 51.4659 11.55 50.4759V28.8559C11.55 25.8359 13.98 22.8859 16.97 22.4959C19.03 22.2259 20.91 22.9659 22.22 24.2759C23.35 25.4059 24.05 26.9659 24.05 28.6959V50.4759C24.05 51.4659 24.85 52.2659 25.84 52.2659H33.81C34.8 52.2659 35.6 51.4659 35.6 50.4759V28.8559C35.6 25.8359 38.03 22.8859 41.02 22.4959C43.08 22.2259 44.96 22.9659 46.27 24.2759C47.4 25.4059 48.1 26.9659 48.1 28.6959V50.4759C48.1 51.4659 48.9 52.2659 49.89 52.2659H57.86C58.85 52.2659 59.65 51.4659 59.65 50.4759V26.5259C59.65 25.0959 59.44 23.7159 59.04 22.3959C57.03 15.7659 50.31 10.8959 42.33 10.8959Z"})})}function Qe(r){var l=r,{className:e,orientation:a="horizontal",decorative:o=true}=l,t=s(l,["className","orientation","decorative"]);return jsx(Ea.Root,d({"data-slot":"separator-root",decorative:o,orientation:a,className:u("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",e)},t))}var Wa=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),ro=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,o,t)=>t?t.toUpperCase():o.toLowerCase()),Je=e=>{let a=ro(e);return a.charAt(0).toUpperCase()+a.slice(1)},Re=(...e)=>e.filter((a,o,t)=>!!a&&a.trim()!==""&&t.indexOf(a)===o).join(" ").trim(),Xa=e=>{for(let a in e)if(a.startsWith("aria-")||a==="role"||a==="title")return true};var _a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};var Za=forwardRef((I,c)=>{var h=I,{color:e="currentColor",size:a=24,strokeWidth:o=2,absoluteStrokeWidth:t,className:r="",children:l,iconNode:f}=h,p=s(h,["color","size","strokeWidth","absoluteStrokeWidth","className","children","iconNode"]);return createElement("svg",d(d(b(d({ref:c},_a),{width:a,height:a,stroke:e,strokeWidth:t?Number(o)*24/Number(a):o,className:Re("lucide",r)}),!l&&!Xa(p)&&{"aria-hidden":"true"}),p),[...f.map(([v,P])=>createElement(v,P)),...Array.isArray(l)?l:[l]])});var Qa=(e,a)=>{let o=forwardRef((f,l)=>{var p=f,{className:t}=p,r=s(p,["className"]);return createElement(Za,d({ref:l,iconNode:a,className:Re(`lucide-${Wa(Je(e))}`,`lucide-${e}`,t)},r))});return o.displayName=Je(e),o};var fo=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],ge=Qa("x",fo);function je(a){var e=s(a,[]);return jsx(H.Root,d({"data-slot":"sheet"},e))}function io(a){var e=s(a,[]);return jsx(H.Portal,d({"data-slot":"sheet-portal"},e))}function no(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(H.Overlay,d({"data-slot":"sheet-overlay",className:u("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e)},a))}function Ja(r){var l=r,{className:e,children:a,side:o="right"}=l,t=s(l,["className","children","side"]);return jsxs(io,{children:[jsx(no,{}),jsxs(H.Content,b(d({"data-slot":"sheet-content",className:u("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",o==="right"&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",o==="left"&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",o==="top"&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",o==="bottom"&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",e)},t),{children:[a,jsxs(H.Close,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",children:[jsx(ge,{className:"size-4"}),jsx("span",{className:"sr-only",children:"Close"})]})]}))]})}function Be(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"skeleton",className:u("animate-pulse rounded-md bg-gray-150",e)},a))}function Ye(o){var t=o,{delayDuration:e=0}=t,a=s(t,["delayDuration"]);return jsx(G.Provider,d({"data-slot":"tooltip-provider",delayDuration:e},a))}function Fe(a){var e=s(a,[]);return jsx(Ye,{children:jsx(G.Root,d({"data-slot":"tooltip"},e))})}function ea(a){var e=s(a,[]);return jsx(G.Trigger,d({"data-slot":"tooltip-trigger"},e))}function aa(r){var l=r,{className:e,sideOffset:a=0,children:o}=l,t=s(l,["className","sideOffset","children"]);return jsx(G.Portal,{children:jsxs(G.Content,b(d({"data-slot":"tooltip-content",sideOffset:a,className:u("origin-(--radix-tooltip-content-transform-origin) z-50 w-fit text-balance rounded-md bg-surface-elevated px-3 py-2 text-sm font-medium text-gray-foreground-emphasis animate-in fade-in-0 zoom-in-95 [filter:drop-shadow(0_0_1px_var(--color-drop-shadow-layer-a))_drop-shadow(0_2px_2px_var(--color-drop-shadow-layer-b))] data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e)},t),{children:[o,jsx(G.Arrow,{className:"z-50 size-3 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px] bg-surface-elevated fill-surface-elevated"})]}))})}function mo(a){var e=s(a,[]);return jsx(ue.Root,d({"data-slot":"collapsible"},e))}function Lo(a){var e=s(a,[]);return jsx(ue.CollapsibleTrigger,d({"data-slot":"collapsible-trigger"},e))}function go(a){var e=s(a,[]);return jsx(ue.CollapsibleContent,d({"data-slot":"collapsible-content"},e))}var oa=768;function xe(){let[e,a]=A.useState(void 0);return A.useEffect(()=>{let o=window.matchMedia(`(max-width: ${oa-1}px)`),t=()=>{a(window.innerWidth<oa);};return o.addEventListener("change",t),a(window.innerWidth<oa),()=>o.removeEventListener("change",t)},[]),!!e}function ra(a){var e=s(a,[]);return jsx(C.Root,d({"data-slot":"dropdown-menu"},e))}function Io(a){var e=s(a,[]);return jsx(C.Portal,d({"data-slot":"dropdown-menu-portal"},e))}function la(a){var e=s(a,[]);return jsx(C.Trigger,d({className:u("cursor-pointer",e.className),"data-slot":"dropdown-menu-trigger"},e))}function da(r){var l=r,{className:e,sideOffset:a=4,side:o}=l,t=s(l,["className","sideOffset","side"]);let f=xe();return jsx(C.Portal,{children:jsx(C.Content,d({"data-slot":"dropdown-menu-content",sideOffset:a,side:f?"bottom":o,className:u("max-h-(--radix-dropdown-menu-content-available-height) origin-(--radix-dropdown-menu-content-transform-origin) z-50 max-h-screen min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-surface-elevated p-3 pb-2 text-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e)},t))})}function ho(a){var e=s(a,[]);return jsx(C.Group,d({"data-slot":"dropdown-menu-group"},e))}function qe(r){var l=r,{className:e,inset:a,variant:o="default"}=l,t=s(l,["className","inset","variant"]);return jsx(C.Item,d({"data-slot":"dropdown-menu-item","data-inset":a,"data-variant":o,className:u("data-[variant=destructive]:*:[svg]:!text-destructive outline-hidden relative flex cursor-pointer select-none items-center gap-2.5 rounded-sm px-2 py-2 text-sm font-medium text-gray-foreground hover:bg-secondary-background-soft-emphasis focus:outline-0 data-[disabled]:pointer-events-none data-[inset]:pl-8 data-[variant=destructive]:text-red-foreground data-[disabled]:opacity-50 data-[variant=destructive]:hover:bg-red-background-soft-emphasis dark:[&_img]:brightness-0 dark:[&_img]:invert [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",e)},t))}function Co(r){var l=r,{className:e,children:a,checked:o}=l,t=s(l,["className","children","checked"]);return jsxs(C.CheckboxItem,b(d({"data-slot":"dropdown-menu-checkbox-item",className:u("outline-hidden relative flex cursor-pointer select-none items-center gap-2 rounded-md py-2 pl-2 pr-7 text-sm font-medium text-gray-foreground hover:bg-secondary-background-soft-emphasis focus:outline-0 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:[&_img]:brightness-0 dark:[&_img]:invert [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg]:text-secondary-foreground",e),checked:o},t),{children:[jsx("span",{className:"min-w-0 flex-1 break-words",children:a}),jsx("span",{className:"pointer-events-none absolute right-2 flex size-3.5 items-center justify-center",children:jsx(C.ItemIndicator,{children:jsx(Check,{className:"size-4"})})})]}))}function Ue(a){var e=s(a,[]);return jsx(C.RadioGroup,d({"data-slot":"dropdown-menu-radio-group"},e))}function sa(t){var r=t,{className:e,children:a}=r,o=s(r,["className","children"]);return jsxs(C.RadioItem,b(d({"data-slot":"dropdown-menu-radio-item",className:u("outline-hidden relative flex cursor-pointer select-none items-center gap-2 rounded-md py-3 pl-2 pr-7 text-sm font-medium text-gray-foreground hover:bg-secondary-background-soft-emphasis focus:outline-0 aria-checked:text-secondary-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:[&_img]:brightness-0 dark:[&_img]:invert [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:text-secondary-foreground",e)},o),{children:[jsx("span",{className:"min-w-0 flex-1 break-words",children:a}),jsx("span",{className:"pointer-events-none absolute right-2 flex size-3.5 items-center justify-center",children:jsx(C.ItemIndicator,{children:jsx(Check,{className:"size-4"})})})]}))}function ua(t){var r=t,{className:e,inset:a}=r,o=s(r,["className","inset"]);return jsx(C.Label,d({"data-slot":"dropdown-menu-label","data-inset":a,className:u("px-2 py-3 text-xs font-semibold uppercase text-gray-foreground-muted data-[inset]:pl-8 [&:not(:first-child)]:mt-2.5",e)},o))}function fa(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(C.Separator,d({"data-slot":"dropdown-menu-separator",className:u("-mx-3 my-2 h-px bg-border",e)},a))}function So(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("span",d({"data-slot":"dropdown-menu-shortcut",className:u("ml-auto text-xs tracking-widest text-gray-foreground",e)},a))}function bo(a){var e=s(a,[]);return jsx(C.Sub,d({"data-slot":"dropdown-menu-sub"},e))}function wo(r){var l=r,{className:e,inset:a,children:o}=l,t=s(l,["className","inset","children"]);return jsxs(C.SubTrigger,b(d({"data-slot":"dropdown-menu-sub-trigger","data-inset":a,className:u("flex cursor-pointer select-none items-center rounded-sm px-2 py-2 text-sm font-medium text-gray-foreground outline-0 focus:outline-0 data-[inset]:pl-8",e)},t),{children:[o,jsx(ChevronRight,{className:"ml-auto size-3"})]}))}function ko(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(C.SubContent,d({"data-slot":"dropdown-menu-sub-content",className:u("origin-(--radix-dropdown-menu-content-transform-origin) z-50 min-w-[8rem] overflow-hidden rounded-md border bg-surface-elevated p-1 text-gray-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e)},a))}var Ao="sidebar_state",Mo=60*60*24*7,Do="b",Ya=A.createContext(null);function fe(){let e=A.useContext(Ya);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}function Ro(f){var p=f,{defaultOpen:e=true,open:a,onOpenChange:o,className:t,children:r}=p,l=s(p,["defaultOpen","open","onOpenChange","className","children"]);let c=xe(),[I,h]=A.useState(false),[v,P]=A.useState(e),F=a!=null?a:v,w=A.useCallback(S=>{let B=typeof S=="function"?S(F):S;o?o(B):P(B),document.cookie=`${Ao}=${B}; path=/; max-age=${Mo}`;},[o,F]),y=A.useCallback(()=>c?h(S=>!S):w(S=>!S),[c,w,h]);A.useEffect(()=>{let S=B=>{B.key===Do&&(B.metaKey||B.ctrlKey)&&(B.preventDefault(),y());};return window.addEventListener("keydown",S),()=>window.removeEventListener("keydown",S)},[y]);let q=F?"expanded":"collapsed",U=A.useMemo(()=>({state:q,open:F,setOpen:w,isMobile:c,openMobile:I,setOpenMobile:h,toggleSidebar:y}),[q,F,w,c,I,h,y]);return jsx(Ya.Provider,{value:U,children:jsx(Ye,{delayDuration:0,children:jsx("div",b(d({"data-slot":"sidebar-wrapper",className:u("group/sidebar-wrapper has-data-[variant=inset]:bg-surface-navigation flex min-h-svh w-full",t)},l),{children:r}))})})}function Bo(p){var c=p,{side:e="left",variant:a="sidebar",collapsible:o="offcanvas",className:t,containerClassName:r,children:l}=c,f=s(c,["side","variant","collapsible","className","containerClassName","children"]);let{isMobile:I,state:h,openMobile:v,setOpenMobile:P}=fe();return o==="none"?jsx("div",b(d({"data-slot":"sidebar",className:u("flex h-full w-[var(--sidebar-width)] flex-col bg-surface-navigation text-gray-foreground",t)},f),{children:l})):I?jsx(je,b(d({open:v,onOpenChange:P},f),{children:jsx(Ja,{"data-sidebar":"sidebar","data-slot":"sidebar","data-mobile":"true",className:u("w-[var(--sidebar-width-mobile)] bg-surface-navigation p-0 text-gray-foreground [&>button]:hidden",t),side:e,children:jsx("div",{className:"flex h-full w-full flex-col",children:l})})})):jsxs("div",{className:u("group peer hidden text-gray-foreground md:block",t),"data-state":h,"data-collapsible":h==="collapsed"?o:"","data-variant":a,"data-side":e,"data-slot":"sidebar",children:[jsx("div",{"data-slot":"sidebar-gap",className:u("relative w-[var(--sidebar-width)] bg-transparent transition-[width] duration-200 ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",a==="floating"||a==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]":"group-data-[collapsible=icon]:w-[var(--sidebar-width-icon)]")}),jsx("div",b(d({"data-slot":"sidebar-container",className:u("fixed inset-y-0 z-10 hidden h-svh w-[var(--sidebar-width)] border-border transition-[left,right,width] duration-200 ease-linear md:flex",e==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",a==="floating"||a==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]":"group-data-[collapsible=icon]:w-[var(--sidebar-width-icon)] group-data-[side=left]:border-r group-data-[side=right]:border-l",r)},f),{children:jsx("div",{"data-sidebar":"sidebar","data-slot":"sidebar-inner",className:"flex h-full w-full flex-col bg-surface-navigation group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-border group-data-[variant=floating]:shadow-sm",children:l})}))]})}function Fo(c){var I=c,{className:e,onClick:a,sizeIcon:o="size-5",icon:t=jsx(HamburgerMd,{className:o}),showTooltip:r=false,tooltipContent:l,enableHover:f=false}=I,p=s(I,["className","onClick","sizeIcon","icon","showTooltip","tooltipContent","enableHover"]);let{toggleSidebar:h,open:v,isMobile:P}=fe(),[F,w]=A.useState(false),q=l||{open:"Esconder",closed:"Mostrar"},U=()=>f&&F?v?jsx(ChevronLeftMd,{className:o}):jsx(ChevronRightMd,{className:o}):t,S=jsxs("button",b(d({"data-sidebar":"trigger","data-slot":"sidebar-trigger",className:u("flex min-h-8 min-w-8 items-center justify-center rounded-full bg-surface-elevated text-gray-foreground transition-all duration-200 hover:shadow-[0px_0px_2px_0px_rgba(24,26,30,0.16),0px_2px_4px_0px_rgba(24,26,30,0.08)] [&>svg]:text-gray-foreground",e),onClick:B=>{a==null||a(B),h();},onMouseEnter:!P&&f?()=>w(true):void 0,onMouseLeave:!P&&f?()=>w(false):void 0},p),{children:[U(),jsx("span",{className:"sr-only",children:"Toggle Sidebar"})]}));return !r||P?S:jsxs(Fe,{children:[jsx(ea,{asChild:true,children:S}),jsx(aa,{side:"right",align:"center",children:v?q.open:q.closed})]})}function To(o){var t=o,{className:e}=t,a=s(t,["className"]);let{toggleSidebar:r}=fe();return jsx("button",d({"data-sidebar":"rail","data-slot":"sidebar-rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:r,title:"Toggle Sidebar",className:u("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full hover:group-data-[collapsible=offcanvas]:bg-surface-navigation","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",e)},a))}function qo(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("main",d({"data-slot":"sidebar-inset",className:u("relative flex w-full flex-1 flex-col bg-surface-navigation","md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm",e)},a))}function Uo(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(Ze,d({"data-slot":"sidebar-input","data-sidebar":"input",className:u("bg-bg-surface-navigation h-8 w-full shadow-none",e)},a))}function Oo(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"sidebar-header","data-sidebar":"header",className:u("flex flex-col gap-0.5 px-4 pt-3",e)},a))}function Ho(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"sidebar-footer","data-sidebar":"footer",className:u("flex flex-col gap-0.5 px-4 pb-3 [[data-state=collapsed]_&]:px-2",e)},a))}function Go(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(Qe,d({"data-slot":"sidebar-separator","data-sidebar":"separator",className:u("mx-2 w-auto bg-border",e)},a))}function zo(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"sidebar-content","data-sidebar":"content",className:u("flex min-h-0 flex-1 flex-col gap-0.5 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e)},a))}function Vo(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"sidebar-group","data-sidebar":"group",className:u("relative flex w-full min-w-0 flex-col p-2 px-4",e)},a))}function No(t){var r=t,{className:e,asChild:a=false}=r,o=s(r,["className","asChild"]);return jsx(a?Slot:"div",d({"data-slot":"sidebar-group-label","data-sidebar":"group-label",className:u("outline-hidden flex h-12 shrink-0 items-center whitespace-nowrap rounded-md px-2 text-xs font-semibold uppercase text-gray-foreground-muted ring-ring transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:mt-0 group-data-[collapsible=icon]:hidden",e)},o))}function Eo(t){var r=t,{className:e,asChild:a=false}=r,o=s(r,["className","asChild"]);return jsx(a?Slot:"button",d({"data-slot":"sidebar-group-action","data-sidebar":"group-action",className:u("outline-hidden absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-gray-foreground ring-ring transition-transform hover:bg-secondary-background-soft-emphasis focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 md:after:hidden","group-data-[collapsible=icon]:hidden",e)},o))}function Wo(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"sidebar-group-content","data-sidebar":"group-content",className:u("w-full text-sm",e)},a))}function Xo(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("ul",d({"data-slot":"sidebar-menu","data-sidebar":"menu",className:u("flex w-full min-w-0 flex-col gap-1",e)},a))}function _o(r){var l=r,{className:e,isActive:a,children:o}=l,t=s(l,["className","isActive","children"]);return jsxs("li",b(d({"data-slot":"sidebar-menu-item","data-sidebar":"menu-item",className:u("group/menu-item relative hover:cursor-pointer",e)},t),{children:[a&&jsx("span",{className:"absolute -left-4 top-0 h-full w-0.5 bg-secondary-stroke-emphasis","aria-hidden":"true"}),o]}))}var Ko=cva("peer/menu-button font-medium flex w-full items-center gap-2.5 overflow-hidden rounded-md p-[.55rem] text-left text-sm outline-hidden ring-ring transition-[width,height,padding] hover:bg-secondary-background-soft-emphasis focus-visible:ring-2 active:text-secondary-foreground active:font-semibold disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:text-secondary-foreground data-[active=true]:font-semibold data-[active=true]:hover:bg-secondary-background-soft-emphasis data-[active=true]:hover:text-secondary-foreground group-data-[collapsible=icon]:size-10! group-data-[collapsible=icon]:p-2.5! [&>span:last-child]:truncate [&>svg]:data-[active=true]:stroke-[2.2] [&>svg]:size-5 [&>svg]:shrink-0 mx-auto",{variants:{variant:{default:"hover:bg-secondary-background-soft-emphasis",section:"[[data-state=collapsed]_&]:p-[5px]",outline:"bg-surface-navigation shadow-[0_0_0_1px_hsl(var(--color-border))] hover:bg-secondary-background-soft-emphasis hover:shadow-[0_0_0_1px_hsl(var(--secondary))]"},size:{sm:"h-8 text-xs",md:"h-10 text-sm",lg:"h-12 text-base group-data-[collapsible=icon]:p-0!"}},defaultVariants:{variant:"default",size:"md"}});function Zo(p){var c=p,{asChild:e=false,isActive:a=false,variant:o="default",size:t="md",tooltip:r,className:l}=c,f=s(c,["asChild","isActive","variant","size","tooltip","className"]);let I=e?Slot:"button",{isMobile:h,state:v}=fe(),P=jsx(I,d({"data-slot":"sidebar-menu-button","data-sidebar":"menu-button","data-size":t,"data-active":a,className:u(Ko({variant:o,size:t}),l)},f));return r?(typeof r=="string"&&(r={children:r}),jsxs(Fe,{children:[jsx(ea,{asChild:true,children:P}),jsx(aa,d({side:"right",align:"center",hidden:v!=="collapsed"||h},r))]})):P}function Qo(r){var l=r,{className:e,asChild:a=false,showOnHover:o=false}=l,t=s(l,["className","asChild","showOnHover"]);return jsx(a?Slot:"button",d({"data-slot":"sidebar-menu-action","data-sidebar":"menu-action",className:u("outline-hidden absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-gray-foreground ring-ring transition-transform hover:bg-secondary-background-soft-emphasis focus-visible:ring-2 peer-hover/menu-button:text-secondary-stroke-emphasis [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 md:after:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",o&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-secondary md:opacity-0",e)},t))}function Jo(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"sidebar-menu-badge","data-sidebar":"menu-badge",className:u("pointer-events-none absolute right-1 flex h-5 min-w-5 select-none items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-gray-foreground","peer-hover/menu-button:text-secondary peer-data-[active=true]/menu-button:text-secondary","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",e)},a))}function $o(t){var r=t,{className:e,showIcon:a=false}=r,o=s(r,["className","showIcon"]);let l=A.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return jsxs("div",b(d({"data-slot":"sidebar-menu-skeleton","data-sidebar":"menu-skeleton",className:u("flex h-8 items-center gap-0.5 rounded-md px-2",e)},o),{children:[a&&jsx(Be,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),jsx(Be,{className:"max-w-(--skeleton-width) h-4 flex-1","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":l}})]}))}function jo(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("ul",d({"data-slot":"sidebar-menu-sub","data-sidebar":"menu-sub",className:u("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e)},a))}function Yo(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("li",d({"data-slot":"sidebar-menu-sub-item","data-sidebar":"menu-sub-item",className:u("group/menu-sub-item relative",e)},a))}function er({icon:e,title:a}){let{state:o,isMobile:t}=fe();return jsxs(Fragment,{children:[A.isValidElement(e)?A.cloneElement(e,{strokeWidth:1.8}):e,jsx("span",{className:u("whitespace-nowrap",o==="collapsed"&&"opacity-0",t&&"opacity-100"),children:a})]})}function ar(){return jsx("div",{className:"ml-auto transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90",children:jsx(ChevronRightMd,{size:20,strokeWidth:1.5})})}function tr(l){var f=l,{asChild:e=false,size:a="md",isActive:o=false,className:t}=f,r=s(f,["asChild","size","isActive","className"]);return jsx(e?Slot:"a",d({"data-slot":"sidebar-menu-sub-button","data-sidebar":"menu-sub-button","data-size":a,"data-active":o,className:u("outline-hidden flex h-9 min-w-0 -translate-x-px items-center gap-0.5 overflow-hidden rounded-md px-2 font-medium text-gray-foreground ring-ring hover:bg-secondary-background-soft-emphasis focus-visible:ring-2 active:font-semibold active:text-secondary-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-gray-foreground","data-[active=true]:font-semibold data-[active=true]:text-secondary-foreground",a==="sm"&&"text-xs",a==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",t)},r))}var et=A.createContext({});function rr({children:e,value:a,onValueChange:o,open:t,defaultOpen:r,onOpenChange:l}){let[f,p]=A.useState(a||""),c={value:a||f,onValueChange:o||p};return jsx(et.Provider,{value:c,children:jsx(ra,{open:t,defaultOpen:r,onOpenChange:l,children:e})})}function lr({children:e,asChild:a=true,className:o}){return jsx(la,{className:o,asChild:a,children:e})}function dr({children:e,align:a="center",side:o="right",className:t}){return jsx(da,{className:t,align:a,side:o,children:e})}function sr({children:e,label:a}){let{value:o,onValueChange:t}=A.useContext(et);return a?jsxs(Fragment,{children:[jsx(ua,{children:a}),jsx(Ue,{value:o,onValueChange:t,children:e})]}):jsx(Ue,{value:o,onValueChange:t,children:e})}function ur({children:e,value:a,onClick:o,icon:t}){let r=()=>{o&&o();};return a?jsxs(sa,{value:a,onClick:r,children:[typeof t=="string"?jsx("img",{src:t,alt:"",width:20,height:14}):t,e]}):jsxs(qe,{onClick:r,children:[typeof t=="string"?jsx("img",{src:t,alt:"",width:20,height:14}):t,e]})}function fr({children:e,onClick:a,icon:o}){return jsxs(qe,{onClick:a,children:[o,e]})}function ir(){return jsx(fa,{})}var na=A.createContext(null),pr=cva("relative flex flex-col items-center justify-between gap-5 w-full rounded-md px-4 py-3 text-sm has-[>svg]:gap-x-9 gap-y-1 items-center [&>svg]:translate-y-0 [&>svg]:text-current lg:flex-row",{variants:{variant:{regular:"[background:linear-gradient(0deg,_var(--color-primary-background-soft)_0%,_var(--color-primary-background-soft)_100%),_var(--color-surface-card)] text-primary-foreground [&>svg]:text-primary-foreground",emphasis:"[background:linear-gradient(0deg,_var(--color-secondary-background-soft)_0%,_var(--color-secondary-background-soft)_100%),_var(--color-surface-card)] text-secondary-foreground [&>svg]:text-secondary-foreground",success:"[background:linear-gradient(0deg,_var(--color-green-background-soft)_0%,_var(--color-green-background-soft)_100%),_var(--color-surface-card)] text-green-foreground [&>svg]:text-green-foreground",warning:"[background:linear-gradient(0deg,_var(--color-yellow-background-soft)_0%,_var(--color-yellow-background-soft)_100%),_var(--color-surface-card)] text-yellow-foreground [&>svg]:text-yellow-foreground",error:"[background:linear-gradient(0deg,_var(--color-red-background-soft)_0%,_var(--color-red-background-soft)_100%),_var(--color-surface-card)] text-red-foreground [&>svg]:text-red-foreground"}},defaultVariants:{variant:"regular"}});function mr(l){var f=l,{className:e,variant:a="regular",onClose:o,children:t}=f,r=s(f,["className","variant","onClose","children"]);let p=A.Children.toArray(t).some(I=>A.isValidElement(I)&&I.type===ot),c=A.Children.toArray(t).some(I=>A.isValidElement(I)&&I.type===tt);return jsx(na.Provider,{value:{variant:a,hasDescription:p,hasTitle:c,onClose:o},children:jsxs("div",b(d({"data-slot":"alert",role:"alert",className:u(pr({variant:a}),e)},r),{children:[t,o&&jsx(CloseMd,{"aria-label":"alert-close",onClick:o,className:"absolute right-4 top-2 !size-4 cursor-pointer !text-gray-foreground"})]}))})}function Lr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"alert-container",className:u("flex gap-3 [&>svg]:min-h-6 [&>svg]:min-w-6",e)},a))}function gr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"alert-content",className:u("flex flex-col gap-1",e)},a))}function tt(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"alert-title",className:u("line-clamp-1 min-h-4 text-base font-medium",e)},a))}function ot(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"alert-description",className:u("!line-clamp-3 grid justify-items-start gap-1 text-sm leading-5",e)},a))}function xr(o){var t=o,{className:e}=t,a=s(t,["className"]);let r=A.useContext(na),l=(r==null?void 0:r.hasDescription)||false,f=(r==null?void 0:r.hasTitle)||false,p=r==null?void 0:r.onClose;return jsx("div",d({"data-slot":"alert-actions",className:u("relative mt-2 flex flex-wrap items-center gap-x-2 lg:mt-0 lg:flex-nowrap",(!l||!f)&&p&&"lg:right-5",e)},a))}var Ir=cva("inline-flex items-center justify-center rounded-pill px-3 py-2 min-h-10 text-sm font-semibold transition-colors whitespace-nowrap focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:brightness-90",{variants:{variant:{regular:"text-current",basic:"text-current"},alertVariant:{regular:"",emphasis:"",success:"",warning:"",error:""}},compoundVariants:[{variant:"regular",alertVariant:"regular",class:"bg-primary-background-soft"},{variant:"regular",alertVariant:"emphasis",class:"bg-secondary-background-soft"},{variant:"regular",alertVariant:"success",class:"bg-green-background-soft"},{variant:"regular",alertVariant:"warning",class:"bg-yellow-background-soft"},{variant:"regular",alertVariant:"error",class:"bg-red-background-soft"}],defaultVariants:{variant:"regular",alertVariant:"regular"}});function hr(t){var r=t,{className:e,variant:a}=r,o=s(r,["className","variant"]);let l=A.useContext(na),f=(l==null?void 0:l.variant)||"regular";return jsx("button",d({className:u(Ir({variant:a,alertVariant:f}),e)},o))}function Sr(a){var e=s(a,[]);return jsx(R.Root,d({"data-slot":"alert-dialog"},e))}function br(a){var e=s(a,[]);return jsx(R.Trigger,d({"data-slot":"alert-dialog-trigger"},e))}function rt(a){var e=s(a,[]);return jsx(R.Portal,d({"data-slot":"alert-dialog-portal"},e))}function lt(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(R.Overlay,d({"data-slot":"alert-dialog-overlay",className:u("fixed inset-0 z-50 bg-black-80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e)},a))}function wr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxs(rt,{children:[jsx(lt,{}),jsx(R.Content,d({"data-slot":"alert-dialog-content",className:u("fixed left-1/2 top-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-lg border bg-surface-elevated p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:max-w-lg",e)},a))]})}function kr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"alert-dialog-header",className:u("flex flex-col gap-2 text-center sm:text-left",e)},a))}function Pr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"alert-dialog-footer",className:u("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e)},a))}function vr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(R.Title,d({"data-slot":"alert-dialog-title",className:u("text-lg font-semibold",e)},a))}function yr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(R.Description,d({"data-slot":"alert-dialog-description",className:u("text-sm text-foreground",e)},a))}function Ar(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(R.Action,d({className:u(Le(),e)},a))}function Mr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(R.Cancel,d({className:u(Le({variant:"outlined"}),e)},a))}/*! Bundled license information:
|
|
2
2
|
|
|
3
3
|
lucide-react/dist/esm/shared/src/utils.js:
|
|
4
4
|
lucide-react/dist/esm/defaultAttributes.js:
|
|
@@ -12,5 +12,5 @@ lucide-react/dist/esm/lucide-react.js:
|
|
|
12
12
|
* This source code is licensed under the ISC license.
|
|
13
13
|
* See the LICENSE file in the root directory of this source tree.
|
|
14
14
|
*)
|
|
15
|
-
*/export{
|
|
15
|
+
*/export{mr as Alert,xr as AlertActions,hr as AlertButton,Lr as AlertContainer,gr as AlertContent,ot as AlertDescription,Sr as AlertDialog,Ar as AlertDialogAction,Mr as AlertDialogCancel,wr as AlertDialogContent,yr as AlertDialogDescription,Pr as AlertDialogFooter,kr as AlertDialogHeader,lt as AlertDialogOverlay,rt as AlertDialogPortal,vr as AlertDialogTitle,br as AlertDialogTrigger,tt as AlertTitle,_t as Avatar,Zt as AvatarFallback,Kt as AvatarImage,jt as Button,mo as Collapsible,go as CollapsibleContent,Lo as CollapsibleTrigger,ra as DropdownMenu,Co as DropdownMenuCheckboxItem,da as DropdownMenuContent,ho as DropdownMenuGroup,qe as DropdownMenuItem,ua as DropdownMenuLabel,Io as DropdownMenuPortal,Ue as DropdownMenuRadioGroup,sa as DropdownMenuRadioItem,fa as DropdownMenuSeparator,So as DropdownMenuShortcut,bo as DropdownMenuSub,ko as DropdownMenuSubContent,wo as DropdownMenuSubTrigger,la as DropdownMenuTrigger,Ze as Input,Ke as Loading,eo as Logo,ao as LogoShort,Qe as Separator,je as Sheet,Bo as Sidebar,zo as SidebarContent,Ho as SidebarFooter,Vo as SidebarGroup,Eo as SidebarGroupAction,Wo as SidebarGroupContent,No as SidebarGroupLabel,Oo as SidebarHeader,Uo as SidebarInput,qo as SidebarInset,Xo as SidebarMenu,Qo as SidebarMenuAction,Jo as SidebarMenuBadge,Zo as SidebarMenuButton,_o as SidebarMenuItem,ar as SidebarMenuItemCollapse,er as SidebarMenuItemTitle,$o as SidebarMenuSkeleton,jo as SidebarMenuSub,tr as SidebarMenuSubButton,Yo as SidebarMenuSubItem,Ro as SidebarProvider,To as SidebarRail,Go as SidebarSeparator,Fo as SidebarTrigger,Be as Skeleton,rr as Switcher,dr as SwitcherContent,fr as SwitcherFooter,sr as SwitcherGroup,ur as SwitcherItem,ir as SwitcherSeparator,lr as SwitcherTrigger,Fe as Tooltip,Le as buttonVariants,xe as useIsMobile,fe as useSidebar};//# sourceMappingURL=index.mjs.map
|
|
16
16
|
//# sourceMappingURL=index.mjs.map
|