PageSourceSearch

https://www.quant-soc.com/_next/static/chunks/app/(platform)/welco…?dpl=dpl_6p7LDDNYmQPPdtq1Te1P1fe5csVx

js quant-soc.com collected 2026-10-09 22:31:15 UTC 77,276 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="2230e8ff-bb10-440e-9589-ef7cd4aaebf1",e._sentryDebugIdIdentifier="sentry-dbid-2230e8ff-bb10-440e-9589-ef7cd4aaebf1")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5158],{6216:(e,t,r)=>{"use strict";r.d(t,{Q:()=>s,W:()=>i});let n="app:navigation-journal";function a(){try{let e=sessionStorage.getItem(n);if(!e)return[];let t=JSON.parse(e);if(!Array.isArray(t))return[];return t.filter(e=>"string"==typeof e)}catch(e){return[]}}function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(!e||t.some(t=>e===t||e.startsWith("".concat(t,"?"))))return;let r=a();if(r[r.length-1]!==e){r.push(e);try{sessionStorage.setItem(n,JSON.stringify(r.slice(-50)))}catch(e){}}}function s(e,t){let r=a();for(let n=r.length-1;n>=0;n-=1){let a=r[n];if(a!==e&&!t.some(e=>a===e||a.startsWith("".concat(e,"?"))))return a}return null}},8348:(e,t,r)=>{"use strict";r.d(t,{T:()=>i});var n=r(95155),a=r(12115);function i(e){let{children:t,className:r,durationMs:i=280}=e,s=a.useRef(null),l=a.useRef(null);return a.useEffect(()=>{let e,t=s.current,r=l.current;if(!t||!r||"undefined"==typeof ResizeObserver||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let n=null,a=0,o=new ResizeObserver(()=>{let s=r.offsetHeight,l=n;n=s,null!=l&&l!==s&&(cancelAnimationFrame(a),window.clearTimeout(e),t.style.transition="",t.style.height="".concat(l,"px"),t.style.overflow="hidden",a=requestAnimationFrame(()=>{t.style.transition="height ".concat(i,"ms cubic-bezier(0.2, 0.7, 0.2, 1)"),t.style.height="".concat(s,"px"),e=window.setTimeout(()=>{t.style.transition="",t.style.height="",t.style.overflow=""},i+50)}))});return o.observe(r),()=>{o.disconnect(),cancelAnimationFrame(a),window.clearTimeout(e),t.style.transition="",t.style.height="",t.style.overflow=""}},[i]),(0,n.jsx)("div",{ref:s,className:r,children:(0,n.jsx)("div",{ref:l,children:t})})}},13332:(e,t,r)=>{"use strict";r.d(t,{BackNavigationProvider:()=>o,R:()=>c});var n=r(95155),a=r(12115),i=r(20063),s=r(6216);let l=(0,a.createContext)(null);function o(e){let{children:t}=e,r=(0,i.useRouter)(),o=(0,i.usePathname)(),c=(0,a.useRef)(null),d=(0,a.useCallback)(e=>(c.current=e,()=>{c.current===e&&(c.current=null)}),[]),u=(0,a.useCallback)(e=>{var t,n,a;let i=c.current;if(null==i?void 0:i.canGoBack){i.goBack(),null==(n=i.acknowledgeMirror)||n.call(i);return}if(null==i||null==(t=i.onPageBack)?void 0:t.call(i))return;let l=null!=(a=null==e?void 0:e.skipPathnames)?a:[],d=l.length>0&&!!o&&l.some(e=>o===e||o.startsWith("".concat(e,"?")));if(l.length>0&&o&&!d){let t=(0,s.Q)(o,l);if(t)return void r.push(t);if(null==e?void 0:e.fallbackHref)return void r.push(e.fallbackHref)}if(window.history.length>1)return void r.back();(null==e?void 0:e.fallbackHref)&&r.push(e.fallbackHref)},[o,r]),f=(0,a.useCallback)(()=>{var e;return(null==(e=c.current)||!e.canGoBack)&&window.history.length<=1},[]),p=(0,a.useMemo)(()=>({registerBackHandler:d,navigateBack:u,isAppAtRoot:f}),[d,u,f]);return(0,n.jsx)(l.Provider,{value:p,children:t})}function c(){let e=(0,a.useContext)(l);if(!e)throw Error("useBackNavigation must be used within BackNavigationProvider");return e}},14005:(e,t,r)=>{"use strict";r.d(t,{Nh:()=>f,Nk:()=>m,lx:()=>x,pF:()=>h,t0:()=>p});var n=r(45221),a=r(47937),i=r(9602),s=r(41740),l=r(15828),o=r(73153);let c={accent:"#10b981",gradientFrom:"#10b981",gradientTo:"#059669",soft:"rgba(16, 185, 129, 0.12)",icon:n.A,label:l.S.learn.tracks.foundations},d={accent:"#8b5cf6",gradientFrom:"#8b5cf6",gradientTo:"#7c3aed",soft:"rgba(139, 92, 246, 0.12)",icon:a.A,label:l.S.learn.tracks.researcher},u={foundations:c,researcher:d,developer:{accent:"#0ea5e9",gradientFrom:"#0ea5e9",gradientTo:"#0284c7",soft:"rgba(14, 165, 233, 0.12)",icon:i.A,label:l.S.learn.tracks.developer},portfolio_manager:{accent:"#f59e0b",gradientFrom:"#f59e0b",gradientTo:"#d97706",soft:"rgba(245, 158, 11, 0.12)",icon:s.A,label:l.S.learn.tracks.portfolio_manager}};function f(e){return String(null!=e?e:"").replace(/-/g,"_")}function p(e){var t;return null!=(t=u[f(e)])?t:c}function h(e,t){let r=p(e);return t?{...r,accent:t,gradientFrom:t,gradientTo:(0,o.Qw)(t,28),soft:(0,o.uq)(t,12)}:r}function x(e){return{backgroundImage:"linear-gradient(120deg, ".concat(e.gradientFrom,", ").concat(e.gradientTo,")"),WebkitBackgroun
1dClip:"text",backgroundClip:"text",color:"transparent",WebkitTextFillColor:"transparent"}}let m="foundations"},19548:(e,t,r)=>{"use strict";r.d(t,{h:()=>j});var n=r(37965),a=r(34604),i=r(80647),s=r(28150),l=r(85710),o=r(44026),c=r(39332),d=r(78500),u=r(92927),f=r(79397),p=r(65506),h=r(89559),x=r(85843),m=r(77801),g=r(41669),v=r(1524),b=r(56154);let y={ArrowLeftRight:n.A,Boxes:a.A,Calculator:i.A,Code2:s.A,Database:l.A,Dice5:o.A,GitBranch:c.A,GitMerge:d.A,Landmark:u.A,Layers:f.A,Radio:p.A,RefreshCw:h.A,Scale:x.A,ShieldAlert:m.A,Table:g.A,TrendingUp:v.A,Zap:b.A};function j(e){if(e)return y[e]}Object.keys(y)},22387:(e,t,r)=>{"use strict";r.d(t,{J:()=>c});var n=r(95155),a=r(12115),i=r(10489),s=r(83101),l=r(25016);let o=(0,s.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),c=a.forwardRef((e,t)=>{let{className:r,children:a,...s}=e;return(0,n.jsx)(i.b,{ref:t,className:(0,l.cn)(o(),r),...s,children:null!=a?a:"Email address"})});c.displayName=i.b.displayName},31542:(e,t,r)=>{"use strict";r.d(t,{N:()=>s});var n=r(12115),a=r(13332);function i(e,t){var r;t.current+=1;let n=null!=(r=window.history.state)?r:{};window.history.pushState({...n,__flowMirror:e,depth:t.current},"")}function s(e){let{flowId:t,depth:r,canGoBack:s,goBack:l,initialDepth:o=0,onPageBack:c,mirrorHistory:d=!0}=e,{registerBackHandler:u}=(0,a.R)(),{acknowledgeMirror:f,collapse:p,release:h}=function(e){let{flowId:t,depth:r,onPop:a,initialDepth:s=0,enabled:l=!0}=e,o=(0,n.useRef)(0),c=(0,n.useRef)(!1),d=(0,n.useRef)(r),u=(0,n.useRef)(!1),f=(0,n.useRef)(a);f.current=a,(0,n.useEffect)(()=>{if(l&&!u.current){u.current=!0;for(let e=0;e<s;e++)i(t,o)}},[l]),(0,n.useEffect)(()=>{if(!l)return;let e=d.current;if(d.current=r,r>e)for(let n=0;n<r-e;n++)i(t,o)},[r,t,l]),(0,n.useEffect)(()=>{if(!l)return;let e=()=>{if(!(o.current<=0)){if(o.current-=1,c.current){c.current=!1;return}f.current()}};return window.addEventListener("popstate",e),()=>window.removeEventListener("popstate",e)},[t,l]);let p=(0,n.useCallback)(()=>{l&&(o.current<=0||(o.current-=1))},[l]);return{acknowledgeMirror:p,collapse:(0,n.useCallback)(()=>{if(l){let e=o.current;e<=0||(o.current=0,c.current=!0,window.history.go(-e))}},[l]),release:(0,n.useCallback)(()=>{l&&(o.current=0,c.current=!0)},[l]),enabled:l}}({flowId:t,depth:r,onPop:l,initialDepth:o,enabled:d}),x=(0,n.useMemo)(()=>({canGoBack:s,goBack:l,acknowledgeMirror:d?f:void 0,onPageBack:c}),[s,l,f,d,c]);return(0,n.useEffect)(()=>u(x),[x,u]),{requestFlowBack:(0,n.useCallback)(()=>{s&&(l(),d&&f())},[s,l,d,f]),collapseFlowMirror:p,releaseFlowMirror:h}}},33567:(e,t,r)=>{"use strict";r.d(t,{d:()=>s});var n=r(72668),a=r(23009),i=r(93260);let s=async e=>{let{version:t,answers:r}=e,s=(0,i.Kb)(r);if(0===Object.keys(s).length)return"discard";try{return await (0,n.px)("/flows/".concat(encodeURIComponent(a.Vx),"/responses"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({version:t,answers:s}),onError:"throw"}),"flushed"}catch(t){let e=t instanceof n.hD?t.status:null==t?void 0:t.status;if(409===e||422===e)return"discard";return"retry"}}},44591:(e,t,r)=>{"use strict";r.d(t,{C:()=>c});var n=r(95155),a=r(12115),i=r(68595),s=r(83101),l=r(25016);let o=(0,s.F)("inline-flex items-center justify-center rounded-full font-semibold transition-all duration-200 outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{solid:"bg-white text-black border border-white hover:bg-neutral-100",member:"bg-muted text-muted-foreground border border-border hover:bg-secondary",outline:"bg-transparent text-foreground border border-foreground hover:bg-muted/30",ghost:"bg-transparent text-foreground border border-transparent hover:bg-muted/30",mutedOutline:"bg-transparent text-neutral-200 border border-neutral-300",gradient:"relative overflow-hidden border-0 text-white hover:-translate-y-0.5 hover:brightness-110",bare:"bg-transparent"},size:{auto:"px-0 py-0",sm:"h-8 px-3 text-xs",md:"h-9 px-4 text-sm",lg:"h-10 px-6 text-base",xl:"h-12 px-8 text-lg"}},defaultVariants:{variant:"solid",size:"lg"}}),c=e=>{let{children:t,className:r,variant:s="solid",size:c="lg",as:d,parentGroupHover:u=!1,parentGroup:f,arrow:p="hover",arrowDelay:h=1,from:x="currentColor",to:m="currentColor",glow:g=!0,leadingIcon:v,style:b,...y}=e,j="project"===f||u,w="gradient"===s,[k,N]=(0,a.useState)("delayed"!==p);(0,a.useEffect)(()=>
1{if("delayed"!==p)return void N(!0);N(!1);let e=window.setTimeout(()=>N(!0),1e3*Math.max(0,h));return()=>window.clearTimeout(e)},[p,h]);let C="function"==typeof v,[S,A]=a.useState(!1),P=a.useCallback(()=>A(!0),[]),E=a.useCallback(()=>A(!1),[]),T=(e,t)=>r=>{"function"==typeof e&&e(r),t()},I=C?{onMouseEnter:T(y.onMouseEnter,P),onMouseLeave:T(y.onMouseLeave,E),onFocus:T(y.onFocus,P),onBlur:T(y.onBlur,E)}:null,_=C?v({active:S}):v,M="always"===p||"delayed"===p,W="always"===p||"delayed"===p&&k,z=j?"group-hover/project:-translate-x-[var(--jog)] group-data-[revealed=true]/project:-translate-x-[var(--jog)]":"",L=w?{backgroundImage:"linear-gradient(135deg, ".concat(x,", ").concat(m,")"),...g?{"--cta-glow":"0 12px 28px -12px ".concat(m)}:{},"--tw-ring-color":m}:void 0;return(0,n.jsxs)(d||"button",{className:(0,l.cn)("group/cta",o({variant:s,size:c}),w&&g&&"shadow-[shadow:var(--cta-glow)]","[--gap:0.375rem] [--icon:1em] [--unit:calc(var(--gap)+var(--icon))] [--jog:0.25rem]","sm"===c?"[--padx:0.75rem]":"md"===c?"[--padx:1rem]":"lg"===c?"[--padx:1.5rem]":"xl"===c?"[--padx:2rem]":"[--padx:0rem]","sm"===c?"[--capfix:0.10em]":"md"===c?"[--capfix:0.115em]":"lg"===c?"[--capfix:0.12em]":"[--capfix:0.125em]",r),style:{...L,...b},...y,...I,children:[w?(0,n.jsx)("span",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 -translate-x-full bg-gradient-to-r from-transparent via-white/25 to-transparent transition-transform duration-500 group-hover/cta:translate-x-full"}):null,(0,n.jsx)("span",{className:"w-full flex justify-center",children:(0,n.jsx)("span",{className:(0,l.cn)("transition-transform duration-200 ease-out leading-none","ghost"===s&&["-translate-x-[var(--padx)]","group-hover/cta:translate-x-0",j?"group-hover/project:translate-x-0 group-data-[revealed=true]/project:translate-x-0":""]),children:(0,n.jsxs)("span",{className:"grid auto-cols-max grid-flow-col items-center justify-center min-w-0",children:[(0,n.jsx)("span",{"aria-hidden":"true",className:(0,l.cn)("overflow-hidden transition-[width] duration-200 ease-out","ghost"===s?"w-0":"w-[calc(var(--unit)/2)]","group-hover/cta:w-[calc(var(--unit)/2+var(--jog)/2)]",j?"group-hover/project:w-[calc(var(--unit)/2+var(--jog)/2)] group-data-[revealed=true]/project:w-[calc(var(--unit)/2+var(--jog)/2)]":"")}),_?(0,n.jsx)("span",{"aria-hidden":"true",className:(0,l.cn)("inline-flex h-[1em] w-[1em] shrink-0 items-center justify-center","mr-[var(--gap)] -translate-y-[var(--capfix)]","transition-transform duration-200 ease-out","group-hover/cta:-translate-x-[var(--jog)]",z,"[&>span]:block [&>span]:h-full [&>span]:w-full","[&_svg]:block [&_svg]:h-full [&_svg]:w-full [&_svg]:text-current"),children:_}):null,(0,n.jsx)("span",{className:(0,l.cn)("min-w-0 leading-[1.1] transition-transform duration-200 ease-out","group-hover/cta:-translate-x-[var(--jog)]",z),children:null!=t?t:"Get started"}),(0,n.jsx)("span",{"aria-hidden":"true",className:(0,l.cn)("overflow-hidden transition-[width] duration-200 ease-out",M?"w-[var(--unit)]":"w-0","group-hover/cta:w-[var(--unit)]",j?"group-hover/project:w-[var(--unit)] group-data-[revealed=true]/project:w-[var(--unit)]":""),children:(0,n.jsxs)("span",{className:"inline-flex items-center leading-none",children:[(0,n.jsx)("span",{className:"shrink-0 w-[var(--gap)]"}),(0,n.jsx)("span",{className:"inline-flex items-center justify-center h-[1em] w-[1em] -translate-y-[var(--capfix)]",children:(0,n.jsx)(i.A,{stroke:2,className:(0,l.cn)("block h-full w-full text-current","delayed"===p?"transition-all duration-300 ease-out":"transition-all duration-200 ease-out",W?"opacity-100 translate-x-0":"opacity-0 translate-x-1","group-hover/cta:opacity-100 group-hover/cta:translate-x-0",j?"group-hover/project:opacity-100 group-hover/project:translate-x-0 group-data-[revealed=true]/project:opacity-100 group-data-[revealed=true]/project:translate-x-0":"")})})]})}),(0,n.jsx)("span",{"aria-hidden":"true",className:(0,l.cn)("overflow-hidden transition-[width] duration-200 ease-out","ghost"===s?"w-[var(--unit)]":"w-[calc(var(--unit)/2)]","group-hover/cta:w-[calc(var(--unit)/2-var(--jog)/2)]",j?"group-hover/project:w-[calc(var(--unit)/2-var(--jog)/2)] group-data-[revealed=true]/project:w-[calc(var(--unit)/2-var(--jog)/2)]":"")})]})})})]})}},45634:(e,t,r)=>{"use strict";r.d(t,{y:()=>u});var n=r(95155);r(12115);var a=r(83101),i=r(25016);let s={400:"--brand-400",500:"--brand-500",600:"--brand-600",700:"--brand-700",800:"--brand-800"},l={b:"to bottom",r:"to right",tr:"to top right"},o=(0,a.F)("inline-block pb-[0.08em] font-sans font-bold tracking-tight",{variants:{size:{sm:"text-sm",md:"text-base",lg:"text-lg",h1:"text-h1",h2:"text-h2",h3:"text-h3",hero:"text-fluid-3xl",inherit:"text-[length:inherit] leading-[inherit] tracking-[inherit]"}},defaultVariants:{size:"h2"}}),c={calm:"animate-[gradient-text-pan_8s_ease-in-out_infinite_alternate] motion-reduce:animate-none",vivid:"animate-[gradient-text-pan_7s_ease-in-out_infinite_alternate] motion-reduce:animate-none"},d={calm:"200% 200%",vivid:"175% 100%"};function u(e){let{children:t="Gradient",as:r="span",className:a,variant:u="brand",brandShade:f=500,direction:p="b",size:h,from:x,to:m,via:g,animate:v=!1,intensity:b="calm"}=e,y="custom"===u?{from:null!=x?x:"hsl(var(--brand-500))",to:null!=m?m:"hsl(var(--foreground))"}:{from:"hsl(var(".concat(s[f],"))"),to:"hsl(var(--foreground))"},j=g?"".concat(y.from,", ").concat(g,", ").concat(y.to):"".concat(y.from,", ").concat(y.to);return(0,n.jsx)(r,{className:(0,i.cn)(o({size:h}),v&&c[b],a),style:{backgroundImage:"linear-gradient(".concat(l[p],", ").concat(j,")"),backgroundSize:v?d[b]:void 0,WebkitBackgroun
1dClip:"text",backgroundClip:"text",color:"transparent",WebkitTextFillColor:"transparent"},children:t})}},58719:(e,t,r)=>{"use strict";r.d(t,{_v:()=>u._v,VV:()=>f,Ay:()=>h});var n=r(95155),a=r(12115),i=r(20063),s=r(74848),l=r(23714),o=r(30099),c=r(68302),d=r(49080),u=r(96179);function f(e){let{onStateChange:t,...r}=e,[i,s]=(0,a.useState)(u._v),l=(0,a.useCallback)(e=>{s(e),null==t||t(e)},[t]),o=(0,u.rG)(i),f=(0,u.De)(i);return(0,n.jsxs)(n.Fragment,{children:[i.resolving?(0,n.jsx)(d.E,{className:"h-8 w-56 max-w-full","aria-hidden":!0}):o?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(c.xe,{children:o}),f?(0,n.jsx)(c.vZ,{children:(0,n.jsx)("strong",{className:"text-foreground",children:f})}):null]}):null,(0,n.jsx)("div",{className:"mt-6",children:(0,n.jsx)(u.Is,{...r,onStateChange:l})})]})}var p=r(13332);let h=function(e){let{onStateChange:t,...r}=e,[d,h]=(0,a.useState)(u._v),[x,m]=(0,a.useState)(0),g=(0,a.useRef)(u._v),v=(0,s.o)(),b=(0,i.useSearchParams)(),y=(0,l.z)(),{registerBackHandler:j}=(0,p.R)(),w=(0,a.useCallback)(e=>{g.current=e,h(e),null==t||t(e)},[t]),k=!!(0,u.ww)(null==b?void 0:b.get("returnTo")),N=(0,a.useCallback)(()=>!!k&&(v.push(y.marketingLink),!0),[k,v,y.marketingLink]);return(0,a.useLayoutEffect)(()=>j({get canGoBack(){return g.current.backDepth>0},goBack:()=>{g.current.goBack()},onPageBack:N}),[j,N]),(0,n.jsx)(c.VI,{below:(0,n.jsx)(o.i,{children:d.email&&!d.resolving&&!["choose","email"].includes(d.stage)&&(0,n.jsx)(o.$,{disabled:d.busy,onClick:()=>{g.current=u._v,h(u._v),m(e=>e+1)}})}),children:(0,n.jsx)(f,{...r,initialEmail:x?void 0:r.initialEmail,prefillEmail:x?void 0:r.prefillEmail,onStateChange:w},x)})}},64805:(e,t,r)=>{"use strict";r.d(t,{Cv:()=>f,G:()=>h,Mg:()=>p,Xn:()=>u});var n=r(95155),a=r(12115),i=r(61527),s=r(25016),l=r(45634),o=r(57029);let c="hsl(var(--foreground))",d="hsl(var(--flow-heading-sheen))";function u(e){let{children:t,motion:r,id:a,className:l,as:c="h1"}=e,d="h2"===c?i.P.h2:i.P.h1;return(0,n.jsx)(d,{id:a,variants:r.heading,className:(0,s.cn)(o.R3,l),children:(0,n.jsx)(p,{children:t})})}function f(e){let{children:t,motion:r,className:a}=e;return(0,n.jsx)(i.P.p,{variants:r.subtext,className:(0,s.cn)(o.y2,a),children:t})}function p(e){let{children:t}=e;return(0,n.jsx)(l.y,{as:"span",size:"inherit",variant:"custom",direction:"r",from:c,via:d,to:c,animate:!0,intensity:"vivid",className:(0,s.cn)("block font-[inherit] motion-reduce:[background-position:50%_50%]","py-[0.12em] my-[-0.12em]"),children:t})}function h(e){let{icon:t}=e,r="flow-heading-".concat((0,a.useId)().replace(/[^a-zA-Z0-9]/g,""));return(0,n.jsx)(t,{"aria-hidden":!0,style:{stroke:"url(#".concat(r,")")},className:"mr-[0.3em] inline-block h-[0.85em] w-[0.85em] align-[-0.12em]",children:(0,n.jsx)("defs",{children:(0,n.jsxs)("linearGradient",{id:r,gradientUnits:"userSpaceOnUse",x1:"0",y1:"12",x2:"24",y2:"12",children:[(0,n.jsx)("stop",{offset:"0%",style:{stopColor:c}}),(0,n.jsx)("stop",{offset:"50%",style:{stopColor:d}}),(0,n.jsx)("stop",{offset:"100%",style:{stopColor:c}})]})})})}},81458:(e,t,r)=>{Promise.resolve().then(r.bind(r,99633))},83721:(e,t,r)=>{"use strict";r.d(t,{B:()=>i});var n=r(95155),a=r(25016);function i(e){let{className:t}=e;return(0,n.jsxs)("div",{"aria-hidden":!0,className:(0,a.cn)("pointer-events-none fixed inset-0 z-0 overflow-hidden",t),children:[(0,n.jsx)("div",{className:"absolute inset-0",style:{backgroundImage:"radial-gradient(125% 85% at 50% -14%, rgb(var(--brand-anim-first)) 0%, transparent 62%),radial-gradient(95% 65% at 106% 6%, rgb(var(--brand-anim-fourth)) 0%, transparent 58%),radial-gradient(105% 70% at -8% 88%, rgb(var(--brand-anim-third)) 0%, transparent 60%),radial-gradient(95% 55% at 55% 112%, rgb(var(--brand-anim-fifth)) 0%, transparent 62%),linear-gradient(172deg, rgb(var(--brand-anim-gradient-start)) 0%, rgb(var(--brand-anim-gradient-end)) 100%)"}}),(0,n.jsx)("div",{className:"absolute inset-0",style:{backgroundImage:"radial-gradient(85% 45% at 50% -4%, hsl(var(--brand-500) / var(--flow-bloom-alpha)) 0%, transparent 74%),radial-gradient(70% 40% at 108% 78%, hsl(var(--brand-400) / calc(var(--flow-bloom-alpha) * 0.72)) 0%, transparent 70%),radial-gradient(60% 34% at -10% 34%, hsl(var(--brand-600) / calc(var(--flow-bloom-alpha) * 0.6)) 0%, transparent 72%)"}}),(0,n.jsx)("div",{className:"absolute inset-x-0 top-0 h-px",style:{backgroundImage:"linear-gradient(90deg, transparent, hsl(var(--brand-400) / 0.45), transparent)"}})]})}},93260:(e,t,r)=>{"use strict";r.d(t,{D:()=>i,Ei:()=>g,FU:()=>h,Go:()=>o,Kb:()=>b,LB:()=>n,R7:()=>f,S$:()=>c,S1:()=>a,Wd:()=>u,YU:()=>p,_U:()=>d,aQ:()=>l,dK:()=>x,iX:()=>s,pk:()=>m});let n=["first-year","second-year","third-year","fourth-year","masters","phd","other"],a=["beginner","knows-markets","strong-stem","quant-experience","not-sure"],i=["break-in","learn-models","build-systems","run-money","explore"],s={year:"year",experience:"experience",goal:"goal"},l=Object.values(s);function o(e){return e.filter(e=>l.includes(e))}let c="email",d="join",u="build",f="played";function p(e){return e[u]===f}function h(e){let{email:t,marketingConsent:r,prefilled:n=!1}=e;return"".concat(void 0===r?"-":r?"1":"0").concat(n?"p":"","|").concat(t.trim())}function x(e){if(!e)return null;let t=e.indexOf("|");if(t<1)return null;let r=e.slice(0,t);if(!/^[01-]p?$/.test(r))return null;let n=e.slice(t+1).trim();if(!n)return null;let a={email:n,prefilled:r.includes("p")};return"-"!==r[0]&&(a.marketingConsent="1"===r[0]),a}function m(e){return{[c]:h({email:e,prefilled:!0})}}function g(e){var t;return(null==(t=x(e[c]))?void 0:t.prefilled)===!0}function v(e,t){return e.find(e=>e===t)}function b(e){let t={},r=v(n,e[s.year]),l=v(a,e[s.experience]),o=v(i,e[s.goal]);
1return r&&(t.year=r),l&&(t.experience=l),o&&(t.goal=o),t}},94017:(e,t,r)=>{"use strict";r.d(t,{EN:()=>o});var n=r(95155);r(12115);var a=r(61527),i=r(95913);let s={default:{circle1:{initial:{x:0,y:0},animate:{x:6,y:6,transition:{type:"spring",stiffness:100,damping:12}}},circle2:{initial:{x:0,y:0},animate:{x:-6,y:-6,transition:{type:"spring",stiffness:100,damping:12}}}}};function l(e){let{size:t,...r}=e,{controls:l}=(0,i.h)(),o=(0,i.vn)(s);return(0,n.jsxs)(a.P.svg,{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",...r,children:[(0,n.jsx)(a.P.circle,{cx:"9",cy:"9",r:"7",variants:o.circle1,initial:"initial",animate:l}),(0,n.jsx)(a.P.circle,{cx:"15",cy:"15",r:"7",variants:o.circle2,initial:"initial",animate:l})]})}function o(e){return(0,n.jsx)(i.hh,{icon:l,...e})}},99633:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>rr});var n=r(95155),a=r(12115),i=r(74848),s=r(25016),l=r(23714),o=r(54174),c=r(65684),d=r(71408),u=r(61527),f=r(65229),p=r(90368),h=r(41212),x=r(35013),m=r(53434),g=r(28264),v=r(31542);let b=[.22,.84,.28,1],y=[.4,0,.9,.4],j={type:"spring",visualDuration:.2,bounce:.16},w={duration:.18,ease:"linear"},k={duration:.12,ease:"linear"};function N(e){return(0,a.useMemo)(()=>{if(e.reduced){let e={hidden:{opacity:1,y:0,scale:1},visible:{opacity:1,y:0,scale:1},leaving:{opacity:1,y:0,scale:1}};return{reduced:!0,stage:{hidden:{opacity:0,y:0,scale:1},visible:{opacity:1,y:0,scale:1,transition:w},leaving:{opacity:0,y:0,scale:1,transition:k}},figure:e,heading:e,subtext:e,group:e,item:e,action:e}}let t=e=>({duration:e,ease:b});return{reduced:!1,stage:{hidden:{opacity:0},visible:{opacity:1,transition:{duration:.16,ease:b,delayChildren:0,staggerChildren:.03}},leaving:{opacity:0,y:10,scale:.985,transition:{duration:.17,ease:y}}},figure:{hidden:{opacity:0,y:-8,scale:.94},visible:{opacity:1,y:0,scale:1,transition:t(.24)}},heading:{hidden:{opacity:0,y:-12},visible:{opacity:1,y:0,transition:t(.22)}},subtext:{hidden:{opacity:0,y:-10},visible:{opacity:1,y:0,transition:t(.2)}},group:{hidden:{},visible:{transition:{staggerChildren:.035}}},item:{hidden:{opacity:0,y:-12,scale:.98},visible:{opacity:1,y:0,scale:1,transition:j}},action:{hidden:{opacity:0,y:-10},visible:{opacity:1,y:0,transition:t(.22)}}}},[e.reduced])}var C=r(48314);function S(e){let{onRestart:t,className:r}=e;return(0,n.jsx)(h.$,{type:"button",variant:"ghost",size:"icon-sm",rounded:"full","aria-label":m.G.flow.a11y.restart,title:m.G.flow.restart,onClick:t,className:(0,s.cn)("shrink-0 text-muted-foreground hover:text-foreground",r),children:(0,n.jsx)(C.A,{"aria-hidden":!0,className:"h-4 w-4"})})}let A="bg-[linear-gradient(90deg,hsl(var(--brand-400)),hsl(var(--brand-600)))] shadow-[0_0_10px_-2px_hsl(var(--brand-500)/0.75)]";function P(e){let{current:t,total:r,motion:a,variant:i="segments",segments:l,onJump:o,className:c}=e;if("none"===i||r<=0)return null;let d=Math.max(0,Math.min(r,t)),f=d/r*100,p=(0,g.G)(m.G.flow.a11y.progressValue,{current:d,total:r});return"segments"===i&&o&&(null==l?void 0:l.length)&&l&&o?(0,n.jsxs)("div",{className:(0,s.cn)("w-full",c),children:[(0,n.jsx)("span",{className:"sr-only",children:p}),(0,n.jsx)("div",{role:"group","aria-label":m.G.flow.a11y.progressLabel,className:"flex w-full items-center gap-1.5",children:l.map((e,t)=>{let i=t<d,l=e.jumpable?e.title?(0,g.G)(m.G.flow.a11y.progressJump,{current:e.position,total:r,title:e.title}):(0,g.G)(m.G.flow.a11y.progressJumpPlain,{current:e.position,total:r}):(0,g.G)(m.G.flow.a11y.progressJumpLocked,{current:e.position,total:r});return(0,n.jsx)("button",{type:"button",className:(0,s.cn)("group/segment relative -my-2.5 flex flex-1 items-center rounded-full py-2.5 outline-none","focus-visible:ring-2 focus-visible:ring-[hsl(var(--brand-500))] focus-visible:ring-offset-2 focus-visible:ring-offset-background",e.jumpable?"cursor-pointer":"cursor-default"),disabled:!e.jumpable,"aria-disabled":!e.jumpable,"aria-label":l,"aria-current":e.current?"step":void 0,onClick:()=>o(e.id),children:(0,n.jsx)("span",{className:(0,s.cn)("block h-1.5 w-full overflow-hidden rounded-full bg-foreground
1/[0.09] ring-1 ring-inset ring-foreground/[0.04]",e.jumpable&&"transition-colors duration-200 group-hover/segment:bg-foreground/[0.16]",e.current&&"ring-[hsl(var(--brand-500)/0.45)]"),children:(0,n.jsx)(u.P.span,{className:(0,s.cn)("block h-full origin-left rounded-full",A),initial:!1,animate:{scaleX:+!!i},transition:a.transition.swelling})})},e.id)})})]}):(0,n.jsx)("div",{role:"progressbar","aria-label":m.G.flow.a11y.progressLabel,"aria-valuemin":0,"aria-valuemax":r,"aria-valuenow":d,"aria-valuetext":p,className:(0,s.cn)("flex w-full items-center gap-1.5",c),children:"segments"===i?Array.from({length:r},(e,t)=>(0,n.jsx)("span",{className:"h-1.5 flex-1 overflow-hidden rounded-full bg-foreground/[0.09] ring-1 ring-inset ring-foreground/[0.04]",children:(0,n.jsx)(u.P.span,{className:(0,s.cn)("block h-full origin-left rounded-full",A),initial:!1,animate:{scaleX:+(t<d)},transition:a.transition.swelling})},t)):(0,n.jsx)("span",{className:"h-1.5 w-full overflow-hidden rounded-full bg-foreground/[0.09] ring-1 ring-inset ring-foreground/[0.04]",children:(0,n.jsx)(u.P.span,{className:(0,s.cn)("block h-full rounded-full",A),initial:!1,animate:{width:"".concat(f,"%")},transition:a.transition.swelling})})})}function E(e){if("interstitial"===e.kind)return!1;if(e.kind.startsWith("custom:")){var t;return null==(t=e.countsAsQuestion)||t}return!0}function T(e,t){return e.steps.findIndex(e=>e.id===t)}function I(e,t){if("interstitial"===e.kind)try{return null!=e.resolve(t)}catch(e){return!1}if(e.kind.startsWith("custom:")){if(!e.renders)return!0;try{return!1!==e.renders(t)}catch(e){}}return!0}function _(e,t,r){for(let n=Math.max(0,t);n<e.steps.length;n++){let t=e.steps[n];if(I(t,r))return t.id}return null}function M(e,t,r){let n=T(e,t);return n>=0&&I(e.steps[n],r)}function W(e,t,r){let n=T(e,t);return n<=0?[]:e.steps.slice(0,n).filter(e=>E(e)&&I(e,r)).map(e=>e.id)}function z(e,t,r,n){let a=T(e,t);if(a<0)return!1;let i=e.steps[a];if(!E(i)||!I(i,r))return!1;if(t===n)return!0;let s=r[t];return"string"==typeof s&&s.length>0}function L(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"steps",a={...t},i=r&&M(e,r,a)?r:null,s=null!=i?i:_(e,0,a);return s?{currentId:s,stack:W(e,s,a),answers:a,phase:n}:{currentId:"",stack:[],answers:a,phase:"finale"}}function R(e,t){let r={};for(let n of e.steps){if(!E(n)||!I(n,t))continue;let e=t[n.id];"string"==typeof e&&e.length>0&&(r[n.id]=e)}return r}var O=r(44591),G=r(29485),F=r(57029),B=r(64805);function D(e){var t;let{content:r,continueStep:i,motion:s}=e,l=(0,G.Y)(),o=N(s),c=(0,a.useRef)(null),d=(0,a.useRef)(!1),f=()=>{d.current||(d.current=!0,l.play("press.click"),i())};return(0,a.useEffect)(()=>{let e=r.autoAdvanceMs;if(e&&!(e<=0))return c.current=setTimeout(()=>{d.current||(d.current=!0,i())},e),()=>{c.current&&clearTimeout(c.current)}},[r.autoAdvanceMs,i]),(0,n.jsxs)("div",{onClick:f,className:"flex w-full cursor-pointer flex-col self-stretch px-1 py-6 text-center sm:py-10",children:[(0,n.jsxs)("div",{className:"flex flex-1 flex-col items-center justify-center",children:[r.animationSlot&&(0,n.jsx)(u.P.div,{variants:o.figure,className:"mb-7",children:r.animationSlot}),(0,n.jsx)(B.Xn,{motion:o,className:"max-w-[19ch]",children:r.heading}),r.subtext&&(0,n.jsx)(B.Cv,{motion:o,className:"mt-3.5 max-w-[34ch]",children:r.subtext}),(0,n.jsx)(u.P.div,{variants:o.action,className:"mt-9 flex flex-col items-center",children:(0,n.jsx)(O.C,{variant:"gradient",from:F.Vy,to:F.oL,size:"xl",className:"h-11 px-7 text-[0.9375rem]",onClick:e=>{e.stopPropagation(),f()},children:null!=(t=r.continueLabel)?t:m.G.flow.continue})})]}),(0,n.jsx)(u.P.span,{"aria-hidden":!0,variants:o.action,className:"mt-8 block shrink-0 text-xs text-muted-foreground/70",children:m.G.flow.tapToContinue})]})}var V=r(5917);function q(e){let{icon:t,active:r=!1,reduced:a=!1,className:i,strokeWidth:s=1.9,style:l}=e;return(0,n.jsx)(t,{play:!a&&r,className:i,strokeWidth:s,style:l})}function U(e){var t;let{step:r,answers:i,answer:l,continueStep:o,motion:c}=e,d=(0,G.Y)(),f=N(c),p=(0,a.useId)(),h=null!=(t=i[r.id])?t:null,[x,g]=(0,a.useState)(null),v=(0,a.useRef)([]),b=(0,a.useRef)(null),y=Math.max(0,r.options.findIndex(e=>e.id===h)),[j,w]=(0,a.useState)(y);(0,a.useEffect)(()=>()=>{b.current&&clearTimeout(b.current)},[]);let k=(0,a.useCallback)(e=>{x||(d.play("selection.change"),l(e),g(e),b.current=setTimeout(o,c.durationsMs.reveal+c.durationsMs.feedback))},[x,d,l,o,c.durationsMs.reveal,c.durationsMs.feedback]),C=e=>{var t;let n=r.options.length,a=(e%n+n)%n;
1w(a),null==(t=v.current[a])||t.focus({preventScroll:!0})};return(0,n.jsxs)("div",{className:"w-full",children:[r.figure&&(0,n.jsx)(u.P.div,{variants:f.figure,className:"mb-5",children:r.figure}),(0,n.jsx)(B.Xn,{id:p,motion:f,children:r.title}),r.subtext&&(0,n.jsx)(B.Cv,{motion:f,className:"mt-2.5",children:r.subtext}),(0,n.jsx)(u.P.div,{role:"radiogroup","aria-labelledby":p,onKeyDown:e=>{switch(e.key){case"ArrowDown":case"ArrowRight":e.preventDefault(),C(j+1);break;case"ArrowUp":case"ArrowLeft":e.preventDefault(),C(j-1);break;case"Home":e.preventDefault(),C(0);break;case"End":e.preventDefault(),C(r.options.length-1)}},variants:f.group,className:"mt-7 grid gap-2.5",children:r.options.map((e,t)=>{var r;let a=h===e.id,i=null!=(r=e.accent)?r:"hsl(var(--brand-500))";return(0,n.jsx)(u.P.div,{variants:f.item,children:(0,n.jsx)(u.P.div,{animate:{scale:x===e.id?1.02:1},transition:c.transition.pulse,children:(0,n.jsxs)("button",{type:"button",role:"radio","aria-checked":a,tabIndex:t===j?0:-1,ref:e=>{v.current[t]=e},onFocus:()=>w(t),onClick:()=>k(e.id),className:(0,s.cn)("group relative flex w-full cursor-pointer items-center gap-3.5 rounded-2xl px-4 py-3.5 text-left outline-none",F.XS,F.YD,"focus-visible:ring-2 focus-visible:ring-[hsl(var(--brand-500)/0.7)]",a&&F.Fv),children:[e.icon&&(0,n.jsx)("span",{"aria-hidden":!0,className:(0,s.cn)("flex h-11 w-11 shrink-0 items-center justify-center rounded-xl transition-shadow duration-200",a?"text-white shadow-[0_6px_16px_-8px_hsl(var(--brand-600)/0.9)]":"ring-1 ring-inset ring-[hsl(var(--flow-card-ring)/var(--flow-card-ring-alpha))]"),style:a?{backgroundImage:"linear-gradient(150deg, color-mix(in srgb, ".concat(i," 72%, white), ").concat(i,")")}:{backgroundImage:"linear-gradient(150deg, color-mix(in srgb, ".concat(i," 16%, transparent), color-mix(in srgb, ").concat(i," 7%, transparent))"),color:i},children:(0,n.jsx)(q,{icon:e.icon,active:x===e.id,reduced:c.reduced,className:"h-[1.375rem] w-[1.375rem]"})}),(0,n.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,n.jsx)("span",{className:"block text-[0.9375rem] font-semibold leading-snug text-foreground",children:e.label}),e.description&&(0,n.jsx)("span",{className:"mt-0.5 block text-[0.8125rem] leading-snug text-muted-foreground",children:e.description})]}),a&&(0,n.jsx)(u.P.span,{"aria-hidden":!0,initial:c.scaleIn.initial,animate:c.scaleIn.animate,transition:c.transition.pulse,className:"flex h-6 w-6 shrink-0 items-center justify-center rounded-full bg-[hsl(var(--brand-600))] text-white shadow-[0_4px_10px_-4px_hsl(var(--brand-600)/0.9)]",children:(0,n.jsx)(V.A,{className:"h-3.5 w-3.5",strokeWidth:3})})]})})},e.id)})}),(0,n.jsx)("p",{className:"sr-only",children:m.G.flow.a11y.optionsHint})]})}let X="w-16 shrink-0 sm:w-20";function J(e){var t;let{definition:r,renderers:i,initialAnswers:l,initialStepId:o,initialPhase:c="steps",onAnswersChange:b,onComplete:y,onFinished:j,finale:w,onExitAtRoot:k,onExit:C,onRestart:A,chromeAction:O,motionPreset:G="deliberate",progress:F="segments",className:B}=e,V=(0,x.cJ)(G),q=N(V),J=(0,a.useCallback)((e,t)=>(function(e,t,r){switch(r.type){case"ANSWER":if("steps"!==t.phase||t.answers[r.stepId]===r.value)return t;return{...t,answers:{...t.answers,[r.stepId]:r.value}};case"CONTINUE":{if("steps"!==t.phase)return t;let r=function(e,t,r){let n=T(e,t);return n<0?_(e,0,r):_(e,n+1,r)}(e,t.currentId,t.answers);if(!r)return{...t,phase:"finale"};let n=e.steps[T(e,t.currentId)],a=n&&E(n)?[...t.stack,t.currentId]:t.stack;return{...t,currentId:r,stack:a}}case"BACK":{if("steps"!==t.phase)return t;let e=t.stack[t.stack.length-1];if(!e)return t;return{...t,currentId:e,stack:t.stack.slice(0,-1)}}case"RESTORE":{var n;if("steps"!==t.phase)return t;let a={...r.answers},i=r.stepId&&M(e,r.stepId,a)?r.stepId:null,s=null!=(n=null!=i?i:_(e,0,a))?n:t.currentId;if(s===t.currentId&&function(e,t){let r=Object.keys(e),n=Object.keys(t);return r.length===n.length&&r.every(r=>e[r]===t[r])}(t.answers,a))return t;return{...t,answers:a,currentId:s,stack:W(e,s,a)}}case"JUMP_TO_STEP":if("steps"!==t.phase||r.stepId===t.currentId||!z(e,r.stepId,t.answers,t.currentId))return t;
1return{...t,currentId:r.stepId,stack:W(e,r.stepId,t.answers)};case"RESTART":return L(e);case"ENTER_FINALE":if("steps"!==t.phase)return t;return{...t,phase:"finale"};case"FINALE_DONE":if("done"===t.phase)return t;return{...t,phase:"done"};default:return t}})(r,e,t),[r]),[H,Q]=(0,a.useReducer)(J,void 0,()=>L(r,l,o,c)),{currentId:K,stack:$,answers:Z,phase:Y}=H,ee=(0,a.useMemo)(()=>{let e=new Map;return r.steps.forEach((t,r)=>e.set(t.id,r)),e},[r]),et="steps"===Y?r.steps[null!=(t=ee.get(K))?t:-1]:void 0,er=(0,a.useCallback)(e=>Q({type:"ANSWER",stepId:K,value:e}),[K]),en=(0,a.useCallback)(()=>Q({type:"CONTINUE"}),[]),[ea,ei]=(0,a.useState)(null),es=(0,a.useCallback)((e,t)=>{ei(r=>t?{stepId:e,goBack:t}:r&&r.stepId!==e?r:null)},[]),el=(0,a.useCallback)(e=>es(K,e),[es,K]);(0,a.useEffect)(()=>{ei(e=>e&&e.stepId!==K?null:e)},[K]);let eo=(0,a.useCallback)(()=>{if(ea)return void ea.goBack();Q({type:"BACK"})},[ea]),ec=(0,a.useCallback)(e=>Q({type:"JUMP_TO_STEP",stepId:e}),[]),ed="steps"===Y&&(!!ea||$.length>0),{requestFlowBack:eu}=(0,v.N)({flowId:r.flowId,depth:$.length,canGoBack:ed,goBack:eo,onPageBack:k,mirrorHistory:!1});(0,a.useEffect)(()=>{"steps"===Y&&K&&(null==b||b(Z,K))},[Z,K,Y,b]);let ef=(0,a.useRef)("steps"!==c),ep=(0,a.useRef)(!1);(0,a.useEffect)(()=>{"steps"===Y||ef.current||(ef.current=!0,null==y||y(R(r,Z)))},[Y,Z,r,y]),(0,a.useEffect)(()=>{"finale"!==Y||w||Q({type:"FINALE_DONE"})},[Y,w]),(0,a.useEffect)(()=>{"done"!==Y||ep.current||(ep.current=!0,null==j||j(R(r,Z)))},[Y,Z,r,j]);let eh=(0,a.useCallback)(()=>Q({type:"FINALE_DONE"}),[]),ex=(0,a.useCallback)(()=>{null==A||A(),ei(null),ef.current=!1,ep.current=!1,Q({type:"RESTART"})},[A]),em=0===$.length,eg=(0,a.useMemo)(()=>r.steps.filter(e=>E(e)&&I(e,Z)).length,[r,Z]),ev=(0,a.useMemo)(()=>"steps"===Y?function(e,t,r){var n;let a=T(e,t);if(a<0)return 0;let i=W(e,t,r).length;return(n=e.steps[a],E(n)&&I(n,r))?i+1:i}(r,K,Z):eg,[r,K,Z,Y,eg]),eb=(0,a.useMemo)(()=>(function(e,t){let r=[];for(let n of e.steps){if(!E(n)||!I(n,t))continue;let e=t[n.id];r.push({id:n.id,position:r.length+1,title:"single-select"===n.kind?n.title:"",answered:"string"==typeof e&&e.length>0})}return r})(r,Z).map(e=>({...e,jumpable:z(r,e.id,Z,K),current:e.id===K})),[r,Z,K]),ey="__finale__",ej=null,ew="",ek=(0,g.G)(m.G.flow.a11y.stepAnnouncement,{current:ev||1,total:eg||1});if("steps"===Y&&et){let e={step:et,answers:Z,answer:er,continueStep:en,motion:V,setStepBack:el};ey=et.id;let t=null==i?void 0:i[et.kind];if(t)ej=t(e),ew=ek;else if("single-select"===et.kind)ej=(0,n.jsx)(U,{...e,step:et}),ew="".concat(ek," ").concat(et.title);else if("interstitial"===et.kind){let e=et.resolve(Z);e&&(ej=(0,n.jsx)(D,{content:e,continueStep:en,motion:V}),ew=e.heading)}}else w&&(ej=w({answers:R(r,Z),complete:eh,motion:V}));let eN=(0,a.useRef)(!1),eC=(0,a.useRef)(!1);(0,a.useEffect)(()=>{if(!eC.current){eC.current=!0;return}eN.current=!0},[ey]);let eS=(0,a.useCallback)(e=>{e&&eN.current&&(eN.current=!1,e.focus({preventScroll:!0}))},[]),eA=!ed&&!!C,eP=!ed&&!eA;return(0,n.jsxs)("div",{className:(0,s.cn)("relative mx-auto flex w-full max-w-xl flex-col gap-6",B),children:["steps"===Y&&(0,n.jsxs)("div",{className:"flex w-full items-center gap-2 pt-1 sm:gap-3 sm:pt-2",children:[(0,n.jsx)("div",{className:(0,s.cn)(X,"flex items-center justify-end"),children:(0,n.jsx)(h.$,{variant:"ghost",size:"icon-sm","aria-label":eA?m.G.flow.a11y.exit:m.G.flow.a11y.back,onClick:eA?C:eu,className:(0,s.cn)("shrink-0",eP&&"invisible"),disabled:eP,children:eA?(0,n.jsx)(f.A,{className:"h-4 w-4"}):(0,n.jsx)(p.A,{className:"h-4 w-4"})})}),(0,n.jsx)("div",{className:"flex min-w-0 flex-1 items-center justify-center",children:(0,n.jsx)(P,{current:ev,total:eg,motion:V,variant:F,segments:eb,onJump:ec,className:"min-w-0 w-full flex-1 max-w-[14rem] sm:max-w-[20rem] md:max-w-[24rem]"})}),(0,n.jsx)("div",{className:(0,s.cn)(X,"flex items-center justify-start"),children:em?O:(0,n.jsx)(S,{onRestart:ex})})]}),(0,n.jsx)(d.N,{mode:"wait",children:(0,n.jsx)(u.P.div,{ref:eS,tabIndex:-1,className:"flex flex-1 items-center outline-none",variants:q.stage,initial:"hidden",animate:"visible",exit:"leaving",children:ej},ey)}
1,q.reduced?"reduced":"full"),(0,n.jsx)("p",{className:"sr-only",role:"status","aria-live":"polite",children:ew})]})}var H=r(52167);let Q={answers:{},lastStepId:null,completedAt:null,dirty:!1,discarded:!1};var K=r(83721),$=r(45697),Z=r(13817),Y=r(23009);let ee={ready:!1,questions:null},et={ready:!0,questions:null},er={answers:{},lastStepId:null},en=function(e){let{definition:t,narrowToQuestions:r,finale:d,renderers:u,flushAnswers:f,sanitizeAnswers:p,onFinishedHref:h,chromeAction:x,className:m}=e;(0,c._u)();let g=(0,l.z)(),v=(0,i.o)(),{user:b,isLoading:y}=(0,o.Jd)(),j=(0,a.useMemo)(()=>(0,H.mz)({flowId:t.flowId,version:t.version,sanitizeAnswers:p}),[t.flowId,t.version,p]),w=function(){let e=(0,Y.Hg)(),{user:t,isLoading:r}=(0,o.Jd)(),[n,i]=(0,a.useState)(ee),s=(0,a.useRef)(!1);return(0,a.useEffect)(()=>{if(s.current||r)return;if(s.current=!0,!t)return void i(et);let n=(0,$.Q)(t,e.flowId);if("incomplete"!==n.state||!n.everAnswered||0===n.outstanding.length)return void i(et);let a=e.askableQuestions?e.askableQuestions(n.outstanding):n.outstanding;i(a.length>0?{ready:!0,questions:a}:et)},[r,t,e]),n}(),k=w.questions,N=(0,a.useMemo)(()=>k&&r?r(k):null,[k,r]),C=null!=N,S=null!=N?N:t,{ready:A,snapshot:P,stage:E}=function(e){let[t,r]=(0,a.useState)({ready:!1,snapshot:Q,stage:"steps"});return(0,a.useEffect)(()=>{r({ready:!0,snapshot:e.read(),stage:e.readStage()})},[e]),t}(j),T=(0,a.useRef)(!1),I=C&&A&&null!=P.completedAt;I&&!T.current&&(T.current=!0,j.clear());let _=I?er:P,M=A&&w.ready,{flushNow:W}=(0,Z.h)(f),z=(0,a.useRef)(!1),L=(0,a.useCallback)((e,t)=>{Object.keys(e).length>0&&(z.current=!0),j.writeProgress(e,t)},[j]),R=(0,a.useRef)(!1),O=(0,a.useCallback)(e=>{R.current=!0,j.markComplete(e),j.writeStage("finale"),W()},[j,W]),G=(0,a.useRef)(!1),[F,B]=(0,a.useState)(!1),{enabled:D}=(0,Y.Hg)();(0,a.useEffect)(()=>{if(!D||G.current||y||!b)return;let e=(0,$.Q)(b,t.flowId).state;if("unknown"!==e)G.current=!0,!("complete"!==e||R.current||j.isComplete()||"finale"===j.readStage())&&(z.current||B(!0))},[y,b,t.flowId,j,D]);let V=(0,a.useCallback)(()=>{j.clear(),j.writeStage("steps")},[j]),q=(0,a.useCallback)(()=>{v.push(g.homeLink)},[v,g.homeLink]),U=y||!!b,X=(0,a.useCallback)(()=>{j.writeStage("done"),v.replace(null!=h?h:g.dashboardLink)},[j,v,h,g.dashboardLink]);return(0,a.useEffect)(()=>{F&&v.replace(null!=h?h:g.dashboardLink)},[F,v,h,g.dashboardLink]),(0,n.jsxs)("main",{className:(0,s.cn)("relative flex min-h-[100dvh] w-full flex-col items-center px-4 py-6 sm:px-6 sm:py-10",m),children:[(0,n.jsx)(K.B,{}),M&&(0,n.jsx)("div",{className:"relative z-10 flex w-full max-w-xl flex-1 flex-col",children:(0,n.jsx)(J,{className:"min-h-0 flex-1 sm:min-h-[32rem]",definition:S,renderers:u,initialAnswers:_.answers,initialStepId:_.lastStepId,initialPhase:C?"steps":E,onAnswersChange:L,onComplete:O,onFinished:X,onRestart:V,finale:d,chromeAction:x,onExit:U?void 0:q,onExitAtRoot:U?void 0:()=>(q(),!0)})})]})};var ea=r(33567),ei=r(47650),es=r(20063),el=r(23584),eo=r(15828),ec=r(68),ed=r(53350),eu=r(36832),ef=r(80647),ep=r(97239),eh=r(26986),ex=r(73153),em=r(66027),eg=r(14005),ev=r(59214);let eb=["","blur-[1px]","blur-[2px]"],ey=[1,.82,.62],ej=[{kind:"node",track:"foundations",x:13,y:11,size:62,depth:1,minW:0,ax:10,ay:7,px:20,py:15,phase:0},{kind:"card",track:"developer",glyph:0,x:70,y:8,size:96,depth:2,minW:0,ax:8,ay:9,px:24,py:20,phase:.35},{kind:"ring",track:"developer",x:84,y:85,size:54,depth:1,minW:0,ax:9,ay:8,px:15,py:24,phase:.6},{kind:"card",track:"portfolio_manager",glyph:1,x:10,y:87,size:88,depth:2,minW:0,ax:7,ay:10,px:30,py:12,phase:.15},{kind:"node",track:"portfolio_manager",x:47,y:91,size:52,depth:1,minW:0,ax:11,ay:6,px:12,py:30,phase:.8},{kind:"node",track:"researcher",x:24,y:27,size:70,depth:0,minW:640,ax:9,ay:11,px:24,py:15,phase:.45},{kind:"card",track:"researcher",glyph:2,x:79,y:31,size:104,depth:1,minW:640,ax:10,ay:8,px:20,py:30,phase:.05},{kind:"node",track:"developer",x:89,y:59,size:58,depth:1,minW:640,ax:8,ay:10,px:30,py:20,phase:.7},{kind:"card",track:"foundations",glyph:0,x:13,y:63,size:92,depth:2,minW:640,ax:9,ay:9,px:15,py:24,phase:.25},{kind:"ring",track:"foundations",x:39,y:6,size:50,depth:2,minW:640,ax:12,ay:7,px:12,py:20,phase:.9},{kind:"node",track:"portfolio_manager",x:6,y:38,size:66,depth:0,minW:1024,ax:10,ay:10,px:20,py:24,phase:.55},{kind:"card",track:"developer",glyph:1,x:91,y:13,size:96,depth:2,minW:1024,ax:8,ay:11,px:30,py:15,phase:.3},{kind:"ring",track:"researcher",x:29,y:83,size:56,depth:1,minW:1024,ax:11,ay:8,px:24,py:12,phase:.65},{kind:"card",track:"researcher",glyph:2,x:63,y:78,size:100,depth:2,minW:1024,ax:7,ay:12,px:15,py:30,phase:.1},{kind:"node",track:"developer",x:19,y:5,size:48,depth:2,minW:1024,ax:12,ay:6,px:12,py:24,phase:.85},{kind:"node",track:"foundations",x:75,y:47,size:60,depth:0,minW:1024,ax:9,ay:10,px:20,py:20,phase:.5}],ew=[ef.A,ep.A,eh.A];function ek(e){let{track:t,size:r}=e,a=(0,eg.t0)(t),i=a.icon;return(0,n.jsxs)("div",{className:"relative rounded-full border border-white/40 shadow-elevation-1",style:{height:r,width:r,backgroundImage:"linear-gradient(155deg, ".concat((0,ex.a)(a.gradientFrom,32),", ").concat(a.gradientTo,")")}
1,children:[(0,n.jsx)(i,{"aria-hidden":!0,className:"absolute left-1/2 top-[42%] -translate-x-1/2 -translate-y-1/2 text-white opacity-30",style:{height:.46*r,width:.46*r}}),(0,n.jsx)("span",{className:"absolute inset-x-[22%] bottom-[16%] block h-[7%] rounded-full bg-white/45"})]})}function eN(e){let{track:t,size:r}=e,a=(0,eg.t0)(t),i=a.icon,s=2*Math.PI*46;return(0,n.jsxs)("div",{className:"relative rounded-full border border-border/70 bg-background shadow-elevation-1",style:{height:r,width:r},children:[(0,n.jsxs)("svg",{className:"absolute inset-0",viewBox:"0 0 100 100","aria-hidden":!0,children:[(0,n.jsx)("circle",{cx:"50",cy:"50",r:46,fill:"none",stroke:"hsl(var(--border))",strokeOpacity:.5,strokeWidth:"3"}),(0,n.jsx)("circle",{cx:"50",cy:"50",r:46,fill:"none",stroke:a.accent,strokeWidth:"3.5",strokeLinecap:"round",strokeDasharray:"".concat(.62*s," ").concat(s),transform:"rotate(-90 50 50)"})]}),(0,n.jsx)(i,{"aria-hidden":!0,className:"absolute left-1/2 top-[42%] -translate-x-1/2 -translate-y-1/2 opacity-[0.22]",style:{height:.44*r,width:.44*r,color:a.accent}})]})}function eC(e){let{glyph:t,size:r}=e,a=ew[t%ew.length];return(0,n.jsxs)("div",{className:"flex flex-col justify-center gap-2 rounded-xl px-3 py-3 bg-[hsl(var(--flow-card)/calc(var(--flow-card-alpha)*1.7))] shadow-[var(--flow-card-shadow)] ring-1 ring-inset ring-[hsl(var(--flow-card-ring)/calc(var(--flow-card-ring-alpha)*2))]",style:{width:r},children:[(0,n.jsx)(a,{"aria-hidden":!0,className:"h-4 w-4 text-[hsl(var(--brand-600))] dark:text-[hsl(var(--brand-300))]"}),(0,n.jsx)("span",{className:"block h-1.5 w-3/4 rounded-full bg-[hsl(var(--brand-500)/0.7)]"}),(0,n.jsx)("span",{className:"block h-1 w-1/2 rounded-full bg-foreground
1/30"})]})}function eS(e){var t,r;let{artefact:a,clock:i,reduced:l}=e,{ax:o,ay:c,px:d,py:f,phase:p}=a,h=ev.T.driftGain,x=(0,ec.G)(i,e=>h*o*Math.sin(2*Math.PI*(e/d+p))),m=(0,ec.G)(i,e=>h*c*Math.sin(2*Math.PI*(e/f+1.7*p))),g=(0,ec.G)(i,e=>3.2*Math.sin(2*Math.PI*(e/(1.5*d)+p))),v=(0,ec.G)(i,e=>1+ev.T.driftScale*Math.sin(2*Math.PI*(e/(2.2*d)+.6*p))),b=(0,n.jsx)(u.P.div,{style:{x,y:m,rotate:g,scale:v},children:(0,n.jsx)("div",{className:(0,s.cn)("-translate-x-1/2 -translate-y-1/2",eb[a.depth]),style:{opacity:ey[a.depth]},children:"card"===a.kind?(0,n.jsx)(eC,{glyph:null!=(t=a.glyph)?t:0,size:a.size}):"ring"===a.kind?(0,n.jsx)(eN,{track:a.track,size:a.size}):(0,n.jsx)(ek,{track:a.track,size:a.size})})});return(0,n.jsx)("div",{className:"absolute",style:{left:"".concat(a.x,"%"),top:"".concat(a.y,"%")},children:l?b:(0,n.jsx)(u.P.div,{initial:{opacity:0,scale:ev.T.artefact.scale,y:ev.T.artefact.rise},animate:{opacity:1,scale:1,y:0},transition:{delay:ev.T.artefact.at+Math.min(1,Math.hypot(((r=a).x-50)/50,(r.y-50)/50)/Math.SQRT2)*ev.T.artefact.spread,duration:ev.T.artefact.duration,ease:ev.sp},children:b})})}function eA(e){let{className:t}=e,r=function(){let[e,t]=(0,a.useState)(0);return(0,a.useEffect)(()=>{let e=()=>t(window.innerWidth);return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e}(),i=(0,em.I)(),{effectsReduced:l}=(0,el.i)(),o=i||l,c=(0,a.useMemo)(()=>r>0?ej.filter(e=>r>=e.minW):[],[r]),d=(0,ed.d)(0);(0,eu.N)(()=>{o||d.set(Date.now()/1e3%120)});let f=c.map((e,t)=>(0,n.jsx)(eS,{artefact:e,clock:d,reduced:o},"".concat(e.kind,"-").concat(t)));return(0,n.jsx)("div",{"aria-hidden":!0,className:(0,s.cn)("pointer-events-none absolute inset-0 overflow-hidden",t),style:{opacity:"var(--flow-artefact-alpha)"},children:o?(0,n.jsx)("div",{className:"absolute inset-0",children:f}):(0,n.jsx)(u.P.div,{className:"absolute inset-0",initial:{opacity:0,scale:ev.T.field.scale},animate:{opacity:1,scale:1},transition:{delay:ev.T.field.at,duration:ev.T.field.duration,ease:ev.sp},children:f})})}var eP=r(56374),eE=r(65549);let eT="inline-block shrink-0 text-h1",eI={width:"0.35em"},e_=ev.T.word.duration,eM=Math.round(1e3*ev.nP);function eW(e){let{heading:t,prefix:r,brand:i}=e,s=(0,a.useRef)(null),l=(0,a.useRef)(null),[o,c]=(0,a.useState)(null),[d,f]=(0,a.useState)(0),[p,h]=(0,a.useState)(1),[x,m]=(0,a.useState)(!1),g=(r?r.split(/\s+/).filter(Boolean).length:0)*eM;(0,a.useEffect)(()=>{var e,t,r;let n=()=>{var e,t,r,n;let a=null!=(r=null==(e=s.current)?void 0:e.scrollWidth)?r:0,i=null!=(n=null==(t=l.current)?void 0:t.offsetWidth)?n:0,o=Math.max(0,window.innerWidth-48-72);if(a>0){c(e=>e===a?e:a),f(e=>e===i?e:i);let e=Math.min(1,o/a);h(t=>t===e?t:e)}};n();let a=window.requestAnimationFrame(()=>{n(),window.requestAnimationFrame(n)}),i=new ResizeObserver(n);return s.current&&i.observe(s.current),window.addEventListener("resize",n),null==(r=document.fonts)||null==(t=r.ready)||null==(e=t.then)||e.call(t,n),()=>{window.cancelAnimationFrame(a),i.disconnect(),window.removeEventListener("resize",n)}},[t,r,i]),(0,a.useEffect)(()=>{let e=window.setTimeout(()=>m(!0),1e3*ev.T.morph.at);return()=>window.clearTimeout(e)},[]);let v=null!=o?o*p:void 0;return(0,n.jsxs)("span",{className:"relative inline-flex justify-center overflow-visible",style:null!=v?{width:v}:void 0,children:[(0,n.jsxs)("span",{ref:s,"aria-hidden":!0,className:"pointer-events-none absolute left-0 top-0 -z-10 whitespace-nowrap opacity-0 text-h1 font-bold tracking-tight",children:[r?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("span",{children:[r," "]}),(0,n.jsx)("span",{className:eT,style:eI})]}):null,(0,n.jsxs)("span",{children:[i," "]})]}),(0,n.jsx)("span",{className:"inline-flex justify-center",style:null!=o?{width:o,transform:p<1?"scale(".concat(p,")"):void 0,transformOrigin:"center center"}:void 0,children:(0,n.jsxs)(u.P.span,{className:"inline-flex flex-nowrap items-baseline justify-center whitespace-nowrap",initial:!1,animate:{x:x?-d/2:0},transition:{duration:ev.T.morph.duration,ease:ev.sp},children:[r?(0,n.jsxs)(u.P.span,{ref:l,className:"inline-flex flex-nowrap items-baseline whitespace-nowrap",initial:!1,animate:{o
1pacity:+!x,filter:x?"blur(".concat(8,"px)"):"blur(0px)"},transition:{duration:.55*ev.T.morph.duration,ease:ev.sp},children:[(0,n.jsx)(eP.W,{words:r,className:"inline",duration:e_,staggerMs:eM,startOnView:!1}),(0,n.jsx)("span",{"aria-hidden":!0,className:eT,style:eI})]}):null,(0,n.jsx)("span",{className:"inline-block",children:(0,n.jsx)(eP.W,{words:i,className:"inline",duration:e_,staggerMs:eM,delayMs:g,startOnView:!1})})]})})]})}function ez(e){var t;let{reduced:r,heading:a,words:i,subtext:s,cta:l}=e,o=i.slice(0,-1).join(" "),c=null!=(t=i[i.length-1])?t:"";return(0,n.jsxs)("div",{className:"relative z-10 flex flex-col items-center",children:[(0,n.jsx)(eE.C,{reduced:r}),(0,n.jsxs)("div",{className:"mt-8 flex flex-col items-center",children:[(0,n.jsxs)("h1",{className:"text-center",children:[(0,n.jsx)("span",{className:"sr-only",children:a}),(0,n.jsx)("span",{"aria-hidden":!0,className:"inline-flex justify-center",children:r?(0,n.jsx)("span",{className:"inline-block text-h1 font-bold tracking-tight text-foreground",children:c}):(0,n.jsx)(eW,{heading:a,prefix:o,brand:c})})]}),(0,n.jsx)(u.P.p,{className:"mt-3.5 max-w-sm text-[0.9375rem] leading-relaxed text-muted-foreground sm:text-base",initial:!r&&{opacity:0,y:ev.T.subtext.y},animate:{opacity:1,y:0},transition:{duration:ev.T.subtext.duration,delay:ev.T.subtext.at,ease:ev.sp},children:s})]}),(0,n.jsx)("div",{className:"mt-7 flex h-12 items-center justify-center",children:(0,n.jsx)(u.P.div,{className:"flex origin-center",initial:!r&&{opacity:0,y:ev.T.action.y,scale:ev.T.action.scale},animate:{opacity:1,y:0,scale:1},transition:{duration:ev.T.action.duration,delay:ev.T.action.at,ease:ev.sp},children:l})})]})}function eL(){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(K.B,{className:"absolute inset-0 z-0"}),(0,n.jsx)(eA,{}),(0,n.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0",style:{backgroundImage:"radial-gradient(115% 72% at 50% 40%, hsl(var(--brand-500) / calc(var(--flow-bloom-alpha) * 1.6)) 0%, transparent 68%)"}})]})}function eR(e){let{label:t,className:r,...a}=e;return(0,n.jsx)(O.C,{type:"button",variant:"gradient",from:F.Vy,to:F.oL,size:"xl",className:(0,s.cn)("text-base",r),...a,children:t})}function eO(e){let{complete:t,motion:r}=e,i=(0,l.z)(),s=(0,es.useRouter)(),o=(0,G.Y)(),{effectsReduced:c}=(0,el.i)(),{heading:d,words:f}=(0,a.useMemo)(()=>{let e=(0,g.G)(eo.S.onboarding.finale.heading,{brand:i.wordmark});return{heading:e,words:e.split(" ").filter(Boolean)}},[i.wordmark]),p=r.reduced||c,[h,x]=(0,a.useState)(!1);(0,a.useEffect)(()=>x(!0),[]);let[m,v]=(0,a.useState)("");(0,a.useEffect)(()=>{let e=requestAnimationFrame(()=>v(eo.S.onboarding.finale.a11y.sequence));return()=>cancelAnimationFrame(e)},[]),(0,a.useEffect)(()=>{s.prefetch(i.dashboardLink)},[s,i.dashboardLink]);let b=(0,a.useRef)(!1),y=(0,a.useCallback)(()=>{o.play("press.click"),b.current||(b.current=!0,t())},[t,o]);return h?(0,ei.createPortal)((0,n.jsxs)(u.P.div,{role:"dialog","aria-modal":"true","aria-label":d,className:"fixed inset-0 z-[90]",initial:{opacity:0}
1,animate:{opacity:1},transition:p?{duration:ev.xe/1e3}:{duration:ev.T.surface,ease:ev.sp},children:[(0,n.jsxs)("div",{className:"fixed inset-0 flex flex-col items-center justify-center overflow-hidden bg-background px-6 text-center",children:[(0,n.jsx)(eL,{}),(0,n.jsx)(ez,{reduced:p,heading:d,words:f,subtext:eo.S.onboarding.finale.subtext,cta:(0,n.jsx)(eR,{autoFocus:!0,label:eo.S.onboarding.finale.continue,onClick:y})})]}),(0,n.jsx)("p",{className:"sr-only",role:"status","aria-live":"polite",children:m})]}),document.body):null}var eG=r(71218),eF=r(80321),eB=r(97415),eD=r(89442),eV=r(59699),eq=r(94374),eU=r(37772),eX=r(89e3),eJ=r(41740),eH=r(7842),eQ=r(29633),eK=r(45221),e$=r(20639),eZ=r(1473),eY=r(50803),e0=r(25718),e1=r(91169),e2=r(47654),e5=r(94017),e4=r(222),e6=r(37814),e3=r(41732),e8=r(76921),e9=r(55642),e7=r(54217),te=r(49254),tt=r(44310),tr=r(19135),tn=r(78967),ta=r(38840),ti=r(93260);let ts=[.3,.85,.35,1],tl={type:"spring",stiffness:380,damping:24,mass:.8};function to(){let{reduced:e}=(0,x.cJ)("deliberate");if(e){let t=()=>({initial:{scale:1,opacity:1,x:0,y:0},animate:{scale:1,opacity:1,x:0,y:0},transition:{duration:0}});return{reduced:e,draw:()=>({initial:{pathLength:1,opacity:1},animate:{pathLength:1,opacity:1},transition:{duration:0}}),pop:t,rise:t,float:()=>({}),glow:()=>({})}}return{reduced:e,draw:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.6;return{initial:{pathLength:0,opacity:0},animate:{pathLength:1,opacity:1},transition:{pathLength:{delay:e,duration:t,ease:ts},opacity:{delay:e,duration:.12}}}},pop:e=>({initial:{scale:.3,opacity:0}
1,animate:{scale:1,opacity:1},transition:{...tl,delay:e}}),rise:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6;return{initial:{y:t,opacity:0},animate:{y:0,opacity:1},transition:{duration:.34,delay:e,ease:ts}}},float:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-3,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;return{animate:{y:[0,e,0]},transition:{delay:1.1,duration:t,ease:"easeInOut",repeat:1/0}}},glow:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.3,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.62,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4.5;return{animate:{opacity:[e,t,e]},transition:{delay:1.1,duration:r,ease:"easeInOut",repeat:1/0}}}}}function tc(e){let{children:t,align:r="start",className:a}=e,{reduced:i}=(0,x.cJ)("deliberate");return(0,n.jsx)("div",{"aria-hidden":!0,className:(0,s.cn)("relative flex","center"===r?"justify-center":"justify-start",a),children:(0,n.jsxs)("span",{className:"relative block h-[4.75rem] w-[7.5rem]",children:[(0,n.jsx)("span",{className:"pointer-events-none absolute left-1/2 top-1/2 h-24 w-32 -translate-x-1/2 -translate-y-1/2 rounded-full blur-2xl",style:{backgroundColor:"hsl(var(--brand-500) / var(--flow-figure-bloom-alpha))"}}),(0,n.jsx)("svg",{viewBox:"0 0 120 76",fill:"none",className:"relative h-full w-full overflow-visible text-[hsl(var(--flow-figure-line))]",strokeLinecap:"round",strokeLinejoin:"round",children:(0,n.jsx)("g",{children:t},i?"static":"animated")})]})})}let td=[{x:22,top:52,o:.34},{x:40,top:44,o:.5},{x:58,top:35,o:.66},{x:76,top:26,o:.83},{x:94,top:17,o:1}],tu=[{x:34,y:24,dx:-26,dy:-14},{x:54,y:24,dx:0,dy:-22},{x:74,y:24,dx:26,dy:-14},{x:34,y:40,dx:-26,dy:16},{x:54,y:40,dx:0,dy:24},{x:74,y:40,dx:26,dy:16}];function tf(){let e=to();return(0,n.jsxs)(tc,{align:"center",children:[(0,n.jsx)(u.P.path,{d:"M26 14H98a4 4 0 0 1 4 4v40a4 4 0 0 1-4 4H26a4 4 0 0 1-4-4V18a4 4 0 0 1 4-4Z",stroke:"currentColor",strokeOpacity:.3,strokeWidth:2,...e.draw(0,.55)}),(0,n.jsx)(u.P.g,{...e.float(-2,5.5),children:tu.map((t,r)=>(0,n.jsx)(u.P.g,{...e.reduced?{initial:{x:0,y:0,opacity:1,scale:1},animate:{x:0,y:0,opacity:1,scale:1},transition:{duration:0}}:{initial:{x:t.dx,y:t.dy,opacity:0,scale:.7},animate:{x:0,y:0,opacity:1,scale:1},transition:{type:"spring",stiffness:340,damping:26,delay:.35+.08*r}},children:(0,n.jsx)("rect",{x:t.x,y:t.y,width:18,height:12,rx:3,fill:"currentColor",fillOpacity:.35+.1*r})},"".concat(t.x,"-").concat(t.y)))})]})}function tp(){let e=to();return(0,n.jsxs)(tc,{children:[(0,n.jsx)(u.P.path,{d:"M10 62C28 62 32 46 52 44c20-2 24-24 54-26",stroke:"currentColor",strokeWidth:2,...e.draw(0,.8)}),(0,n.jsx)(u.P.path,{d:"M52 44 68 33",stroke:"currentColor",strokeOpacity:.4,strokeWidth:1.7,...e.draw(.5,.3)}),(0,n.jsx)(u.P.path,{d:"M52 44 70 56",stroke:"currentColor",strokeOpacity:.4,strokeWidth:1.7,...e.draw(.58,.3)}),(0,n.jsx)(u.P.circle,{cx:68,cy:33,r:2.4,fill:"currentColor",fillOpacity:.45,...e.pop(.72)}),(0,n.jsx)(u.P.circle,{cx:70,cy:56,r:2.4,fill:"currentColor",fillOpacity:.45,...e.pop(.78)}),(0,n.jsx)(u.P.circle,{cx:10,cy:62,r:4,fill:"currentColor",fillOpacity:.5,...e.pop(.22)}),(0,n.jsx)(u.P.circle,{cx:52,cy:44,r:5,fill:"currentColor",fillOpacity:.75,...e.pop(.46)}),(0,n.jsxs)(u.P.g,{...e.float(-2.5,5),children:[(0,n.jsx)(u.P.circle,{cx:98,cy:19,r:13,fill:"currentColor",fillOpacity:.16,...e.glow(.1,.32,4.6)}),(0,n.jsx)(u.P.circle,{cx:98,cy:19,r:6.5,fill:"currentColor",...e.pop(.86)})]})]})}function th(e){let{icon:t,from:r="hsl(var(--brand-400))",to:i="hsl(var(--brand-600))",className:l}=e,o=(0,x.cJ)("deliberate"),[c,d]=(0,a.useState)(!1),u="flow-answer-".concat((0,a.useId)().replace(/[^a-zA-Z0-9]/g,""));return(0,a.useEffect)(()=>{if(o.reduced)return;let e=setTimeout(()=>d(!0),320);return()=>clearTimeout(e)},[o.reduced]),(0,n.jsxs)("span",{"aria-hidden":!0,className:(0,s.cn)("relative flex items-center justify-center",l),children:[(0,n.jsx)("svg",{"aria-hidden":!0,focusable:"false",width:"0",height:"0",className:"absolute h-0 w-0",children:(0,n.jsx)("defs",{children:(0,n.jsxs)("linearGradient",{id:u,gradientUnits:"userSpaceOnUse",x1:"0",y1:"0",x2:"24",y2:"24",children:[(0,n.jsx)("stop",{offset:"0%",style:{stopColor:r}}),(0,n.jsx)("stop",{offset:"100%",style:{stopColor:i}})]})})}),(0,n.jsx)(q,{icon:t,active:c,reduced:o.reduced,className:"h-[6.5rem] w-[6.5rem]",strokeWidth:1.15,style:{stroke:"url
1(#".concat(u,")")}})]})}var tx=r(35299);let tm=2*x.T9+x.dZ;function tg(e){let{answers:t,answer:r,continueStep:i,motion:l}=e,o=N(l),c=(0,a.useRef)(!1),d=(0,a.useMemo)(()=>{let e=(0,ti.Kb)(t),r=[];return e.year&&r.push((0,g.G)(eo.S.onboarding.build.ticks.year,{answer:eo.S.onboarding.year.options[e.year]})),e.experience&&r.push((0,g.G)(eo.S.onboarding.build.ticks.experience,{answer:eo.S.onboarding.experience.options[e.experience]})),e.goal&&r.push((0,g.G)(eo.S.onboarding.build.ticks.goal,{answer:eo.S.onboarding.goal.options[e.goal]})),r.push(eo.S.onboarding.build.ticks.assembling),r},[t]),[f,p]=(0,a.useState)(()=>l.reduced?d.length:1),[h,x]=(0,a.useState)(null),m=d.length;(0,a.useEffect)(()=>{x(Array.from({length:m},()=>500+1e3*Math.random()))},[m]);let v=()=>{c.current||(c.current=!0,i(),r(ti.R7))},b=(0,a.useRef)(v);b.current=v;let y=f>=m;return(0,a.useEffect)(()=>{var e;if(l.reduced){if(!y)return;let e=setTimeout(()=>b.current(),tm);return()=>clearTimeout(e)}if(!h)return;let t=null!=(e=h[f-1])?e:500;if(y){let e=setTimeout(()=>b.current(),t);return()=>clearTimeout(e)}let r=setTimeout(()=>p(e=>Math.min(e+1,m)),t);return()=>clearTimeout(r)},[f,m,y,h,l.reduced]),(0,n.jsxs)("div",{className:"flex w-full flex-col items-center py-4 text-center sm:py-8",children:[(0,n.jsx)(u.P.div,{variants:o.figure,className:"mb-5",children:(0,n.jsx)(tf,{})}),(0,n.jsx)(B.Xn,{motion:o,children:eo.S.onboarding.build.title}),(0,n.jsx)(B.Cv,{motion:o,className:"mt-2.5",children:eo.S.onboarding.build.subtext}),(0,n.jsx)(u.P.ul,{variants:o.item,className:(0,s.cn)("mt-8 flex w-full max-w-sm flex-col gap-3.5 rounded-2xl px-5 py-5 text-left",F.XS),children:d.map((e,t)=>{let r=t<f,a=t===d.length-1&&r&&y&&!l.reduced;return(0,n.jsxs)(u.P.li,{className:"flex items-center gap-3",initial:!1,animate:{opacity:r?1:.4},transition:l.transition.gentle,children:[(0,n.jsx)(u.P.span,{className:(0,s.cn)("flex h-7 w-7 shrink-0 items-center justify-center rounded-full transition-shadow duration-200",r?"bg-[linear-gradient(150deg,hsl(var(--brand-400)),hsl(var(--brand-600)))] text-white shadow-[0_5px_14px_-6px_hsl(var(--brand-600)/0.95)]":"bg-foreground
1/[0.06] text-muted-foreground ring-1 ring-inset ring-foreground/10"),animate:{scale:r?1:.85},transition:l.transition.pulse,children:r?a?(0,n.jsx)(tx.A,{"aria-hidden":!0,className:"h-3.5 w-3.5 animate-spin"}):(0,n.jsx)(V.A,{"aria-hidden":!0,className:"h-3.5 w-3.5",strokeWidth:3}):(0,n.jsx)("span",{"aria-hidden":!0,className:"h-1.5 w-1.5 rounded-full bg-current"})}),(0,n.jsx)("span",{className:(0,s.cn)("text-[0.9375rem] leading-snug",r?"font-medium text-foreground":"text-muted-foreground/60"),children:e})]},e)})}),(0,n.jsx)("p",{className:"sr-only",role:"status","aria-live":"polite",children:y?eo.S.onboarding.build.a11y.ready:eo.S.onboarding.build.a11y.status})]})}var tv=r(99265),tb=r(23664),ty=r(30099),tj=r(8348),tw=r(72668);async function tk(){try{return await (0,tw.px)("/auth/oauth/providers",{method:"GET",useAuth:!1,onError:"throw"})||[]}catch(e){return[]}}let tN=null,tC=null;async function tS(){return tN||(tN=tk().then(e=>(0===e.length?tN=null:tC=e,e)))}var tA=r(69232),tP=r(58719);let tE="rounded-2xl px-5 pb-6 pt-7 sm:px-6",tT=["login","reset-request","reset-verify"];function tI(e){let{step:t,answers:r,answer:c,continueStep:d,setStepBack:f,motion:p}=e,h=(0,l.z)(),x=(0,i.o)(),m=N(p),{user:g,isLoading:v,refreshUser:b}=(0,o.Jd)(),[y]=(0,a.useState)(()=>(0,ti.dK)(r[t.id])),[j,w]=(0,a.useState)(()=>{var e;return{...tP._v,email:null!=(e=null==y?void 0:y.email)?e:""}}),[k,C]=(0,a.useState)(0),[S,A]=(0,a.useState)(()=>tC);(0,a.useEffect)(()=>{let e=!1;return tS().then(t=>{e||A(e=>e&&e.length===t.length&&e.every((e,r)=>e===t[r])?e:t)}),()=>{e=!0}},[]);let P=(0,a.useRef)(!1),E=(0,a.useCallback)(e=>{P.current||(P.current=!0,e?x.replace(h.dashboardLink):d())},[x,h.dashboardLink,d]),T=(0,a.useRef)(!1);Object.values(ti.iX).some(e=>!!r[e])&&(T.current=!0);let I=(0,a.useCallback)(e=>{E("complete"===e&&!T.current)},[E]);(0,a.useEffect)(()=>{v||!g||P.current||(c((0,ti.FU)({email:g.email,marketingConsent:g.marketing_consent})),I((0,$.n)(g,Y.Vx)))},[v,g,c,I]);let _=(0,a.useCallback)(e=>(c((0,ti.FU)({email:e})),E(!1),!0),[c,E]),M=(0,a.useCallback)(e=>{w(e),e.email&&tT.includes(e.stage)&&c((0,ti.FU)({email:e.email}))},[c]);(0,a.useLayoutEffect)(()=>(f(j.backDepth>0?j.goBack:null),()=>f(null)),[j.backDepth,j.goBack,f]);let W=(0,a.useCallback)(async()=>{let e=await b().catch(()=>null);I((0,$.n)(e,Y.Vx))},[b,I]),z=v||!!g,{stage:L}=j,R=tT.includes(L);return(0,n.jsxs)("div",{className:"w-full",children:[(0,n.jsx)(B.Xn,{motion:m,children:R?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(B.G,{icon:tv.A}),eo.S.onboarding.email.returning.title]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(B.G,{icon:tb.A}),eo.S.onboarding.email.title]})}),(0,n.jsx)(B.Cv,{motion:m,className:"mt-2.5",children:R?eo.S.onboarding.email.returning.subtext:eo.S.onboarding.email.subtext}),(0,n.jsx)(u.P.div,{variants:m.item,className:(0,s.cn)("mt-9",tE,F.XS),children:(0,n.jsx)(tj.T,{children:z||null===S?(0,n.jsx)(tA.mm,{children:(0,n.jsx)(tA.LQ,{})}):(0,n.jsx)(a.Suspense,{fallback:(0,n.jsx)(tA.mm,{children:S.length>0?(0,n.jsx)(tA.zw,{}):(0,n.jsx)(tA.LQ,{})}),children:(0,n.jsx)(tP.VV,{initialProviders:S,prefillEmail:0===k?null==y?void 0:y.email:void 0,onStateChange:M,onUnknownEmail:_,onAuthenticated:W,providerNext:h.dashboardLink},k)})})}),z&&(0,n.jsx)("p",{className:"sr-only",role:"status","aria-live":"polite",children:eo.S.onboarding.email.a11y.settling}),R&&!z&&(0,n.jsx)(u.P.div,{variants:m.action,className:"mt-4",children:(0,n.jsx)(ty.i,{children:(0,n.jsx)(ty.$,{disabled:j.busy,onClick:()=>{w({...tP._v}),C(e=>e+1)}})})})]})}tS();var t_=r(74048),tM=r(65197),tW=r(19831);function tz(e){let{answers:t,continueStep:r,setStepBack:i,motion:c}=e,f=(0,l.z)(),p=N(c),{user:h,isLoading:x,logout:v}=(0,o.Jd)(),b=(0,a.useMemo)(()=>p.reduced?{initial:!1}:{initial:{opacity:0,y:8},animate:{opacity:1,y:0,transition:{duration:.24,ease:[.16,1,.3,1]}},exit:{opacity:0,y:-8,transition:{duration:.16,ease:[.4,0,1,1]}}},[p.reduced]),y=(0,a.useMemo)(()=>(0,ti.dK)(t[ti.S$]),[t]),[j,w]=(0,a.useState)(null),[k,C]=(0,a.useState)("auth"),S=!x,[A,P]=(0,a.useState)(!1);(0,a.useEffect)(()=>{S&&!h&&P(!0)},[S,h]);let E=S&&"auth"===k&&(!h||A),T=(0,a.useRef)(!1),I=(0,a.useCallback)(()=>{T.current||(T.current=!0,r())},[r]);(0,a.useEffect)(()=>{S&&h&&(h.is_verified||C("code"))},[S,h]),(0,a.useEffect)(()=>{S&&"auth"===k&&(null==h?void 0:h.is_verified)&&I()},[S,k,h,I]);let _=(0,a.useCallback)(e=>{e.isVerified?I():C("code")},[I]),M=(0,a.useCallback)(()=>{C("auth"),v(f.onboardingLink)},[v,f.onboardingLink]),[W,z]=(0,a.useState)(tP._v),L=E&&W.backDepth>0;(0,a.useLayoutEffect)(()=>(i(L?W.goBack:null),()=>i(null)),[L,W.goBack,i]);let R=(0,a.useRef)(null);return(0,a.useEffect)(()=>
1{if("code"!==k)return;let e=R.current;if(!e)return;let t=window.setTimeout(()=>e.scrollIntoView({behavior:p.reduced?"auto":"smooth",block:"nearest"}),480);return()=>window.clearTimeout(t)},[k,p.reduced]),(0,n.jsxs)("div",{className:"w-full",children:[(0,n.jsx)(B.Xn,{motion:p,children:(0,g.G)(eo.S.onboarding.join.title,{brand:f.wordmark})}),(0,n.jsx)(B.Cv,{motion:p,className:"mt-2.5",children:eo.S.onboarding.join.subtext}),(0,n.jsx)(u.P.div,{variants:p.item,className:(0,s.cn)("mt-9",tE,F.XS),children:(0,n.jsx)(tj.T,{durationMs:300,children:(0,n.jsx)(d.N,{mode:"wait",initial:!1,children:S?E?(0,n.jsx)(u.P.div,{...b,children:(0,n.jsx)(a.Suspense,{fallback:(0,n.jsx)(tA.mm,{children:(0,n.jsx)(tA.WN,{})}),children:(0,n.jsx)(tP.VV,{initialEmail:null==y?void 0:y.email,marketingConsent:null==y?void 0:y.marketingConsent,onAuthenticated:_,onStateChange:z})})},"auth"):"code"===k?(0,n.jsxs)(u.P.div,{ref:R,...b,children:[(0,n.jsx)(tM.E,{title:m.G.auth.verify.title,email:(null==h?void 0:h.email)||(null==y?void 0:y.email)||""}),(0,n.jsx)(t_.pZ,{actionContainer:j,onVerified:I,onWrongEmail:M,className:"mt-10"})]},"code"):null:(0,n.jsx)(u.P.div,{...b,children:(0,n.jsx)(tA.mm,{children:(0,n.jsx)(tA.WN,{})})},"settling")})})}),"code"===k&&(0,n.jsxs)(u.P.div,{variants:p.action,className:"mt-6",children:[(0,n.jsx)(ty.i,{ref:w,className:"mb-4"}),(0,n.jsx)(tW.d,{})]}),!S&&(0,n.jsx)("p",{className:"sr-only",role:"status","aria-live":"polite",children:eo.S.onboarding.join.a11y.settling})]})}var tL=r(52987),tR=r(95740),tO=r(19548);let tG=["market-fundamentals","probability-essentials","returns-and-compounding","python-for-quants"],tF={"knows-markets":["market-fundamentals"],"strong-stem":["probability-essentials","python-for-quants"],"quant-experience":["market-fundamentals","probability-essentials","returns-and-compounding","python-for-quants"]},tB={"quant-experience":["researcher","developer","portfolio-manager"]},tD={"break-in":"researcher","learn-models":"researcher","build-systems":"developer","run-money":"portfolio-manager",explore:null},tV=[{slug:"market-fundamentals",track:"foundations",icon:"Landmark"},{slug:"probability-essentials",track:"foundations",icon:"Dice5"},{slug:"returns-and-compounding",track:"foundations",icon:"TrendingUp"},{slug:"market-microstructure",track:"foundations",icon:"Layers"},{slug:"python-for-quants",track:"foundations",icon:"Code2"},{slug:"intro-backtesting",track:"foundations",icon:"GitBranch"}];function tq(e){var t,r;let{slug:a,status:i}=e,s=null!=(t=tV.find(e=>e.slug===a))?t:tV[0],l=(0,eg.t0)(s.track),o=null!=(r=(0,tO.h)(s.icon))?r:l.icon,c=eo.S.onboarding.reveal.courses[a],d="known"===i?(0,g.G)(eo.S.onboarding.reveal.a11y.knownCourse,{course:c}):(0,g.G)(eo.S.onboarding.reveal.a11y.nextCourse,{course:c});return(0,n.jsxs)("li",{className:"flex items-center gap-3","aria-label":d,children:[(0,n.jsx)("span",{className:"flex h-7 w-7 shrink-0 items-center justify-center rounded-full border border-white/40 text-white",style:{backgroundImage:"linear-gradient(155deg, color-mix(in srgb, ".concat(l.gradientFrom," 68%, white), ").concat(l.gradientTo,")"),boxShadow:"0 4px 12px -6px ".concat(l.accent)},children:(0,n.jsx)(o,{"aria-hidden":!0,className:"h-3.5 w-3.5",strokeWidth:2.4})}),(0,n.jsx)("span",{className:"min-w-0 flex-1 text-[0.9375rem] font-medium text-foreground",children:c}),"known"===i?(0,n.jsx)(V.A,{"aria-hidden":!0,className:"h-4 w-4 shrink-0",strokeWidth:3,style:{color:l.accent}}):(0,n.jsx)(tL.A,{"aria-hidden":!0,className:"h-4 w-4 shrink-0 text-muted-foreground",strokeWidth:2.5})]})}let tU="text-[0.8125rem] font-semibold uppercase tracking-[0.1em] text-muted-foreground",tX="mt-3 text-xs leading-relaxed text-muted-foreground";function tJ(e){var t;let{answers:r,continueStep:i,motion:l}=e,o=(0,G.Y)(),c=N(l),d=(0,a.useMemo)(()=>(0,ti.Kb)(r),[r]),f=(0,a.useMemo)(()=>(function(e){var t;let r=e.experience?tF[e.experience]:void 0,n=e.experience?tB[e.experience]:void 0;return{skipCourseSlugs:(t=null!=r?r:[],tG.filter(e=>t.includes(e))),unlockTrackSlugs:[...null!=n?n:[]],suggestedTrackSlug:e.goal?tD[e.goal]:null}})(d),[d]),p=null!=(t=d.experience)?t:"beginner",h=f.skipCourseSlugs,x=function(e){let t=tV.find(t=>!e.includes(t.slug));return(null!=t?t:tV[0]).slug}(h);return(0,n.jsxs)("div",{className:"w-full",children:[(0,n.jsx)(u.P.div,{variants:c.figure,className:"mb-4",children:(0,n.jsx)(tp,{})}),(0,n.jsxs)(u.P.p,{variants:c.subtext,className:F.ih,children:[(0,n.jsx)(tR.A,{"aria-hidden":!0,
1className:"h-3.5 w-3.5"}),eo.S.onboarding.reveal.eyebrow]}),(0,n.jsx)(B.Xn,{motion:c,className:"mt-3",children:eo.S.onboarding.reveal.headings[p]}),(0,n.jsx)(B.Cv,{motion:c,className:"mt-3 max-w-prose",children:eo.S.onboarding.reveal.bodies[p]}),(0,n.jsx)(u.P.div,{variants:c.group,className:"mt-6 grid gap-3",children:(0,n.jsx)(u.P.div,{variants:c.item,children:(0,n.jsxs)("div",{className:(0,s.cn)("relative overflow-hidden rounded-2xl px-5 py-5",F.XS),children:[(0,n.jsx)("span",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 bg-[linear-gradient(160deg,hsl(var(--brand-500)/0.10),transparent_62%)]"}),(0,n.jsxs)("div",{className:"relative",children:[h.length>0&&(0,n.jsxs)("section",{children:[(0,n.jsx)("h2",{className:tU,children:eo.S.onboarding.reveal.knownTitle}),(0,n.jsx)("ul",{className:"mt-3.5 grid gap-2.5",children:h.map(e=>(0,n.jsx)(tq,{slug:e,status:"known"},e))}),(0,n.jsx)("p",{className:tX,children:eo.S.onboarding.reveal.knownNote})]}),(0,n.jsxs)("section",{className:(0,s.cn)(h.length>0&&"mt-4 border-t border-foreground
1/[0.07] pt-4"),children:[(0,n.jsx)("h2",{className:tU,children:eo.S.onboarding.reveal.nextTitle}),(0,n.jsx)("ul",{className:"mt-3.5 grid gap-2.5",children:(0,n.jsx)(tq,{slug:x,status:"next"})}),(0,n.jsx)("p",{className:tX,children:eo.S.onboarding.reveal.nextNote})]})]})]})})}),(0,n.jsx)(u.P.div,{variants:c.action,children:(0,n.jsx)(O.C,{variant:"gradient",from:F.Vy,to:F.oL,size:"xl",onClick:()=>{o.play("press.click"),i()},className:"mt-8 w-full",children:eo.S.onboarding.reveal.cta})})]})}let tH=(0,g.G)(eo.S.onboarding.goal.title,{brand:ta.q.wordmark}),tQ={"first-year":(0,e9.r)(eG.A,"rise"),"second-year":(0,e9.r)(eF.A,"pulse"),"third-year":(0,e9.r)(eB.A,"tilt"),"fourth-year":(0,e9.r)(eD.A,"tilt"),masters:(0,e9.r)(eV.A,"pulse"),phd:(0,e9.r)(eq.A,"sway"),other:(0,e9.r)(eU.A,"pulse")},tK={beginner:(0,e9.r)(eX.A,"pulse"),"knows-markets":(0,e9.r)(eJ.A,"rise"),"strong-stem":(0,e9.r)(eH.A,"tilt"),"quant-experience":(0,e9.r)(eQ.A,"sway"),"not-sure":(0,e9.r)(eK.A,"spin")},t$={"break-in":(0,e9.r)(e$.A,"rise"),"learn-models":(0,e9.r)(eZ.A,"pulse"),"build-systems":(0,e9.r)(eY.A,"tilt"),"run-money":(0,e9.r)(e0.A,"spin"),explore:(0,e9.r)(e1.A,"sway")},tZ={"first-year":(0,e9.u)(tr.qh,"default"),"second-year":(0,e9.u)(e6.zD,"default"),"third-year":(0,e9.u)(e7.Uz,"default"),"fourth-year":(0,e9.u)(e2.Co,"default"),masters:(0,e9.u)(te.zg,"default-loop"),phd:(0,e9.u)(tn.B4,"default"),other:(0,e9.u)(e5.EN,"default")},tY={beginner:(0,e9.u)(tt.jG,"default-loop"),"knows-markets":(0,e9.u)(e4.rK,"default-loop"),"strong-stem":(0,e9.u)(e5.EN,"default"),"quant-experience":(0,e9.u)(e8._I,"default-loop"),"not-sure":(0,e9.u)(e3.FL,"default-loop")},t0=["hsl(var(--flow-accent-1))","hsl(var(--flow-accent-2))","hsl(var(--flow-accent-3))","hsl(var(--flow-accent-4))","hsl(var(--flow-accent-5))","hsl(var(--flow-accent-6))"],t1={year:0,experience:2,goal:4};function t2(e,t,r){let n=e.indexOf(t);return((n<0?0:n)+r)%t0.length}function t5(e,t,r,n,a){return e.map(i=>({id:i,label:t[i],description:null==a?void 0:a[i],icon:r[i],accent:t0[t2(e,i,n)]}))}function t4(e,t,r,a,i){if(!t)return null;let s=r[t];if(!s)return null;let[l,o]=function(e,t,r){let n=t2(e,t,r),a=n+2<t0.length?n+2:n-2;return[t0[n],t0[a]]}(e,t,i);return{heading:s.heading,subtext:s.subtext,animationSlot:(0,n.jsx)(th,{icon:a[t],from:l,to:o})}}let t6={flowId:Y.Vx,version:Y.Cx,steps:[{kind:"single-select",id:ti.iX.year,title:eo.S.onboarding.year.title,subtext:eo.S.onboarding.year.subtext,figure:(0,n.jsx)(function(){let e=to();return(0,n.jsxs)(tc,{children:[(0,n.jsx)(u.P.path,{d:"M4 70 H116",stroke:"currentColor",strokeOpacity:.22,strokeWidth:2,...e.draw(0,.4)}),(0,n.jsx)(u.P.path,{d:"M10 66 H34 V52 H58 V38 H82 V22 H104",stroke:"currentColor",strokeWidth:2,...e.draw(.1,.75)}),[[34,52],[58,38],[82,22]].map((t,r)=>{let[a,i]=t;return(0,n.jsx)(u.P.circle,{cx:a,cy:i,r:2.6,fill:"currentColor",fillOpacity:.55,...e.pop(.42+.09*r)},"".concat(a,"-").concat(i))}),(0,n.jsxs)(u.P.g,{...e.float(-3,5),children:[(0,n.jsx)(u.P.circle,{cx:104,cy:22,r:9,fill:"currentColor",fillOpacity:.18,...e.glow(.12,.32,4.8)}),(0,n.jsx)(u.P.circle,{cx:104,cy:22,r:4.5,fill:"currentColor",...e.pop(.78)}),(0,n.jsx)(u.P.path,{d:"M104 14 V6",stroke:"currentColor",strokeWidth:2,...e.draw(.86,.3)}),(0,n.jsx)(u.P.path,{d:"M104 10c-6 0-9-3-9-8 6 0 9 3 9 8Z",stroke:"currentColor",strokeWidth:1.6,...e.draw(.96,.35)}),(0,n.jsx)(u.P.path,{d:"M104 7c5 0 8-2 8-6-5 0-8 2-8 6Z",stroke:"currentColor",strokeWidth:1.6,...e.draw(1.04,.35)})]})]})},{}),options:t5(ti.LB,eo.S.onboarding.year.options,tQ,t1.year)},{kind:"interstitial",id:"year-beat",resolve:e=>t4(ti.LB,(0,ti.Kb)(e).year,eo.S.onboarding.year.interstitials,tZ,t1.year)},{kind:"single-select",id:ti.iX.experience,title:eo.S.onboarding.experience.title,subtext:eo.S.onboarding.experience.subtext,figure:(0,n.jsx)(function(){let e=to();return(0,n.jsxs)(tc,{children:[td.map(e=>(0,n.jsx)("line",{x1:e.x,y1:64,x2:e.x,y2:15,stroke:"currentColor",strokeOpacity:.08,strokeWidth:9},"track-".concat(e.x))),td.map((t,r)=>(0,n.jsx)(u.P.path,{d:"M".concat(t.x," 64V").concat(t.top),stroke:"currentColor",strokeOpacity:t.o,strokeWidth:9,...e.draw(.06+.08*r,.45)},"fill-".concat(t.x))),(0,n.jsx)(u.P.path,{d:"M22 52C42 50 74 40 94 17",stroke:"currentColor",strokeOpacity:.45,strokeWidth:1.6,...e.draw(.5,.5)}),(0,n.jsxs)(u.P.g,{...e.float(-2.5,5.4),children:[(0,n.jsx)(u.P.circle,{cx:94,cy:5,r:11,fill:"currentColor",fillOpacity:.16,...e.glow(.1,.32,4.6)}),(0,n.jsx)(u.P.circle,{cx:94,cy:5,r:4.5,fill:"currentColor",...e.pop(.72)})]})]})},{}),options:t5(ti.S1,eo.S.onboarding.experience.options,tK,t1.experience,eo.S.onboarding.experience.descriptions)},{kind:"interstitial",id:"experience-beat",resolve:e=>t4(ti.S1,(0,ti.Kb)(e).experience,eo.S.onboarding.experience.interstitials,tY,t1.experience)},{kind:"single-select",id:ti.iX.goal,title:tH,subtext:eo.S.onboarding.goal.subtext,figure:(0,n.jsx)(function(){let e=to();return(0,n.jsxs)(tc,{children:[(0,n.jsx)(u.P.path,{d:"M4 70 H60",stroke:"currentColor",strokeOpacity:.22,strokeWidth:2,...e.draw(0,.35)}
1),(0,n.jsx)(u.P.circle,{cx:12,cy:64,r:3.4,fill:"currentColor",fillOpacity:.55,...e.pop(.1)}),(0,n.jsx)(u.P.path,{d:"M12 64C44 62 62 44 88 22",stroke:"currentColor",strokeWidth:2,...e.draw(.16,.7)}),(0,n.jsxs)(u.P.g,{...e.float(-2.5,5.2),children:[(0,n.jsx)(u.P.circle,{cx:94,cy:18,r:22,fill:"currentColor",fillOpacity:.1,...e.glow(.06,.2,4.8)}),(0,n.jsx)(u.P.circle,{cx:94,cy:18,r:16,stroke:"currentColor",strokeOpacity:.28,strokeWidth:1.6,...e.pop(.58)}),(0,n.jsx)(u.P.circle,{cx:94,cy:18,r:9.5,stroke:"currentColor",strokeOpacity:.55,strokeWidth:1.8,...e.pop(.68)}),(0,n.jsx)(u.P.circle,{cx:94,cy:18,r:4,fill:"currentColor",...e.pop(.78)})]})]})},{}),options:t5(ti.D,eo.S.onboarding.goal.options,t$,t1.goal,eo.S.onboarding.goal.descriptions)},{kind:"custom:email",id:ti.S$,countsAsQuestion:!0,renders:e=>!(0,ti.Ei)(e)},{kind:"custom:build",id:ti.Wd,countsAsQuestion:!1,renders:e=>!(0,ti.YU)(e)},{kind:"custom:reveal",id:"reveal",countsAsQuestion:!1},{kind:"custom:join",id:ti._U,countsAsQuestion:!1}]},t3={[ti.iX.year]:"year-beat",[ti.iX.experience]:"experience-beat"};function t8(e){let t=new Set(e.filter(e=>ti.aQ.includes(e))),r=new Set(Object.keys(t3).filter(e=>t.has(e)).map(e=>t3[e]));return{...t6,steps:t6.steps.filter(e=>t.has(e.id)||r.has(e.id))}}let t9={"custom:email":e=>(0,n.jsx)(tI,{...e}),"custom:build":e=>(0,n.jsx)(tg,{...e}),"custom:reveal":e=>(0,n.jsx)(tJ,{...e}),"custom:join":e=>(0,n.jsx)(tz,{...e})},t7="px-2 text-xs font-medium text-muted-foreground hover:text-foreground";function re(){let e=(0,l.z)(),{user:t,isLoading:r,logout:s}=(0,o.Jd)(),c=(0,a.useCallback)(()=>{s(e.homeLink)},[s,e.homeLink]);return r?null:t?(0,n.jsx)(h.$,{type:"button",variant:"ghost",size:"sm",rounded:"full","aria-label":eo.S.onboarding.chrome.logoutA11y,onClick:c,className:t7,children:eo.S.onboarding.chrome.logout}):(0,n.jsx)(h.$,{as:i.N,href:e.loginLink,variant:"ghost",size:"sm",rounded:"full","aria-label":eo.S.onboarding.chrome.loginA11y,className:t7,children:eo.S.onboarding.chrome.login})}let rt=e=>(0,n.jsx)(eO,{...e});function rr(){return(0,n.jsx)(en,{definition:t6,narrowToQuestions:t8,renderers:t9,finale:rt,flushAnswers:ea.d,chromeAction:(0,n.jsx)(re,{})})}}},e=>{e.O(0,[6446,7753,8364,7618,1527,4909,1135,7664,1711,9457,2544,7692,7151,660,3434,6260,4174,1092,7172,3219,7331,4286,5549,810,8441,8874,7358],()=>e(e.s=81458)),_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.