1import{x as n}from"./main-Ex-1LHMJ.js";function a(e){let{size:t,color:s,onClick:r,type:i,id:o}=e;e.onClick=e.onClick||(()=>{}),e.class=e.class||"",s=s||"primary",t=t||"md",i=i||"button";const g={xs:"rounded px-2 py-1 text-xs",sm:"rounded px-2 py-1 text-sm",md:"rounded-md px-2.5 py-1.5 text-sm",lg:"rounded-md px-3 py-2 text-sm",xl:"rounded-md px-3.5 py-2.5 text-sm"},u={primary:" bg-indigo-600 text-white shadow-sm hover:bg-indigo-500 focus-visible:outline-indigo-600",secondary:" bg-gray-600 text-white shadow-sm hover:bg-gray-500 focus-visible:outline-gray-600",success:" bg-green-600 text-white shadow-sm hover:bg-green-500 focus-visible:outline-green-600",danger:" bg-red-600 text-white shadow-sm hover:bg-red-500 focus-visible:outline-red-600",warning:" bg-yellow-600 text-white shadow-sm hover:bg-yellow-500 focus-visible:outline-yellow-600",info:" bg-blue-600 text-white shadow-sm hover:bg-blue-500 focus-visible:outline-blue-600",light:" bg-gray-300 text-gray-800 shadow-sm hover:bg-gray-200 focus-visible:outline-gray-300",dark:" bg-gray-800 text-white shadow-sm hover:bg-gray-700 focus-visible:outline-gray-800"},l=g[t]+u[s]+" focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 rz-btn "+e.class;return e.href?n("a",{id:o,href:e.href,class:l},e.children):n("button",{id:o,type:i,onClick:r,class:l},e.children)}export{a as B};
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.