import{r as p,j as I,e as Ne,R as L,L as je}from"./index-gX9iSPDQ.js";function xe(e){var r,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(r=0;r<n;r++)e[r]&&(t=xe(e[r]))&&(o&&(o+=" "),o+=t)}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function ye(){for(var e,r,t=0,o="",n=arguments.length;t<n;t++)(e=arguments[t])&&(r=xe(e))&&(o&&(o+=" "),o+=r);return o}const ne="-",Oe=e=>{const r=Ge(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{const c=i.split(ne);return c[0]===""&&c.length!==1&&c.shift(),we(c,r)||Te(i)},getConflictingClassGroupIds:(i,c)=>{const d=t[i]||[];return c&&o[i]?[...d,...o[i]]:d}}},we=(e,r)=>{var i;if(e.length===0)return r.classGroupId;const t=e[0],o=r.nextPart.get(t),n=o?we(e.slice(1),o):void 0;if(n)return n;if(r.validators.length===0)return;const s=e.join(ne);return(i=r.validators.find(({validator:c})=>c(s)))==null?void 0:i.classGroupId},fe=/^\[(.+)\]$/,Te=e=>{if(fe.test(e)){const r=fe.exec(e)[1],t=r==null?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},Ge=e=>{const{theme:r,classGroups:t}=e,o={nextPart:new Map,validators:[]};for(const n in t)ee(t[n],o,n,r);return o},ee=(e,r,t,o)=>{e.forEach(n=>{if(typeof n=="string"){const s=n===""?r:pe(r,n);s.classGroupId=t;return}if(typeof n=="function"){if(Le(n)){ee(n(o),r,t,o);return}r.validators.push({validator:n,classGroupId:t});return}Object.entries(n).forEach(([s,i])=>{ee(i,pe(r,s),t,o)})})},pe=(e,r)=>{let t=e;return r.split(ne).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o)}),t},Le=e=>e.isThemeGetter,Ve=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map;const n=(s,i)=>{t.set(s,i),r++,r>e&&(r=0,o=t,t=new Map)};return{get(s){let i=t.get(s);if(i!==void 0)return i;if((i=o.get(s))!==void 0)return n(s,i),i},set(s,i){t.has(s)?t.set(s,i):n(s,i)}}},te="!",re=":",_e=re.length,$e=e=>{const{prefix:r,experimentalParseClassName:t}=e;let o=n=>{const s=[];let i=0,c=0,d=0,f;for(let g=0;g<n.length;g++){let v=n[g];if(i===0&&c===0){if(v===re){s.push(n.slice(d,g)),d=g+_e;continue}if(v==="/"){f=g;continue}}v==="["?i++:v==="]"?i--:v==="("?c++:v===")"&&c--}const m=s.length===0?n:n.substring(d),h=Be(m),y=h!==m,C=f&&f>d?f-d:void 0;return{modifiers:s,hasImportantModifier:y,baseClassName:h,maybePostfixModifierPosition:C}};if(r){const n=r+re,s=o;o=i=>i.startsWith(n)?s(i.substring(n.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:i,maybePostfixModifierPosition:void 0}}if(t){const n=o;o=s=>t({className:s,parseClassName:n})}return o},Be=e=>e.endsWith(te)?e.substring(0,e.length-1):e.startsWith(te)?e.substring(1):e,We=e=>{const r=Object.fromEntries(e.orderSensitiveModifiers.map(o=>[o,!0]));return o=>{if(o.length<=1)return o;const n=[];let s=[];return o.forEach(i=>{i[0]==="["||r[i]?(n.push(...s.sort(),i),s=[]):s.push(i)}),n.push(...s.sort()),n}},Fe=e=>({cache:Ve(e.cacheSize),parseClassName:$e(e),sortModifiers:We(e),...Oe(e)}),De=/\s+/,Ue=(e,r)=>{const{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:n,sortModifiers:s}=r,i=[],c=e.trim().split(De);let d="";for(let f=c.length-1;f>=0;f-=1){const m=c[f],{isExternal:h,modifiers:y,hasImportantModifier:C,baseClassName:g,maybePostfixModifierPosition:v}=t(m);if(h){d=m+(d.length>0?" "+d:d);continue}let w=!!v,k=o(w?g.substring(0,v):g);if(!k){if(!w){d=m+(d.length>0?" "+d:d);continue}if(k=o(g),!k){d=m+(d.length>0?" "+d:d);continue}w=!1}const z=s(y).join(":"),N=C?z+te:z,A=N+k;if(i.includes(A))continue;i.push(A);const j=n(k,w);for(let u=0;u<j.length;++u){const P=j[u];i.push(N+P)}d=m+(d.length>0?" "+d:d)}return d};function qe(){let e=0,r,t,o="";for(;e<arguments.length;)(r=arguments[e++])&&(t=Ce(r))&&(o&&(o+=" "),o+=t);return o}const Ce=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=Ce(e[o]))&&(t&&(t+=" "),t+=r);return t};function Ke(e,...r){let t,o,n,s=i;function i(d){const f=r.reduce((m,h)=>h(m),e());return t=Fe(f),o=t.cache.get,n=t.cache.set,s=c,c(d)}function c(d){const f=o(d);if(f)return f;const m=Ue(d,t);return n(d,m),m}return function(){return s(qe.apply(null,arguments))}}const S=e=>{const r=t=>t[e]||[];return r.isThemeGetter=!0,r},ke=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Se=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Ze=/^\d+\/\d+$/,Je=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Xe=/\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$/,Qe=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ye=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,He=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,$=e=>Ze.test(e),b=e=>!!e&&!Number.isNaN(Number(e)),O=e=>!!e&&Number.isInteger(Number(e)),be=e=>e.endsWith("%")&&b(e.slice(0,-1)),T=e=>Je.test(e),et=()=>!0,tt=e=>Xe.test(e)&&!Qe.test(e),se=()=>!1,rt=e=>Ye.test(e),ot=e=>He.test(e),nt=e=>!l(e)&&!a(e),st=e=>B(e,Me,se),l=e=>ke.test(e),V=e=>B(e,Ae,tt),H=e=>B(e,gt,b),it=e=>B(e,Re,se),lt=e=>B(e,ze,ot),at=e=>B(e,se,rt),a=e=>Se.test(e),F=e=>W(e,Ae),ct=e=>W(e,ht),dt=e=>W(e,Re),ut=e=>W(e,Me),ft=e=>W(e,ze),pt=e=>W(e,vt,!0),B=(e,r,t)=>{const o=ke.exec(e);return o?o[1]?r(o[1]):t(o[2]):!1},W=(e,r,t=!1)=>{const o=Se.exec(e);return o?o[1]?r(o[1]):t:!1},Re=e=>e==="position",bt=new Set(["image","url"]),ze=e=>bt.has(e),mt=new Set(["length","size","percentage"]),Me=e=>mt.has(e),Ae=e=>e==="length",gt=e=>e==="number",ht=e=>e==="family-name",vt=e=>e==="shadow",xt=()=>{const e=S("color"),r=S("font"),t=S("text"),o=S("font-weight"),n=S("tracking"),s=S("leading"),i=S("breakpoint"),c=S("container"),d=S("spacing"),f=S("radius"),m=S("shadow"),h=S("inset-shadow"),y=S("drop-shadow"),C=S("blur"),g=S("perspective"),v=S("aspect"),w=S("ease"),k=S("animate"),z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],A=()=>["auto","hidden","clip","visible","scroll"],j=()=>["auto","contain","none"],u=()=>[a,l,d],P=()=>[$,"full","auto",...u()],ie=()=>[O,"none","subgrid",a,l],le=()=>["auto",{span:["full",O,a,l]},O,a,l],U=()=>[O,"auto",a,l],ae=()=>["auto","min","max","fr",a,l],X=()=>["start","end","center","between","around","evenly","stretch","baseline"],_=()=>["start","end","center","stretch"],E=()=>["auto",...u()],G=()=>[$,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...u()],x=()=>[e,a,l],Q=()=>[be,F,V],R=()=>["","none","full",f,a,l],M=()=>["",b,F,V],q=()=>["solid","dashed","dotted","double"],ce=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],de=()=>["","none",C,a,l],ue=()=>["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",a,l],K=()=>["none",b,a,l],Z=()=>["none",b,a,l],Y=()=>[b,a,l],J=()=>[$,"full",...u()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[T],breakpoint:[T],color:[et],container:[T],"drop-shadow":[T],ease:["in","out","in-out"],font:[nt],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[T],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[T],shadow:[T],spacing:["px",b],text:[T],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",$,l,a,v]}],container:["container"],columns:[{columns:[b,l,a,c]}],"break-after":[{"break-after":z()}],"break-before":[{"break-before":z()}],"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:[...N(),l,a]}],overflow:[{overflow:A()}],"overflow-x":[{"overflow-x":A()}],"overflow-y":[{"overflow-y":A()}],overscroll:[{overscroll:j()}],"overscroll-x":[{"overscroll-x":j()}],"overscroll-y":[{"overscroll-y":j()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:P()}],"inset-x":[{"inset-x":P()}],"inset-y":[{"inset-y":P()}],start:[{start:P()}],end:[{end:P()}],top:[{top:P()}],right:[{right:P()}],bottom:[{bottom:P()}],left:[{left:P()}],visibility:["visible","invisible","collapse"],z:[{z:[O,"auto",a,l]}],basis:[{basis:[$,"full","auto",c,...u()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[b,$,"auto","initial","none",l]}],grow:[{grow:["",b,a,l]}],shrink:[{shrink:["",b,a,l]}],order:[{order:[O,"first","last","none",a,l]}],"grid-cols":[{"grid-cols":ie()}],"col-start-end":[{col:le()}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":ie()}],"row-start-end":[{row:le()}],"row-start":[{"row-start":U()}],"row-end":[{"row-end":U()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ae()}],"auto-rows":[{"auto-rows":ae()}],gap:[{gap:u()}],"gap-x":[{"gap-x":u()}],"gap-y":[{"gap-y":u()}],"justify-content":[{justify:[...X(),"normal"]}],"justify-items":[{"justify-items":[..._(),"normal"]}],"justify-self":[{"justify-self":["auto",..._()]}],"align-content":[{content:["normal",...X()]}],"align-items":[{items:[..._(),"baseline"]}],"align-self":[{self:["auto",..._(),"baseline"]}],"place-content":[{"place-content":X()}],"place-items":[{"place-items":[..._(),"baseline"]}],"place-self":[{"place-self":["auto",..._()]}],p:[{p:u()}],px:[{px:u()}],py:[{py:u()}],ps:[{ps:u()}],pe:[{pe:u()}],pt:[{pt:u()}],pr:[{pr:u()}],pb:[{pb:u()}],pl:[{pl:u()}],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":u()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":u()}],"space-y-reverse":["space-y-reverse"],size:[{size:G()}],w:[{w:[c,"screen",...G()]}],"min-w":[{"min-w":[c,"screen","none",...G()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[i]},...G()]}],h:[{h:["screen",...G()]}],"min-h":[{"min-h":["screen","none",...G()]}],"max-h":[{"max-h":["screen",...G()]}],"font-size":[{text:["base",t,F,V]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,a,H]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",be,l]}],"font-family":[{font:[ct,l,r]}],"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:[n,a,l]}],"line-clamp":[{"line-clamp":[b,"none",a,H]}],leading:[{leading:[s,...u()]}],"list-image":[{"list-image":["none",a,l]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",a,l]}],"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:[...q(),"wavy"]}],"text-decoration-thickness":[{decoration:[b,"from-font","auto",a,V]}],"text-decoration-color":[{decoration:x()}],"underline-offset":[{"underline-offset":[b,"auto",a,l]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:u()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",a,l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",a,l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...N(),dt,it]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:["auto","cover","contain",ut,st]}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},O,a,l],radial:["",a,l],conic:[O,a,l]},ft,lt]}],"bg-color":[{bg:x()}],"gradient-from-pos":[{from:Q()}],"gradient-via-pos":[{via:Q()}],"gradient-to-pos":[{to:Q()}],"gradient-from":[{from:x()}],"gradient-via":[{via:x()}],"gradient-to":[{to:x()}],rounded:[{rounded:R()}],"rounded-s":[{"rounded-s":R()}],"rounded-e":[{"rounded-e":R()}],"rounded-t":[{"rounded-t":R()}],"rounded-r":[{"rounded-r":R()}],"rounded-b":[{"rounded-b":R()}],"rounded-l":[{"rounded-l":R()}],"rounded-ss":[{"rounded-ss":R()}],"rounded-se":[{"rounded-se":R()}],"rounded-ee":[{"rounded-ee":R()}],"rounded-es":[{"rounded-es":R()}],"rounded-tl":[{"rounded-tl":R()}],"rounded-tr":[{"rounded-tr":R()}],"rounded-br":[{"rounded-br":R()}],"rounded-bl":[{"rounded-bl":R()}],"border-w":[{border:M()}],"border-w-x":[{"border-x":M()}],"border-w-y":[{"border-y":M()}],"border-w-s":[{"border-s":M()}],"border-w-e":[{"border-e":M()}],"border-w-t":[{"border-t":M()}],"border-w-r":[{"border-r":M()}],"border-w-b":[{"border-b":M()}],"border-w-l":[{"border-l":M()}],"divide-x":[{"divide-x":M()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":M()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...q(),"hidden","none"]}],"divide-style":[{divide:[...q(),"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:[...q(),"none","hidden"]}],"outline-offset":[{"outline-offset":[b,a,l]}],"outline-w":[{outline:["",b,F,V]}],"outline-color":[{outline:[e]}],shadow:[{shadow:["","none",m,pt,at]}],"shadow-color":[{shadow:x()}],"inset-shadow":[{"inset-shadow":["none",a,l,h]}],"inset-shadow-color":[{"inset-shadow":x()}],"ring-w":[{ring:M()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:x()}],"ring-offset-w":[{"ring-offset":[b,V]}],"ring-offset-color":[{"ring-offset":x()}],"inset-ring-w":[{"inset-ring":M()}],"inset-ring-color":[{"inset-ring":x()}],opacity:[{opacity:[b,a,l]}],"mix-blend":[{"mix-blend":[...ce(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ce()}],filter:[{filter:["","none",a,l]}],blur:[{blur:de()}],brightness:[{brightness:[b,a,l]}],contrast:[{contrast:[b,a,l]}],"drop-shadow":[{"drop-shadow":["","none",y,a,l]}],grayscale:[{grayscale:["",b,a,l]}],"hue-rotate":[{"hue-rotate":[b,a,l]}],invert:[{invert:["",b,a,l]}],saturate:[{saturate:[b,a,l]}],sepia:[{sepia:["",b,a,l]}],"backdrop-filter":[{"backdrop-filter":["","none",a,l]}],"backdrop-blur":[{"backdrop-blur":de()}],"backdrop-brightness":[{"backdrop-brightness":[b,a,l]}],"backdrop-contrast":[{"backdrop-contrast":[b,a,l]}],"backdrop-grayscale":[{"backdrop-grayscale":["",b,a,l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b,a,l]}],"backdrop-invert":[{"backdrop-invert":["",b,a,l]}],"backdrop-opacity":[{"backdrop-opacity":[b,a,l]}],"backdrop-saturate":[{"backdrop-saturate":[b,a,l]}],"backdrop-sepia":[{"backdrop-sepia":["",b,a,l]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":u()}],"border-spacing-x":[{"border-spacing-x":u()}],"border-spacing-y":[{"border-spacing-y":u()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",a,l]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[b,"initial",a,l]}],ease:[{ease:["linear","initial",w,a,l]}],delay:[{delay:[b,a,l]}],animate:[{animate:["none",k,a,l]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,a,l]}],"perspective-origin":[{"perspective-origin":ue()}],rotate:[{rotate:K()}],"rotate-x":[{"rotate-x":K()}],"rotate-y":[{"rotate-y":K()}],"rotate-z":[{"rotate-z":K()}],scale:[{scale:Z()}],"scale-x":[{"scale-x":Z()}],"scale-y":[{"scale-y":Z()}],"scale-z":[{"scale-z":Z()}],"scale-3d":["scale-3d"],skew:[{skew:Y()}],"skew-x":[{"skew-x":Y()}],"skew-y":[{"skew-y":Y()}],transform:[{transform:[a,l,"","none","gpu","cpu"]}],"transform-origin":[{origin:ue()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:J()}],"translate-x":[{"translate-x":J()}],"translate-y":[{"translate-y":J()}],"translate-z":[{"translate-z":J()}],"translate-none":["translate-none"],accent:[{accent: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",a,l]}],"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":u()}],"scroll-mx":[{"scroll-mx":u()}],"scroll-my":[{"scroll-my":u()}],"scroll-ms":[{"scroll-ms":u()}],"scroll-me":[{"scroll-me":u()}],"scroll-mt":[{"scroll-mt":u()}],"scroll-mr":[{"scroll-mr":u()}],"scroll-mb":[{"scroll-mb":u()}],"scroll-ml":[{"scroll-ml":u()}],"scroll-p":[{"scroll-p":u()}],"scroll-px":[{"scroll-px":u()}],"scroll-py":[{"scroll-py":u()}],"scroll-ps":[{"scroll-ps":u()}],"scroll-pe":[{"scroll-pe":u()}],"scroll-pt":[{"scroll-pt":u()}],"scroll-pr":[{"scroll-pr":u()}],"scroll-pb":[{"scroll-pb":u()}],"scroll-pl":[{"scroll-pl":u()}],"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",a,l]}],fill:[{fill:["none",...x()]}],"stroke-w":[{stroke:[b,F,V,H]}],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-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-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:["before","after","placeholder","file","marker","selection","first-line","first-letter","backdrop","*","**"]}},yt=Ke(xt);function wt(...e){return yt(ye(e))}function me(e,r){if(typeof e=="function")return e(r);e!=null&&(e.current=r)}function Pe(...e){return r=>{let t=!1;const o=e.map(n=>{const s=me(n,r);return!t&&typeof s=="function"&&(t=!0),s});if(t)return()=>{for(let n=0;n<o.length;n++){const s=o[n];typeof s=="function"?s():me(e[n],null)}}}}function ge(...e){return p.useCallback(Pe(...e),e)}var D=p.forwardRef((e,r)=>{const{children:t,...o}=e,n=p.Children.toArray(t),s=n.find(kt);if(s){const i=s.props.children,c=n.map(d=>d===s?p.Children.count(i)>1?p.Children.only(null):p.isValidElement(i)?i.props.children:null:d);return I.jsx(oe,{...o,ref:r,children:p.isValidElement(i)?p.cloneElement(i,void 0,c):null})}return I.jsx(oe,{...o,ref:r,children:t})});D.displayName="Slot";var oe=p.forwardRef((e,r)=>{const{children:t,...o}=e;if(p.isValidElement(t)){const n=Rt(t),s=St(o,t.props);return t.type!==p.Fragment&&(s.ref=r?Pe(r,n):n),p.cloneElement(t,s)}return p.Children.count(t)>1?p.Children.only(null):null});oe.displayName="SlotClone";var Ct=({children:e})=>I.jsx(I.Fragment,{children:e});function kt(e){return p.isValidElement(e)&&e.type===Ct}function St(e,r){const t={...r};for(const o in r){const n=e[o],s=r[o];/^on[A-Z]/.test(o)?n&&s?t[o]=(...c)=>{s(...c),n(...c)}:n&&(t[o]=n):o==="style"?t[o]={...n,...s}:o==="className"&&(t[o]=[n,s].filter(Boolean).join(" "))}return{...e,...t}}function Rt(e){var o,n;let r=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,t=r&&"isReactWarning"in r&&r.isReactWarning;return t?e.ref:(r=(n=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:n.get,t=r&&"isReactWarning"in r&&r.isReactWarning,t?e.props.ref:e.props.ref||e.ref)}const he=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,ve=ye,zt=(e,r)=>t=>{var o;if((r==null?void 0:r.variants)==null)return ve(e,t==null?void 0:t.class,t==null?void 0:t.className);const{variants:n,defaultVariants:s}=r,i=Object.keys(n).map(f=>{const m=t==null?void 0:t[f],h=s==null?void 0:s[f];if(m===null)return null;const y=he(m)||he(h);return n[f][y]}),c=t&&Object.entries(t).reduce((f,m)=>{let[h,y]=m;return y===void 0||(f[h]=y),f},{}),d=r==null||(o=r.compoundVariants)===null||o===void 0?void 0:o.reduce((f,m)=>{let{class:h,className:y,...C}=m;return Object.entries(C).every(g=>{let[v,w]=g;return Array.isArray(w)?w.includes({...s,...c}[v]):{...s,...c}[v]===w})?[...f,h,y]:f},[]);return ve(e,i,d,t==null?void 0:t.class,t==null?void 0:t.className)},Mt=zt("focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive inline-flex shrink-0 items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-all outline-none focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90 shadow-xs",destructive:"bg-destructive hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60 text-white shadow-xs",outline:"bg-background hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50 border shadow-xs",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 shadow-xs",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 gap-1.5 rounded-md px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function $t({className:e,variant:r,size:t,asChild:o=!1,...n}){const s=o?D:"button";return I.jsx(s,{"data-slot":"button",className:wt(Mt({variant:r,size:t,className:e})),...n})}var At=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Bt=At.reduce((e,r)=>{const t=p.forwardRef((o,n)=>{const{asChild:s,...i}=o,c=s?D:r;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),I.jsx(c,{...i,ref:n})});return t.displayName=`Primitive.${r}`,{...e,[r]:t}},{});function Wt(e,r){e&&Ne.flushSync(()=>e.dispatchEvent(r))}function Ft(e,r,{checkForDefaultPrevented:t=!0}={}){return function(n){if(e==null||e(n),t===!1||!n.defaultPrevented)return r==null?void 0:r(n)}}function Dt(e,r){const t=p.createContext(r),o=s=>{const{children:i,...c}=s,d=p.useMemo(()=>c,Object.values(c));return I.jsx(t.Provider,{value:d,children:i})};o.displayName=e+"Provider";function n(s){const i=p.useContext(t);if(i)return i;if(r!==void 0)return r;throw new Error(`\`${s}\` must be used within \`${e}\``)}return[o,n]}function Pt(e,r=[]){let t=[];function o(s,i){const c=p.createContext(i),d=t.length;t=[...t,i];const f=h=>{var k;const{scope:y,children:C,...g}=h,v=((k=y==null?void 0:y[e])==null?void 0:k[d])||c,w=p.useMemo(()=>g,Object.values(g));return I.jsx(v.Provider,{value:w,children:C})};f.displayName=s+"Provider";function m(h,y){var v;const C=((v=y==null?void 0:y[e])==null?void 0:v[d])||c,g=p.useContext(C);if(g)return g;if(i!==void 0)return i;throw new Error(`\`${h}\` must be used within \`${s}\``)}return[f,m]}const n=()=>{const s=t.map(i=>p.createContext(i));return function(c){const d=(c==null?void 0:c[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...c,[e]:d}}),[c,d])}};return n.scopeName=e,[o,It(n,...r)]}function It(...e){const r=e[0];if(e.length===1)return r;const t=()=>{const o=e.map(n=>({useScope:n(),scopeName:n.scopeName}));return function(s){const i=o.reduce((c,{useScope:d,scopeName:f})=>{const h=d(s)[`__scope${f}`];return{...c,...h}},{});return p.useMemo(()=>({[`__scope${r.scopeName}`]:i}),[i])}};return t.scopeName=r.scopeName,t}function Ut(e){const r=e+"CollectionProvider",[t,o]=Pt(r),[n,s]=t(r,{collectionRef:{current:null},itemMap:new Map}),i=C=>{const{scope:g,children:v}=C,w=L.useRef(null),k=L.useRef(new Map).current;return I.jsx(n,{scope:g,itemMap:k,collectionRef:w,children:v})};i.displayName=r;const c=e+"CollectionSlot",d=L.forwardRef((C,g)=>{const{scope:v,children:w}=C,k=s(c,v),z=ge(g,k.collectionRef);return I.jsx(D,{ref:z,children:w})});d.displayName=c;const f=e+"CollectionItemSlot",m="data-radix-collection-item",h=L.forwardRef((C,g)=>{const{scope:v,children:w,...k}=C,z=L.useRef(null),N=ge(g,z),A=s(f,v);return L.useEffect(()=>(A.itemMap.set(z,{ref:z,...k}),()=>void A.itemMap.delete(z))),I.jsx(D,{[m]:"",ref:N,children:w})});h.displayName=f;function y(C){const g=s(e+"CollectionConsumer",C);return L.useCallback(()=>{const w=g.collectionRef.current;if(!w)return[];const k=Array.from(w.querySelectorAll(`[${m}]`));return Array.from(g.itemMap.values()).sort((A,j)=>k.indexOf(A.ref.current)-k.indexOf(j.ref.current))},[g.collectionRef,g.itemMap])}return[{Provider:i,Slot:d,ItemSlot:h},y,o]}var Et=globalThis!=null&&globalThis.document?p.useLayoutEffect:()=>{},Nt=je.useId||(()=>{}),jt=0;function qt(e){const[r,t]=p.useState(Nt());return Et(()=>{t(o=>o??String(jt++))},[e]),e||(r?`radix-${r}`:"")}function Ie(e){const r=p.useRef(e);return p.useEffect(()=>{r.current=e}),p.useMemo(()=>(...t)=>{var o;return(o=r.current)==null?void 0:o.call(r,...t)},[])}function Kt({prop:e,defaultProp:r,onChange:t=()=>{}}){const[o,n]=Ot({defaultProp:r,onChange:t}),s=e!==void 0,i=s?e:o,c=Ie(t),d=p.useCallback(f=>{if(s){const h=typeof f=="function"?f(e):f;h!==e&&c(h)}else n(f)},[s,e,n,c]);return[i,d]}function Ot({defaultProp:e,onChange:r}){const t=p.useState(e),[o]=t,n=p.useRef(o),s=Ie(r);return p.useEffect(()=>{n.current!==o&&(s(o),n.current=o)},[o,n,s]),t}var Tt=p.createContext(void 0);function Zt(e){const r=p.useContext(Tt);return e||r||"ltr"}/**
 * @license lucide-react v0.476.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Gt=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Ee=(...e)=>e.filter((r,t,o)=>!!r&&r.trim()!==""&&o.indexOf(r)===t).join(" ").trim();/**
 * @license lucide-react v0.476.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */var Lt={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"};/**
 * @license lucide-react v0.476.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Vt=p.forwardRef(({color:e="currentColor",size:r=24,strokeWidth:t=2,absoluteStrokeWidth:o,className:n="",children:s,iconNode:i,...c},d)=>p.createElement("svg",{ref:d,...Lt,width:r,height:r,stroke:e,strokeWidth:o?Number(t)*24/Number(r):t,className:Ee("lucide",n),...c},[...i.map(([f,m])=>p.createElement(f,m)),...Array.isArray(s)?s:[s]]));/**
 * @license lucide-react v0.476.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Jt=(e,r)=>{const t=p.forwardRef(({className:o,...n},s)=>p.createElement(Vt,{ref:s,iconNode:r,className:Ee(`lucide-${Gt(e)}`,o),...n}));return t.displayName=`${e}`,t};export{$t as B,Bt as P,D as S,wt as a,Pt as b,Jt as c,qt as d,Ft as e,ge as f,Dt as g,zt as h,Mt as i,Ie as j,Zt as k,Ut as l,Wt as m,Pe as n,Et as o,Kt as u};
