import{fx as r,G as l,j as o,a as p,O as i,c}from"./index-d6499a22.js";const x=(e,t)=>{const s=n=>l("labels.green",n,{stopped:"labels.red","not-installed":"grayShade2"}),a=r`
  {
    8.33% { opacity: 1; }
    50% { opacity: 0.1; }
    58.33% { opacity: 0.1; }
    100% { opacity: 1; }
  }
`;return{bg:"transparent",width:"14px",height:"14px",borderRadius:"50%",flex:"none",backgroundColor:t?"grayShade2":s(e),left:"0px",top:"0.5px",animation:t?`${a} 1.2s infinite`:""}},b=({text:e,variant:t,isLoading:s=!1,sx:a})=>t?o.jsxs(p,{sx:a,justifyContent:"center",children:[o.jsx(i,{sx:x(t,s)}),e&&o.jsx(c,{ml:"5px",bold:!0,children:e})]}):null;export{b as S};
