import{b as r}from"/build/_shared/chunk-FCFTNN44.js";import{A as i,p as u}from"/build/_shared/chunk-IYEHZB2Y.js";import{d as s}from"/build/_shared/chunk-4AMCPB2Y.js";var t=s(i(),1);function m(){return(0,t.jsx)("span",{className:"inline-block animate-spin",children:"\u{1F300}"})}function f(){return(0,t.jsx)("span",{children:"\u2705"})}function d(){return(0,t.jsx)("span",{children:"\u274C"})}function c({varient:o,clip:e=!0}){let n="inline-flex bg-foreground text-background outline-none hover:bg-background hover:text-foreground focus:bg-background focus:text-foreground",a="px-8 py-4 font-bold",l="px-8 py-4 text-xl font-bold",p="px-8 py-4 font-mono text-sm uppercase";return r(n,{"clip-path-button":e,[a]:o==="primary",[l]:o==="big",[p]:o==="mono"})}function x({varient:o,status:e="idle",...n}){let a={pending:(0,t.jsx)(m,{}),success:(0,t.jsx)(f,{}),error:(0,t.jsx)(d,{}),idle:null}[e];return(0,t.jsx)("div",{className:"clip-path-button-outer w-fit border-2 border-foreground bg-foreground",children:(0,t.jsxs)("button",{...n,className:r(n.className,c({varient:o}),"flex justify-center gap-4"),children:[(0,t.jsx)("div",{children:n.children}),a]})})}function y({varient:o,...e}){return(0,t.jsx)("div",{className:"clip-path-button-outer w-fit border-2 border-foreground bg-foreground",children:(0,t.jsx)(u,{...e,className:r(e.className,c({varient:o}))})})}export{x as a,y as b};
//# sourceMappingURL=/build/_shared/chunk-QTXW5A25.js.map
