PageSourceSearch

https://verificate.ai/_next/static/chunks/pages/auth/signup-c6c2b64d5b19359d.js

js verificate.ai collected 2026-10-05 13:58:50 UTC 9,812 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7417],{3219:(e,t,a)=>{"use strict";a.d(t,{J:()=>l});var r=a(7876),s=a(4232),i=a(5392);let l=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("label",{ref:t,className:(0,i.cn)("text-sm font-medium leading-none text-gray-200 peer-disabled:cursor-not-allowed peer-disabled:opacity-70",a),...s})});l.displayName="Label"},3976:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/auth/signup",function(){return a(5541)}])},4379:(e,t,a)=>{"use strict";a.d(t,{$:()=>n});var r=a(7876),s=a(4232),i=a(5392);let l=(e,t,a)=>(0,i.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{default:"bg-blue-600 text-white hover:bg-blue-700 shadow-sm",outline:"border border-gray-300 bg-white text-gray-900 hover:bg-gray-50 hover:text-gray-900",secondary:"bg-gray-200 text-gray-900 hover:bg-gray-300",ghost:"text-gray-900 hover:bg-gray-100",link:"text-blue-600 underline-offset-4 hover:underline",destructive:"bg-red-600 text-white hover:bg-red-700 shadow-sm"}[e],{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}[t],a),n=s.forwardRef((e,t)=>{let{className:a,variant:n="default",size:o="default",asChild:d=!1,children:c,...m}=e;return d&&s.isValidElement(c)?s.cloneElement(c,{className:(0,i.cn)(l(n,o,a),c.props.className),ref:t,...m}):(0,r.jsx)("button",{className:l(n,o,a),ref:t,...m,children:c})});n.displayName="Button"},5392:(e,t,a)=>{"use strict";a.d(t,{cn:()=>s});var r=a(9241);function s(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return(0,r.$)(t)}},5541:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>g});var r=a(7876),s=a(4232),i=a(7328),l=a.n(i),n=a(8230),o=a.n(n),d=a(4379),c=a(7489),m=a(8077),h=a(3219),x=a(7605),u=a(6732),p=a(860),f=a(4463);function g(){let[e,t]=(0,s.useState)({name:"",email:"",password:"",confirmPassword:"",organizationName:""}),[a,i]=(0,s.useState)(!1),[n,g]=(0,s.useState)(""),[w,y]=(0,s.useState)(!1),[N,b]=(0,s.useState)(!1),j=async t=>{if(t.preventDefault(),g(""),e.name.trim()?e.email.trim()?e.password.length<8?(g("Password must be at least 8 characters"),!1):e.password===e.confirmPassword||(g("Passwords do not match"),!1):(g("Please enter your email"),!1):(g("Please enter your name"),!1)){i(!0);try{let t=await fetch("".concat("https://mcp.verificate.ai","/auth/signup"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:e.name,email:e.email,password:e.password})}),a=await t.json();if(!t.ok)throw Error(a.detail||a.message||"Registration failed");y(!0)}catch(e){g(e.message||"Something went wrong. Please try again.")}finally{i(!1)}}};return w?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l(),{children:(0,r.jsx)("title",{children:"Verify your email | Verificate"})}),(0,r.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-[#080A08] text-white/85 p-4",children:(0,r.jsxs)("div",{className:"w-full max-w-md rounded-2xl border border-[#2C3D1B] bg-[#0E120C] p-8 text-center",children:[(0,r.jsx)(x.A,{className:"w-14 h-14 text-[#8CCB43] mx-auto mb-4"}),(0,r.jsx)("h2",{className:"text-2xl font-bold text-white",children:"Check your email"}),(0,r.jsxs)("p",{className:"text-white/55 mt-3 text-sm leading-relaxed",children:["We've sent a verification link to ",(0,r.jsx)("strong",{className:"text-white",children:e.email}),". Click it to verify your account and reveal your 30-day MCP key."]}),(0,r.jsx)("p",{className:"mt-5 text-xs text-white/40",children:"Didn't get it? Check your spam folder, or request a new link from the sign-in page."}),(0,r.jsx)(o(),{href:"/auth/login",className:"mt-7 inline-flex items-center justify-center px-4 py-2.5 rounded-lg border border-white/15 text-white hover:border-[#8CCB43]/50 font-semibold text-sm",children:"Go to sign in"})]})})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(l(),{children:[(0,r.jsx)("title",{children:"Start your 30-day MCP trial | Verificate"}),(0,r.jsx)("meta",{name:"description",content:"Create your Verificate account and start a 30-day free trial of the governed MCP validation server."})]}),(0,r.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-[#080A08] p-4",children:(0,r.jsxs)(m.Zp,{className:"w-full max-w-md border-white/10 bg-[#0E120C] text-white/85",children:[(0,r.jsxs)(m.aR,{className:"text-center",children:[(0,r.jsx)(o(),{href:"/",children:(0,r.jsx)("img",{src:"/logos/Verificate Logo Green White.png",alt:"
1Verificate",className:"h-8 mx-auto mb-4 cursor-pointer"})}),(0,r.jsx)(m.ZB,{className:"text-2xl text-white",children:"Start your 30-day trial"}),(0,r.jsx)(m.BT,{className:"text-white/50",children:"Free access to the Verificate MCP validation server"})]}),(0,r.jsx)(m.Wu,{children:(0,r.jsxs)("form",{onSubmit:j,className:"space-y-4",children:[n&&(0,r.jsx)("div",{className:"p-3 rounded-md bg-red-500/10 border border-red-500/30 text-red-300 text-sm",children:n}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(h.J,{htmlFor:"name",className:"text-white/70",children:"Full Name"}),(0,r.jsx)(c.p,{id:"name",type:"text",placeholder:"John Smith",value:e.name,onChange:a=>t({...e,name:a.target.value}),required:!0,autoComplete:"name"})]}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(h.J,{htmlFor:"email",className:"text-white/70",children:"Work Email"}),(0,r.jsx)(c.p,{id:"email",type:"email",placeholder:"[email protected]",value:e.email,onChange:a=>t({...e,email:a.target.value}),required:!0,autoComplete:"email"})]}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsxs)(h.J,{htmlFor:"organizationName",className:"text-white/70",children:["Organization ",(0,r.jsx)("span",{className:"text-white/30",children:"(optional)"})]}),(0,r.jsx)(c.p,{id:"organizationName",type:"text",placeholder:"Acme Corporation",value:e.organizationName,onChange:a=>t({...e,organizationName:a.target.value}),autoComplete:"organization"})]}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(h.J,{htmlFor:"password",className:"text-white/70",children:"Password"}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(c.p,{id:"password",type:N?"text":"password",placeholder:"••••••••",value:e.password,onChange:a=>t({...e,password:a.target.value}),required:!0,minLength:8,autoComplete:"new-password",className:"pr-10"}),(0,r.jsx)("button",{type:"button",onClick:()=>b(!N),className:"absolute right-3 top-1/2 -translate-y-1/2 text-white/40 hover:text-white/80",children:N?(0,r.jsx)(u.A,{className:"h-4 w-4"}):(0,r.jsx)(p.A,{className:"h-4 w-4"})})]}),(0,r.jsx)("p",{className:"text-xs text-white/40",children:"Must be at least 8 characters"})]}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(h.J,{htmlFor:"confirmPassword",className:"text-white/70",children:"Confirm Password"}),(0,r.jsx)(c.p,{id:"confirmPassword",type:"password",placeholder:"••••••••",value:e.confirmPassword,onChange:a=>t({...e,confirmPassword:a.target.value}),required:!0,autoComplete:"new-password"})]}),(0,r.jsx)(d.$,{type:"submit",style:{backgroundColor:"#8CCB43",color:"#0A0D0A"},className:"w-full font-semibold hover:opacity-90",disabled:a,children:a?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(f.A,{className:"mr-2 h-4 w-4 animate-spin"})," Creating account…"]}):"Start free trial"}),(0,r.jsxs)("p",{className:"text-center text-sm text-white/50",children:["Already have an account? ",(0,r.jsx)(o(),{href:"/auth/login",className:"text-[#8CCB43] hover:underline font-medium",children:"Sign in"})]}),(0,r.jsxs)("p",{className:"text-center text-xs text-white/35",children:["By signing up you agree to our"," ",(0,r.jsx)(o(),{href:"/terms",className:"underline hover:text-white/60",children:"Terms"})," and"," ",(0,r.jsx)(o(),{href:"/privacy",className:"underline hover:text-white/60",children:"Privacy Policy"}),"."]})]})})]})})]})}},7489:(e,t,a)=>{"use strict";a.d(t,{p:()=>l});var r=a(7876),s=a(4232),i=a(5392);let l=s.forwardRef((e,t)=>{let{className:a,type:s,...l}=e;return(0,r.jsx)("input",{type:s,className:(0,i.cn)("flex h-10 w-full rounded-md border border-gray-700 bg-gray-900 px-3 py-2 text-sm text-white ring-offset-gray-950 file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-gray-400 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cyan-500 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",a),ref:t,...l})});l.displayName="Input"},8077:(e,t,a)=>{"use strict";a.d(t,{BT:()=>d,Wu:()=>c,ZB:()=>o,Zp:()=>l,aR:()=>n});var r=a(7876),s=a(4232),i=a(5392);let l=s.forwardRef((e,t)=>
1{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,i.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",a),...s})});l.displayName="Card";let n=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,i.cn)("flex flex-col space-y-1.5 p-6",a),...s})});n.displayName="CardHeader";let o=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("h3",{ref:t,className:(0,i.cn)("text-2xl font-semibold leading-none tracking-tight",a),...s})});o.displayName="CardTitle";let d=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("p",{ref:t,className:(0,i.cn)("text-sm text-muted-foreground",a),...s})});d.displayName="CardDescription";let c=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,i.cn)("p-6 pt-0",a),...s})});c.displayName="CardContent",s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,i.cn)("flex items-center p-6 pt-0",a),...s})}).displayName="CardFooter"}},e=>{e.O(0,[8096,636,8792],()=>e(e.s=3976)),_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.