import{a as m,j as e,B as n,x as o,_ as t,L as u}from"./main-40.js";function x({isAuthorized:s,isLoading:a,handleAuthorize:r,disabled:c}){const{css:l}=m();return e.jsxs(n,{variant:s?"disabled":"success",onClick:r,disabled:s||a||c,className:l(o.mt3,{ml:3}),children:[s?t("Authorized ✔"):t("Authorize"),a&&e.jsx(u,{size:20,clr:"#022217",className:"ml-2"})]})}export{x as A};
