1import{d as b,q as v,D as f,o,c as i,e as a,n,u,_ as g}from"./app-YHqmz6OM.js";const d=b({__name:"Button",props:{variant:{},color:{},href:{},className:{}},setup(c){const e=c,r={solid:"group inline-flex items-center justify-center rounded-full py-2 px-4 text-sm font-semibold focus:outline-none focus-visible:outline-2 focus-visible:outline-offset-2",outline:"group inline-flex ring-1 items-center justify-center rounded-full py-2 px-4 text-sm focus:outline-none"},s={solid:{slate:"bg-slate-900 text-white hover:bg-slate-700 hover:text-slate-100 active:bg-slate-800 active:text-slate-300 focus-visible:outline-slate-900",blue:"bg-blue-600 text-white hover:text-slate-100 hover:bg-blue-500 active:bg-blue-800 active:text-blue-100 focus-visible:outline-blue-600",white:"bg-white text-slate-900 hover:bg-blue-50 active:bg-blue-200 active:text-slate-600 focus-visible:outline-white",black:"bg-black text-white hover:bg-gray-800 active:bg-gray-900 active:text-gray-200 focus-visible:outline-black"},outline:{slate:"ring-slate-200 text-slate-700 hover:text-slate-900 hover:ring-slate-300 active:bg-slate-100 active:text-slate-600 focus-visible:outline-blue-600 focus-visible:ring-slate-300",white:"ring-slate-700 text-white hover:ring-slate-500 active:ring-slate-700 active:text-slate-400 focus-visible:outline-white"}},l=v(()=>{let t=r[e.variant??"solid"];return e.variant==="outline"?t+=` ${s.outline[e.color??"slate"]}`:e.variant==="solid"&&(t+=` ${s.solid[e.color??"slate"]}`),e.className&&(t+=` ${e.className}`),t});return f(()=>{console.log("Button component mounted")}),(t,x)=>e.href?(o(),i("a",{key:1,class:n(u(l))},[a(t.$slots,"default",{},void 0,!0)],2)):(o(),i("button",{key:0,class:n(u(l))},[a(t.$slots,"default",{},void 0,!0)],2))}}),p=g(d,[["__scopeId","data-v-8d6c14e0"]]);export{p as _};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.