import{j as e}from"./jsx-runtime-C_974cfT.js";import{a as s,c as u}from"./misc-BOyXKFuR.js";import{L as l}from"./chunk-UIGDSWPH-fNK8sKgt.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:"3ea6c863933c57219be78eb06addfb47859d8df2"}}catch{}})();function d(){return e.jsx("span",{className:"inline-block animate-spin",children:"🌀"})}function f(){return e.jsx("span",{children:"✅"})}function m(){return e.jsx("span",{children:"❌"})}function a({varient:n,clip:o=!0}){const t="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(t,{"clip-path-button":o,[r]:n==="primary",[i]:n==="big",[c]:n==="mono"})}function h({varient:n,status:o="idle",...t}){const r={pending:e.jsx(d,{}),success:e.jsx(f,{}),error:e.jsx(m,{}),idle:null}[o];return e.jsx("div",{className:"clip-path-button-outer border-foreground bg-foreground w-fit border-2",children:e.jsxs("button",{...t,className:s(t.className,a({varient:n}),"flex justify-center gap-4"),children:[e.jsx("div",{children:t.children}),r]})})}function j({varient:n,...o}){return e.jsx("div",{className:"clip-path-button-outer border-foreground bg-foreground w-fit border-2",children:e.jsx(l,{...o,className:s(o.className,a({varient:n}))})})}function y({className:n,...o}){return e.jsx("button",{...o,className:s("underline",n)})}const b="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:o="",...t}){return e.jsx("button",{...t,className:u(b,o),children:n})}export{h as B,k as I,y as L,j as a,b as i};
//# sourceMappingURL=button-C4PPjTg6.js.map
