import"./CWj6FrbW.js";import{p as f,f as p,b as v,c as h,h as x,l as _,d as z,r as C}from"./CVHvdSBf.js";import{a as k}from"./DujX6kBV.js";import{a as B}from"./BkclRFLx.js";import{b as w}from"./DQqJYxgt.js";import{p as e,r as N}from"./yWz0pZR0.js";var j=p("<button><!></button>");function H(s,r){f(r,!0);let n=e(r,"variant",3,"primary"),d=e(r,"size",3,"medium"),i=e(r,"type",3,"button"),a=e(r,"disabled",3,!1),b=e(r,"class",3,""),o=e(r,"el",15),c=N(r,["$$slots","$$events","$$legacy","variant","size","type","disabled","class","children","el"]);const l={primary:"border border-thin border-rc-green-450 backdrop-blur-xl rounded-lg text-rc-gray-100 font-bold bg-rc-green-350 hover:bg-rc-green-250 focus:bg-rc-green-200 focus:outline-none active:bg-rc-green-250",secondary:"border border-thin border-rc-gray-050 backdrop-blur-2xl rounded-lg text-rc-gray-100 font-bold bg-rc-gray-930 hover:bg-double-gradient focus:bg-double-gradient focus:outline-none active:bg-double-gradient",outlined:"border border-rc-gray-500 bg-rc-gray-900 font-semibold hover:bg-rc-gray-700 hover:border-rc-gray-400 focus:outline-none focus:ring-0 focus:border-rc-gray-400 active:border-rc-gray-400",ghost:"bg-transparent rounded-lg hover:text-gray-100 focus:text-gray-100 active:text-gray-100"},g={big:"px-4 py-2 text-base",medium:"px-4 py-2 text-base",small:"px-4 py-2 text-base"};let u=_(()=>`text-gray-200
    rounded
    transition-colors
    ${l[n()]}
    ${g[d()]}
    ${a()?"opacity-50 cursor-not-allowed":"cursor-pointer"}
    ${b()}
  `.trim());var t=j();B(t,()=>({type:i(),class:x(u),disabled:a(),...c}));var y=z(t);k(y,()=>r.children),C(t),w(t,m=>o(m),()=>o()),v(s,t),h()}export{H as B};
