import{d as i,c as r,y as l,u as a,z as d,A as p,K as m,B as u}from"./vendor-vue-CcL5gLKJ.js";import{u as _}from"./vendor-i18n-xZjp_O9P.js";import{d as x}from"./index-96Zm5C3V.js";const y=["aria-label"],f={class:"sr-only"},g=i({__name:"LoadingSpinner",props:{size:{default:"md"},color:{default:"primary"}},setup(t){const{t:s}=_(),e=t,n=r(()=>({sm:"w-4 h-4 border-2",md:"w-8 h-8 border-2",lg:"w-12 h-12 border-[3px]",xl:"w-16 h-16 border-4"})[e.size]),c=r(()=>({primary:"text-primary-500",secondary:"text-gray-500 dark:text-dark-400",white:"text-white",gray:"text-gray-400 dark:text-dark-500"})[e.color]);return(o,h)=>(u(),l("div",{class:d(["spinner",n.value,c.value]),role:"status","aria-label":a(s)("common.loading")},[p("span",f,m(a(s)("common.loading")),1)],10,y))}}),w=x(g,[["__scopeId","data-v-ad54ea09"]]);export{w as L};
