import{B as e,D as t,E as n,F as r,H as i,It as a,Mt as o,Q as s,U as c,W as l,Z as u,_t as d,at as f,ft as p,ht as m,jt as h,ot as g,pt as _,s as v,st as y,x as b}from"./BA99CCI5.js";import"./xihTtKlq.js";import"./DGo8yE5j.js";var x=l(`<a><!></a>`),S=l(`<span><!></span>`);function C(l,C){o(C,!1);let w=m(),T=m(),E=v(C,`variant`,8,`default`),D=v(C,`customVariant`,8,``),O=v(C,`size`,8,`md`),k=v(C,`rounded`,8,`full`),A=v(C,`mono`,8,!1),j=v(C,`href`,8,void 0),M=v(C,`target`,8,void 0),N=v(C,`rel`,8,void 0),P={default:`bg-accent-600 text-white dark:bg-accent-500 dark:text-white`,secondary:`bg-neutral-100 text-neutral-700 dark:bg-neutral-800 dark:text-neutral-300`,destructive:`bg-red-600 text-white dark:bg-red-500 dark:text-white`,outline:`border border-neutral-300 text-neutral-700 dark:border-neutral-600 dark:text-neutral-300`,ghost:`bg-neutral-100/60 text-neutral-600 dark:bg-neutral-800/40 dark:text-neutral-400`,success:`bg-emerald-100 text-emerald-800 dark:bg-emerald-900 dark:text-emerald-200`,warning:`bg-amber-100 text-amber-800 dark:bg-amber-900 dark:text-amber-200`,danger:`bg-red-100 text-red-800 dark:bg-red-900 dark:text-red-200`,info:`bg-blue-100 text-blue-800 dark:bg-blue-900 dark:text-blue-200`,link:`bg-neutral-100 text-blue-700 dark:bg-neutral-800 dark:text-blue-300`},F={sm:`gap-1 px-2 py-1 text-[10px]`,md:`gap-1 px-2.5 py-1 text-xs`,lg:`gap-1.5 px-3 py-1.5 text-sm`},I={sm:`rounded`,md:`rounded-md`,lg:`rounded-lg`,xl:`rounded-xl`,full:`rounded-full`};f(()=>(u(D()),u(E())),()=>{d(w,D()||P[E()])}),f(()=>(s(w),u(O()),u(k()),u(A())),()=>{d(T,`inline-flex items-center leading-none font-medium ${s(w)} ${F[O()]} ${I[k()]} ${A()?`font-mono`:``}`)}),g();var L=c(),R=_(L),z=e=>{var o=x(),c=p(o);r(c,C,`default`,{},null),a(o),y(()=>{b(o,`href`,j()),b(o,`target`,M()),b(o,`rel`,N()),n(o,1,t(s(T)))}),i(e,o)},B=e=>{var o=S(),c=p(o);r(c,C,`default`,{},null),a(o),y(()=>n(o,1,t(s(T)))),i(e,o)};e(R,e=>{j()?e(z):e(B,-1)}),i(l,L),h()}export{C as t};