PageSourceSearch

https://vitena.care/en/chunk-B5ACEBAQ.js

js vitena.care collected 2026-09-24 13:56:11 UTC 9,257 bytes, 1 lines download raw bytes

1import{a as D}from"./chunk-R5WARVYD.js";import{a as z}from"./chunk-BL2JO6AO.js";import{a as X}from"./chunk-EG7H76UG.js";import{d as H}from"./chunk-FOH7CA2I.js";import"./chunk-VNM7EDEJ.js";import"./chunk-2MLDW2D3.js";import"./chunk-46DG3HEL.js";import"./chunk-43YBI5ZD.js";import"./chunk-63QB7G3W.js";import{b as G}from"./chunk-2LVETGW4.js";import"./chunk-FCRQSVXR.js";import"./chunk-IU6AW6YZ.js";import"./chunk-QZYD6EK3.js";import{h as U,j as k}from"./chunk-NLNCJF7P.js";import"./chunk-4KC5VZEM.js";import{Bb as p,Cb as n,Db as o,Eb as _,Ed as w,Nb as T,Rb as a,Sb as x,Tb as $,Ua as c,Vb as g,Xb as E,Z as F,ab as A,ca as f,da as I,fb as y,oa as d,vb as m,wb as u,za as L}from"./chunk-MEWEEZGC.js";import"./chunk-WYC6G435.js";function j(i,e){i&1&&(n(0,"div",18)(1,"div",19),_(2,"app-loading",20),o()()),i&2&&(c(2),p("loading",!0));}function B(i,e){i&1&&(n(0,"p",25),a(1,2),o());}function q(i,e){i&1&&(n(0,"p",25),a(1,3),o());}function J(i,e){i&1&&(n(0,"p",25),a(1,4),o());}function K(i,e){if(i&1){let t=T();n(0,"button",30),g("click",function(){f(t);let l=E(2);return I(l.continueAfterVerify());}),_(1,"i",31),n(2,"span"),a(3,5),o(),_(4,"i",32),o();}}function Q(i,e){if(i&1){let t=T();n(0,"button",30),g("click",function(){f(t);let l=E(2);return I(l.continueAfterVerify());}),_(1,"i",33),n(2,"span"),a(3,6),o(),_(4,"i",32),o();}}function W(i,e){i&1&&(_(0,"span",35),n(1,"span"),a(2,7),o());}function Z(i,e){i&1&&(_(0,"i",36),n(1,"span"),a(2,8),o(),_(3,"i",32));}function ee(i,e){if(i&1){let t=T();n(0,"button",34),g("click",function(){f(t);let l=E(2);return I(l.continueAfterVerify());}),m(1,W,3,0)(2,Z,4,0),o();}if(i&2){let t=E(2);p("disabled",t.isStartingSession()),c(),u(t.isStartingSession()?1:2);}}function ie(i,e){if(i&1&&(n(0,"div",18)(1,"div",19)(2,"div",21)(3,"div",22),_(4,"i",23),o(),n(5,"h2",24),a(6,0),o(),m(7,B,2,0,"p",25)(8,q,2,0,"p",25)(9,J,2,0,"p",25),o(),n(10,"div",26),_(11,"i",27),n(12,"span"),a(13,1),o()(),m(14,K,5,0,"button",28)(15,Q,5,0,"button",28)(16,ee,3,2,"button",29),o()()),i&2){let t=E();c(7),u(t.flow()==="career"?7:t.flow()==="partner_program"?8:9),c(7),u(t.flow()==="career"?14:t.flow()==="partner_program"?15:16);}}function te(i,e){if(i&1){let t=T();n(0,"div",18)(1,"div",19)(2,"div",21)(3,"div",37),_(4,"i",38),o(),n(5,"h2",39),a(6,9),o(),n(7,"p",40),a(8,10),o()(),n(9,"div",41)(10,"p",42),a(11,11),o(),_(12,"app-resend-verification"),o(),n(13,"div",43)(14,"button",44),g("click",function(){f(t);let l=E();return I(l.goToLogin());}),_(15,"i",45),n(16,"span"),a(17,12),o()(),n(18,"button",46),g("click",function(){f(t);let l=E();return I(l.goHome());}),_(19,"i",47),n(20,"span"),a(21,13),o()()()()();}if(i&2){let t=E();c(8),x(t.message()),$(8);}}var Y=class i{constructor(e,t,r){this.route=e;this.router=t;this.backend=r;w(this.platformId)&&this.route.queryParams.pipe(z()).subscribe(l=>{let C=l.token||"";if(this.token.set(C),!C){this.isError.set(!0),this.message.set("Invalid verification link. No token provided.");return;}history.replaceState(null,"",window.location.pathname),this.verifyEmail();});}isVerifying=d(!1);isVerified=d(!1);isError=d(!1);isStartingSession=d(!1);message=d("");token=d("");flow=d("");appInfo=G;platformId=F(L);verifyEmail(){this.isVerifying.set(!0),this.backend.verifyEmail(this.token()).subscribe({next:e=>{this.isVerifying.set(!1),this.isVerified.set(!0),this.message.set(e.message||"Email verified successfully!"),this.flow.set(this.normaliseFlow(e.flow));},error:e=>{this.isVerifying.set(!1),this.isError.set(!0),this.message.set(e.message||"Email verification failed. The link may be invalid or expired.");}});}continueAfterVerify(){let e=this.flow();if(e==="career"||e==="partner_program"){this.router.navigate(["/careers/interview-scheduled"]);return;}this.isStartingSession.set(!0),this.backend.startSessionFromVerification(this.token()).subscribe({next:()=>this.redirectAfterAutoLogin(),error:()=>{this.isStartingSession.set(!1),this.router.navigate(["/login"],{queryParams:{verified:"true"}});}});}redirectAfterAutoLogin(){let e=this.backend.userProfile();if(!e){this.router.navigate(["/app"]);return;}e.isAffiliateOnly?this.router.navigate(["/app/partner"]):e.isOnboardingCompleted?e.onboardingTrack==="partner"||e.onboardingTrack==="partner_program"?this.router.navigate(["/app/partner"]):this.router.navigate(["/app"]):this.router.navigate(["/app/onboarding"]);}goToLogin(){this.router.navigate(["/login"]);}normaliseFlow(e){return e==="career"||e==="partner_program"||e==="affiliate"||e==="regular"?e:"";}goHome(){this.router.navigate(["/"]);}static ɵfac=function(t){return new(t||i)(A(U),A(k),A(H));};static ɵcmp=y({type:i,selectors:[["app-email-verification"]],decls:7,vars:3,consts:()=>{let e;e="Please wait while we verify your email address...";let t;t="Email Verified!";let r;r=" One more step \u2014 tap below to continue ";let l;l=" Your account is ready. One step left \u2014 pick a time for the founder interview. ";let C;C=" Your partner panel is live. Continue to your dashboard to grab your co
1de and start sharing. ";let M;M=" Great! Your email address has been successfully verified. ";let N;N="Pick an interview slot";let O;O="Continue to my dashboard";let S;S="Signing you in\u2026";let R;R="Continue to Vitena";let P;P="Verification Failed";let v;v=" "+"\uFFFD0\uFFFD"+" ";let h;h=" Most often the link has simply expired (links are valid for 24 hours). Enter your email below to receive a fresh one. ";let b;b="Back to Login";let V;return V="Go to Homepage",[t,r,l,C,M,N,O,S,R,P,v,h,b,V,[1,"bg-gradient-hero","min-vh-100","d-flex","align-items-center"],[1,"container"],[1,"row","justify-content-center"],[1,"col-lg-5","col-md-7","col-sm-9"],[1,"card","card-elevated","animate-fade-in"],[1,"card-body","p-5","text-center"],["size","lg","message",e,3,"loading"],[1,"mb-4"],[1,"icon-primary","mx-auto","mb-3",2,"width","80px","height","80px"],[1,"bi","bi-check-circle-fill","fs-1"],[1,"text-success","mb-3"],[1,"text-muted","lead"],[1,"next-step-nudge","mb-3"],[1,"bi","bi-arrow-down-circle"],[1,"btn","btn-primary","btn-lg","w-100","continue-cta"],[1,"btn","btn-primary","btn-lg","w-100","continue-cta",3,"disabled"],[1,"btn","btn-primary","btn-lg","w-100","continue-cta",3,"click"],[1,"bi","bi-calendar-event","me-2"],[1,"bi","bi-arrow-right","ms-2"],[1,"bi","bi-arrow-right-circle","me-2"],[1,"btn","btn-primary","btn-lg","w-100","continue-cta",3,"click","disabled"],["role","status","aria-hidden","true",1,"spinner-border","spinner-border-sm","me-2"],[1,"bi","bi-box-arrow-in-right","me-2"],[1,"icon-danger","mx-auto","mb-3",2,"width","80px","height","80px","background","#dc3545","color","white","display","flex","align-items","center","justify-content","center","border-radius","50%"],[1,"bi","bi-x-circle-fill","fs-1"],[1,"text-danger","mb-3"],[1,"text-muted","mb-4"],[1,"alert","alert-light","border","text-start","mb-3"],[1,"mb-3","small"],[1,"d-grid","gap-2"],[1,"btn","btn-outline-primary",3,"click"],[1,"bi","bi-arrow-left","me-2"],[1,"btn","btn-outline-secondary",3,"click"],[1,"bi","bi-house","me-2"]];},template:function(t,r){t&1&&(n(0,"div",14)(1,"div",15)(2,"div",16)(3,"div",17),m(4,j,3,1,"div",18),m(5,ie,17,2,"div",18),m(6,te,22,1,"div",18),o()()()()),t&2&&(c(4),u(r.isVerifying()?4:-1),c(),u(r.isVerified()&&!r.isVerifying()?5:-1),c(),u(r.isError()&&!r.isVerifying()?6:-1));},dependencies:[X,D],styles:[".bg-gradient-hero[_ngcontent-%COMP%]{background:linear-gradient(135deg,#03a791,#027a68)}.card-elevated[_ngcontent-%COMP%]{box-shadow:0 10px 30px #0000001a;border:none;border-radius:12px}.icon-primary[_ngcontent-%COMP%]{background:#03a791;color:#fff;display:flex;align-items:center;justify-content:center;border-radius:50%}.icon-danger[_ngcontent-%COMP%]{background:#dc3545;color:#fff;display:flex;align-items:center;justify-content:center;border-radius:50%}.animate-fade-in[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_fadeIn .5s ease-in}@keyframes _ngcontent-%COMP%_fadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.btn[_ngcontent-%COMP%]{border-radius:8px;font-weight:600;padding:12px 24px}.alert[_ngcontent-%COMP%]{border-radius:8px;border:none}.next-step-nudge[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.45rem;font-size:.95rem;font-weight:600;color:#03a791}.next-step-nudge[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:1.1rem;animation:_ngcontent-%COMP%_bounce-down 1.3s ease-in-out infinite}@keyframes _ngcontent-%COMP%_bounce-down{0%,to{transform:translateY(0)}50%{transform:translateY(4px)}}@media(prefers-reduced-motion:reduce){.next-step-nudge[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{animation:none}}.continue-cta[_ngcontent-%COMP%]{font-size:1.05rem;padding:14px 24px;letter-spacing:.01em;box-shadow:0 0 #03a7918c;animation:_ngcontent-%COMP%_cta-pulse 2.2s ease-in-out infinite}.continue-cta[_ngcontent-%COMP%]:hover, .continue-cta[_ngcontent-%COMP%]:focus-visible{animation:none;box-shadow:0 8px 22px -8px #03a791a6;transform:translateY(-1px)}@keyframes _ngcontent-%COMP%_cta-pulse{0%,to{box-shadow:0 0 #03a79173}50%{box-shadow:0 0 0 8px #03a79100}}@media(prefers-reduced-motion:reduce){.continue-cta[_ngcontent-%COMP%]{animation:none}}"]});};export{Y as EmailVerificationComponent};/**i18n:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855*/

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.