1import{h as ie,r as ce,j as t}from"./react-vendor--USIJqk3.js";import{L as le}from"./linkedin-BrzmC6Mx.js";import{c as oe,M as ne,U as ee,l as te}from"./app-CYXrZS1A.js";import{motion as O}from"./framer-motion-CUTLOtO_.js";import{T as me}from"./trophy-D4Ewwre0.js";import{c as se,a as re,d as de}from"./heroui-DeOWmPA8.js";import{C as pe}from"./circle-check-big-BY8K8P8E.js";import{R as fe}from"./rocket-Duk_-XqG.js";import{E as xe}from"./eye-DA_Zr2VN.js";import{B as he}from"./bot-B0Ta_mK8.js";import{A as ue}from"./arrow-right-cZlF6d9U.js";import"./inertia-CrBlEYtk.js";import"./date-fns-CRNnpkn3.js";import"./react-aria-BesmotQ5.js";/** 2 * @license lucide-react v0.511.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const ye=[["path",{d:"M16 10h2",key:"8sgtl7"}],["path",{d:"M16 14h2",key:"epxaof"}],["path",{d:"M6.17 15a3 3 0 0 1 5.66 0",key:"n6f512"}],["circle",{cx:"9",cy:"11",r:"2",key:"yxgjnd"}],["rect",{x:"2",y:"5",width:"20",height:"14",rx:"2",key:"qneu4z"}]],ge=oe("id-card",ye);/** 7 * @license lucide-react v0.511.0 - ISC 8 * 9 * This source code is licensed under the ISC license. 10 * See the LICENSE file in the root directory of this source tree. 11 */const je=[["path",{d:"M5.8 11.3 2 22l10.7-3.79",key:"gwxi1d"}],["path",{d:"M4 3h.01",key:"1vcuye"}],["path",{d:"M22 8h.01",key:"1mrtc2"}],["path",{d:"M15 2h.01",key:"1cjtqr"}],["path",{d:"M22 20h.01",key:"1mrys2"}],["path",{d:"m22 2-2.24.75a2.9 2.9 0 0 0-1.96 3.12c.1.86-.57 1.63-1.45 1.63h-.38c-.86 0-1.6.6-1.76 1.44L14 10",key:"hbicv8"}],["path",{d:"m22 13-.82-.33c-.86-.34-1.82.2-1.98 1.11c-.11.7-.72 1.22-1.43 1.22H17",key:"1i94pl"}],["path",{d:"m11 2 .33.82c.34.86-.2 1.82-1.11 1.98C9.52 4.9 9 5.52 9 6.23V7",key:"1cofks"}],["path",{d:"M11 13c1.93 1.93 2.83 4.17 2 5-.83.83-3.07-.07-5-2-1.93-1.93-2.83-4.17-2-5 .83-.83 3.07.07 5 2Z",key:"4kbmks"}]],ae=oe("party-popper",je),Ne=r=>{var a;return{campaignCreated:!!r.campaign,personaConfigured:!!r.persona,contactsImported:((a=r.importedContacts)==null?void 0:a.length)||0,profileImported:!!r.profileImported,messageGenerated:!!r.generatedMessage}};function Pe(r){const e=ie.c(60),{onFinalComplete:a,totalSteps:U,onboardingData:x}=r;let h;e[0]===Symbol.for("react.memo_cache_sentinel")?(h=[],e[0]=h):h=e[0],ce.useEffect(_e,h);let u;e[1]!==x?(u=Ne(x),e[1]=x,e[2]=u):u=e[2];const s=u,y=U-1;let o;e[3]!==s.campaignCreated?(o={key:"linkedin",icon:le,title:"Connected LinkedIn account",description:"Your LinkedIn account is now connected and ready",isComplete:s.campaignCreated},e[3]=s.campaignCreated,e[4]=o):o=e[4];const W=s.contactsImported>0?`Imported ${s.contactsImported} contacts`:"Ready to import contacts",H=s.contactsImported>0?"Your contacts are ready for outreach":"Import contacts from LinkedIn searches to get started",V=s.contactsImported>0;let i;e[5]!==W||e[6]!==H||e[7]!==V?(i={key:"contacts",icon:ee,title:W,description:H,isComplete:V},e[5]=W,e[6]=H,e[7]=V,e[8]=i):i=e[8];const Z=s.profileImported?"Profile imported successfully":"Ready to import profile",J=s.profileImported?"Your profile data is ready for personalization":"Import your LinkedIn profile to personalize outreach";let c;e[9]!==s.profileImported||e[10]!==Z||e[11]!==J?(c={key:"profile",icon:ge,title:Z,description:J,isComplete:s.profileImported},e[9]=s.profileImported,e[10]=Z,e[11]=J,e[12]=c):c=e[12];const K=s.messageGenerated?"Tested AI message generation":"Ready for AI messaging",Q=s.messageGenerated?"AI message generation is working perfectly":"Generate personalized messages with AI";let l;e[13]!==s.messageGenerated||e[14]!==K||e[15]!==Q?(l={key:"message",icon:ne,title:K,description:Q,isComplete:s.messageGenerated},e[13]=s.messageGenerated,e[14]=K,e[15]=Q,e[16]=l):l=e[16];let g;e[17]!==c||e[18]!==l||e[19]!==o||e[20]!==i?(g=[o,i,c,l],e[17]=c,e[18]=l,e[19]=o,e[20]=i,e[21]=g):g=e[21];const X=g;let j,N;e[22]===Symbol.for("react.memo_cache_sentinel")?(j={opacity:0,y:20},N={opacity:1,y:0},e[22]=j,e[23]=N):(j=e[22],N=e[23]);let b,_,k;e[24]===Symbol.for("react.memo_cache_sentinel")?(b={scale:0},_={scale:1},k={delay:.2,type:"spring",stiffness:200},e[24]=b,e[25]=_,e[26]=k):(b=e[24],_=e[25],k=e[26]);let I;e[27]===Symbol.for("react.memo_cache_sentinel")?(I=t.jsx(O.div,{initial:b,animate:_,transition:k,className:"inline-flex items-center justify-center w-14 h-14 bg-success rounded-full mb-3",children:t.jsx(me,{className:"text-primary-foreground",size:28})}),e[27]=I):I=e[27];let v;e[28]===Symbol.for("react.memo_cache_sentinel")?(v=t.jsx(ae,{className:"text-primary",size:22}),e[28]=v):v=e[28];let C,S;e[29]===Symbol.for("react.memo_cache_sentinel")?(C=t.jsxs("h1",{className:"text-2xl sm:text-3xl font-bold text-foreground mb-2 flex items-center justify-center gap-3",children:[v,"Congratulations! You're All Set!",t.jsx(ae,{className:"text-primary",size:22})]}),S=t.jsx("p",{className:"text-muted-foreground text-base",children:"Your Outly account is now fully configured and ready to help you build meaningful professional connections."}),e[29]=C,e[30]=S):(C=e[29],S=e[30]);const D=y===1?"step":"steps";let n;e[31]!==y||e[32]!==D?(n=t.jsxs(O.div,{initial:j,animate:N,className:"text-center mb-4",children:[I,C,S,t.jsxs("div",{className:"mt-2 text-muted-foreground text-sm",children:["Onboarding Complete ⢠",y," ",D," finished"]})]}),e[31]=y,e[32]=D,e[33]=n):n=e[33];let z,M,w;e[34]===Symbol.for("react.memo_cache_sentinel")?(z={opacity:0,y:20},M={opacity:1,y:0},w={delay:.3}
11,e[34]=z,e[35]=M,e[36]=w):(z=e[34],M=e[35],w=e[36]);let L;e[37]===Symbol.for("react.memo_cache_sentinel")?(L=t.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[t.jsx(pe,{className:"text-success",size:24}),t.jsx("h3",{className:"text-foreground text-lg font-semibold",children:"What You've Accomplished"})]}),e[37]=L):L=e[37];let m;e[38]!==X?(m=t.jsx(se,{className:"bg-card border border-success/30 rounded-md",children:t.jsxs(re,{className:"p-4",children:[L,t.jsx("div",{className:"flex flex-col justify-between h-full",children:X.map(be)})]})}),e[38]=X,e[39]=m):m=e[39];let A;e[40]===Symbol.for("react.memo_cache_sentinel")?(A=t.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[t.jsx(fe,{className:"text-primary",size:24}),t.jsx("h3",{className:"text-foreground text-lg font-semibold",children:"What's Next?"})]}),e[40]=A):A=e[40];let G;e[41]===Symbol.for("react.memo_cache_sentinel")?(G=t.jsxs("div",{className:"flex items-start gap-3",children:[t.jsx(ee,{className:"text-primary mt-0.5",size:16}),t.jsxs("div",{children:[t.jsx("p",{className:"text-foreground text-sm font-medium",children:"Import More Contacts"}),t.jsx("p",{className:"text-muted-foreground text-sm",children:"Build your network by importing contacts from LinkedIn searches"})]})]}),e[41]=G):G=e[41];let R;e[42]===Symbol.for("react.memo_cache_sentinel")?(R=t.jsxs("div",{className:"flex items-start gap-3",children:[t.jsx(xe,{className:"text-primary mt-0.5",size:16}),t.jsxs("div",{children:[t.jsx("p",{className:"text-foreground text-sm font-medium",children:"Import Your Profile"}),t.jsx("p",{className:"text-muted-foreground text-sm",children:"Import your LinkedIn profile data to personalize your outreach"})]})]}),e[42]=R):R=e[42];let Y;e[43]===Symbol.for("react.memo_cache_sentinel")?(Y=t.jsxs("div",{className:"flex items-start gap-3",children:[t.jsx(he,{className:"text-primary mt-0.5",size:16}),t.jsxs("div",{children:[t.jsx("p",{className:"text-foreground text-sm font-medium",children:"Send AI Messages"}),t.jsx("p",{className:"text-muted-foreground text-sm",children:"Generate and send personalized outreach messages"})]})]}),e[43]=Y):Y=e[43];let E;e[44]===Symbol.for("react.memo_cache_sentinel")?(E=t.jsx(se,{className:"bg-card border border-primary/30 rounded-md",children:t.jsxs(re,{className:"p-4",children:[A,t.jsxs("div",{className:"space-y-3",children:[G,R,Y,t.jsxs("div",{className:"flex items-start gap-3",children:[t.jsx(te,{className:"text-primary mt-0.5",size:16}),t.jsxs("div",{children:[t.jsx("p",{className:"text-foreground text-sm font-medium",children:"Track Results"}),t.jsx("p",{className:"text-muted-foreground text-sm",children:"Monitor your campaign performance and optimize for better results"})]})]})]})]})}),e[44]=E):E=e[44];let d;e[45]!==m?(d=t.jsxs(O.div,{initial:z,animate:M,transition:w,className:"grid grid-cols-1 md:grid-cols-2 gap-4 mb-4",children:[m,E]}),e[45]=m,e[46]=d):d=e[46];let T,P,B;e[47]===Symbol.for("react.memo_cache_sentinel")?(T={opacity:0,y:20},P={opacity:1,y:0},B={delay:.5},e[47]=T,e[48]=P,e[49]=B):(T=e[47],P=e[48],B=e[49]);let q;e[50]===Symbol.for("react.memo_cache_sentinel")?(q=t.jsx(ue,{size:20}),e[50]=q):q=e[50];let p;e[51]!==a?(p=t.jsx(de,{"data-testid":"complete-onboarding-btn",className:"bg-primary text-primary-foreground !rounded-md px-8 py-3 font-semibold",onPress:a,size:"lg",endContent:q,children:"Go to Dashboard"}),e[51]=a,e[52]=p):p=e[52];let $;e[53]===Symbol.for("react.memo_cache_sentinel")?($=t.jsxs("p",{className:"text-muted-foreground text-sm mt-3",children:["Your journey to better networking starts now!",t.jsx(te,{className:"inline ml-2 text-primary",size:16})]}),e[53]=$):$=e[53];let f;e[54]!==p?(f=t.jsxs(O.div,{initial:T,animate:P,transition:B,className:"text-center",children:[p,$]}),e[54]=p,e[55]=f):f=e[55];let F;return e[56]!==n||e[57]!==d||e[58]!==f?(F=t.jsx("div",{className:"min-h-screen flex items-center justify-center p-4",children:t.jsxs("div",{className:"w-full max-w-4xl",children:[n,d,f]})}),e[56]=n,e[57]=d,e[58]=f,e[59]=F):F=e[59],F}function be(r){const{key:e,icon:a,title:U,description:x}=r;return t.jsxs("div",{className:"flex items-start gap-3",children:[t.jsx(a,{className:"text-primary mt-0.5",size:16}),t.jsxs("div",{children:[t.jsx("p",{className:"text-foreground text-sm font-medium",children:U}),t.jsx("p",{className:"text-muted-foreground text-sm",children:x})]})]},e)}function _e(){const r=setTimeout(ke,1e4);return()=>clearTimeout(r)}function ke(){}export{Pe as default};
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.