1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="840001d7-8e0f-4159-a406-5c5ff89a4c7b",e._sentryDebugIdIdentifier="sentry-dbid-840001d7-8e0f-4159-a406-5c5ff89a4c7b")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5036],{80:(e,t,r)=>{"use strict";r.d(t,{default:()=>f});var a=r(95155),s=r(12115),l=r(73321),n=r(98500),o=r.n(n),i=r(6296),u=r(86831),d=r(23814),c=r(95358),m=r(23028);let h="/affiliate";function f(){return(0,a.jsx)(s.Suspense,{children:(0,a.jsx)(x,{})})}function x(){let e=(0,l.useRouter)(),[t,r]=(0,s.useState)(""),[n,f]=(0,s.useState)(""),[x,p]=(0,s.useState)(""),[g,w]=(0,s.useState)(null),[v,j]=(0,s.useState)(!1),[y,k]=(0,s.useState)(!1);async function N(r){r.preventDefault(),w(null),j(!0);let{allowed:a,error:s}=await (0,d.B)(n);if(!a){w(s??"Email not allowed."),j(!1);return}let{error:l}=await u.yK.signUp.email({email:n,password:x,name:t,callbackURL:h});if(l){w(l.message??"Could not create your account."),j(!1);return}j(!1);let o=new URLSearchParams({email:n,next:h});e.push(`/verify-email?${o.toString()}`)}async function S(){w(null),k(!0);let{error:e}=await u.Jv.social({provider:"google",callbackURL:h});e&&(w(e.message??"Could not continue with Google."),k(!1))}let R=(m.kA/100).toLocaleString("en-US");return(0,a.jsx)("div",{className:"flex min-h-screen flex-col bg-background text-foreground",children:(0,a.jsxs)("main",{className:"mx-auto flex w-full max-w-md flex-1 flex-col justify-center px-4 py-12 sm:px-6",children:[(0,a.jsxs)("div",{className:"mb-8 text-center",children:[(0,a.jsx)("span",{className:"mx-auto flex h-12 w-12 items-center justify-center rounded-2xl bg-blue-500 shadow-sm",children:(0,a.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"white",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M4 12h6"}),(0,a.jsx)("path",{d:"M14 12h6"}),(0,a.jsx)("path",{d:"M12 4v6"}),(0,a.jsx)("path",{d:"M12 14v6"})]})}),(0,a.jsxs)("h1",{className:"mt-4 text-2xl font-bold tracking-tight",children:["Become a ",(0,a.jsx)(c.m,{})," partner"]}),(0,a.jsxs)("p",{className:"mt-2 flex items-center justify-center gap-1.5 text-sm text-muted-foreground",children:["Earn ",R,"% commission recommending FutuRole to your audience."]})]}),(0,a.jsxs)("div",{className:"rounded-3xl border border-border bg-surface p-6 shadow-[0_18px_50px_-30px_rgba(15,23,42,0.35)] sm:p-8",children:[(0,a.jsxs)("button",{type:"button",onClick:S,disabled:y||v,className:"inline-flex min-h-12 w-full items-center justify-center gap-2 rounded-xl border border-border bg-surface px-4 text-sm font-semibold text-foreground shadow-sm transition-colors hover:bg-secondary disabled:cursor-not-allowed disabled:opacity-60",children:[y?(0,a.jsx)(i.A,{"aria-hidden":"true",className:"h-4 w-4 animate-spin"}):(0,a.jsx)(b,{}),"Continue with Google"]}),(0,a.jsxs)("div",{className:"my-5 flex items-center gap-3 text-xs font-medium uppercase tracking-wide text-muted-foreground",children:[(0,a.jsx)("span",{className:"h-px flex-1 bg-border"}),"or",(0,a.jsx)("span",{className:"h-px flex-1 bg-border"})]}),(0,a.jsxs)("form",{onSubmit:N,className:"space-y-4",children:[(0,a.jsxs)("label",{className:"block text-xs font-semibold text-foreground",children:["Full name",(0,a.jsx)("input",{type:"text",required:!0,value:t,onChange:e=>r(e.target.value),className:"mt-1.5 min-h-11 w-full rounded-xl border border-border bg-surface px-3 text-[16px] text-foreground shadow-sm outline-none transition-colors placeholder:text-muted-foreground focus:border-blue-500 focus:ring-2 focus:ring-blue-100 sm:text-sm",placeholder:"Jamie Rivera"})]}),(0,a.jsxs)("label",{className:"block text-xs font-semibold text-foreground",children:["Email",(0,a.jsx)("input",{type:"email",required:!0,value:n,onChange:e=>f(e.target.value),className:"mt-1.5 min-h-11 w-full rounded-xl border border-border bg-surface px-3 text-[16px] text-foreground shadow-sm outline-none transition-colors placeholder:text-muted-foreground focus:border-blue-500 focus:ring-2 focus:ring-blue-100 sm:text-sm",placeholder:"[email protected]"})]}),(0,a.jsxs)("label",{className:"block text-xs font-semibold text-foreground",children:["Password",(0,a.jsx)("input",{type:"password",required:!0,minLength:8,value:x,onChange:e=>p(e.target.value),className:"mt-1.5 min-h-11 w-full rounded-xl border border-border bg-surface px-3 text-[16px] text-foreground shadow-sm outline-none transition-colors placeholder:text-muted-foreground focus:border-blue-500 focus:ring-2 focus:ring-blue-100 sm:text-sm",placeholder:"8 characters minimum"})]}),g&&(0,a.jsx)("p",{role:"alert",className:"rounded-xl border border-red-200 bg-red-50 px-3 py-2 text-sm text-red-700",children:g}),(0,a.jsxs)("button",{type:"submit",disabled:v||y,className:"inline-flex min-h-12 w-full items-center justify-center gap-2 rounded-xl bg-blue-600 px-5 text-sm font-bold text-white shadow-sm transition-colors hover:bg-blue-700 disabled:cursor-not-allowed disabled:opacity-60",children:[v&&(0,a.jsx)(i.A,{"aria-hidden":"true",className:"h-4 w-4 animate-spin"}),v?"Creating account...":"Create my affiliate account"]})]})]}),(0,a.jsxs)("p",{className:"mt-6 text-center text-sm text-muted-foreground",children:["Already a partner?"," ",(0,a.jsx)(o(),{href:"/affiliate/login",className:"font-semibold text-blue-700 hover:underline",children:"Sign in"})]})]})})}function b(){return(0,a.jsxs)("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",className:"h-4 w-4",children:[(0,a.jsx)("path",{fill:"#4285F4",d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"}),(0,a.jsx)("path",{fill:"#34A853",d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"}),(0,a.jsx)("path",{fill:"#FBBC05",d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"}),(0,a.jsx)("path",{fill:"#EA4335",d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"})]})}},6296:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(78340).A)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},9339:(e,t,r)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var a={callServer:function(){return l.callServer},createServerReference:function(){return o.createServerReference},findSourceMapURL:function(){return n.findSourceMapURL}};for(var s in a)Object.defineProperty(t,s,{enumerable:!0,get:a[s]});let l=r(77304),n=r(4060),o=r(77197)},13748:(e,t,r)=>{Promise.resolve().then(r.bind(r,80))},23028:(e,t,r)=>{"use strict";r.d(t,{KE:()=>l,kA:()=>s,vw:()=>a});let a=[{path:"/",label:"Landing page"},{path:"/signup",label:"Sign up"},{path:"/free-ats-scanner",label:"Free ATS scanner"},{path:"/linkedin-score",label:"LinkedIn scanner"},{path:"/pricing",label:"Pricing"}];a.map(e=>e.path),a.map(e=>[e.path,e.label]);let s=4e3,l=[{id:"instagram",label:"Instagram"},{id:"tiktok",label:"TikTok"},{id:"youtube",label:"YouTube"},{id:"x",label:"X (Twitter)"},{id:"facebook",label:"Facebook"},{id:"linkedin",label:"LinkedIn"},{id:"snapchat",label:"Snapchat"},{id:"twitch",label:"Twitch"},{id:"discord",label:"Discord"},{id:"threads",label:"Threads"},{id:"pinterest",label:"Pinterest"},{id:"website",label:"Website / Blog"},{id:"newsletter",label:"Newsletter"},{id:"other",label:"Other"}];l.map(e=>e.id)},23814:(e,t,r)=>{"use strict";r.d(t,{B:()=>s});var a=r(9339);let s=(0,a.createServerReference)("40b8ee0402ff2dbed9d225095fc353af6763a4bf96",a.callServer,void 0,a.findSourceMapURL,"checkEmailAllowed")},73321:(e,t,r)=>{"use strict";var a=r(74645);r.o(a,"unstable_rethrow")&&r.d(t,{unstable_rethrow:function(){return a.unstable_rethrow}}),r.o(a,"useParams")&&r.d(t,{useParams:function(){return a.useParams}}),r.o(a,"usePathname")&&r.d(t,{usePathname:function(){return a.usePathname}}),r.o(a,"useRouter")&&r.d(t,{useRouter:function(){return a.useRouter}}),r.o(a,"useSearchParams")&&r.d(t,{useSearchParams:function(){return a.useSearchParams}})},78340:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(12115);let s=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()};var l={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let n=(0,a.forwardRef)((e,t)=>{let{color:r="currentColor",size:n=24,strokeWidth:o=2,absoluteStrokeWidth:i,className:u="",children:d,iconNode:c,...m}=e;return(0,a.createElement)("svg",{ref:t,...l,width:n,height:n,stroke:r,strokeWidth:i?24*Number(o)/Number(n):o,className:s("lucide",u),...m},[...c.map(e=>{let[t,r]=e;return(0,a.createElement)(t,r)}),...Array.isArray(d)?d:[d]])}),o=(e,t)=>{let r=(0,a.forwardRef)((r,l)=>{let{className:o,...i}=r;return(0,a.createElement)(n,{ref:l,iconNode:t,className:s(`lucide-${e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,o),...i})});return r.displayName=`${e}`,r}},86831:(e,t,r)=>{"use strict";r.d(t,{Ht:()=>d,Jv:()=>n,yK:()=>l});var a=r(84432),s=r(6137);let l=(0,a.MB)({baseURL:"https://futurole.com",plugins:[(0,s.N$)()]}),{signIn:n,signUp:o,signOut:i,useSession:u,getSession:d}=l},95358:(e,t,r)=>{"use strict";r.d(t,{j:()=>l,m:()=>s});var a=r(95155);function s(e){let{className:t}=e;return(0,a.jsx)("span",{translate:"no",className:`notranslate${t?` ${t}`:""}`,children:"FutuRole"})}function l(e){let t=e.split("FutuRole");if(1===t.length)return e;let r=[];for(let e=0;e<t.length;e++){if(0===e){t[e]&&r.push(t[e]);continue}let s=r.length>0?r[r.length-1]:null,l="";"string"==typeof s&&s.endsWith(" ")&&(r[r.length-1]=s.slice(0,-1),l=" ");let n=t[e],o="",i=n;n.startsWith(" ")&&(o=" ",i=n.slice(1)),r.push((0,a.jsxs)("span",{translate:"no",className:"notranslate",children:[l,"FutuRole",o]},e)),i&&r.push(i)}return 1===r.length?r[0]:r}}},e=>{e.O(0,[8500,6137,8441,6582,7358],()=>e(e.s=13748)),_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.