import{jsx as i,jsxs as m}from"react/jsx-runtime";import{cn as o}from"../../lib/cn.js";const d=({inverted:a,neutral:c,progress:h=30,size:e=64,strokeWidth:r=6})=>{const t=e/2,l=Math.abs(h)/100,s=2*Math.PI*t,n=a?"stroke-surface-primary":c?"stroke-text-primary":"stroke-brand-base";return i("div",{className:"inline-flex items-center justify-center",children:m("svg",{width:e,height:e,viewBox:`0 0 ${e} ${e}`,fill:"none",stroke:"none",xmlns:"http://www.w3.org/2000/svg",children:[i("circle",{className:o(n,"opacity-[0.12]"),cx:"50%",cy:"50%",r:t-r/2,strokeLinecap:"round",strokeWidth:r}),i("circle",{className:o("animate-spin origin-center",n),cx:"50%",cy:"50%",r:t-r/2,strokeDasharray:s,strokeDashoffset:s-s*l+r*4,strokeLinecap:"round",strokeWidth:r})]})})};export{d as LoadingSpinner};
//# sourceMappingURL=loading-spinner.js.map
