import{j as t}from"./jsx-runtime-hUI6LOBV.js";import{a as s,c as u}from"./misc-BNcbB3dR.js";import{L as d}from"./chunk-EVOBXE3Y-Bmgys8-c.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};n.SENTRY_RELEASE={id:"66e9b849450b819e11683314a547a341cb57f7d0"};var e=new n.Error().stack;e&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[e]="6474b0e1-cd4a-4585-819e-5e8278cd8e84",n._sentryDebugIdIdentifier="sentry-dbid-6474b0e1-cd4a-4585-819e-5e8278cd8e84")}catch{}})();function l(){return t.jsx("span",{className:"inline-block animate-spin",children:"🌀"})}function f(){return t.jsx("span",{children:"✅"})}function b(){return t.jsx("span",{children:"❌"})}function a({varient:n,clip:e=!0}){const o="inline-flex bg-foreground text-background outline-none hover:bg-background hover:text-foreground focus:bg-background focus:text-foreground",r="px-8 py-4 font-bold",i="px-8 py-4 text-xl font-bold",c="px-8 py-4 font-mono text-sm uppercase";return s(o,{"clip-path-button":e,[r]:n==="primary",[i]:n==="big",[c]:n==="mono"})}function h({varient:n,status:e="idle",...o}){const r={pending:t.jsx(l,{}),success:t.jsx(f,{}),error:t.jsx(b,{}),idle:null}[e];return t.jsx("div",{className:"clip-path-button-outer border-foreground bg-foreground w-fit border-2",children:t.jsxs("button",{...o,className:s(o.className,a({varient:n}),"flex justify-center gap-4"),children:[t.jsx("div",{children:o.children}),r]})})}function j({varient:n,...e}){return t.jsx("div",{className:"clip-path-button-outer border-foreground bg-foreground w-fit border-2",children:t.jsx(d,{...e,className:s(e.className,a({varient:n}))})})}function y({className:n,...e}){return t.jsx("button",{...e,className:s("underline",n)})}const m="inline-flex h-8 w-8 items-center justify-center rounded border focus:outline-none focus:ring-2 focus:ring-ring";function k({children:n,className:e="",...o}){return t.jsx("button",{...o,className:u(m,e),children:n})}export{h as B,k as I,y as L,j as a,m as i};
//# sourceMappingURL=button-BYp3RcB5.js.map
