1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[870],{3998:(e,t,a)=>{"use strict";a.d(t,{$:()=>d});var s=a(95155);a(12115);var r=a(32467),i=a(83101),n=a(64269);let l=(0,i.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all cursor-pointer disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",xs:"h-6 rounded-md gap-1 px-2 has-[>svg]:px-1 text-xs",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function d(e){let{className:t,variant:a,size:i,asChild:d=!1,...o}=e,c=d?r.DX:"button";return(0,s.jsx)(c,{"data-slot":"button",className:(0,n.cn)(l({variant:a,size:i,className:t})),...o})}},20063:(e,t,a)=>{"use strict";var s=a(47260);a.o(s,"useParams")&&a.d(t,{useParams:function(){return s.useParams}}),a.o(s,"usePathname")&&a.d(t,{usePathname:function(){return s.usePathname}}),a.o(s,"useRouter")&&a.d(t,{useRouter:function(){return s.useRouter}}),a.o(s,"useSearchParams")&&a.d(t,{useSearchParams:function(){return s.useSearchParams}}),a.o(s,"useSelectedLayoutSegments")&&a.d(t,{useSelectedLayoutSegments:function(){return s.useSelectedLayoutSegments}})},26187:(e,t,a)=>{"use strict";a.d(t,{e:()=>r});var s=a(95704);let r=()=>{var e;let t=null==(e=s.env.NEXT_PUBLIC_MAIN_APP_URL)?void 0:e.trim();if(!t)return"https://app.liine.ai";let a=t.replace(/\/+$/,"");return/^https?:\/\//i.test(a)?a:"https://".concat(a)}},64269:(e,t,a)=>{"use strict";a.d(t,{cn:()=>i});var s=a(2821),r=a(75889);function i(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return(0,r.QP)((0,s.$)(t))}},65142:(e,t,a)=>{"use strict";a.d(t,{j:()=>n,p:()=>l});var s=a(95155);a(12115);var r=a(83101),i=a(64269);let n=(0,r.F)("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input w-full min-w-0 rounded-md border bg-transparent shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:border-0 file:bg-transparent file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{size:{default:"h-9 px-3 py-1 text-base md:text-sm file:h-7 file:text-sm",sm:"h-8 px-2.5 py-1 text-xs file:h-6 file:text-xs",lg:"h-10 px-4 py-2 text-base file:h-8 file:text-sm"}},defaultVariants:{size:"default"}});function l(e){let{className:t,type:a,size:r,onFocus:l,...d}=e;return(0,s.jsx)("input",{type:a,"data-slot":"input",className:(0,i.cn)(n({size:r,className:t})),onFocus:e=>{let t=e.currentTarget;requestAnimationFrame(()=>{try{var e,a;let s=null!=(a=null==(e=t.value)?void 0:e.length)?a:0,r=0===t.selectionStart&&t.selectionEnd===s;s>0&&r&&t.setSelectionRange(s,s)}catch(e){}}),null==l||l(e)},...d})}},78629:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>h});var s=a(95155),r=a(12115),i=a(20063),n=a(15239),l=a(52619),d=a.n(l),o=a(3998),c=a(65142);let u=(0,a(26187).e)(),m=[{avatarSrc:"https://i.pravatar.cc/150?img=23",name:"Emily Rodriguez",handle:"@emilydesigns",text:"Can't wait to try this platform! The preview looks incredible."},{avatarSrc:"https://i.pravatar.cc/150?img=45",name:"Alex Thompson",handle:"@alexcodes",text:"Excited to be among the first to experience this innovative tool."},{avatarSrc:"https://i.pravatar.cc/150?img=68",name:"Lisa Wang",handle:"@lisabuilds",text:"The waitlist signup was smooth. Looking forward to the launch!"}],x=e=>{let{testimonial:t,delay:a}=e;return(0,s.jsxs)("div",{className:"animate-testimonial ".concat(a," bg-card/40 flex w-64 items-start gap-3 rounded-3xl border border-white/10 p-5 backdrop-blur-xl dark:bg-zinc-800/40"),children:[(0,s.jsx)(n.default,{src:t.avatarSrc,width:40,height:40,className:"h-10 w-10 rounded-2xl object-cover",alt:"avatar"}),(0,s.jsxs)("div",{className:"text-sm leading-snug",children:[(0,s.jsx)("p",{className:"flex items-center gap-1 font-medium",children:t.name}),(0,s.jsx)("p",{className:"text-muted-foreground",children:t.handle}
1),(0,s.jsx)("p",{className:"text-foreground/80 mt-1",children:t.text})]})]})};function h(){let[e,t]=(0,r.useState)(""),[a,n]=(0,r.useState)(!1),[l,h]=(0,r.useState)(""),[g,f]=(0,r.useState)(!1),v=(0,i.useSearchParams)(),p=(0,r.useRef)(null);v.get("redirect_url");let b=async t=>{t.preventDefault();let a=e.trim();if(!a){var s;h("Please enter your email address."),null==(s=p.current)||s.focus();return}n(!0),h("");try{let e=await fetch("/api/waitlist/join",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:a})});if(e.ok){let t=await e.json();"account_exists"===t.status?(h("This email already has an account. Please sign in instead."),f(!1)):"exists"===t.status?(h("Youâre already on the waitlist \uD83E\uDD73"),f(!1)):(f(!0),h(""))}else{let t=await e.json().catch(()=>({}));h(t.error||"Failed to join waitlist. Please try again."),f(!1)}}finally{n(!1)}};return(0,s.jsxs)("div",{className:"font-geist bg-background text-foreground flex h-[100dvh] w-[100dvw] flex-col md:flex-row",children:[(0,s.jsx)("section",{className:"flex flex-1 items-center justify-center p-8",children:(0,s.jsx)("div",{className:"w-full max-w-md",children:(0,s.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,s.jsx)("div",{className:"flex justify-between",children:(0,s.jsx)(d(),{href:"/",className:"text-muted-foreground hover:text-foreground text-sm transition-colors",children:"â Back to home"})}),(0,s.jsx)("h1",{className:"animate-element animate-delay-100 text-foreground text-4xl leading-tight font-light tracking-tighter md:text-5xl",children:"Join waitlist"}),(0,s.jsx)("p",{className:"animate-element animate-delay-200 text-muted-foreground",children:"Be the first to experience our platform when we launch. We'll notify you as soon as we're ready!"}),l&&(0,s.jsx)("div",{className:"animate-element animate-delay-250 bg-destructive/10 border-destructive/20 text-destructive rounded-lg border p-3 text-sm",children:l}),g?(0,s.jsx)("div",{className:"animate-element animate-delay-300 text-center",children:(0,s.jsxs)("div",{className:"rounded-2xl border border-green-500/20 bg-green-500/10 p-6 text-green-600 dark:text-green-400",children:[(0,s.jsx)("h3",{className:"mb-2 font-medium",children:"\uD83C\uDF89 You're on the waitlist!"}),(0,s.jsx)("p",{className:"text-sm",children:"Thank you for your interest! We'll review your request and send you an invitation email when you're approved to join our platform."})]})}):(0,s.jsxs)("form",{className:"space-y-5",onSubmit:b,noValidate:!0,children:[(0,s.jsxs)("div",{className:"animate-element animate-delay-300 space-y-5",children:[(0,s.jsx)("label",{className:"text-muted-foreground mb-2 block text-sm font-medium",children:"Email Address"}),(0,s.jsx)(c.p,{name:"email",type:"email",placeholder:"Enter your email address",value:e,onChange:e=>t(e.target.value),size:"lg",className:"text-sm",ref:p})]}),(0,s.jsx)(o.$,{type:"submit",disabled:a,size:"lg",className:"animate-element animate-delay-400 w-full",children:a?"Joining waitlistâ¦":"Join waitlist"})]}),(0,s.jsxs)("p",{className:"animate-element animate-delay-500 text-muted-foreground text-center text-sm",children:["Already have an account?"," ",(0,s.jsx)(d(),{href:"".concat(u,"/sign-in"),className:"text-violet-400 transition-colors hover:underline",children:"Sign In"})]})]})})}),(0,s.jsxs)("section",{className:"relative hidden flex-1 p-4 md:block",children:[(0,s.jsx)("div",{className:"animate-slide-right animate-delay-300 absolute inset-4 rounded-3xl bg-cover bg-center",style:{backgroundImage:"url(https://images.unsplash.com/photo-1522202176988-66273c2fd55f?w=2160&q=80)"}}),(0,s.jsxs)("div",{className:"absolute bottom-8 left-1/2 flex w-full -translate-x-1/2 justify-center gap-4 px-8",children:[(0,s.jsx)(x,{testimonial:m[0],delay:"animate-delay-1000"}),(0,s.jsx)("div",{className:"hidden xl:flex",children:(0,s.jsx)(x,{testimonial:m[1],delay:"animate-delay-1200"})}),(0,s.jsx)("div",{className:"hidden 2xl:flex",children:(0,s.jsx)(x,{testimonial:m[2],delay:"animate-delay-1400"})})]})]})]})}},89180:(e,t,a)=>{Promise.resolve().then(a.bind(a,78629))}},e=>{e.O(0,[909,79,441,255,358],()=>e(e.s=89180)),_N_E=e.O()}]);
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.