import{s as n}from"./chunk-DZLz74EQ.js";import{t as h}from"./react-BcIddLXZ.js";import{n as x,t as N}from"./jsx-runtime-DvsdsEjx.js";import{n as g,t as k}from"./cn-C5VTNYKf.js";import{t as v}from"./createLucideIcon-DA8ZBm4D.js";var d=v("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]),y=n(x(),1),j=n(h(),1),w=n(N(),1),M=g("animate-spin",{variants:{centered:{true:"m-auto"},size:{small:"size-4",medium:"size-12",large:"size-20",xlarge:"size-20"}},defaultVariants:{size:"medium"}}),f=j.forwardRef((l,o)=>{let e=(0,y.c)(13),a,r,s,i;if(e[0]!==l){let{className:c,children:R,centered:p,size:z,...u}=l;r=c,a=p,i=z,s=u,e[0]=l,e[1]=a,e[2]=r,e[3]=s,e[4]=i}else a=e[1],r=e[2],s=e[3],i=e[4];let t;e[5]!==a||e[6]!==r||e[7]!==i?(t=k(M({centered:a,size:i}),r),e[5]=a,e[6]=r,e[7]=i,e[8]=t):t=e[8];let m;return e[9]!==s||e[10]!==o||e[11]!==t?(m=(0,w.jsx)(d,{ref:o,className:t,strokeWidth:1.5,...s}),e[9]=s,e[10]=o,e[11]=t,e[12]=m):m=e[12],m});f.displayName="Spinner";export{d as n,f as t};
