import{s as n}from"./chunk-LvLJmgfZ.js";import{t as h}from"./react-Bj1aDYRI.js";import{t as x}from"./compiler-runtime-B3qBwwSJ.js";import{t as N}from"./jsx-runtime-CP2fAiZX.js";import{n as g,t as k}from"./cn-d_A4rA-x.js";import{t as v}from"./createLucideIcon-BvP5LBIs.js";var d=v("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]),y=x(),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),r,a,s,t;if(e[0]!==l){let{className:p,children:R,centered:c,size:z,...u}=l;a=p,r=c,t=z,s=u,e[0]=l,e[1]=r,e[2]=a,e[3]=s,e[4]=t}else r=e[1],a=e[2],s=e[3],t=e[4];let i;e[5]!==r||e[6]!==a||e[7]!==t?(i=k(M({centered:r,size:t}),a),e[5]=r,e[6]=a,e[7]=t,e[8]=i):i=e[8];let m;return e[9]!==s||e[10]!==o||e[11]!==i?(m=(0,w.jsx)(d,{ref:o,className:i,strokeWidth:1.5,...s}),e[9]=s,e[10]=o,e[11]=i,e[12]=m):m=e[12],m});f.displayName="Spinner";export{d as n,f as t};
