<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{6634:function(e,t,n){Promise.resolve().then(n.t.bind(n,5878,23)),Promise.resolve().then(n.t.bind(n,2972,23)),Promise.resolve().then(n.bind(n,3967)),Promise.resolve().then(n.bind(n,2357))},2040:function(e,t,n){"use strict";n.d(t,{z:function(){return l}});var s=n(7437),a=n(7648),r=n(967);let i={base:"group/button inline-flex items-center outline-none relative justify-center leading-none font-semibold lowercase bg-stone-950 text-stone-50 rounded-full w-fit h-8 px-4 transition text-lg",size:{md:"h-12 px-10",sm:"h-8 px-4 rounded-full",xs:""},view:{primary:"hover:shadow-none",inverted:"bg-stone-50 text-stone-960",link:"hover:shadow-lg hover:shadow-blue-600",animated:"animate-anime bg-gradient-base bg-[length:600%] text-stone-50",tile:"hover:shadow-none overflow-hidden size-20 p-0 rounded-xl"},animated:{hover:"animate-anime hover:bg-gradient-base bg-[length:600%] hover:text-stone-50"}};function l(e){let{className:t="",size:n,href:l,children:o,isDisabled:c,onClick:d,view:u,animated:h,...x}=e,m=(0,r.cn)(i.base,l&amp;&amp;"".concat(i.view.link," ").concat(i.size.sm),n&amp;&amp;i.size[n],u&amp;&amp;i.view[u],("primary"===u||"inverted"===u)&amp;&amp;i.animated.hover,h&amp;&amp;i.animated[h],t);return l?(0,s.jsx)(a.default,{href:l,className:m,...x,children:o}):(0,s.jsx)("button",{disabled:c,onClick:e=&gt;null==d?void 0:d(e),className:m,...x,children:o})}},2099:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var s=n(7437),a=n(967);function r(e){let{children:t,className:n=""}=e;return(0,s.jsx)("div",{className:(0,a.cn)("relative flex max-w-full flex-col overflow-hidden rounded-6xl bg-stone-950",n),children:t})}},4380:function(e,t,n){"use strict";n.d(t,{I:function(){return i}});var s=n(7437),a=n(2265),r=n(967);let i=(0,a.forwardRef)((e,t)=&gt;{let{placeholder:n,error:a,className:i="",disabled:l=!1,...o}=e;return(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsx)("input",{className:(0,r.cn)("h-12 w-full rounded-full border border-stone-600 bg-stone-950 px-4 text-base font-light text-stone-50 outline-none placeholder:text-base placeholder:font-light placeholder:text-stone-600 focus:border-stone-50",i),placeholder:n,disabled:l,ref:t,...o})})});i.displayName="Input"},3967:function(e,t,n){"use strict";n.d(t,{ShareForm:function(){return x}});var s=n(7437),a=n(2265),r=n(9501);function i(e){let{className:t=""}=e;return(0,s.jsx)("svg",{className:t,width:"100%",height:"100%",viewBox:"0 0 28 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M20 0H16V8H0V12H16V20H20V16H24V12H28V8H24V4H20V0Z",fill:"currentColor"})})}var l=n(2099),o=n(2040),c=n(4380),d=n(3464);async function u(e){let{name:t,link:n}=e;if(!t||!n)throw Error("Name and link are required.");try{return(await d.Z.post("api/names",{name:t,link:n},{headers:{"Content-Type":"application/json"}})).data}catch(e){e instanceof Error&amp;&amp;console.log(e)}}var h=n(967);function x(e){let{className:t=""}=e,[n,d]=(0,a.useState)(""),{register:x,handleSubmit:m,reset:f,formState:{isSubmitting:b}}=(0,r.cI)();async function p(e){let t=await u(e);t&amp;&amp;d(null==t?void 0:t.name),f()}return(0,s.jsxs)(l.Z,{className:(0,h.cn)("min-h-[420px] p-8 pt-10 sm:p-10",t),children:[(0,s.jsx)("div",{id:"share",className:(0,h.cn)("mb-16 grow",n&amp;&amp;"mb-10"),children:(0,s.jsx)("h5",{className:"text-center text-4xl font-extrabold leading-[95%] tracking-header text-stone-50 sm:text-5xl",children:"Know anyone cool who does amazing work✨?"})}),n&amp;&amp;(0,s.jsx)("div",{className:"mx-auto mb-10 w-fit",children:(0,s.jsxs)("p",{className:"bg-gradient-base bg-[length:150%] bg-clip-text text-center text-base leading-tight text-transparent",children:[(0,s.jsx)("span",{className:"block",children:"Thaaaanks!!!"}),(0,s.jsx)("span",{className:"block",children:"You've shared ".concat(n)})]})}),(0,s.jsx)("form",{onSubmit:m(p),children:(0,s.jsxs)("div",{className:"flex w-full flex-col items-center space-y-4",children:[(0,s.jsxs)("div",{className:"w-full space-y-2",children:[(0,s.jsx)(c.I,{placeholder:"Name",...x("name",{required:!0})}),(0,s.jsx)(c.I,{placeholder:"Link",...x("link",{required:!0})})]}),(0,s.jsxs)(o.z,{isDisabled:b,view:"animated",className:"flex h-20 w-full items-center gap-1.5",children:[(0,s.jsx)("span",{className:"transition duration-300 group-hover/button:-translate-x-0.5",children:"share the name"}),(0,s.jsx)(i,{className:"w-4 text-white transition duration-200 group-hover/button:translate-x-0.5"})]})]})})]})}},2357:function(e,t,n){"use strict";n.d(t,{SubscribeForm:function(){return u}});var s=n(7437),a=n(2265),r=n(9501),i=n(2099),l=n(2040),o=n(4380),c=n(3464);async function d(e){let{email:t}=e;if(!t)throw Error("Email is required.");try{return(await c.Z.post("api/subscriptions",{email:t},{headers:{"Content-Type":"application/json"}})).data}catch(e){e instanceof Error&amp;&amp;console.log(e)}}function u(){let[e,t]=(0,a.useState)(!1),{register:n,handleSubmit:c,reset:u,formState:{isSubmitting:h}}=(0,r.cI)();async function x(e){let n=await d(e);(null==n?void 0:n.email)&amp;&amp;(t(!0),u())}return(0,s.jsxs)(i.Z,{className:"rounded-3xl p-8 sm:p-10",children:[e&amp;&amp;(0,s.jsx)("div",{className:"flex items-center justify-center",children:(0,s.jsx)("p",{className:"w-fit bg-gradient-base bg-[length:250%] bg-clip-text text-center text-base text-transparent",children:"Thaaanks!!! You've successfully subscribed!"})}),!e&amp;&amp;(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"mb-6",children:(0,s.jsxs)("h5",{className:"text-center text-base leading-tight text-stone-50",children:[(0,s.jsx)("span",{className:"bg-gradient-base bg-[length:300%] bg-clip-text text-transparent",children:"In case you are curious"})," ","about the latest project updated, upcoming features and new guests \uD83E\uDD50\uD83E\uDD5B."]})}),(0,s.jsx)("form",{onSubmit:c(x),children:(0,s.jsxs)("div",{className:"flex w-full flex-col items-center gap-3 sm:flex-row",children:[(0,s.jsx)(o.I,{placeholder:"Email",disabled:h,...n("email",{required:!0})}),(0,s.jsx)(l.z,{isDisabled:h,view:"inverted",size:"md",children:"subscribe"})]})})]})]})}},967:function(e,t,n){"use strict";n.d(t,{cn:function(){return r}});var s=n(3335),a=n(1994);let r=function(){for(var e=arguments.length,t=Array(e),n=0;n&lt;e;n++)t[n]=arguments[n];return(0,s.m6)((0,a.W)(t))}}},function(e){e.O(0,[972,878,609,971,117,744],function(){return e(e.s=6634)}),_N_E=e.O()}]);</pre></body></html>