@medway-ui/core 1.4.1 → 1.4.2
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/assets/js/tokens.ts +36 -0
- package/dist/index.d.mts +6 -5
- package/dist/index.d.ts +6 -5
- 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.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'use strict';var D=require('react'),classVarianceAuthority=require('class-variance-authority'),icons=require('@medway-ui/icons'),clsx=require('clsx'),jsxRuntime=require('react/jsx-runtime'),q=require('@radix-ui/react-alert-dialog'),radixUi=require('radix-ui');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var D__namespace=/*#__PURE__*/_interopNamespace(D);var q__namespace=/*#__PURE__*/_interopNamespace(q);var Ot=Object.defineProperty,Ht=Object.defineProperties;var zt=Object.getOwnPropertyDescriptors;var Re=Object.getOwnPropertySymbols;var za=Object.prototype.hasOwnProperty,Ga=Object.prototype.propertyIsEnumerable;var Ha=(e,a,o)=>a in e?Ot(e,a,{enumerable:true,configurable:true,writable:true,value:o}):e[a]=o,d=(e,a)=>{for(var o in a||(a={}))za.call(a,o)&&Ha(e,o,a[o]);if(Re)for(var o of Re(a))Ga.call(a,o)&&Ha(e,o,a[o]);return e},L=(e,a)=>Ht(e,zt(a));var s=(e,a)=>{var o={};for(var t in e)za.call(e,t)&&a.indexOf(t)<0&&(o[t]=e[t]);if(e!=null&&Re)for(var t of Re(e))a.indexOf(t)<0&&Ga.call(e,t)&&(o[t]=e[t]);return o};var la="-",Gt=e=>{let a=Nt(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:t}=e;return {getClassGroupId:i=>{let f=i.split(la);return f[0]===""&&f.length!==1&&f.shift(),Ka(f,a)||Vt(i)},getConflictingClassGroupIds:(i,f)=>{let n=o[i]||[];return f&&t[i]?[...n,...t[i]]:n}}},Ka=(e,a)=>{var i;if(e.length===0)return a.classGroupId;let o=e[0],t=a.nextPart.get(o),r=t?Ka(e.slice(1),t):void 0;if(r)return r;if(a.validators.length===0)return;let l=e.join(la);return (i=a.validators.find(({validator:f})=>f(l)))==null?void 0:i.classGroupId},Va=/^\[(.+)\]$/,Vt=e=>{if(Va.test(e)){let a=Va.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)ta(o[r],t,r,a);return t},ta=(e,a,o,t)=>{e.forEach(r=>{if(typeof r=="string"){let l=r===""?a:Na(a,r);l.classGroupId=o;return}if(typeof r=="function"){if(Et(r)){ta(r(t),a,o,t);return}a.validators.push({validator:r,classGroupId:o});return}Object.entries(r).forEach(([l,i])=>{ta(i,Na(a,l),o,t);});});},Na=(e,a)=>{let o=e;return a.split(la).forEach(t=>{o.nextPart.has(t)||o.nextPart.set(t,{nextPart:new Map,validators:[]}),o=o.nextPart.get(t);}),o},Et=e=>e.isThemeGetter,_t=e=>{if(e<1)return {get:()=>{},set:()=>{}};let a=0,o=new Map,t=new Map,r=(l,i)=>{o.set(l,i),a++,a>e&&(a=0,t=o,o=new Map);};return {get(l){let i=o.get(l);if(i!==void 0)return i;if((i=t.get(l))!==void 0)return r(l,i),i},set(l,i){o.has(l)?o.set(l,i):r(l,i);}}},oa="!",ra=":",Wt=ra.length,Xt=e=>{let{prefix:a,experimentalParseClassName:o}=e,t=r=>{let l=[],i=0,f=0,n=0,m;for(let C=0;C<r.length;C++){let v=r[C];if(i===0&&f===0){if(v===ra){l.push(r.slice(n,C)),n=C+Wt;continue}if(v==="/"){m=C;continue}}v==="["?i++:v==="]"?i--:v==="("?f++:v===")"&&f--;}let g=l.length===0?r:r.substring(n),S=Kt(g),k=S!==g,B=m&&m>n?m-n:void 0;return {modifiers:l,hasImportantModifier:k,baseClassName:S,maybePostfixModifierPosition:B}};if(a){let r=a+ra,l=t;t=i=>i.startsWith(r)?l(i.substring(r.length)):{isExternal:true,modifiers:[],hasImportantModifier:false,baseClassName:i,maybePostfixModifierPosition:void 0};}if(o){let r=t;t=l=>o({className:l,parseClassName:r});}return t},Kt=e=>e.endsWith(oa)?e.substring(0,e.length-1):e.startsWith(oa)?e.substring(1):e,Zt=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(i=>{i[0]==="["||a[i]?(r.push(...l.sort(),i),l=[]):l.push(i);}),r.push(...l.sort()),r}},Qt=e=>d({cache:_t(e.cacheSize),parseClassName:Xt(e),sortModifiers:Zt(e)},Gt(e)),Jt=/\s+/,$t=(e,a)=>{let{parseClassName:o,getClassGroupId:t,getConflictingClassGroupIds:r,sortModifiers:l}=a,i=[],f=e.trim().split(Jt),n="";for(let m=f.length-1;m>=0;m-=1){let g=f[m],{isExternal:S,modifiers:k,hasImportantModifier:B,baseClassName:C,maybePostfixModifierPosition:v}=o(g);if(S){n=g+(n.length>0?" "+n:n);continue}let P=!!v,w=t(P?C.substring(0,v):C);if(!w){if(!P){n=g+(n.length>0?" "+n:n);continue}if(w=t(C),!w){n=g+(n.length>0?" "+n:n);continue}P=false;}let M=l(k).join(":"),A=B?M+oa:M,ee=A+w;if(i.includes(ee))continue;i.push(ee);let ae=r(w,P);for(let Z=0;Z<ae.length;++Z){let ce=ae[Z];i.push(A+ce);}n=g+(n.length>0?" "+n:n);}return n};function jt(){let e=0,a,o,t="";for(;e<arguments.length;)(a=arguments[e++])&&(o=Za(a))&&(t&&(t+=" "),t+=o);return t}var Za=e=>{if(typeof e=="string")return e;let a,o="";for(let t=0;t<e.length;t++)e[t]&&(a=Za(e[t]))&&(o&&(o+=" "),o+=a);return o};function Ea(e,...a){let o,t,r,l=i;function i(n){let m=a.reduce((g,S)=>S(g),e());return o=Qt(m),t=o.cache.get,r=o.cache.set,l=f,f(n)}function f(n){let m=t(n);if(m)return m;let g=$t(n,o);return r(n,g),g}return function(){return l(jt.apply(null,arguments))}}var T=e=>{let a=o=>o[e]||[];return a.isThemeGetter=true,a},Qa=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Ja=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Yt=/^\d+\/\d+$/,eo=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ao=/\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$/,to=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,oo=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ro=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,oe=e=>Yt.test(e),b=e=>!!e&&!Number.isNaN(Number(e)),X=e=>!!e&&Number.isInteger(Number(e)),ea=e=>e.endsWith("%")&&b(e.slice(0,-1)),_=e=>eo.test(e),lo=()=>true,so=e=>ao.test(e)&&!to.test(e),$a=()=>false,uo=e=>oo.test(e),io=e=>ro.test(e),no=e=>!c(e)&&!p(e),fo=e=>re(e,et,$a),c=e=>Qa.test(e),J=e=>re(e,at,so),aa=e=>re(e,xo,b),_a=e=>re(e,ja,$a),co=e=>re(e,Ya,io),Me=e=>re(e,tt,uo),p=e=>Ja.test(e),pe=e=>le(e,at),po=e=>le(e,Lo),Wa=e=>le(e,ja),mo=e=>le(e,et),go=e=>le(e,Ya),De=e=>le(e,tt,true),re=(e,a,o)=>{let t=Qa.exec(e);return t?t[1]?a(t[1]):o(t[2]):false},le=(e,a,o=false)=>{let t=Ja.exec(e);return t?t[1]?a(t[1]):o:false},ja=e=>e==="position"||e==="percentage",Ya=e=>e==="image"||e==="url",et=e=>e==="length"||e==="size"||e==="bg-size",at=e=>e==="length",xo=e=>e==="number",Lo=e=>e==="family-name",tt=e=>e==="shadow";var Xa=()=>{let e=T("color"),a=T("font"),o=T("text"),t=T("font-weight"),r=T("tracking"),l=T("leading"),i=T("breakpoint"),f=T("container"),n=T("spacing"),m=T("radius"),g=T("shadow"),S=T("inset-shadow"),k=T("text-shadow"),B=T("drop-shadow"),C=T("blur"),v=T("perspective"),P=T("aspect"),w=T("ease"),M=T("animate"),A=()=>["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(),p,c],Z=()=>["auto","hidden","clip","visible","scroll"],ce=()=>["auto","contain","none"],h=()=>[p,c,n],N=()=>[oe,"full","auto",...h()],Ma=()=>[X,"none","subgrid",p,c],Da=()=>["auto",{span:["full",X,p,c]},X,p,c],ke=()=>[X,"auto",p,c],Ba=()=>["auto","min","max","fr",p,c],$e=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],te=()=>["start","end","center","stretch","center-safe","end-safe"],E=()=>["auto",...h()],Q=()=>[oe,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...h()],x=()=>[e,p,c],Ta=()=>[...ee(),Wa,_a,{position:[p,c]}],Fa=()=>["no-repeat",{repeat:["","x","y","space","round"]}],qa=()=>["auto","cover","contain",mo,fo,{size:[p,c]}],je=()=>[ea,pe,J],O=()=>["","none","full",m,p,c],H=()=>["",b,pe,J],we=()=>["solid","dashed","dotted","double"],Ua=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],F=()=>[b,ea,Wa,_a],Oa=()=>["","none",C,p,c],ye=()=>["none",b,p,c],Pe=()=>["none",b,p,c],Ye=()=>[b,p,c],Ae=()=>[oe,"full",...h()];return {cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[_],breakpoint:[_],color:[lo],container:[_],"drop-shadow":[_],ease:["in","out","in-out"],font:[no],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[_],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[_],shadow:[_],spacing:["px",b],text:[_],"text-shadow":[_],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",oe,c,p,P]}],container:["container"],columns:[{columns:[b,c,p,f]}],"break-after":[{"break-after":A()}],"break-before":[{"break-before":A()}],"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:Z()}],"overflow-x":[{"overflow-x":Z()}],"overflow-y":[{"overflow-y":Z()}],overscroll:[{overscroll:ce()}],"overscroll-x":[{"overscroll-x":ce()}],"overscroll-y":[{"overscroll-y":ce()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:N()}],"inset-x":[{"inset-x":N()}],"inset-y":[{"inset-y":N()}],start:[{start:N()}],end:[{end:N()}],top:[{top:N()}],right:[{right:N()}],bottom:[{bottom:N()}],left:[{left:N()}],visibility:["visible","invisible","collapse"],z:[{z:[X,"auto",p,c]}],basis:[{basis:[oe,"full","auto",f,...h()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[b,oe,"auto","initial","none",c]}],grow:[{grow:["",b,p,c]}],shrink:[{shrink:["",b,p,c]}],order:[{order:[X,"first","last","none",p,c]}],"grid-cols":[{"grid-cols":Ma()}],"col-start-end":[{col:Da()}],"col-start":[{"col-start":ke()}],"col-end":[{"col-end":ke()}],"grid-rows":[{"grid-rows":Ma()}],"row-start-end":[{row:Da()}],"row-start":[{"row-start":ke()}],"row-end":[{"row-end":ke()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Ba()}],"auto-rows":[{"auto-rows":Ba()}],gap:[{gap:h()}],"gap-x":[{"gap-x":h()}],"gap-y":[{"gap-y":h()}],"justify-content":[{justify:[...$e(),"normal"]}],"justify-items":[{"justify-items":[...te(),"normal"]}],"justify-self":[{"justify-self":["auto",...te()]}],"align-content":[{content:["normal",...$e()]}],"align-items":[{items:[...te(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...te(),{baseline:["","last"]}]}],"place-content":[{"place-content":$e()}],"place-items":[{"place-items":[...te(),"baseline"]}],"place-self":[{"place-self":["auto",...te()]}],p:[{p:h()}],px:[{px:h()}],py:[{py:h()}],ps:[{ps:h()}],pe:[{pe:h()}],pt:[{pt:h()}],pr:[{pr:h()}],pb:[{pb:h()}],pl:[{pl:h()}],m:[{m:E()}],mx:[{mx:E()}],my:[{my:E()}],ms:[{ms:E()}],me:[{me:E()}],mt:[{mt:E()}],mr:[{mr:E()}],mb:[{mb:E()}],ml:[{ml:E()}],"space-x":[{"space-x":h()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":h()}],"space-y-reverse":["space-y-reverse"],size:[{size:Q()}],w:[{w:[f,"screen",...Q()]}],"min-w":[{"min-w":[f,"screen","none",...Q()]}],"max-w":[{"max-w":[f,"screen","none","prose",{screen:[i]},...Q()]}],h:[{h:["screen",...Q()]}],"min-h":[{"min-h":["screen","none",...Q()]}],"max-h":[{"max-h":["screen",...Q()]}],"font-size":[{text:["base",o,pe,J]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[t,p,aa]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ea,c]}],"font-family":[{font:[po,c,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,p,c]}],"line-clamp":[{"line-clamp":[b,"none",p,aa]}],leading:[{leading:[l,...h()]}],"list-image":[{"list-image":["none",p,c]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",p,c]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:x()}],"text-color":[{text:x()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...we(),"wavy"]}],"text-decoration-thickness":[{decoration:[b,"from-font","auto",p,J]}],"text-decoration-color":[{decoration:x()}],"underline-offset":[{"underline-offset":[b,"auto",p,c]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:h()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",p,c]}],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",p,c]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Ta()}],"bg-repeat":[{bg:Fa()}],"bg-size":[{bg:qa()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},X,p,c],radial:["",p,c],conic:[X,p,c]},go,co]}],"bg-color":[{bg:x()}],"gradient-from-pos":[{from:je()}],"gradient-via-pos":[{via:je()}],"gradient-to-pos":[{to:je()}],"gradient-from":[{from:x()}],"gradient-via":[{via:x()}],"gradient-to":[{to:x()}],rounded:[{rounded:O()}],"rounded-s":[{"rounded-s":O()}],"rounded-e":[{"rounded-e":O()}],"rounded-t":[{"rounded-t":O()}],"rounded-r":[{"rounded-r":O()}],"rounded-b":[{"rounded-b":O()}],"rounded-l":[{"rounded-l":O()}],"rounded-ss":[{"rounded-ss":O()}],"rounded-se":[{"rounded-se":O()}],"rounded-ee":[{"rounded-ee":O()}],"rounded-es":[{"rounded-es":O()}],"rounded-tl":[{"rounded-tl":O()}],"rounded-tr":[{"rounded-tr":O()}],"rounded-br":[{"rounded-br":O()}],"rounded-bl":[{"rounded-bl":O()}],"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:[...we(),"hidden","none"]}],"divide-style":[{divide:[...we(),"hidden","none"]}],"border-color":[{border:x()}],"border-color-x":[{"border-x":x()}],"border-color-y":[{"border-y":x()}],"border-color-s":[{"border-s":x()}],"border-color-e":[{"border-e":x()}],"border-color-t":[{"border-t":x()}],"border-color-r":[{"border-r":x()}],"border-color-b":[{"border-b":x()}],"border-color-l":[{"border-l":x()}],"divide-color":[{divide:x()}],"outline-style":[{outline:[...we(),"none","hidden"]}],"outline-offset":[{"outline-offset":[b,p,c]}],"outline-w":[{outline:["",b,pe,J]}],"outline-color":[{outline:x()}],shadow:[{shadow:["","none",g,De,Me]}],"shadow-color":[{shadow:x()}],"inset-shadow":[{"inset-shadow":["none",S,De,Me]}],"inset-shadow-color":[{"inset-shadow":x()}],"ring-w":[{ring:H()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:x()}],"ring-offset-w":[{"ring-offset":[b,J]}],"ring-offset-color":[{"ring-offset":x()}],"inset-ring-w":[{"inset-ring":H()}],"inset-ring-color":[{"inset-ring":x()}],"text-shadow":[{"text-shadow":["none",k,De,Me]}],"text-shadow-color":[{"text-shadow":x()}],opacity:[{opacity:[b,p,c]}],"mix-blend":[{"mix-blend":[...Ua(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ua()}],"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":[b]}],"mask-image-linear-from-pos":[{"mask-linear-from":F()}],"mask-image-linear-to-pos":[{"mask-linear-to":F()}],"mask-image-linear-from-color":[{"mask-linear-from":x()}],"mask-image-linear-to-color":[{"mask-linear-to":x()}],"mask-image-t-from-pos":[{"mask-t-from":F()}],"mask-image-t-to-pos":[{"mask-t-to":F()}],"mask-image-t-from-color":[{"mask-t-from":x()}],"mask-image-t-to-color":[{"mask-t-to":x()}],"mask-image-r-from-pos":[{"mask-r-from":F()}],"mask-image-r-to-pos":[{"mask-r-to":F()}],"mask-image-r-from-color":[{"mask-r-from":x()}],"mask-image-r-to-color":[{"mask-r-to":x()}],"mask-image-b-from-pos":[{"mask-b-from":F()}],"mask-image-b-to-pos":[{"mask-b-to":F()}],"mask-image-b-from-color":[{"mask-b-from":x()}],"mask-image-b-to-color":[{"mask-b-to":x()}],"mask-image-l-from-pos":[{"mask-l-from":F()}],"mask-image-l-to-pos":[{"mask-l-to":F()}],"mask-image-l-from-color":[{"mask-l-from":x()}],"mask-image-l-to-color":[{"mask-l-to":x()}],"mask-image-x-from-pos":[{"mask-x-from":F()}],"mask-image-x-to-pos":[{"mask-x-to":F()}],"mask-image-x-from-color":[{"mask-x-from":x()}],"mask-image-x-to-color":[{"mask-x-to":x()}],"mask-image-y-from-pos":[{"mask-y-from":F()}],"mask-image-y-to-pos":[{"mask-y-to":F()}],"mask-image-y-from-color":[{"mask-y-from":x()}],"mask-image-y-to-color":[{"mask-y-to":x()}],"mask-image-radial":[{"mask-radial":[p,c]}],"mask-image-radial-from-pos":[{"mask-radial-from":F()}],"mask-image-radial-to-pos":[{"mask-radial-to":F()}],"mask-image-radial-from-color":[{"mask-radial-from":x()}],"mask-image-radial-to-color":[{"mask-radial-to":x()}],"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":[b]}],"mask-image-conic-from-pos":[{"mask-conic-from":F()}],"mask-image-conic-to-pos":[{"mask-conic-to":F()}],"mask-image-conic-from-color":[{"mask-conic-from":x()}],"mask-image-conic-to-color":[{"mask-conic-to":x()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Ta()}],"mask-repeat":[{mask:Fa()}],"mask-size":[{mask:qa()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",p,c]}],filter:[{filter:["","none",p,c]}],blur:[{blur:Oa()}],brightness:[{brightness:[b,p,c]}],contrast:[{contrast:[b,p,c]}],"drop-shadow":[{"drop-shadow":["","none",B,De,Me]}],"drop-shadow-color":[{"drop-shadow":x()}],grayscale:[{grayscale:["",b,p,c]}],"hue-rotate":[{"hue-rotate":[b,p,c]}],invert:[{invert:["",b,p,c]}],saturate:[{saturate:[b,p,c]}],sepia:[{sepia:["",b,p,c]}],"backdrop-filter":[{"backdrop-filter":["","none",p,c]}],"backdrop-blur":[{"backdrop-blur":Oa()}],"backdrop-brightness":[{"backdrop-brightness":[b,p,c]}],"backdrop-contrast":[{"backdrop-contrast":[b,p,c]}],"backdrop-grayscale":[{"backdrop-grayscale":["",b,p,c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b,p,c]}],"backdrop-invert":[{"backdrop-invert":["",b,p,c]}],"backdrop-opacity":[{"backdrop-opacity":[b,p,c]}],"backdrop-saturate":[{"backdrop-saturate":[b,p,c]}],"backdrop-sepia":[{"backdrop-sepia":["",b,p,c]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":h()}],"border-spacing-x":[{"border-spacing-x":h()}],"border-spacing-y":[{"border-spacing-y":h()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",p,c]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[b,"initial",p,c]}],ease:[{ease:["linear","initial",w,p,c]}],delay:[{delay:[b,p,c]}],animate:[{animate:["none",M,p,c]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[v,p,c]}],"perspective-origin":[{"perspective-origin":ae()}],rotate:[{rotate:ye()}],"rotate-x":[{"rotate-x":ye()}],"rotate-y":[{"rotate-y":ye()}],"rotate-z":[{"rotate-z":ye()}],scale:[{scale:Pe()}],"scale-x":[{"scale-x":Pe()}],"scale-y":[{"scale-y":Pe()}],"scale-z":[{"scale-z":Pe()}],"scale-3d":["scale-3d"],skew:[{skew:Ye()}],"skew-x":[{"skew-x":Ye()}],"skew-y":[{"skew-y":Ye()}],transform:[{transform:[p,c,"","none","gpu","cpu"]}],"transform-origin":[{origin:ae()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Ae()}],"translate-x":[{"translate-x":Ae()}],"translate-y":[{"translate-y":Ae()}],"translate-z":[{"translate-z":Ae()}],"translate-none":["translate-none"],accent:[{accent:x()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:x()}],"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",p,c]}],"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":h()}],"scroll-mx":[{"scroll-mx":h()}],"scroll-my":[{"scroll-my":h()}],"scroll-ms":[{"scroll-ms":h()}],"scroll-me":[{"scroll-me":h()}],"scroll-mt":[{"scroll-mt":h()}],"scroll-mr":[{"scroll-mr":h()}],"scroll-mb":[{"scroll-mb":h()}],"scroll-ml":[{"scroll-ml":h()}],"scroll-p":[{"scroll-p":h()}],"scroll-px":[{"scroll-px":h()}],"scroll-py":[{"scroll-py":h()}],"scroll-ps":[{"scroll-ps":h()}],"scroll-pe":[{"scroll-pe":h()}],"scroll-pt":[{"scroll-pt":h()}],"scroll-pr":[{"scroll-pr":h()}],"scroll-pb":[{"scroll-pb":h()}],"scroll-pl":[{"scroll-pl":h()}],"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",p,c]}],fill:[{fill:["none",...x()]}],"stroke-w":[{stroke:[b,pe,J,aa]}],stroke:[{stroke:["none",...x()]}],"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"]}},ho=(e,{cacheSize:a,prefix:o,experimentalParseClassName:t,extend:r={},override:l={}})=>(me(e,"cacheSize",a),me(e,"prefix",o),me(e,"experimentalParseClassName",t),Be(e.theme,l.theme),Be(e.classGroups,l.classGroups),Be(e.conflictingClassGroups,l.conflictingClassGroups),Be(e.conflictingClassGroupModifiers,l.conflictingClassGroupModifiers),me(e,"orderSensitiveModifiers",l.orderSensitiveModifiers),Te(e.theme,r.theme),Te(e.classGroups,r.classGroups),Te(e.conflictingClassGroups,r.conflictingClassGroups),Te(e.conflictingClassGroupModifiers,r.conflictingClassGroupModifiers),ot(e,r,"orderSensitiveModifiers"),e),me=(e,a,o)=>{o!==void 0&&(e[a]=o);},Be=(e,a)=>{if(a)for(let o in a)me(e,o,a[o]);},Te=(e,a)=>{if(a)for(let o in a)ot(e,a,o);},ot=(e,a,o)=>{let t=a[o];t!==void 0&&(e[o]=e[o]?e[o].concat(t):t);},rt=(e,...a)=>typeof e=="function"?Ea(Xa,e,...a):Ea(()=>ho(Xa(),e),...a);var Co=rt({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 Co(clsx.clsx(e))}var da=D__namespace.createContext(null),vo=classVarianceAuthority.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 So(l){var i=l,{className:e,variant:a="regular",onClose:o,children:t}=i,r=s(i,["className","variant","onClose","children"]);let f=D__namespace.Children.toArray(t).some(m=>D__namespace.isValidElement(m)&&m.type===st),n=D__namespace.Children.toArray(t).some(m=>D__namespace.isValidElement(m)&&m.type===dt);return jsxRuntime.jsx(da.Provider,{value:{variant:a,hasDescription:f,hasTitle:n,onClose:o},children:jsxRuntime.jsxs("div",L(d({"data-slot":"alert",role:"alert",className:u(vo({variant:a}),e)},r),{children:[t,o&&jsxRuntime.jsx(icons.CloseMd,{"aria-label":"alert-close",onClick:o,className:"absolute right-4 top-2 !size-4 cursor-pointer !text-gray-foreground"})]}))})}function ko(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx("div",d({"data-slot":"alert-container",className:u("flex gap-3",e)},a))}function wo(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx("div",d({"data-slot":"alert-content",className:u("flex flex-col gap-1",e)},a))}function yo(t){var r=t,{className:e,icon:a}=r,o=s(r,["className","icon"]);return jsxRuntime.jsx("div",L(d({"data-slot":"alert-icon",className:u("size-6",e)},o),{children:a}))}function dt(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx("div",d({"data-slot":"alert-title",className:u("line-clamp-1 min-h-4 text-base font-medium",e)},a))}function st(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.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 Po(o){var t=o,{className:e}=t,a=s(t,["className"]);let r=D__namespace.useContext(da),l=(r==null?void 0:r.hasDescription)||false,i=(r==null?void 0:r.hasTitle)||false,f=r==null?void 0:r.onClose;return jsxRuntime.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||!i)&&f&&"lg:right-5",e)},a))}var Ao=classVarianceAuthority.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 Ro(t){var r=t,{className:e,variant:a}=r,o=s(r,["className","variant"]);let l=D__namespace.useContext(da),i=(l==null?void 0:l.variant)||"regular";return jsxRuntime.jsx("button",d({className:u(Ao({variant:a,alertVariant:i}),e)},o))}function sa({size:e=24,className:a}){return jsxRuntime.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:jsxRuntime.jsx("path",{d:"M21 12a9 9 0 1 1-6.219-8.56"})})}var To={sm:"size-4 p-0",md:"size-5 p-0",lg:"size-6 p-0",xl:"size-7 p-0"},Fo={sm:"px-1",md:"px-1",lg:"px-1",xl:"px-1.5"},nt=classVarianceAuthority.cva("inline-flex items-center justify-center rounded-pill border font-semibold w-fit whitespace-nowrap shrink-0 gap-1 [&>svg]:pointer-events-none overflow-hidden border-transparent px-2 ring-1 ring-background",{variants:{variant:{regular:"bg-secondary-background-fill text-secondary-foreground-onfill",freemium:"[background:radial-gradient(135.09%_111.8%_at_0%_50%,rgba(24,98,188,0.02)_0%,rgba(0,32,91,0)_100%),linear-gradient(46deg,rgba(62,218,199,0.56)_6.54%,rgba(24,98,188,0.17)_85.21%),var(--color-primary)] text-secondary-foreground-onfill"},size:{sm:"min-w-4 text-xxs [&>svg]:size-2.5",md:"min-w-5 text-xs [&>svg]:size-3",lg:"min-w-6 text-xs [&>svg]:size-3.5",xl:"min-w-7 text-sm [&>svg]:size-4"}},defaultVariants:{variant:"regular",size:"md"}});function $(i){var f=i,{className:e,variant:a,size:o,icon:t,asChild:r=false}=f,l=s(f,["className","variant","size","icon","asChild"]);let n=r?radixUi.Slot.Slot:"span",m=D__namespace.Children.count(l.children)>0,g=!!t&&!m,S=typeof l.children=="string"||typeof l.children=="number"?String(l.children).trim():"",k=/^[A-Za-z0-9]$/.test(S),B=/^[A-Za-z0-9]{2,3}$/.test(S),C=/^\d{1,2}\S$/.test(S),v=B||C;return jsxRuntime.jsxs(n,L(d({"data-slot":"badge",className:u(nt({variant:a,size:o}),(g||k)&&To[o||"md"],!g&&v&&Fo[o||"md"],e)},l),{children:[t,l.children]}))}var Ho={sm:"!h-8 !min-h-8 !w-8 !px-3 !py-2",md:"!h-10 !min-h-10 !w-10 !px-[14px] !py-[10px]",lg:"!h-12 !min-h-12 !w-12 !p-3",xl:"!h-14 !min-h-14 !w-14 !p-3"},ft={sm:"size-2",md:"size-2.5",lg:"size-2.5",xl:"size-3"},zo={sm:"sm",md:"md",lg:"md",xl:"lg"},ge=classVarianceAuthority.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 min-w-8 px-3 py-1 has-[>svg]:px-3 [&_svg:not([class*='size-'])]:size-[13px] text-xs",md:"min-h-10 min-w-10 px-3.5 py-2 has-[>svg]:px-3.5 [&_svg:not([class*='size-'])]:size-4 text-sm",lg:"min-h-12 min-w-12 px-4 py-3 has-[>svg]:px-4 [&_svg:not([class*='size-'])]:size-6 text-base",xl:"min-h-14 min-w-14 px-[18px] py-3.5 has-[>svg]:px-[18px] [&_svg:not([class*='size-'])]:size-7 text-lg"}},defaultVariants:{variant:"regular",size:"md"}});function xe(S){var k=S,{className:e,containerClassName:a,variant:o,size:t,asChild:r=false,iconRight:l,iconLeft:i,badge:f,loading:n=false,alert:m}=k,g=s(k,["className","containerClassName","variant","size","asChild","iconRight","iconLeft","badge","loading","alert"]);let B=r?radixUi.Slot.Slot:"button",C=A=>A!=null&&A!==0&&A!==""&&A!=="0",v=A=>A,P=!g.children&&(i||l||m),w=()=>m?jsxRuntime.jsxs("span",{className:u("relative mr-1 flex size-2.5",ft[t||"md"]),children:[jsxRuntime.jsx("span",{className:"absolute inline-flex h-full w-full animate-ping rounded-full opacity-75",style:{backgroundColor:m}}),jsxRuntime.jsx("span",{className:u("relative inline-flex size-2.5 rounded-full",ft[t||"md"]),style:{backgroundColor:m}})]}):null,M=()=>n?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(sa,{className:"[grid-area:stack]"}),jsxRuntime.jsx("span",{className:u("[grid-area:stack]",n&&"invisible"),children:g.children})]}):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[m?w():i&&v(i),g.children&&jsxRuntime.jsx("span",{children:g.children}),l&&v(l)]});return jsxRuntime.jsxs("div",{className:u("relative",a),children:[C(f)&&jsxRuntime.jsx($,{size:zo[t||"md"],variant:"regular",className:u("absolute -right-2 -top-1 z-10"),role:"status","aria-label":`${f}-notifications`,children:String(f)}),jsxRuntime.jsx(B,L(d({disabled:n,"aria-busy":n,"aria-live":n?"polite":void 0,"data-slot":"button",className:u(P&&Ho[t||"md"],n&&"!inline-grid",ge({variant:o,size:t,className:e}))},g),{children:M()}))]})}function Go(a){var e=s(a,[]);return jsxRuntime.jsx(q__namespace.Root,d({"data-slot":"alert-dialog"},e))}function Vo(a){var e=s(a,[]);return jsxRuntime.jsx(q__namespace.Trigger,d({"data-slot":"alert-dialog-trigger"},e))}function pt(a){var e=s(a,[]);return jsxRuntime.jsx(q__namespace.Portal,d({"data-slot":"alert-dialog-portal"},e))}function mt(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx(q__namespace.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 No(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsxs(pt,{children:[jsxRuntime.jsx(mt,{}),jsxRuntime.jsx(q__namespace.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 Eo(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx("div",d({"data-slot":"alert-dialog-header",className:u("flex flex-col gap-2 text-center sm:text-left",e)},a))}function _o(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.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 Wo(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx(q__namespace.Title,d({"data-slot":"alert-dialog-title",className:u("text-lg font-semibold",e)},a))}function Xo(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx(q__namespace.Description,d({"data-slot":"alert-dialog-description",className:u("text-sm text-foreground",e)},a))}function Ko(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx(q__namespace.Action,d({className:u(ge(),e)},a))}function Zo(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx(q__namespace.Cancel,d({className:u(ge({variant:"outlined"}),e)},a))}var jo={sm:"sm",md:"md",lg:"md",xl:"lg"},Yo=classVarianceAuthority.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 er(l){var i=l,{className:e,size:a,badge:o,children:t}=i,r=s(i,["className","size","badge","children"]);return jsxRuntime.jsxs("div",{className:"relative",children:[o&&jsxRuntime.jsx($,{size:jo[a||"md"],className:u("absolute -right-2 -top-1 z-10"),children:String(o)}),jsxRuntime.jsx(radixUi.Avatar.Root,L(d({"data-slot":"avatar",className:u(Yo({size:a,className:e}))},r),{children:t}))]})}function ar(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx(radixUi.Avatar.Image,d({"data-slot":"avatar-image",className:u("size-full object-cover",e)},a))}function tr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx(radixUi.Avatar.Fallback,L(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:jsxRuntime.jsx(icons.User,{className:"size-1/2"})}))}var gt=D__namespace.createContext({animated:false});function rr(o){var t=o,{animated:e=false}=t,a=s(t,["animated"]);return jsxRuntime.jsx(gt.Provider,{value:{animated:e},children:jsxRuntime.jsx(radixUi.Collapsible.Root,d({"data-slot":"collapsible"},a))})}function lr(a){var e=s(a,[]);return jsxRuntime.jsx(radixUi.Collapsible.Trigger,d({"data-slot":"collapsible-trigger"},e))}function dr(o){var t=o,{className:e}=t,a=s(t,["className"]);let{animated:r}=D__namespace.useContext(gt);return jsxRuntime.jsx(radixUi.Collapsible.Content,d({"data-slot":"collapsible-content",className:u(r&&"overflow-hidden data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down",e)},a))}var na=768;function he(){let[e,a]=D__namespace.useState(void 0);return D__namespace.useEffect(()=>{let o=window.matchMedia(`(max-width: ${na-1}px)`),t=()=>{a(window.innerWidth<na);};return o.addEventListener("change",t),a(window.innerWidth<na),()=>o.removeEventListener("change",t)},[]),!!e}function fa(a){var e=s(a,[]);return jsxRuntime.jsx(radixUi.DropdownMenu.Root,d({"data-slot":"dropdown-menu"},e))}function ur(a){var e=s(a,[]);return jsxRuntime.jsx(radixUi.DropdownMenu.Portal,d({"data-slot":"dropdown-menu-portal"},e))}function ca(a){var e=s(a,[]);return jsxRuntime.jsx(radixUi.DropdownMenu.Trigger,d({className:u("cursor-pointer",e.className),"data-slot":"dropdown-menu-trigger"},e))}function pa(r){var l=r,{className:e,sideOffset:a=4,side:o}=l,t=s(l,["className","sideOffset","side"]);let i=he();return jsxRuntime.jsx(radixUi.DropdownMenu.Portal,{children:jsxRuntime.jsx(radixUi.DropdownMenu.Content,d({"data-slot":"dropdown-menu-content",sideOffset:a,side:i?"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 ir(a){var e=s(a,[]);return jsxRuntime.jsx(radixUi.DropdownMenu.Group,d({"data-slot":"dropdown-menu-group"},e))}function He(r){var l=r,{className:e,inset:a,variant:o="default"}=l,t=s(l,["className","inset","variant"]);return jsxRuntime.jsx(radixUi.DropdownMenu.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 nr(r){var l=r,{className:e,children:a,checked:o}=l,t=s(l,["className","children","checked"]);return jsxRuntime.jsxs(radixUi.DropdownMenu.CheckboxItem,L(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:[jsxRuntime.jsx("span",{className:"flex min-w-0 flex-1 gap-2 break-words",children:a}),jsxRuntime.jsx("span",{className:"pointer-events-none absolute right-2 flex size-3.5 items-center justify-center",children:jsxRuntime.jsx(radixUi.DropdownMenu.ItemIndicator,{children:jsxRuntime.jsx(icons.Check,{className:"size-4"})})})]}))}function ze(a){var e=s(a,[]);return jsxRuntime.jsx(radixUi.DropdownMenu.RadioGroup,d({"data-slot":"dropdown-menu-radio-group"},e))}function ma(t){var r=t,{className:e,children:a}=r,o=s(r,["className","children"]);return jsxRuntime.jsxs(radixUi.DropdownMenu.RadioItem,L(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:[jsxRuntime.jsx("span",{className:"flex min-w-0 flex-1 gap-2 break-words",children:a}),jsxRuntime.jsx("span",{className:"pointer-events-none absolute right-2 flex size-3.5 items-center justify-center",children:jsxRuntime.jsx(radixUi.DropdownMenu.ItemIndicator,{children:jsxRuntime.jsx(icons.Check,{className:"size-4"})})})]}))}function ga(t){var r=t,{className:e,inset:a}=r,o=s(r,["className","inset"]);return jsxRuntime.jsx(radixUi.DropdownMenu.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 xa(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx(radixUi.DropdownMenu.Separator,d({"data-slot":"dropdown-menu-separator",className:u("-mx-3 my-2 h-px bg-border",e)},a))}function fr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx("span",d({"data-slot":"dropdown-menu-shortcut",className:u("ml-auto text-xs tracking-widest text-gray-foreground",e)},a))}function cr(a){var e=s(a,[]);return jsxRuntime.jsx(radixUi.DropdownMenu.Sub,d({"data-slot":"dropdown-menu-sub"},e))}function pr(r){var l=r,{className:e,inset:a,children:o}=l,t=s(l,["className","inset","children"]);return jsxRuntime.jsxs(radixUi.DropdownMenu.SubTrigger,L(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,jsxRuntime.jsx(icons.ChevronRight,{className:"ml-auto size-3"})]}))}function mr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx(radixUi.DropdownMenu.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))}function ha(t){var r=t,{className:e,type:a}=r,o=s(r,["className","type"]);return jsxRuntime.jsx("input",d({type:a,"data-slot":"input",className:u("placeholder:text-muted-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 selection:text-primary-foreground 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: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 xr({width:e=171,height:a=36,className:o,svgClassName:t}){return jsxRuntime.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:[jsxRuntime.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"}),jsxRuntime.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 Lr({width:e=60,height:a=67,className:o,svgClassName:t}){return jsxRuntime.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:jsxRuntime.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"})})}var Ia={tablet:"600px"};function ht(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx("nav",d({role:"navigation","aria-label":"pagination",className:u("flex w-full items-center justify-between",e)},a))}function It(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx("ul",d({className:u("flex flex-row items-center gap-2",e)},a))}function Ca(r){var l=r,{count:e,label:a="itens",className:o}=l,t=s(l,["count","label","className"]);return jsxRuntime.jsx("p",L(d({className:u("text-xs font-medium text-gray-foreground-muted",o)},t),{children:a==="itens"?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:["Mostrando"," ",jsxRuntime.jsx("span",{className:"font-semibold text-gray-foreground",children:e})," ",a]}):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("span",{className:"font-semibold text-gray-foreground",children:e})," ",a]})}))}function Ve(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx("li",d({className:u("",e)},a))}function Ct(m){var g=m,{className:e,isActive:a,iconLeft:o,iconRight:t,size:r="md",variant:l="regular",activeVariant:i,inactiveVariant:f}=g,n=s(g,["className","isActive","iconLeft","iconRight","size","variant","activeVariant","inactiveVariant"]);return jsxRuntime.jsx(xe,L(d({"aria-current":a?"page":void 0,variant:a&&i?i:!a&&f?f:a?l:`${l}-soft`,className:u("",e),size:r,iconLeft:o,iconRight:t},n),{children:n.children}))}function bt(r){var l=r,{className:e,size:a="md",variant:o="regular-basic"}=l,t=s(l,["className","size","variant"]);return jsxRuntime.jsx(xe,L(d({"aria-label":"Go to previous page",className:u("",e),iconLeft:jsxRuntime.jsx(icons.ChevronLeftDuo,{}),variant:o,size:a},t),{children:t.children||"Anterior"}))}function vt(r){var l=r,{className:e,size:a="md",variant:o="regular-basic"}=l,t=s(l,["className","size","variant"]);return jsxRuntime.jsx(xe,L(d({"aria-label":"Go to next page",className:u("",e),variant:o,iconRight:jsxRuntime.jsx(icons.ChevronRightDuo,{}),size:a},t),{children:t.children||"Pr\xF3ximo"}))}function St(t){var r=t,{className:e,size:a="md"}=r,o=s(r,["className","size"]);return jsxRuntime.jsx("span",L(d({"aria-hidden":true,className:u("flex items-center justify-center",{sm:"h-8 w-8",md:"h-9 w-9",lg:"h-10 w-10"}[a],e)},o),{children:jsxRuntime.jsx(icons.MoreHorizontal,{className:"h-4 w-4"})}))}function vr({currentPage:e,totalPages:a,maxVisibleItems:o,onPageChange:t,itemsPerPage:r,totalItems:l,className:i,responsive:f=true,size:n="md"}){let[m,g]=D__namespace.useState(()=>typeof window=="undefined"?false:window.innerWidth<=parseInt(Ia.tablet));D__namespace.useEffect(()=>{if(typeof window=="undefined"||!f)return;let C=parseInt(Ia.tablet),v=()=>{g(window.innerWidth<=C);};return window.addEventListener("resize",v),v(),()=>window.removeEventListener("resize",v)},[f]);let S=typeof o=="number"?o:f&&m?0:2,k=f&&m,B=()=>{let C=[],v=S;if(a<=v)for(let P=1;P<=a;P++)C.push(P);else {let P=Math.floor(v/2);if(e<=P+1){for(let w=1;w<=v+1;w++)C.push(w);C.push(-1,a);}else if(e>=a-P){C.push(1,-1);for(let w=a-v;w<=a;w++)C.push(w);}else {C.push(1,-1);for(let w=e-P;w<=e+P;w++)C.push(w);C.push(-1,a);}}return C};return jsxRuntime.jsxs(ht,{className:u("",i),children:[r!==void 0&&!k?jsxRuntime.jsx(Ca,{count:r,label:"itens"}):jsxRuntime.jsx("div",{}),jsxRuntime.jsxs(It,{children:[jsxRuntime.jsx(Ve,{children:jsxRuntime.jsx(bt,{onClick:()=>t(Math.max(1,e-1)),disabled:e===1,size:n})}),B().map((C,v)=>jsxRuntime.jsx(Ve,{children:C===-1?jsxRuntime.jsx(St,{size:n}):jsxRuntime.jsx(Ct,{onClick:()=>t(C),isActive:C===e,size:n,children:C})},v)),jsxRuntime.jsx(Ve,{children:jsxRuntime.jsx(vt,{onClick:()=>t(Math.min(a,e+1)),disabled:e===a,size:n})})]}),l!==void 0&&!k?jsxRuntime.jsx(Ca,{count:l,label:"total"}):jsxRuntime.jsx("div",{})]})}function ba(t){var r=t,{className:e,children:a}=r,o=s(r,["className","children"]);return jsxRuntime.jsxs(radixUi.ScrollArea.Root,L(d({"data-slot":"scroll-area",className:u("relative",e)},o),{children:[jsxRuntime.jsx(radixUi.ScrollArea.Viewport,{"data-slot":"scroll-area-viewport",className:"size-full rounded-[inherit]",children:a}),jsxRuntime.jsx(Ce,{}),jsxRuntime.jsx(Ce,{orientation:"horizontal"}),jsxRuntime.jsx(radixUi.ScrollArea.Corner,{})]}))}function Ce(t){var r=t,{className:e,orientation:a="vertical"}=r,o=s(r,["className","orientation"]);return jsxRuntime.jsx(radixUi.ScrollArea.ScrollAreaScrollbar,L(d({"data-slot":"scroll-area-scrollbar",orientation:a,className:u("flex touch-none select-none",a==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-px",a==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-px",e)},o),{children:jsxRuntime.jsx(radixUi.ScrollArea.ScrollAreaThumb,{"data-slot":"scroll-area-thumb",className:"relative flex-1 rounded-full bg-border"})}))}var kt=D__namespace.createContext(null);function wr(r){var l=r,{className:e,size:a="md",children:o}=l,t=s(l,["className","size","children"]);return jsxRuntime.jsx(kt.Provider,{value:{size:a},children:jsxRuntime.jsx(radixUi.Tabs.Root,L(d({"data-slot":"tabs",className:u("flex flex-col gap-2",e)},t),{children:o}))})}function yr(t){var r=t,{className:e,containerClassName:a}=r,o=s(r,["className","containerClassName"]);return jsxRuntime.jsxs(ba,{className:u("[&_[data-slot=scroll-area-scrollbar][data-orientation=horizontal]]:h-1",a),children:[jsxRuntime.jsx(radixUi.Tabs.List,d({"data-slot":"tabs-list",className:u("inline-flex w-fit items-center justify-center rounded-md bg-gray-background-soft p-0.5",e)},o)),jsxRuntime.jsx(Ce,{orientation:"horizontal"})]})}var Pr=classVarianceAuthority.cva("data-[state=active]:shadow-xs group inline-flex items-center justify-center gap-2.5 whitespace-nowrap rounded-[6px] font-medium text-gray-foreground outline-none transition-all data-[state=active]:bg-surface-card data-[state=active]:text-primary-foreground [&_svg]:shrink-0 [&_svg]:text-inherit disabled:text-gray-foreground-muted disabled:pointer-events-none",{variants:{size:{sm:"max-h-7 px-3 py-1.5 text-xs [&_svg]:size-4",md:"max-h-9 px-4 py-2 text-sm [&_svg]:size-5",lg:"max-h-11 px-4 py-2.5 text-base [&_svg]:size-6"}},defaultVariants:{size:"md"}});function Ar(l){var i=l,{className:e,icon:a,badge:o,children:t}=i,r=s(i,["className","icon","badge","children"]);var g;let f=S=>S!=null&&S!==0&&S!==""&&S!=="0"&&!r.disabled,n=D__namespace.useContext(kt),m=(g=n==null?void 0:n.size)!=null?g:"md";return jsxRuntime.jsxs(radixUi.Tabs.Trigger,L(d({"data-slot":"tabs-trigger",className:u(Pr({size:m,className:e}))},r),{children:[a,t&&jsxRuntime.jsxs("span",{className:"inline-grid [grid-template-areas:'stack']",children:[jsxRuntime.jsx("span",{"aria-hidden":"true",className:"invisible font-semibold [grid-area:stack]",children:t}),jsxRuntime.jsx("span",{className:"font-medium [grid-area:stack] group-data-[state=active]:font-semibold",children:t})]}),f(o)&&jsxRuntime.jsx($,{size:m,variant:"regular",children:String(o)})]}))}function Rr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx(radixUi.Tabs.Content,d({"data-slot":"tabs-content",className:u("flex-1 outline-none",e)},a))}function Sa(r){var l=r,{className:e,orientation:a="horizontal",decorative:o=true}=l,t=s(l,["className","orientation","decorative"]);return jsxRuntime.jsx(radixUi.Separator.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 wt=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Br=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,o,t)=>t?t.toUpperCase():o.toLowerCase()),ka=e=>{let a=Br(e);return a.charAt(0).toUpperCase()+a.slice(1)},Xe=(...e)=>e.filter((a,o,t)=>!!a&&a.trim()!==""&&t.indexOf(a)===o).join(" ").trim(),yt=e=>{for(let a in e)if(a.startsWith("aria-")||a==="role"||a==="title")return true};var Pt={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 Rt=D.forwardRef((m,n)=>{var g=m,{color:e="currentColor",size:a=24,strokeWidth:o=2,absoluteStrokeWidth:t,className:r="",children:l,iconNode:i}=g,f=s(g,["color","size","strokeWidth","absoluteStrokeWidth","className","children","iconNode"]);return D.createElement("svg",d(d(L(d({ref:n},Pt),{width:a,height:a,stroke:e,strokeWidth:t?Number(o)*24/Number(a):o,className:Xe("lucide",r)}),!l&&!yt(f)&&{"aria-hidden":"true"}),f),[...i.map(([S,k])=>D.createElement(S,k)),...Array.isArray(l)?l:[l]])});var Mt=(e,a)=>{let o=D.forwardRef((i,l)=>{var f=i,{className:t}=f,r=s(f,["className"]);return D.createElement(Rt,d({ref:l,iconNode:a,className:Xe(`lucide-${wt(ka(e))}`,`lucide-${e}`,t)},r))});return o.displayName=ka(e),o};var Ur=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],be=Mt("x",Ur);function ya(a){var e=s(a,[]);return jsxRuntime.jsx(radixUi.Dialog.Root,d({"data-slot":"sheet"},e))}function Or(a){var e=s(a,[]);return jsxRuntime.jsx(radixUi.Dialog.Portal,d({"data-slot":"sheet-portal"},e))}function Hr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx(radixUi.Dialog.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 Dt(r){var l=r,{className:e,children:a,side:o="right"}=l,t=s(l,["className","children","side"]);return jsxRuntime.jsxs(Or,{children:[jsxRuntime.jsx(Hr,{}),jsxRuntime.jsxs(radixUi.Dialog.Content,L(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,jsxRuntime.jsxs(radixUi.Dialog.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:[jsxRuntime.jsx(be,{className:"size-4"}),jsxRuntime.jsx("span",{className:"sr-only",children:"Close"})]})]}))]})}function Ke(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx("div",d({"data-slot":"skeleton",className:u("animate-pulse rounded-md bg-gray-150",e)},a))}function Pa(o){var t=o,{delayDuration:e=0}=t,a=s(t,["delayDuration"]);return jsxRuntime.jsx(radixUi.Tooltip.Provider,d({"data-slot":"tooltip-provider",delayDuration:e},a))}function Ze(a){var e=s(a,[]);return jsxRuntime.jsx(Pa,{children:jsxRuntime.jsx(radixUi.Tooltip.Root,d({"data-slot":"tooltip"},e))})}function Aa(a){var e=s(a,[]);return jsxRuntime.jsx(radixUi.Tooltip.Trigger,d({"data-slot":"tooltip-trigger"},e))}function Ra(r){var l=r,{className:e,sideOffset:a=0,children:o}=l,t=s(l,["className","sideOffset","children"]);return jsxRuntime.jsx(radixUi.Tooltip.Portal,{children:jsxRuntime.jsxs(radixUi.Tooltip.Content,L(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,jsxRuntime.jsx(radixUi.Tooltip.Arrow,{className:"z-50 size-3 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px] bg-surface-elevated fill-surface-elevated"})]}))})}var _r="sidebar_state",Wr=60*60*24*7,Xr="b",Tt=D__namespace.createContext(null);function ne(){let e=D__namespace.useContext(Tt);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}function Kr(i){var f=i,{defaultOpen:e=true,open:a,onOpenChange:o,className:t,children:r}=f,l=s(f,["defaultOpen","open","onOpenChange","className","children"]);let n=he(),[m,g]=D__namespace.useState(false),[S,k]=D__namespace.useState(e),B=a!=null?a:S,C=D__namespace.useCallback(M=>{let A=typeof M=="function"?M(B):M;o?o(A):k(A),document.cookie=`${_r}=${A}; path=/; max-age=${Wr}`;},[o,B]),v=D__namespace.useCallback(()=>n?g(M=>!M):C(M=>!M),[n,C,g]);D__namespace.useEffect(()=>{let M=A=>{A.key===Xr&&(A.metaKey||A.ctrlKey)&&(A.preventDefault(),v());};return window.addEventListener("keydown",M),()=>window.removeEventListener("keydown",M)},[v]);let P=B?"expanded":"collapsed",w=D__namespace.useMemo(()=>({state:P,open:B,setOpen:C,isMobile:n,openMobile:m,setOpenMobile:g,toggleSidebar:v}),[P,B,C,n,m,g,v]);return jsxRuntime.jsx(Tt.Provider,{value:w,children:jsxRuntime.jsx(Pa,{delayDuration:0,children:jsxRuntime.jsx("div",L(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 Zr(f){var n=f,{side:e="left",variant:a="sidebar",collapsible:o="offcanvas",className:t,containerClassName:r,children:l}=n,i=s(n,["side","variant","collapsible","className","containerClassName","children"]);let{isMobile:m,state:g,openMobile:S,setOpenMobile:k}=ne();return o==="none"?jsxRuntime.jsx("div",L(d({"data-slot":"sidebar",className:u("flex h-full w-[var(--sidebar-width)] flex-col bg-surface-navigation text-gray-foreground",t)},i),{children:l})):m?jsxRuntime.jsx(ya,L(d({open:S,onOpenChange:k},i),{children:jsxRuntime.jsx(Dt,{"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:jsxRuntime.jsx("div",{className:"flex h-full w-full flex-col",children:l})})})):jsxRuntime.jsxs("div",{className:u("group peer hidden text-gray-foreground md:block",t),"data-state":g,"data-collapsible":g==="collapsed"?o:"","data-variant":a,"data-side":e,"data-slot":"sidebar",children:[jsxRuntime.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)]")}),jsxRuntime.jsx("div",L(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)},i),{children:jsxRuntime.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 Qr(n){var m=n,{className:e,onClick:a,sizeIcon:o="size-5",icon:t=jsxRuntime.jsx(icons.HamburgerMd,{className:o}),showTooltip:r=false,tooltipContent:l,enableHover:i=false}=m,f=s(m,["className","onClick","sizeIcon","icon","showTooltip","tooltipContent","enableHover"]);let{toggleSidebar:g,open:S,isMobile:k}=ne(),[B,C]=D__namespace.useState(false),P=l||{open:"Esconder",closed:"Mostrar"},w=()=>i&&B?S?jsxRuntime.jsx(icons.ChevronLeftMd,{className:o}):jsxRuntime.jsx(icons.ChevronRightMd,{className:o}):t,M=jsxRuntime.jsxs("button",L(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:A=>{a==null||a(A),g();},onMouseEnter:!k&&i?()=>C(true):void 0,onMouseLeave:!k&&i?()=>C(false):void 0},f),{children:[w(),jsxRuntime.jsx("span",{className:"sr-only",children:"Toggle Sidebar"})]}));return !r||k?M:jsxRuntime.jsxs(Ze,{children:[jsxRuntime.jsx(Aa,{asChild:true,children:M}),jsxRuntime.jsx(Ra,{side:"right",align:"center",children:S?P.open:P.closed})]})}function Jr(o){var t=o,{className:e}=t,a=s(t,["className"]);let{toggleSidebar:r}=ne();return jsxRuntime.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 $r(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.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 jr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx(ha,d({"data-slot":"sidebar-input","data-sidebar":"input",className:u("bg-bg-surface-navigation h-8 w-full shadow-none",e)},a))}function Yr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.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 el(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.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 al(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx(Sa,d({"data-slot":"sidebar-separator","data-sidebar":"separator",className:u("mx-2 w-auto bg-border",e)},a))}function tl(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.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 ol(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.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 rl(t){var r=t,{className:e,asChild:a=false}=r,o=s(r,["className","asChild"]);let l=a?radixUi.Slot.Slot:"div";return jsxRuntime.jsx(l,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 ll(t){var r=t,{className:e,asChild:a=false}=r,o=s(r,["className","asChild"]);let l=a?radixUi.Slot.Slot:"button";return jsxRuntime.jsx(l,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 dl(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx("div",d({"data-slot":"sidebar-group-content","data-sidebar":"group-content",className:u("w-full text-sm",e)},a))}function sl(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.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 ul(r){var l=r,{className:e,isActive:a,children:o}=l,t=s(l,["className","isActive","children"]);return jsxRuntime.jsxs("li",L(d({"data-slot":"sidebar-menu-item","data-sidebar":"menu-item",className:u("group/menu-item relative hover:cursor-pointer",e)},t),{children:[a&&jsxRuntime.jsx("span",{className:"absolute -left-4 top-0 h-full w-0.5 bg-secondary-stroke-emphasis","aria-hidden":"true"}),o]}))}var il=classVarianceAuthority.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 nl(f){var n=f,{asChild:e=false,isActive:a=false,variant:o="default",size:t="md",tooltip:r,className:l}=n,i=s(n,["asChild","isActive","variant","size","tooltip","className"]);let m=e?radixUi.Slot.Slot:"button",{isMobile:g,state:S}=ne(),k=jsxRuntime.jsx(m,d({"data-slot":"sidebar-menu-button","data-sidebar":"menu-button","data-size":t,"data-active":a,className:u(il({variant:o,size:t}),l)},i));return r?(typeof r=="string"&&(r={children:r}),jsxRuntime.jsxs(Ze,{children:[jsxRuntime.jsx(Aa,{asChild:true,children:k}),jsxRuntime.jsx(Ra,d({side:"right",align:"center",hidden:S!=="collapsed"||g},r))]})):k}function fl(r){var l=r,{className:e,asChild:a=false,showOnHover:o=false}=l,t=s(l,["className","asChild","showOnHover"]);let i=a?radixUi.Slot.Slot:"button";return jsxRuntime.jsx(i,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 cl(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.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 pl(t){var r=t,{className:e,showIcon:a=false}=r,o=s(r,["className","showIcon"]);let l=D__namespace.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return jsxRuntime.jsxs("div",L(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&&jsxRuntime.jsx(Ke,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),jsxRuntime.jsx(Ke,{className:"max-w-(--skeleton-width) h-4 flex-1","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":l}})]}))}function ml(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.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 gl(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx("li",d({"data-slot":"sidebar-menu-sub-item","data-sidebar":"menu-sub-item",className:u("group/menu-sub-item relative",e)},a))}function xl({icon:e,title:a}){let{state:o,isMobile:t}=ne();return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[D__namespace.isValidElement(e)?D__namespace.cloneElement(e,{strokeWidth:1.8}):e,jsxRuntime.jsx("span",{className:u("whitespace-nowrap",o==="collapsed"&&"opacity-0",t&&"opacity-100"),children:a})]})}function Ll(){return jsxRuntime.jsx("div",{className:"ml-auto transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90",children:jsxRuntime.jsx(icons.ChevronRightMd,{size:20,strokeWidth:1.5})})}function hl(l){var i=l,{asChild:e=false,size:a="md",isActive:o=false,className:t}=i,r=s(i,["asChild","size","isActive","className"]);let f=e?radixUi.Slot.Slot:"a";return jsxRuntime.jsx(f,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 Ft=D__namespace.createContext({});function Cl({children:e,value:a,onValueChange:o,open:t,defaultOpen:r,onOpenChange:l}){let[i,f]=D__namespace.useState(a||""),n={value:a||i,onValueChange:o||f};return jsxRuntime.jsx(Ft.Provider,{value:n,children:jsxRuntime.jsx(fa,{open:t,defaultOpen:r,onOpenChange:l,children:e})})}function bl({children:e,asChild:a=true,className:o}){return jsxRuntime.jsx(ca,{className:o,asChild:a,children:e})}function vl({children:e,align:a="center",side:o="right",className:t}){return jsxRuntime.jsx(pa,{className:t,align:a,side:o,children:e})}function Sl({children:e,label:a}){let{value:o,onValueChange:t}=D__namespace.useContext(Ft);return a?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(ga,{children:a}),jsxRuntime.jsx(ze,{value:o,onValueChange:t,children:e})]}):jsxRuntime.jsx(ze,{value:o,onValueChange:t,children:e})}function kl({children:e,value:a,onClick:o,icon:t}){let r=()=>{o&&o();};return a?jsxRuntime.jsxs(ma,{value:a,onClick:r,children:[typeof t=="string"?jsxRuntime.jsx("img",{src:t,alt:"",width:20,height:14}):t,e]}):jsxRuntime.jsxs(He,{onClick:r,children:[typeof t=="string"?jsxRuntime.jsx("img",{src:t,alt:"",width:20,height:14}):t,e]})}function wl({children:e,onClick:a,icon:o}){return jsxRuntime.jsxs(He,{onClick:a,children:[o,e]})}function yl(){return jsxRuntime.jsx(xa,{})}var qt=classVarianceAuthority.cva("inline-flex items-center justify-center rounded-md px-2 py-1 text-xs font-semibold w-fit whitespace-nowrap shrink-0 gap-1.5 transition-colors overflow-hidden max-h-6",{variants:{variant:{regular:"bg-primary-background-fill text-primary-foreground-onfill fill-primary-foreground-onfill","regular-soft":"bg-primary-background-soft text-primary-foreground fill-primary-foreground","regular-basic":"bg-transparent text-primary-foreground fill-primary-foreground",emphasis:"bg-secondary-background-fill text-secondary-foreground-onfill fill-secondary-foreground-onfill","emphasis-soft":"bg-secondary-background-soft text-secondary-foreground fill-secondary-foreground","emphasis-basic":"bg-transparent text-secondary-foreground fill-secondary-foreground",gray:"bg-gray-background-fill text-gray-foreground-onfill fill-gray-foreground-onfill","gray-soft":"bg-gray-background-soft text-gray-foreground fill-gray-foreground","gray-basic":"bg-transparent text-gray-foreground fill-gray-foreground",success:"bg-green-background-fill text-green-foreground-onfill fill-green-foreground-onfill","success-soft":"bg-green-background-soft text-green-foreground fill-green-foreground","success-basic":"bg-transparent text-green-foreground fill-green-foreground",error:"bg-red-background-fill text-red-foreground-onfill fill-red-foreground-onfill","error-soft":"bg-red-background-soft text-red-foreground fill-red-foreground","error-basic":"bg-transparent text-red-foreground fill-red-foreground",warning:"bg-yellow-background-fill text-yellow-foreground-onfill fill-yellow-foreground-onfill","warning-soft":"bg-yellow-background-soft text-yellow-foreground fill-yellow-foreground","warning-basic":"bg-transparent text-yellow-foreground fill-yellow-foreground",cm:"bg-cm-background-fill text-cm-foreground-onfill fill-cm-foreground-onfill","cm-soft":"bg-cm-background-soft text-cm-foreground fill-cm-foreground","cm-basic":"bg-transparent text-cm-foreground fill-cm-foreground",go:"bg-go-background-fill text-go-foreground-onfill fill-go-foreground-onfill","go-soft":"bg-go-background-soft text-go-foreground fill-go-foreground","go-basic":"bg-transparent text-go-foreground fill-go-foreground",cir:"bg-cir-background-fill text-cir-foreground-onfill fill-cir-foreground-onfill","cir-soft":"bg-cir-background-soft text-cir-foreground fill-cir-foreground","cir-basic":"bg-transparent text-cir-foreground fill-cir-foreground",ped:"bg-ped-background-fill text-ped-foreground-onfill fill-ped-foreground-onfill","ped-soft":"bg-ped-background-soft text-ped-foreground fill-ped-foreground","ped-basic":"bg-transparent text-ped-foreground fill-ped-foreground",prev:"bg-prev-background-fill text-prev-foreground-onfill fill-prev-foreground-onfill","prev-soft":"bg-prev-background-soft text-prev-foreground fill-prev-foreground","prev-basic":"bg-transparent text-prev-foreground fill-prev-foreground"}},defaultVariants:{variant:"regular"}});function Ml(t){var r=t,{className:e,icon:a}=r,o=s(r,["className","icon"]);return jsxRuntime.jsx("div",L(d({"data-slot":"tag-icon",className:u("[&>svg]:size-3.5",e)},o),{children:a}))}function Dl(i){var f=i,{className:e,variant:a,asChild:o=false,icon:t,children:r}=f,l=s(f,["className","variant","asChild","icon","children"]);let n=o?radixUi.Slot.Slot:"span";return jsxRuntime.jsxs(n,L(d({"data-slot":"tag",className:u(qt({variant:a}),e)},l),{children:[t&&jsxRuntime.jsx(Ml,{icon:t}),r]}))}var Ul=classVarianceAuthority.cva("group/tile relative flex flex-col justify-center rounded-lg gap-0.5 px-5 py-4 cursor-default data-[disabled=true]:pointer-events-none",{variants:{variant:{regular:"bg-surface-settings-on text-primary-foreground fill-primary-foreground data-[disabled=false]:hover:[background:radial-gradient(51.96%_112.02%_at_50%_112.02%,_var(--color-surface-card)_0%,_var(--color-surface-settings-on)_100%)] data-[disabled=true]:bg-surface-disable data-[inactive=true]:bg-surface-settings-off data-[inactive=true]:hover:[background:radial-gradient(51.96%_112.02%_at_50%_112.02%,_var(--color-surface-card)_0%,_var(--color-surface-settings-off)_100%)]",cm:"bg-cm-background-fill text-cm-foreground-onfill fill-cm-foreground-onfill data-[disabled=false]:hover:[background:radial-gradient(63.78%_137.5%_at_50%_137.5%,_var(--color-cm-background-fill-emphasis)_0%,_var(--color-cm-background-fill)_100%)] data-[disabled=true]:opacity-70 data-[inactive=true]:[filter:brightness(.8)]",go:"bg-go-background-fill text-go-foreground-onfill fill-go-foreground-onfill data-[disabled=false]:hover:[background:radial-gradient(63.78%_137.5%_at_50%_137.5%,_var(--color-go-background-fill-emphasis)_0%,_var(--color-go-background-fill)_100%)] data-[disabled=true]:opacity-70 data-[inactive=true]:[filter:brightness(.8)]",cir:"bg-cir-background-fill text-cir-foreground-onfill fill-cir-foreground-onfill data-[disabled=false]:hover:[background:radial-gradient(63.78%_137.5%_at_50%_137.5%,_var(--color-cir-background-fill-emphasis)_0%,_var(--color-cir-background-fill)_100%)] data-[disabled=true]:opacity-70 data-[inactive=true]:[filter:brightness(.8)]",ped:"bg-ped-background-fill text-ped-foreground-onfill fill-ped-foreground-onfill data-[disabled=false]:hover:[background:radial-gradient(51.96%_112.02%_at_50%_112.02%,_var(--color-ped-background-fill-emphasis)_0%,_var(--color-ped-background-fill)_100%)] data-[disabled=true]:opacity-70 data-[inactive=true]:[filter:brightness(.8)]",prev:"bg-prev-background-fill text-prev-foreground-onfill fill-prev-foreground-onfill data-[disabled=false]:hover:[background:radial-gradient(63.78%_137.5%_at_50%_137.5%,_var(--color-prev-background-fill-emphasis)_0%,_var(--color-prev-background-fill)_100%)] data-[disabled=true]:opacity-70 data-[inactive=true]:[filter:brightness(.8)]"}},defaultVariants:{variant:"regular"}});function Ol(i){var f=i,{className:e,variant:a="regular",asChild:o=false,disabled:t=false,inactive:r=false}=f,l=s(f,["className","variant","asChild","disabled","inactive"]);let n=o?radixUi.Slot.Slot:"div";return jsxRuntime.jsxs(n,L(d({"data-slot":"tile","data-variant":a,"data-inactive":r,"data-disabled":t,"aria-disabled":t||r,className:u(Ul({variant:a,className:e}),l.onClick&&!t&&"cursor-pointer")},l),{children:[l.children,l.onClick&&!t&&jsxRuntime.jsx(icons.EditPencil,{className:"absolute right-5 top-4 size-5 opacity-0 transition-opacity group-hover/tile:opacity-100"})]}))}function Hl(t){var r=t,{className:e,icon:a}=r,o=s(r,["className","icon"]);return jsxRuntime.jsx("div",L(d({"data-slot":"tile-icon",className:u("mb-2.5 last:mb-0 [&>svg]:size-5",e)},o),{children:a}))}function zl(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx("div",d({"data-slot":"tile-title",className:u("line-clamp-1 flex w-fit text-xs font-medium",e)},a))}function Gl(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx("span",d({"data-slot":"tile-description",className:u("line-clamp-1 flex w-fit text-sm font-semibold",e)},a))}/*! Bundled license information:
|
|
1
|
+
'use strict';var D=require('react'),classVarianceAuthority=require('class-variance-authority'),icons=require('@medway-ui/icons'),clsx=require('clsx'),jsxRuntime=require('react/jsx-runtime'),q=require('@radix-ui/react-alert-dialog'),radixUi=require('radix-ui');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var D__namespace=/*#__PURE__*/_interopNamespace(D);var q__namespace=/*#__PURE__*/_interopNamespace(q);var Ot=Object.defineProperty,Ht=Object.defineProperties;var zt=Object.getOwnPropertyDescriptors;var Re=Object.getOwnPropertySymbols;var za=Object.prototype.hasOwnProperty,Va=Object.prototype.propertyIsEnumerable;var Ha=(e,a,o)=>a in e?Ot(e,a,{enumerable:true,configurable:true,writable:true,value:o}):e[a]=o,d=(e,a)=>{for(var o in a||(a={}))za.call(a,o)&&Ha(e,o,a[o]);if(Re)for(var o of Re(a))Va.call(a,o)&&Ha(e,o,a[o]);return e},L=(e,a)=>Ht(e,zt(a));var s=(e,a)=>{var o={};for(var t in e)za.call(e,t)&&a.indexOf(t)<0&&(o[t]=e[t]);if(e!=null&&Re)for(var t of Re(e))a.indexOf(t)<0&&Va.call(e,t)&&(o[t]=e[t]);return o};var la="-",Vt=e=>{let a=Nt(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:t}=e;return {getClassGroupId:i=>{let f=i.split(la);return f[0]===""&&f.length!==1&&f.shift(),Ka(f,a)||Gt(i)},getConflictingClassGroupIds:(i,f)=>{let n=o[i]||[];return f&&t[i]?[...n,...t[i]]:n}}},Ka=(e,a)=>{var i;if(e.length===0)return a.classGroupId;let o=e[0],t=a.nextPart.get(o),r=t?Ka(e.slice(1),t):void 0;if(r)return r;if(a.validators.length===0)return;let l=e.join(la);return (i=a.validators.find(({validator:f})=>f(l)))==null?void 0:i.classGroupId},Ga=/^\[(.+)\]$/,Gt=e=>{if(Ga.test(e)){let a=Ga.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)ta(o[r],t,r,a);return t},ta=(e,a,o,t)=>{e.forEach(r=>{if(typeof r=="string"){let l=r===""?a:Na(a,r);l.classGroupId=o;return}if(typeof r=="function"){if(Et(r)){ta(r(t),a,o,t);return}a.validators.push({validator:r,classGroupId:o});return}Object.entries(r).forEach(([l,i])=>{ta(i,Na(a,l),o,t);});});},Na=(e,a)=>{let o=e;return a.split(la).forEach(t=>{o.nextPart.has(t)||o.nextPart.set(t,{nextPart:new Map,validators:[]}),o=o.nextPart.get(t);}),o},Et=e=>e.isThemeGetter,_t=e=>{if(e<1)return {get:()=>{},set:()=>{}};let a=0,o=new Map,t=new Map,r=(l,i)=>{o.set(l,i),a++,a>e&&(a=0,t=o,o=new Map);};return {get(l){let i=o.get(l);if(i!==void 0)return i;if((i=t.get(l))!==void 0)return r(l,i),i},set(l,i){o.has(l)?o.set(l,i):r(l,i);}}},oa="!",ra=":",Wt=ra.length,Xt=e=>{let{prefix:a,experimentalParseClassName:o}=e,t=r=>{let l=[],i=0,f=0,n=0,m;for(let C=0;C<r.length;C++){let v=r[C];if(i===0&&f===0){if(v===ra){l.push(r.slice(n,C)),n=C+Wt;continue}if(v==="/"){m=C;continue}}v==="["?i++:v==="]"?i--:v==="("?f++:v===")"&&f--;}let g=l.length===0?r:r.substring(n),S=Kt(g),k=S!==g,B=m&&m>n?m-n:void 0;return {modifiers:l,hasImportantModifier:k,baseClassName:S,maybePostfixModifierPosition:B}};if(a){let r=a+ra,l=t;t=i=>i.startsWith(r)?l(i.substring(r.length)):{isExternal:true,modifiers:[],hasImportantModifier:false,baseClassName:i,maybePostfixModifierPosition:void 0};}if(o){let r=t;t=l=>o({className:l,parseClassName:r});}return t},Kt=e=>e.endsWith(oa)?e.substring(0,e.length-1):e.startsWith(oa)?e.substring(1):e,Zt=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(i=>{i[0]==="["||a[i]?(r.push(...l.sort(),i),l=[]):l.push(i);}),r.push(...l.sort()),r}},Qt=e=>d({cache:_t(e.cacheSize),parseClassName:Xt(e),sortModifiers:Zt(e)},Vt(e)),Jt=/\s+/,$t=(e,a)=>{let{parseClassName:o,getClassGroupId:t,getConflictingClassGroupIds:r,sortModifiers:l}=a,i=[],f=e.trim().split(Jt),n="";for(let m=f.length-1;m>=0;m-=1){let g=f[m],{isExternal:S,modifiers:k,hasImportantModifier:B,baseClassName:C,maybePostfixModifierPosition:v}=o(g);if(S){n=g+(n.length>0?" "+n:n);continue}let P=!!v,w=t(P?C.substring(0,v):C);if(!w){if(!P){n=g+(n.length>0?" "+n:n);continue}if(w=t(C),!w){n=g+(n.length>0?" "+n:n);continue}P=false;}let M=l(k).join(":"),A=B?M+oa:M,ee=A+w;if(i.includes(ee))continue;i.push(ee);let ae=r(w,P);for(let Z=0;Z<ae.length;++Z){let ce=ae[Z];i.push(A+ce);}n=g+(n.length>0?" "+n:n);}return n};function jt(){let e=0,a,o,t="";for(;e<arguments.length;)(a=arguments[e++])&&(o=Za(a))&&(t&&(t+=" "),t+=o);return t}var Za=e=>{if(typeof e=="string")return e;let a,o="";for(let t=0;t<e.length;t++)e[t]&&(a=Za(e[t]))&&(o&&(o+=" "),o+=a);return o};function Ea(e,...a){let o,t,r,l=i;function i(n){let m=a.reduce((g,S)=>S(g),e());return o=Qt(m),t=o.cache.get,r=o.cache.set,l=f,f(n)}function f(n){let m=t(n);if(m)return m;let g=$t(n,o);return r(n,g),g}return function(){return l(jt.apply(null,arguments))}}var T=e=>{let a=o=>o[e]||[];return a.isThemeGetter=true,a},Qa=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Ja=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Yt=/^\d+\/\d+$/,eo=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ao=/\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$/,to=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,oo=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ro=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,oe=e=>Yt.test(e),b=e=>!!e&&!Number.isNaN(Number(e)),X=e=>!!e&&Number.isInteger(Number(e)),ea=e=>e.endsWith("%")&&b(e.slice(0,-1)),_=e=>eo.test(e),lo=()=>true,so=e=>ao.test(e)&&!to.test(e),$a=()=>false,uo=e=>oo.test(e),io=e=>ro.test(e),no=e=>!c(e)&&!p(e),fo=e=>re(e,et,$a),c=e=>Qa.test(e),J=e=>re(e,at,so),aa=e=>re(e,xo,b),_a=e=>re(e,ja,$a),co=e=>re(e,Ya,io),Me=e=>re(e,tt,uo),p=e=>Ja.test(e),pe=e=>le(e,at),po=e=>le(e,Lo),Wa=e=>le(e,ja),mo=e=>le(e,et),go=e=>le(e,Ya),De=e=>le(e,tt,true),re=(e,a,o)=>{let t=Qa.exec(e);return t?t[1]?a(t[1]):o(t[2]):false},le=(e,a,o=false)=>{let t=Ja.exec(e);return t?t[1]?a(t[1]):o:false},ja=e=>e==="position"||e==="percentage",Ya=e=>e==="image"||e==="url",et=e=>e==="length"||e==="size"||e==="bg-size",at=e=>e==="length",xo=e=>e==="number",Lo=e=>e==="family-name",tt=e=>e==="shadow";var Xa=()=>{let e=T("color"),a=T("font"),o=T("text"),t=T("font-weight"),r=T("tracking"),l=T("leading"),i=T("breakpoint"),f=T("container"),n=T("spacing"),m=T("radius"),g=T("shadow"),S=T("inset-shadow"),k=T("text-shadow"),B=T("drop-shadow"),C=T("blur"),v=T("perspective"),P=T("aspect"),w=T("ease"),M=T("animate"),A=()=>["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(),p,c],Z=()=>["auto","hidden","clip","visible","scroll"],ce=()=>["auto","contain","none"],h=()=>[p,c,n],N=()=>[oe,"full","auto",...h()],Ma=()=>[X,"none","subgrid",p,c],Da=()=>["auto",{span:["full",X,p,c]},X,p,c],ke=()=>[X,"auto",p,c],Ba=()=>["auto","min","max","fr",p,c],$e=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],te=()=>["start","end","center","stretch","center-safe","end-safe"],E=()=>["auto",...h()],Q=()=>[oe,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...h()],x=()=>[e,p,c],Ta=()=>[...ee(),Wa,_a,{position:[p,c]}],Fa=()=>["no-repeat",{repeat:["","x","y","space","round"]}],qa=()=>["auto","cover","contain",mo,fo,{size:[p,c]}],je=()=>[ea,pe,J],O=()=>["","none","full",m,p,c],H=()=>["",b,pe,J],we=()=>["solid","dashed","dotted","double"],Ua=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],F=()=>[b,ea,Wa,_a],Oa=()=>["","none",C,p,c],ye=()=>["none",b,p,c],Pe=()=>["none",b,p,c],Ye=()=>[b,p,c],Ae=()=>[oe,"full",...h()];return {cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[_],breakpoint:[_],color:[lo],container:[_],"drop-shadow":[_],ease:["in","out","in-out"],font:[no],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[_],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[_],shadow:[_],spacing:["px",b],text:[_],"text-shadow":[_],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",oe,c,p,P]}],container:["container"],columns:[{columns:[b,c,p,f]}],"break-after":[{"break-after":A()}],"break-before":[{"break-before":A()}],"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:Z()}],"overflow-x":[{"overflow-x":Z()}],"overflow-y":[{"overflow-y":Z()}],overscroll:[{overscroll:ce()}],"overscroll-x":[{"overscroll-x":ce()}],"overscroll-y":[{"overscroll-y":ce()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:N()}],"inset-x":[{"inset-x":N()}],"inset-y":[{"inset-y":N()}],start:[{start:N()}],end:[{end:N()}],top:[{top:N()}],right:[{right:N()}],bottom:[{bottom:N()}],left:[{left:N()}],visibility:["visible","invisible","collapse"],z:[{z:[X,"auto",p,c]}],basis:[{basis:[oe,"full","auto",f,...h()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[b,oe,"auto","initial","none",c]}],grow:[{grow:["",b,p,c]}],shrink:[{shrink:["",b,p,c]}],order:[{order:[X,"first","last","none",p,c]}],"grid-cols":[{"grid-cols":Ma()}],"col-start-end":[{col:Da()}],"col-start":[{"col-start":ke()}],"col-end":[{"col-end":ke()}],"grid-rows":[{"grid-rows":Ma()}],"row-start-end":[{row:Da()}],"row-start":[{"row-start":ke()}],"row-end":[{"row-end":ke()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Ba()}],"auto-rows":[{"auto-rows":Ba()}],gap:[{gap:h()}],"gap-x":[{"gap-x":h()}],"gap-y":[{"gap-y":h()}],"justify-content":[{justify:[...$e(),"normal"]}],"justify-items":[{"justify-items":[...te(),"normal"]}],"justify-self":[{"justify-self":["auto",...te()]}],"align-content":[{content:["normal",...$e()]}],"align-items":[{items:[...te(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...te(),{baseline:["","last"]}]}],"place-content":[{"place-content":$e()}],"place-items":[{"place-items":[...te(),"baseline"]}],"place-self":[{"place-self":["auto",...te()]}],p:[{p:h()}],px:[{px:h()}],py:[{py:h()}],ps:[{ps:h()}],pe:[{pe:h()}],pt:[{pt:h()}],pr:[{pr:h()}],pb:[{pb:h()}],pl:[{pl:h()}],m:[{m:E()}],mx:[{mx:E()}],my:[{my:E()}],ms:[{ms:E()}],me:[{me:E()}],mt:[{mt:E()}],mr:[{mr:E()}],mb:[{mb:E()}],ml:[{ml:E()}],"space-x":[{"space-x":h()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":h()}],"space-y-reverse":["space-y-reverse"],size:[{size:Q()}],w:[{w:[f,"screen",...Q()]}],"min-w":[{"min-w":[f,"screen","none",...Q()]}],"max-w":[{"max-w":[f,"screen","none","prose",{screen:[i]},...Q()]}],h:[{h:["screen",...Q()]}],"min-h":[{"min-h":["screen","none",...Q()]}],"max-h":[{"max-h":["screen",...Q()]}],"font-size":[{text:["base",o,pe,J]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[t,p,aa]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ea,c]}],"font-family":[{font:[po,c,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,p,c]}],"line-clamp":[{"line-clamp":[b,"none",p,aa]}],leading:[{leading:[l,...h()]}],"list-image":[{"list-image":["none",p,c]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",p,c]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:x()}],"text-color":[{text:x()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...we(),"wavy"]}],"text-decoration-thickness":[{decoration:[b,"from-font","auto",p,J]}],"text-decoration-color":[{decoration:x()}],"underline-offset":[{"underline-offset":[b,"auto",p,c]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:h()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",p,c]}],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",p,c]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Ta()}],"bg-repeat":[{bg:Fa()}],"bg-size":[{bg:qa()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},X,p,c],radial:["",p,c],conic:[X,p,c]},go,co]}],"bg-color":[{bg:x()}],"gradient-from-pos":[{from:je()}],"gradient-via-pos":[{via:je()}],"gradient-to-pos":[{to:je()}],"gradient-from":[{from:x()}],"gradient-via":[{via:x()}],"gradient-to":[{to:x()}],rounded:[{rounded:O()}],"rounded-s":[{"rounded-s":O()}],"rounded-e":[{"rounded-e":O()}],"rounded-t":[{"rounded-t":O()}],"rounded-r":[{"rounded-r":O()}],"rounded-b":[{"rounded-b":O()}],"rounded-l":[{"rounded-l":O()}],"rounded-ss":[{"rounded-ss":O()}],"rounded-se":[{"rounded-se":O()}],"rounded-ee":[{"rounded-ee":O()}],"rounded-es":[{"rounded-es":O()}],"rounded-tl":[{"rounded-tl":O()}],"rounded-tr":[{"rounded-tr":O()}],"rounded-br":[{"rounded-br":O()}],"rounded-bl":[{"rounded-bl":O()}],"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:[...we(),"hidden","none"]}],"divide-style":[{divide:[...we(),"hidden","none"]}],"border-color":[{border:x()}],"border-color-x":[{"border-x":x()}],"border-color-y":[{"border-y":x()}],"border-color-s":[{"border-s":x()}],"border-color-e":[{"border-e":x()}],"border-color-t":[{"border-t":x()}],"border-color-r":[{"border-r":x()}],"border-color-b":[{"border-b":x()}],"border-color-l":[{"border-l":x()}],"divide-color":[{divide:x()}],"outline-style":[{outline:[...we(),"none","hidden"]}],"outline-offset":[{"outline-offset":[b,p,c]}],"outline-w":[{outline:["",b,pe,J]}],"outline-color":[{outline:x()}],shadow:[{shadow:["","none",g,De,Me]}],"shadow-color":[{shadow:x()}],"inset-shadow":[{"inset-shadow":["none",S,De,Me]}],"inset-shadow-color":[{"inset-shadow":x()}],"ring-w":[{ring:H()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:x()}],"ring-offset-w":[{"ring-offset":[b,J]}],"ring-offset-color":[{"ring-offset":x()}],"inset-ring-w":[{"inset-ring":H()}],"inset-ring-color":[{"inset-ring":x()}],"text-shadow":[{"text-shadow":["none",k,De,Me]}],"text-shadow-color":[{"text-shadow":x()}],opacity:[{opacity:[b,p,c]}],"mix-blend":[{"mix-blend":[...Ua(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ua()}],"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":[b]}],"mask-image-linear-from-pos":[{"mask-linear-from":F()}],"mask-image-linear-to-pos":[{"mask-linear-to":F()}],"mask-image-linear-from-color":[{"mask-linear-from":x()}],"mask-image-linear-to-color":[{"mask-linear-to":x()}],"mask-image-t-from-pos":[{"mask-t-from":F()}],"mask-image-t-to-pos":[{"mask-t-to":F()}],"mask-image-t-from-color":[{"mask-t-from":x()}],"mask-image-t-to-color":[{"mask-t-to":x()}],"mask-image-r-from-pos":[{"mask-r-from":F()}],"mask-image-r-to-pos":[{"mask-r-to":F()}],"mask-image-r-from-color":[{"mask-r-from":x()}],"mask-image-r-to-color":[{"mask-r-to":x()}],"mask-image-b-from-pos":[{"mask-b-from":F()}],"mask-image-b-to-pos":[{"mask-b-to":F()}],"mask-image-b-from-color":[{"mask-b-from":x()}],"mask-image-b-to-color":[{"mask-b-to":x()}],"mask-image-l-from-pos":[{"mask-l-from":F()}],"mask-image-l-to-pos":[{"mask-l-to":F()}],"mask-image-l-from-color":[{"mask-l-from":x()}],"mask-image-l-to-color":[{"mask-l-to":x()}],"mask-image-x-from-pos":[{"mask-x-from":F()}],"mask-image-x-to-pos":[{"mask-x-to":F()}],"mask-image-x-from-color":[{"mask-x-from":x()}],"mask-image-x-to-color":[{"mask-x-to":x()}],"mask-image-y-from-pos":[{"mask-y-from":F()}],"mask-image-y-to-pos":[{"mask-y-to":F()}],"mask-image-y-from-color":[{"mask-y-from":x()}],"mask-image-y-to-color":[{"mask-y-to":x()}],"mask-image-radial":[{"mask-radial":[p,c]}],"mask-image-radial-from-pos":[{"mask-radial-from":F()}],"mask-image-radial-to-pos":[{"mask-radial-to":F()}],"mask-image-radial-from-color":[{"mask-radial-from":x()}],"mask-image-radial-to-color":[{"mask-radial-to":x()}],"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":[b]}],"mask-image-conic-from-pos":[{"mask-conic-from":F()}],"mask-image-conic-to-pos":[{"mask-conic-to":F()}],"mask-image-conic-from-color":[{"mask-conic-from":x()}],"mask-image-conic-to-color":[{"mask-conic-to":x()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Ta()}],"mask-repeat":[{mask:Fa()}],"mask-size":[{mask:qa()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",p,c]}],filter:[{filter:["","none",p,c]}],blur:[{blur:Oa()}],brightness:[{brightness:[b,p,c]}],contrast:[{contrast:[b,p,c]}],"drop-shadow":[{"drop-shadow":["","none",B,De,Me]}],"drop-shadow-color":[{"drop-shadow":x()}],grayscale:[{grayscale:["",b,p,c]}],"hue-rotate":[{"hue-rotate":[b,p,c]}],invert:[{invert:["",b,p,c]}],saturate:[{saturate:[b,p,c]}],sepia:[{sepia:["",b,p,c]}],"backdrop-filter":[{"backdrop-filter":["","none",p,c]}],"backdrop-blur":[{"backdrop-blur":Oa()}],"backdrop-brightness":[{"backdrop-brightness":[b,p,c]}],"backdrop-contrast":[{"backdrop-contrast":[b,p,c]}],"backdrop-grayscale":[{"backdrop-grayscale":["",b,p,c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b,p,c]}],"backdrop-invert":[{"backdrop-invert":["",b,p,c]}],"backdrop-opacity":[{"backdrop-opacity":[b,p,c]}],"backdrop-saturate":[{"backdrop-saturate":[b,p,c]}],"backdrop-sepia":[{"backdrop-sepia":["",b,p,c]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":h()}],"border-spacing-x":[{"border-spacing-x":h()}],"border-spacing-y":[{"border-spacing-y":h()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",p,c]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[b,"initial",p,c]}],ease:[{ease:["linear","initial",w,p,c]}],delay:[{delay:[b,p,c]}],animate:[{animate:["none",M,p,c]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[v,p,c]}],"perspective-origin":[{"perspective-origin":ae()}],rotate:[{rotate:ye()}],"rotate-x":[{"rotate-x":ye()}],"rotate-y":[{"rotate-y":ye()}],"rotate-z":[{"rotate-z":ye()}],scale:[{scale:Pe()}],"scale-x":[{"scale-x":Pe()}],"scale-y":[{"scale-y":Pe()}],"scale-z":[{"scale-z":Pe()}],"scale-3d":["scale-3d"],skew:[{skew:Ye()}],"skew-x":[{"skew-x":Ye()}],"skew-y":[{"skew-y":Ye()}],transform:[{transform:[p,c,"","none","gpu","cpu"]}],"transform-origin":[{origin:ae()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Ae()}],"translate-x":[{"translate-x":Ae()}],"translate-y":[{"translate-y":Ae()}],"translate-z":[{"translate-z":Ae()}],"translate-none":["translate-none"],accent:[{accent:x()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:x()}],"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",p,c]}],"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":h()}],"scroll-mx":[{"scroll-mx":h()}],"scroll-my":[{"scroll-my":h()}],"scroll-ms":[{"scroll-ms":h()}],"scroll-me":[{"scroll-me":h()}],"scroll-mt":[{"scroll-mt":h()}],"scroll-mr":[{"scroll-mr":h()}],"scroll-mb":[{"scroll-mb":h()}],"scroll-ml":[{"scroll-ml":h()}],"scroll-p":[{"scroll-p":h()}],"scroll-px":[{"scroll-px":h()}],"scroll-py":[{"scroll-py":h()}],"scroll-ps":[{"scroll-ps":h()}],"scroll-pe":[{"scroll-pe":h()}],"scroll-pt":[{"scroll-pt":h()}],"scroll-pr":[{"scroll-pr":h()}],"scroll-pb":[{"scroll-pb":h()}],"scroll-pl":[{"scroll-pl":h()}],"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",p,c]}],fill:[{fill:["none",...x()]}],"stroke-w":[{stroke:[b,pe,J,aa]}],stroke:[{stroke:["none",...x()]}],"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"]}},ho=(e,{cacheSize:a,prefix:o,experimentalParseClassName:t,extend:r={},override:l={}})=>(me(e,"cacheSize",a),me(e,"prefix",o),me(e,"experimentalParseClassName",t),Be(e.theme,l.theme),Be(e.classGroups,l.classGroups),Be(e.conflictingClassGroups,l.conflictingClassGroups),Be(e.conflictingClassGroupModifiers,l.conflictingClassGroupModifiers),me(e,"orderSensitiveModifiers",l.orderSensitiveModifiers),Te(e.theme,r.theme),Te(e.classGroups,r.classGroups),Te(e.conflictingClassGroups,r.conflictingClassGroups),Te(e.conflictingClassGroupModifiers,r.conflictingClassGroupModifiers),ot(e,r,"orderSensitiveModifiers"),e),me=(e,a,o)=>{o!==void 0&&(e[a]=o);},Be=(e,a)=>{if(a)for(let o in a)me(e,o,a[o]);},Te=(e,a)=>{if(a)for(let o in a)ot(e,a,o);},ot=(e,a,o)=>{let t=a[o];t!==void 0&&(e[o]=e[o]?e[o].concat(t):t);},rt=(e,...a)=>typeof e=="function"?Ea(Xa,e,...a):Ea(()=>ho(Xa(),e),...a);var Co=rt({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 Co(clsx.clsx(e))}var da=D__namespace.createContext(null),vo=classVarianceAuthority.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 So(l){var i=l,{className:e,variant:a="regular",onClose:o,children:t}=i,r=s(i,["className","variant","onClose","children"]);let f=D__namespace.Children.toArray(t).some(m=>D__namespace.isValidElement(m)&&m.type===st),n=D__namespace.Children.toArray(t).some(m=>D__namespace.isValidElement(m)&&m.type===dt);return jsxRuntime.jsx(da.Provider,{value:{variant:a,hasDescription:f,hasTitle:n,onClose:o},children:jsxRuntime.jsxs("div",L(d({"data-slot":"alert",role:"alert",className:u(vo({variant:a}),e)},r),{children:[t,o&&jsxRuntime.jsx(icons.CloseMd,{"aria-label":"alert-close",onClick:o,className:"absolute right-4 top-2 !size-4 cursor-pointer !text-gray-foreground"})]}))})}function ko(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx("div",d({"data-slot":"alert-container",className:u("flex gap-3",e)},a))}function wo(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx("div",d({"data-slot":"alert-content",className:u("flex flex-col gap-1",e)},a))}function yo(t){var r=t,{className:e,icon:a}=r,o=s(r,["className","icon"]);return jsxRuntime.jsx("div",L(d({"data-slot":"alert-icon",className:u("size-6",e)},o),{children:a}))}function dt(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx("div",d({"data-slot":"alert-title",className:u("line-clamp-1 min-h-4 text-base font-medium",e)},a))}function st(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.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 Po(o){var t=o,{className:e}=t,a=s(t,["className"]);let r=D__namespace.useContext(da),l=(r==null?void 0:r.hasDescription)||false,i=(r==null?void 0:r.hasTitle)||false,f=r==null?void 0:r.onClose;return jsxRuntime.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||!i)&&f&&"lg:right-5",e)},a))}var Ao=classVarianceAuthority.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 Ro(t){var r=t,{className:e,variant:a}=r,o=s(r,["className","variant"]);let l=D__namespace.useContext(da),i=(l==null?void 0:l.variant)||"regular";return jsxRuntime.jsx("button",d({className:u(Ao({variant:a,alertVariant:i}),e)},o))}function sa({size:e=24,className:a}){return jsxRuntime.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:jsxRuntime.jsx("path",{d:"M21 12a9 9 0 1 1-6.219-8.56"})})}var To={sm:"size-4 p-0",md:"size-5 p-0",lg:"size-6 p-0",xl:"size-7 p-0"},Fo={sm:"px-1",md:"px-1",lg:"px-1",xl:"px-1.5"},nt=classVarianceAuthority.cva("inline-flex items-center justify-center rounded-pill border font-semibold w-fit whitespace-nowrap shrink-0 gap-1 [&>svg]:pointer-events-none overflow-hidden border-transparent px-2 ring-1 ring-background",{variants:{variant:{regular:"bg-secondary-background-fill text-secondary-foreground-onfill",freemium:"[background:radial-gradient(135.09%_111.8%_at_0%_50%,rgba(24,98,188,0.02)_0%,rgba(0,32,91,0)_100%),linear-gradient(46deg,rgba(62,218,199,0.56)_6.54%,rgba(24,98,188,0.17)_85.21%),var(--color-primary)] text-secondary-foreground-onfill"},size:{sm:"min-w-4 text-xxs [&>svg]:size-2.5",md:"min-w-5 text-xs [&>svg]:size-3",lg:"min-w-6 text-xs [&>svg]:size-3.5",xl:"min-w-7 text-sm [&>svg]:size-4"}},defaultVariants:{variant:"regular",size:"md"}});function $(i){var f=i,{className:e,variant:a,size:o,icon:t,asChild:r=false}=f,l=s(f,["className","variant","size","icon","asChild"]);let n=r?radixUi.Slot.Slot:"span",m=D__namespace.Children.count(l.children)>0,g=!!t&&!m,S=typeof l.children=="string"||typeof l.children=="number"?String(l.children).trim():"",k=/^[A-Za-z0-9]$/.test(S),B=/^[A-Za-z0-9]{2,3}$/.test(S),C=/^\d{1,2}\S$/.test(S),v=B||C;return jsxRuntime.jsxs(n,L(d({"data-slot":"badge",className:u(nt({variant:a,size:o}),(g||k)&&To[o||"md"],!g&&v&&Fo[o||"md"],e)},l),{children:[t,l.children]}))}var Ho={sm:"!h-8 !min-h-8 !w-8 !px-3 !py-2",md:"!h-10 !min-h-10 !w-10 !px-[14px] !py-[10px]",lg:"!h-12 !min-h-12 !w-12 !p-3",xl:"!h-14 !min-h-14 !w-14 !p-3"},ft={sm:"size-2",md:"size-2.5",lg:"size-2.5",xl:"size-3"},zo={sm:"sm",md:"md",lg:"md",xl:"lg"},ge=classVarianceAuthority.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 min-w-8 px-3 py-1 has-[>svg]:px-3 [&_svg:not([class*='size-'])]:size-[13px] text-xs",md:"min-h-10 min-w-10 px-3.5 py-2 has-[>svg]:px-3.5 [&_svg:not([class*='size-'])]:size-4 text-sm",lg:"min-h-12 min-w-12 px-4 py-3 has-[>svg]:px-4 [&_svg:not([class*='size-'])]:size-6 text-base",xl:"min-h-14 min-w-14 px-[18px] py-3.5 has-[>svg]:px-[18px] [&_svg:not([class*='size-'])]:size-7 text-lg"}},defaultVariants:{variant:"regular",size:"md"}});function xe(S){var k=S,{className:e,containerClassName:a,variant:o,size:t,asChild:r=false,iconRight:l,iconLeft:i,badge:f,loading:n=false,alert:m}=k,g=s(k,["className","containerClassName","variant","size","asChild","iconRight","iconLeft","badge","loading","alert"]);let B=r?radixUi.Slot.Slot:"button",C=A=>A!=null&&A!==0&&A!==""&&A!=="0",v=A=>A,P=!g.children&&(i||l||m),w=()=>m?jsxRuntime.jsxs("span",{className:u("relative mr-1 flex size-2.5",ft[t||"md"]),children:[jsxRuntime.jsx("span",{className:"absolute inline-flex h-full w-full animate-ping rounded-full opacity-75",style:{backgroundColor:m}}),jsxRuntime.jsx("span",{className:u("relative inline-flex size-2.5 rounded-full",ft[t||"md"]),style:{backgroundColor:m}})]}):null,M=()=>n?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(sa,{className:"[grid-area:stack]"}),jsxRuntime.jsx("span",{className:u("[grid-area:stack]",n&&"invisible"),children:g.children})]}):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[m?w():i&&v(i),g.children&&jsxRuntime.jsx("span",{children:g.children}),l&&v(l)]});return jsxRuntime.jsxs("div",{className:u("relative",a),children:[C(f)&&jsxRuntime.jsx($,{size:zo[t||"md"],variant:"regular",className:u("absolute -right-2 -top-1 z-10"),role:"status","aria-label":`${f}-notifications`,children:String(f)}),jsxRuntime.jsx(B,L(d({disabled:n,"aria-busy":n,"aria-live":n?"polite":void 0,"data-slot":"button",className:u(P&&Ho[t||"md"],n&&"!inline-grid",ge({variant:o,size:t,className:e}))},g),{children:M()}))]})}function Vo(a){var e=s(a,[]);return jsxRuntime.jsx(q__namespace.Root,d({"data-slot":"alert-dialog"},e))}function Go(a){var e=s(a,[]);return jsxRuntime.jsx(q__namespace.Trigger,d({"data-slot":"alert-dialog-trigger"},e))}function pt(a){var e=s(a,[]);return jsxRuntime.jsx(q__namespace.Portal,d({"data-slot":"alert-dialog-portal"},e))}function mt(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx(q__namespace.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 No(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsxs(pt,{children:[jsxRuntime.jsx(mt,{}),jsxRuntime.jsx(q__namespace.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 Eo(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx("div",d({"data-slot":"alert-dialog-header",className:u("flex flex-col gap-2 text-center sm:text-left",e)},a))}function _o(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.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 Wo(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx(q__namespace.Title,d({"data-slot":"alert-dialog-title",className:u("text-lg font-semibold",e)},a))}function Xo(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx(q__namespace.Description,d({"data-slot":"alert-dialog-description",className:u("text-sm text-foreground",e)},a))}function Ko(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx(q__namespace.Action,d({className:u(ge(),e)},a))}function Zo(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx(q__namespace.Cancel,d({className:u(ge({variant:"outlined"}),e)},a))}var jo={sm:"sm",md:"md",lg:"md",xl:"lg"},Yo=classVarianceAuthority.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 er(l){var i=l,{className:e,size:a,badge:o,children:t}=i,r=s(i,["className","size","badge","children"]);return jsxRuntime.jsxs("div",{className:"relative",children:[o&&jsxRuntime.jsx($,{size:jo[a||"md"],className:u("absolute -right-2 -top-1 z-10"),children:String(o)}),jsxRuntime.jsx(radixUi.Avatar.Root,L(d({"data-slot":"avatar",className:u(Yo({size:a,className:e}))},r),{children:t}))]})}function ar(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx(radixUi.Avatar.Image,d({"data-slot":"avatar-image",className:u("size-full object-cover",e)},a))}function tr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx(radixUi.Avatar.Fallback,L(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:jsxRuntime.jsx(icons.User,{className:"size-1/2"})}))}var gt=D__namespace.createContext({animation:void 0});function rr(o){var t=o,{animation:e}=t,a=s(t,["animation"]);return jsxRuntime.jsx(gt.Provider,{value:{animation:e},children:jsxRuntime.jsx(radixUi.Collapsible.Root,d({"data-slot":"collapsible"},a))})}function lr(a){var e=s(a,[]);return jsxRuntime.jsx(radixUi.Collapsible.Trigger,d({"data-slot":"collapsible-trigger"},e))}function dr(o){var t=o,{className:e}=t,a=s(t,["className"]);let{animation:r}=D__namespace.useContext(gt),l={accordion:"overflow-hidden data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down",fade:"data-[state=closed]:animate-fade-out data-[state=open]:animate-fade-in"};return jsxRuntime.jsx(radixUi.Collapsible.Content,d({"data-slot":"collapsible-content",className:u(r&&l[r],e)},a))}var na=768;function he(){let[e,a]=D__namespace.useState(void 0);return D__namespace.useEffect(()=>{let o=window.matchMedia(`(max-width: ${na-1}px)`),t=()=>{a(window.innerWidth<na);};return o.addEventListener("change",t),a(window.innerWidth<na),()=>o.removeEventListener("change",t)},[]),!!e}function fa(a){var e=s(a,[]);return jsxRuntime.jsx(radixUi.DropdownMenu.Root,d({"data-slot":"dropdown-menu"},e))}function ur(a){var e=s(a,[]);return jsxRuntime.jsx(radixUi.DropdownMenu.Portal,d({"data-slot":"dropdown-menu-portal"},e))}function ca(a){var e=s(a,[]);return jsxRuntime.jsx(radixUi.DropdownMenu.Trigger,d({className:u("cursor-pointer",e.className),"data-slot":"dropdown-menu-trigger"},e))}function pa(r){var l=r,{className:e,sideOffset:a=4,side:o}=l,t=s(l,["className","sideOffset","side"]);let i=he();return jsxRuntime.jsx(radixUi.DropdownMenu.Portal,{children:jsxRuntime.jsx(radixUi.DropdownMenu.Content,d({"data-slot":"dropdown-menu-content",sideOffset:a,side:i?"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 ir(a){var e=s(a,[]);return jsxRuntime.jsx(radixUi.DropdownMenu.Group,d({"data-slot":"dropdown-menu-group"},e))}function He(r){var l=r,{className:e,inset:a,variant:o="default"}=l,t=s(l,["className","inset","variant"]);return jsxRuntime.jsx(radixUi.DropdownMenu.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 nr(r){var l=r,{className:e,children:a,checked:o}=l,t=s(l,["className","children","checked"]);return jsxRuntime.jsxs(radixUi.DropdownMenu.CheckboxItem,L(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:[jsxRuntime.jsx("span",{className:"flex min-w-0 flex-1 gap-2 break-words",children:a}),jsxRuntime.jsx("span",{className:"pointer-events-none absolute right-2 flex size-3.5 items-center justify-center",children:jsxRuntime.jsx(radixUi.DropdownMenu.ItemIndicator,{children:jsxRuntime.jsx(icons.Check,{className:"size-4"})})})]}))}function ze(a){var e=s(a,[]);return jsxRuntime.jsx(radixUi.DropdownMenu.RadioGroup,d({"data-slot":"dropdown-menu-radio-group"},e))}function ma(t){var r=t,{className:e,children:a}=r,o=s(r,["className","children"]);return jsxRuntime.jsxs(radixUi.DropdownMenu.RadioItem,L(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:[jsxRuntime.jsx("span",{className:"flex min-w-0 flex-1 gap-2 break-words",children:a}),jsxRuntime.jsx("span",{className:"pointer-events-none absolute right-2 flex size-3.5 items-center justify-center",children:jsxRuntime.jsx(radixUi.DropdownMenu.ItemIndicator,{children:jsxRuntime.jsx(icons.Check,{className:"size-4"})})})]}))}function ga(t){var r=t,{className:e,inset:a}=r,o=s(r,["className","inset"]);return jsxRuntime.jsx(radixUi.DropdownMenu.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 xa(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx(radixUi.DropdownMenu.Separator,d({"data-slot":"dropdown-menu-separator",className:u("-mx-3 my-2 h-px bg-border",e)},a))}function fr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx("span",d({"data-slot":"dropdown-menu-shortcut",className:u("ml-auto text-xs tracking-widest text-gray-foreground",e)},a))}function cr(a){var e=s(a,[]);return jsxRuntime.jsx(radixUi.DropdownMenu.Sub,d({"data-slot":"dropdown-menu-sub"},e))}function pr(r){var l=r,{className:e,inset:a,children:o}=l,t=s(l,["className","inset","children"]);return jsxRuntime.jsxs(radixUi.DropdownMenu.SubTrigger,L(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,jsxRuntime.jsx(icons.ChevronRight,{className:"ml-auto size-3"})]}))}function mr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx(radixUi.DropdownMenu.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))}function ha(t){var r=t,{className:e,type:a}=r,o=s(r,["className","type"]);return jsxRuntime.jsx("input",d({type:a,"data-slot":"input",className:u("placeholder:text-muted-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 selection:text-primary-foreground 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: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 xr({width:e=171,height:a=36,className:o,svgClassName:t}){return jsxRuntime.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:[jsxRuntime.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"}),jsxRuntime.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 Lr({width:e=60,height:a=67,className:o,svgClassName:t}){return jsxRuntime.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:jsxRuntime.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"})})}var Ia={tablet:"600px"};function ht(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx("nav",d({role:"navigation","aria-label":"pagination",className:u("flex w-full items-center justify-between",e)},a))}function It(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx("ul",d({className:u("flex flex-row items-center gap-2",e)},a))}function Ca(r){var l=r,{count:e,label:a="itens",className:o}=l,t=s(l,["count","label","className"]);return jsxRuntime.jsx("p",L(d({className:u("text-xs font-medium text-gray-foreground-muted",o)},t),{children:a==="itens"?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:["Mostrando"," ",jsxRuntime.jsx("span",{className:"font-semibold text-gray-foreground",children:e})," ",a]}):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("span",{className:"font-semibold text-gray-foreground",children:e})," ",a]})}))}function Ge(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx("li",d({className:u("",e)},a))}function Ct(m){var g=m,{className:e,isActive:a,iconLeft:o,iconRight:t,size:r="md",variant:l="regular",activeVariant:i,inactiveVariant:f}=g,n=s(g,["className","isActive","iconLeft","iconRight","size","variant","activeVariant","inactiveVariant"]);return jsxRuntime.jsx(xe,L(d({"aria-current":a?"page":void 0,variant:a&&i?i:!a&&f?f:a?l:`${l}-soft`,className:u("",e),size:r,iconLeft:o,iconRight:t},n),{children:n.children}))}function bt(r){var l=r,{className:e,size:a="md",variant:o="regular-basic"}=l,t=s(l,["className","size","variant"]);return jsxRuntime.jsx(xe,L(d({"aria-label":"Go to previous page",className:u("",e),iconLeft:jsxRuntime.jsx(icons.ChevronLeftDuo,{}),variant:o,size:a},t),{children:t.children||"Anterior"}))}function vt(r){var l=r,{className:e,size:a="md",variant:o="regular-basic"}=l,t=s(l,["className","size","variant"]);return jsxRuntime.jsx(xe,L(d({"aria-label":"Go to next page",className:u("",e),variant:o,iconRight:jsxRuntime.jsx(icons.ChevronRightDuo,{}),size:a},t),{children:t.children||"Pr\xF3ximo"}))}function St(t){var r=t,{className:e,size:a="md"}=r,o=s(r,["className","size"]);return jsxRuntime.jsx("span",L(d({"aria-hidden":true,className:u("flex items-center justify-center",{sm:"h-8 w-8",md:"h-9 w-9",lg:"h-10 w-10"}[a],e)},o),{children:jsxRuntime.jsx(icons.MoreHorizontal,{className:"h-4 w-4"})}))}function vr({currentPage:e,totalPages:a,maxVisibleItems:o,onPageChange:t,itemsPerPage:r,totalItems:l,className:i,responsive:f=true,size:n="md"}){let[m,g]=D__namespace.useState(()=>typeof window=="undefined"?false:window.innerWidth<=parseInt(Ia.tablet));D__namespace.useEffect(()=>{if(typeof window=="undefined"||!f)return;let C=parseInt(Ia.tablet),v=()=>{g(window.innerWidth<=C);};return window.addEventListener("resize",v),v(),()=>window.removeEventListener("resize",v)},[f]);let S=typeof o=="number"?o:f&&m?0:2,k=f&&m,B=()=>{let C=[],v=S;if(a<=v)for(let P=1;P<=a;P++)C.push(P);else {let P=Math.floor(v/2);if(e<=P+1){for(let w=1;w<=v+1;w++)C.push(w);C.push(-1,a);}else if(e>=a-P){C.push(1,-1);for(let w=a-v;w<=a;w++)C.push(w);}else {C.push(1,-1);for(let w=e-P;w<=e+P;w++)C.push(w);C.push(-1,a);}}return C};return jsxRuntime.jsxs(ht,{className:u("",i),children:[r!==void 0&&!k?jsxRuntime.jsx(Ca,{count:r,label:"itens"}):jsxRuntime.jsx("div",{}),jsxRuntime.jsxs(It,{children:[jsxRuntime.jsx(Ge,{children:jsxRuntime.jsx(bt,{onClick:()=>t(Math.max(1,e-1)),disabled:e===1,size:n})}),B().map((C,v)=>jsxRuntime.jsx(Ge,{children:C===-1?jsxRuntime.jsx(St,{size:n}):jsxRuntime.jsx(Ct,{onClick:()=>t(C),isActive:C===e,size:n,children:C})},v)),jsxRuntime.jsx(Ge,{children:jsxRuntime.jsx(vt,{onClick:()=>t(Math.min(a,e+1)),disabled:e===a,size:n})})]}),l!==void 0&&!k?jsxRuntime.jsx(Ca,{count:l,label:"total"}):jsxRuntime.jsx("div",{})]})}function ba(t){var r=t,{className:e,children:a}=r,o=s(r,["className","children"]);return jsxRuntime.jsxs(radixUi.ScrollArea.Root,L(d({"data-slot":"scroll-area",className:u("relative",e)},o),{children:[jsxRuntime.jsx(radixUi.ScrollArea.Viewport,{"data-slot":"scroll-area-viewport",className:"size-full rounded-[inherit]",children:a}),jsxRuntime.jsx(Ce,{}),jsxRuntime.jsx(Ce,{orientation:"horizontal"}),jsxRuntime.jsx(radixUi.ScrollArea.Corner,{})]}))}function Ce(t){var r=t,{className:e,orientation:a="vertical"}=r,o=s(r,["className","orientation"]);return jsxRuntime.jsx(radixUi.ScrollArea.ScrollAreaScrollbar,L(d({"data-slot":"scroll-area-scrollbar",orientation:a,className:u("flex touch-none select-none",a==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-px",a==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-px",e)},o),{children:jsxRuntime.jsx(radixUi.ScrollArea.ScrollAreaThumb,{"data-slot":"scroll-area-thumb",className:"relative flex-1 rounded-full bg-border"})}))}var kt=D__namespace.createContext(null);function wr(r){var l=r,{className:e,size:a="md",children:o}=l,t=s(l,["className","size","children"]);return jsxRuntime.jsx(kt.Provider,{value:{size:a},children:jsxRuntime.jsx(radixUi.Tabs.Root,L(d({"data-slot":"tabs",className:u("flex flex-col gap-2",e)},t),{children:o}))})}function yr(t){var r=t,{className:e,containerClassName:a}=r,o=s(r,["className","containerClassName"]);return jsxRuntime.jsxs(ba,{className:u("[&_[data-slot=scroll-area-scrollbar][data-orientation=horizontal]]:h-1",a),children:[jsxRuntime.jsx(radixUi.Tabs.List,d({"data-slot":"tabs-list",className:u("inline-flex w-fit items-center justify-center rounded-md bg-gray-background-soft p-0.5",e)},o)),jsxRuntime.jsx(Ce,{orientation:"horizontal"})]})}var Pr=classVarianceAuthority.cva("data-[state=active]:shadow-xs group inline-flex items-center justify-center gap-2.5 whitespace-nowrap rounded-[6px] font-medium text-gray-foreground outline-none transition-all data-[state=active]:bg-surface-card data-[state=active]:text-primary-foreground [&_svg]:shrink-0 [&_svg]:text-inherit disabled:text-gray-foreground-muted disabled:pointer-events-none",{variants:{size:{sm:"max-h-7 px-3 py-1.5 text-xs [&_svg]:size-4",md:"max-h-9 px-4 py-2 text-sm [&_svg]:size-5",lg:"max-h-11 px-4 py-2.5 text-base [&_svg]:size-6"}},defaultVariants:{size:"md"}});function Ar(l){var i=l,{className:e,icon:a,badge:o,children:t}=i,r=s(i,["className","icon","badge","children"]);var g;let f=S=>S!=null&&S!==0&&S!==""&&S!=="0"&&!r.disabled,n=D__namespace.useContext(kt),m=(g=n==null?void 0:n.size)!=null?g:"md";return jsxRuntime.jsxs(radixUi.Tabs.Trigger,L(d({"data-slot":"tabs-trigger",className:u(Pr({size:m,className:e}))},r),{children:[a,t&&jsxRuntime.jsxs("span",{className:"inline-grid [grid-template-areas:'stack']",children:[jsxRuntime.jsx("span",{"aria-hidden":"true",className:"invisible font-semibold [grid-area:stack]",children:t}),jsxRuntime.jsx("span",{className:"font-medium [grid-area:stack] group-data-[state=active]:font-semibold",children:t})]}),f(o)&&jsxRuntime.jsx($,{size:m,variant:"regular",children:String(o)})]}))}function Rr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx(radixUi.Tabs.Content,d({"data-slot":"tabs-content",className:u("flex-1 outline-none",e)},a))}function Sa(r){var l=r,{className:e,orientation:a="horizontal",decorative:o=true}=l,t=s(l,["className","orientation","decorative"]);return jsxRuntime.jsx(radixUi.Separator.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 wt=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Br=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,o,t)=>t?t.toUpperCase():o.toLowerCase()),ka=e=>{let a=Br(e);return a.charAt(0).toUpperCase()+a.slice(1)},Xe=(...e)=>e.filter((a,o,t)=>!!a&&a.trim()!==""&&t.indexOf(a)===o).join(" ").trim(),yt=e=>{for(let a in e)if(a.startsWith("aria-")||a==="role"||a==="title")return true};var Pt={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 Rt=D.forwardRef((m,n)=>{var g=m,{color:e="currentColor",size:a=24,strokeWidth:o=2,absoluteStrokeWidth:t,className:r="",children:l,iconNode:i}=g,f=s(g,["color","size","strokeWidth","absoluteStrokeWidth","className","children","iconNode"]);return D.createElement("svg",d(d(L(d({ref:n},Pt),{width:a,height:a,stroke:e,strokeWidth:t?Number(o)*24/Number(a):o,className:Xe("lucide",r)}),!l&&!yt(f)&&{"aria-hidden":"true"}),f),[...i.map(([S,k])=>D.createElement(S,k)),...Array.isArray(l)?l:[l]])});var Mt=(e,a)=>{let o=D.forwardRef((i,l)=>{var f=i,{className:t}=f,r=s(f,["className"]);return D.createElement(Rt,d({ref:l,iconNode:a,className:Xe(`lucide-${wt(ka(e))}`,`lucide-${e}`,t)},r))});return o.displayName=ka(e),o};var Ur=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],be=Mt("x",Ur);function ya(a){var e=s(a,[]);return jsxRuntime.jsx(radixUi.Dialog.Root,d({"data-slot":"sheet"},e))}function Or(a){var e=s(a,[]);return jsxRuntime.jsx(radixUi.Dialog.Portal,d({"data-slot":"sheet-portal"},e))}function Hr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx(radixUi.Dialog.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 Dt(r){var l=r,{className:e,children:a,side:o="right"}=l,t=s(l,["className","children","side"]);return jsxRuntime.jsxs(Or,{children:[jsxRuntime.jsx(Hr,{}),jsxRuntime.jsxs(radixUi.Dialog.Content,L(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,jsxRuntime.jsxs(radixUi.Dialog.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:[jsxRuntime.jsx(be,{className:"size-4"}),jsxRuntime.jsx("span",{className:"sr-only",children:"Close"})]})]}))]})}function Ke(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx("div",d({"data-slot":"skeleton",className:u("animate-pulse rounded-md bg-gray-150",e)},a))}function Pa(o){var t=o,{delayDuration:e=0}=t,a=s(t,["delayDuration"]);return jsxRuntime.jsx(radixUi.Tooltip.Provider,d({"data-slot":"tooltip-provider",delayDuration:e},a))}function Ze(a){var e=s(a,[]);return jsxRuntime.jsx(Pa,{children:jsxRuntime.jsx(radixUi.Tooltip.Root,d({"data-slot":"tooltip"},e))})}function Aa(a){var e=s(a,[]);return jsxRuntime.jsx(radixUi.Tooltip.Trigger,d({"data-slot":"tooltip-trigger"},e))}function Ra(r){var l=r,{className:e,sideOffset:a=0,children:o}=l,t=s(l,["className","sideOffset","children"]);return jsxRuntime.jsx(radixUi.Tooltip.Portal,{children:jsxRuntime.jsxs(radixUi.Tooltip.Content,L(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,jsxRuntime.jsx(radixUi.Tooltip.Arrow,{className:"z-50 size-3 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px] bg-surface-elevated fill-surface-elevated"})]}))})}var _r="sidebar_state",Wr=60*60*24*7,Xr="b",Tt=D__namespace.createContext(null);function ne(){let e=D__namespace.useContext(Tt);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}function Kr(i){var f=i,{defaultOpen:e=true,open:a,onOpenChange:o,className:t,children:r}=f,l=s(f,["defaultOpen","open","onOpenChange","className","children"]);let n=he(),[m,g]=D__namespace.useState(false),[S,k]=D__namespace.useState(e),B=a!=null?a:S,C=D__namespace.useCallback(M=>{let A=typeof M=="function"?M(B):M;o?o(A):k(A),document.cookie=`${_r}=${A}; path=/; max-age=${Wr}`;},[o,B]),v=D__namespace.useCallback(()=>n?g(M=>!M):C(M=>!M),[n,C,g]);D__namespace.useEffect(()=>{let M=A=>{A.key===Xr&&(A.metaKey||A.ctrlKey)&&(A.preventDefault(),v());};return window.addEventListener("keydown",M),()=>window.removeEventListener("keydown",M)},[v]);let P=B?"expanded":"collapsed",w=D__namespace.useMemo(()=>({state:P,open:B,setOpen:C,isMobile:n,openMobile:m,setOpenMobile:g,toggleSidebar:v}),[P,B,C,n,m,g,v]);return jsxRuntime.jsx(Tt.Provider,{value:w,children:jsxRuntime.jsx(Pa,{delayDuration:0,children:jsxRuntime.jsx("div",L(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 Zr(f){var n=f,{side:e="left",variant:a="sidebar",collapsible:o="offcanvas",className:t,containerClassName:r,children:l}=n,i=s(n,["side","variant","collapsible","className","containerClassName","children"]);let{isMobile:m,state:g,openMobile:S,setOpenMobile:k}=ne();return o==="none"?jsxRuntime.jsx("div",L(d({"data-slot":"sidebar",className:u("flex h-full w-[var(--sidebar-width)] flex-col bg-surface-navigation text-gray-foreground",t)},i),{children:l})):m?jsxRuntime.jsx(ya,L(d({open:S,onOpenChange:k},i),{children:jsxRuntime.jsx(Dt,{"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:jsxRuntime.jsx("div",{className:"flex h-full w-full flex-col",children:l})})})):jsxRuntime.jsxs("div",{className:u("group peer hidden text-gray-foreground md:block",t),"data-state":g,"data-collapsible":g==="collapsed"?o:"","data-variant":a,"data-side":e,"data-slot":"sidebar",children:[jsxRuntime.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)]")}),jsxRuntime.jsx("div",L(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)},i),{children:jsxRuntime.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 Qr(n){var m=n,{className:e,onClick:a,sizeIcon:o="size-5",icon:t=jsxRuntime.jsx(icons.HamburgerMd,{className:o}),showTooltip:r=false,tooltipContent:l,enableHover:i=false}=m,f=s(m,["className","onClick","sizeIcon","icon","showTooltip","tooltipContent","enableHover"]);let{toggleSidebar:g,open:S,isMobile:k}=ne(),[B,C]=D__namespace.useState(false),P=l||{open:"Esconder",closed:"Mostrar"},w=()=>i&&B?S?jsxRuntime.jsx(icons.ChevronLeftMd,{className:o}):jsxRuntime.jsx(icons.ChevronRightMd,{className:o}):t,M=jsxRuntime.jsxs("button",L(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:A=>{a==null||a(A),g();},onMouseEnter:!k&&i?()=>C(true):void 0,onMouseLeave:!k&&i?()=>C(false):void 0},f),{children:[w(),jsxRuntime.jsx("span",{className:"sr-only",children:"Toggle Sidebar"})]}));return !r||k?M:jsxRuntime.jsxs(Ze,{children:[jsxRuntime.jsx(Aa,{asChild:true,children:M}),jsxRuntime.jsx(Ra,{side:"right",align:"center",children:S?P.open:P.closed})]})}function Jr(o){var t=o,{className:e}=t,a=s(t,["className"]);let{toggleSidebar:r}=ne();return jsxRuntime.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 $r(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.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 jr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx(ha,d({"data-slot":"sidebar-input","data-sidebar":"input",className:u("bg-bg-surface-navigation h-8 w-full shadow-none",e)},a))}function Yr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.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 el(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.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 al(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx(Sa,d({"data-slot":"sidebar-separator","data-sidebar":"separator",className:u("mx-2 w-auto bg-border",e)},a))}function tl(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.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 ol(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.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 rl(t){var r=t,{className:e,asChild:a=false}=r,o=s(r,["className","asChild"]);let l=a?radixUi.Slot.Slot:"div";return jsxRuntime.jsx(l,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 ll(t){var r=t,{className:e,asChild:a=false}=r,o=s(r,["className","asChild"]);let l=a?radixUi.Slot.Slot:"button";return jsxRuntime.jsx(l,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 dl(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx("div",d({"data-slot":"sidebar-group-content","data-sidebar":"group-content",className:u("w-full text-sm",e)},a))}function sl(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.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 ul(r){var l=r,{className:e,isActive:a,children:o}=l,t=s(l,["className","isActive","children"]);return jsxRuntime.jsxs("li",L(d({"data-slot":"sidebar-menu-item","data-sidebar":"menu-item",className:u("group/menu-item relative hover:cursor-pointer",e)},t),{children:[a&&jsxRuntime.jsx("span",{className:"absolute -left-4 top-0 h-full w-0.5 bg-secondary-stroke-emphasis","aria-hidden":"true"}),o]}))}var il=classVarianceAuthority.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 nl(f){var n=f,{asChild:e=false,isActive:a=false,variant:o="default",size:t="md",tooltip:r,className:l}=n,i=s(n,["asChild","isActive","variant","size","tooltip","className"]);let m=e?radixUi.Slot.Slot:"button",{isMobile:g,state:S}=ne(),k=jsxRuntime.jsx(m,d({"data-slot":"sidebar-menu-button","data-sidebar":"menu-button","data-size":t,"data-active":a,className:u(il({variant:o,size:t}),l)},i));return r?(typeof r=="string"&&(r={children:r}),jsxRuntime.jsxs(Ze,{children:[jsxRuntime.jsx(Aa,{asChild:true,children:k}),jsxRuntime.jsx(Ra,d({side:"right",align:"center",hidden:S!=="collapsed"||g},r))]})):k}function fl(r){var l=r,{className:e,asChild:a=false,showOnHover:o=false}=l,t=s(l,["className","asChild","showOnHover"]);let i=a?radixUi.Slot.Slot:"button";return jsxRuntime.jsx(i,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 cl(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.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 pl(t){var r=t,{className:e,showIcon:a=false}=r,o=s(r,["className","showIcon"]);let l=D__namespace.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return jsxRuntime.jsxs("div",L(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&&jsxRuntime.jsx(Ke,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),jsxRuntime.jsx(Ke,{className:"max-w-(--skeleton-width) h-4 flex-1","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":l}})]}))}function ml(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.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 gl(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx("li",d({"data-slot":"sidebar-menu-sub-item","data-sidebar":"menu-sub-item",className:u("group/menu-sub-item relative",e)},a))}function xl({icon:e,title:a}){let{state:o,isMobile:t}=ne();return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[D__namespace.isValidElement(e)?D__namespace.cloneElement(e,{strokeWidth:1.8}):e,jsxRuntime.jsx("span",{className:u("whitespace-nowrap",o==="collapsed"&&"opacity-0",t&&"opacity-100"),children:a})]})}function Ll(){return jsxRuntime.jsx("div",{className:"ml-auto transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90",children:jsxRuntime.jsx(icons.ChevronRightMd,{size:20,strokeWidth:1.5})})}function hl(l){var i=l,{asChild:e=false,size:a="md",isActive:o=false,className:t}=i,r=s(i,["asChild","size","isActive","className"]);let f=e?radixUi.Slot.Slot:"a";return jsxRuntime.jsx(f,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 Ft=D__namespace.createContext({});function Cl({children:e,value:a,onValueChange:o,open:t,defaultOpen:r,onOpenChange:l}){let[i,f]=D__namespace.useState(a||""),n={value:a||i,onValueChange:o||f};return jsxRuntime.jsx(Ft.Provider,{value:n,children:jsxRuntime.jsx(fa,{open:t,defaultOpen:r,onOpenChange:l,children:e})})}function bl({children:e,asChild:a=true,className:o}){return jsxRuntime.jsx(ca,{className:o,asChild:a,children:e})}function vl({children:e,align:a="center",side:o="right",className:t}){return jsxRuntime.jsx(pa,{className:t,align:a,side:o,children:e})}function Sl({children:e,label:a}){let{value:o,onValueChange:t}=D__namespace.useContext(Ft);return a?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(ga,{children:a}),jsxRuntime.jsx(ze,{value:o,onValueChange:t,children:e})]}):jsxRuntime.jsx(ze,{value:o,onValueChange:t,children:e})}function kl({children:e,value:a,onClick:o,icon:t}){let r=()=>{o&&o();};return a?jsxRuntime.jsxs(ma,{value:a,onClick:r,children:[typeof t=="string"?jsxRuntime.jsx("img",{src:t,alt:"",width:20,height:14}):t,e]}):jsxRuntime.jsxs(He,{onClick:r,children:[typeof t=="string"?jsxRuntime.jsx("img",{src:t,alt:"",width:20,height:14}):t,e]})}function wl({children:e,onClick:a,icon:o}){return jsxRuntime.jsxs(He,{onClick:a,children:[o,e]})}function yl(){return jsxRuntime.jsx(xa,{})}var qt=classVarianceAuthority.cva("inline-flex items-center justify-center rounded-md px-2 py-1 text-xs font-semibold w-fit whitespace-nowrap shrink-0 gap-1.5 transition-colors overflow-hidden max-h-6",{variants:{variant:{regular:"bg-primary-background-fill text-primary-foreground-onfill fill-primary-foreground-onfill","regular-soft":"bg-primary-background-soft text-primary-foreground fill-primary-foreground","regular-basic":"bg-transparent text-primary-foreground fill-primary-foreground",emphasis:"bg-secondary-background-fill text-secondary-foreground-onfill fill-secondary-foreground-onfill","emphasis-soft":"bg-secondary-background-soft text-secondary-foreground fill-secondary-foreground","emphasis-basic":"bg-transparent text-secondary-foreground fill-secondary-foreground",gray:"bg-gray-background-fill text-gray-foreground-onfill fill-gray-foreground-onfill","gray-soft":"bg-gray-background-soft text-gray-foreground fill-gray-foreground","gray-basic":"bg-transparent text-gray-foreground fill-gray-foreground",success:"bg-green-background-fill text-green-foreground-onfill fill-green-foreground-onfill","success-soft":"bg-green-background-soft text-green-foreground fill-green-foreground","success-basic":"bg-transparent text-green-foreground fill-green-foreground",error:"bg-red-background-fill text-red-foreground-onfill fill-red-foreground-onfill","error-soft":"bg-red-background-soft text-red-foreground fill-red-foreground","error-basic":"bg-transparent text-red-foreground fill-red-foreground",warning:"bg-yellow-background-fill text-yellow-foreground-onfill fill-yellow-foreground-onfill","warning-soft":"bg-yellow-background-soft text-yellow-foreground fill-yellow-foreground","warning-basic":"bg-transparent text-yellow-foreground fill-yellow-foreground",cm:"bg-cm-background-fill text-cm-foreground-onfill fill-cm-foreground-onfill","cm-soft":"bg-cm-background-soft text-cm-foreground fill-cm-foreground","cm-basic":"bg-transparent text-cm-foreground fill-cm-foreground",go:"bg-go-background-fill text-go-foreground-onfill fill-go-foreground-onfill","go-soft":"bg-go-background-soft text-go-foreground fill-go-foreground","go-basic":"bg-transparent text-go-foreground fill-go-foreground",cir:"bg-cir-background-fill text-cir-foreground-onfill fill-cir-foreground-onfill","cir-soft":"bg-cir-background-soft text-cir-foreground fill-cir-foreground","cir-basic":"bg-transparent text-cir-foreground fill-cir-foreground",ped:"bg-ped-background-fill text-ped-foreground-onfill fill-ped-foreground-onfill","ped-soft":"bg-ped-background-soft text-ped-foreground fill-ped-foreground","ped-basic":"bg-transparent text-ped-foreground fill-ped-foreground",prev:"bg-prev-background-fill text-prev-foreground-onfill fill-prev-foreground-onfill","prev-soft":"bg-prev-background-soft text-prev-foreground fill-prev-foreground","prev-basic":"bg-transparent text-prev-foreground fill-prev-foreground"}},defaultVariants:{variant:"regular"}});function Ml(t){var r=t,{className:e,icon:a}=r,o=s(r,["className","icon"]);return jsxRuntime.jsx("div",L(d({"data-slot":"tag-icon",className:u("[&>svg]:size-3.5",e)},o),{children:a}))}function Dl(i){var f=i,{className:e,variant:a,asChild:o=false,icon:t,children:r}=f,l=s(f,["className","variant","asChild","icon","children"]);let n=o?radixUi.Slot.Slot:"span";return jsxRuntime.jsxs(n,L(d({"data-slot":"tag",className:u(qt({variant:a}),e)},l),{children:[t&&jsxRuntime.jsx(Ml,{icon:t}),r]}))}var Ul=classVarianceAuthority.cva("group/tile relative flex flex-col justify-center rounded-lg gap-0.5 px-5 py-4 cursor-default data-[disabled=true]:pointer-events-none",{variants:{variant:{regular:"bg-surface-settings-on text-primary-foreground fill-primary-foreground data-[disabled=false]:hover:[background:radial-gradient(51.96%_112.02%_at_50%_112.02%,_var(--color-surface-card)_0%,_var(--color-surface-settings-on)_100%)] data-[disabled=true]:bg-surface-disable data-[inactive=true]:bg-surface-settings-off data-[inactive=true]:hover:[background:radial-gradient(51.96%_112.02%_at_50%_112.02%,_var(--color-surface-card)_0%,_var(--color-surface-settings-off)_100%)]",cm:"bg-cm-background-fill text-cm-foreground-onfill fill-cm-foreground-onfill data-[disabled=false]:hover:[background:radial-gradient(63.78%_137.5%_at_50%_137.5%,_var(--color-cm-background-fill-emphasis)_0%,_var(--color-cm-background-fill)_100%)] data-[disabled=true]:opacity-70 data-[inactive=true]:[filter:brightness(.8)]",go:"bg-go-background-fill text-go-foreground-onfill fill-go-foreground-onfill data-[disabled=false]:hover:[background:radial-gradient(63.78%_137.5%_at_50%_137.5%,_var(--color-go-background-fill-emphasis)_0%,_var(--color-go-background-fill)_100%)] data-[disabled=true]:opacity-70 data-[inactive=true]:[filter:brightness(.8)]",cir:"bg-cir-background-fill text-cir-foreground-onfill fill-cir-foreground-onfill data-[disabled=false]:hover:[background:radial-gradient(63.78%_137.5%_at_50%_137.5%,_var(--color-cir-background-fill-emphasis)_0%,_var(--color-cir-background-fill)_100%)] data-[disabled=true]:opacity-70 data-[inactive=true]:[filter:brightness(.8)]",ped:"bg-ped-background-fill text-ped-foreground-onfill fill-ped-foreground-onfill data-[disabled=false]:hover:[background:radial-gradient(51.96%_112.02%_at_50%_112.02%,_var(--color-ped-background-fill-emphasis)_0%,_var(--color-ped-background-fill)_100%)] data-[disabled=true]:opacity-70 data-[inactive=true]:[filter:brightness(.8)]",prev:"bg-prev-background-fill text-prev-foreground-onfill fill-prev-foreground-onfill data-[disabled=false]:hover:[background:radial-gradient(63.78%_137.5%_at_50%_137.5%,_var(--color-prev-background-fill-emphasis)_0%,_var(--color-prev-background-fill)_100%)] data-[disabled=true]:opacity-70 data-[inactive=true]:[filter:brightness(.8)]"}},defaultVariants:{variant:"regular"}});function Ol(i){var f=i,{className:e,variant:a="regular",asChild:o=false,disabled:t=false,inactive:r=false}=f,l=s(f,["className","variant","asChild","disabled","inactive"]);let n=o?radixUi.Slot.Slot:"div";return jsxRuntime.jsxs(n,L(d({"data-slot":"tile","data-variant":a,"data-inactive":r,"data-disabled":t,"aria-disabled":t||r,className:u(Ul({variant:a,className:e}),l.onClick&&!t&&"cursor-pointer")},l),{children:[l.children,l.onClick&&!t&&jsxRuntime.jsx(icons.EditPencil,{className:"absolute right-5 top-4 size-5 opacity-0 transition-opacity group-hover/tile:opacity-100"})]}))}function Hl(t){var r=t,{className:e,icon:a}=r,o=s(r,["className","icon"]);return jsxRuntime.jsx("div",L(d({"data-slot":"tile-icon",className:u("mb-2.5 last:mb-0 [&>svg]:size-5",e)},o),{children:a}))}function zl(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx("div",d({"data-slot":"tile-title",className:u("line-clamp-1 flex w-fit text-xs font-medium",e)},a))}function Vl(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxRuntime.jsx("span",d({"data-slot":"tile-description",className:u("line-clamp-1 flex w-fit text-sm font-semibold",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
|
-
*/exports.Alert=So;exports.AlertActions=Po;exports.AlertButton=Ro;exports.AlertContainer=ko;exports.AlertContent=wo;exports.AlertDescription=st;exports.AlertDialog=
|
|
15
|
+
*/exports.Alert=So;exports.AlertActions=Po;exports.AlertButton=Ro;exports.AlertContainer=ko;exports.AlertContent=wo;exports.AlertDescription=st;exports.AlertDialog=Vo;exports.AlertDialogAction=Ko;exports.AlertDialogCancel=Zo;exports.AlertDialogContent=No;exports.AlertDialogDescription=Xo;exports.AlertDialogFooter=_o;exports.AlertDialogHeader=Eo;exports.AlertDialogOverlay=mt;exports.AlertDialogPortal=pt;exports.AlertDialogTitle=Wo;exports.AlertDialogTrigger=Go;exports.AlertIcon=yo;exports.AlertTitle=dt;exports.Avatar=er;exports.AvatarFallback=tr;exports.AvatarImage=ar;exports.Badge=$;exports.Button=xe;exports.Collapsible=rr;exports.CollapsibleContent=dr;exports.CollapsibleTrigger=lr;exports.DropdownMenu=fa;exports.DropdownMenuCheckboxItem=nr;exports.DropdownMenuContent=pa;exports.DropdownMenuGroup=ir;exports.DropdownMenuItem=He;exports.DropdownMenuLabel=ga;exports.DropdownMenuPortal=ur;exports.DropdownMenuRadioGroup=ze;exports.DropdownMenuRadioItem=ma;exports.DropdownMenuSeparator=xa;exports.DropdownMenuShortcut=fr;exports.DropdownMenuSub=cr;exports.DropdownMenuSubContent=mr;exports.DropdownMenuSubTrigger=pr;exports.DropdownMenuTrigger=ca;exports.Input=ha;exports.Loading=sa;exports.Logo=xr;exports.LogoShort=Lr;exports.Pagination=vr;exports.PaginationContent=It;exports.PaginationEllipsis=St;exports.PaginationInfo=Ca;exports.PaginationItem=Ge;exports.PaginationLink=Ct;exports.PaginationNext=vt;exports.PaginationPrevious=bt;exports.PaginationRoot=ht;exports.ScrollArea=ba;exports.ScrollBar=Ce;exports.SegmentControl=wr;exports.SegmentControlContent=Rr;exports.SegmentControlList=yr;exports.SegmentControlTrigger=Ar;exports.Separator=Sa;exports.Sheet=ya;exports.Sidebar=Zr;exports.SidebarContent=tl;exports.SidebarFooter=el;exports.SidebarGroup=ol;exports.SidebarGroupAction=ll;exports.SidebarGroupContent=dl;exports.SidebarGroupLabel=rl;exports.SidebarHeader=Yr;exports.SidebarInput=jr;exports.SidebarInset=$r;exports.SidebarMenu=sl;exports.SidebarMenuAction=fl;exports.SidebarMenuBadge=cl;exports.SidebarMenuButton=nl;exports.SidebarMenuItem=ul;exports.SidebarMenuItemCollapse=Ll;exports.SidebarMenuItemTitle=xl;exports.SidebarMenuSkeleton=pl;exports.SidebarMenuSub=ml;exports.SidebarMenuSubButton=hl;exports.SidebarMenuSubItem=gl;exports.SidebarProvider=Kr;exports.SidebarRail=Jr;exports.SidebarSeparator=al;exports.SidebarTrigger=Qr;exports.Skeleton=Ke;exports.Switcher=Cl;exports.SwitcherContent=vl;exports.SwitcherFooter=wl;exports.SwitcherGroup=Sl;exports.SwitcherItem=kl;exports.SwitcherSeparator=yl;exports.SwitcherTrigger=bl;exports.Tag=Dl;exports.Tile=Ol;exports.TileDescription=Vl;exports.TileIcon=Hl;exports.TileTitle=zl;exports.Tooltip=Ze;exports.badgeVariants=nt;exports.buttonVariants=ge;exports.tagVariants=qt;exports.useIsMobile=he;exports.useSidebar=ne;//# sourceMappingURL=index.js.map
|
|
16
16
|
//# sourceMappingURL=index.js.map
|