PageSourceSearch

https://reamstories.com/chunk-LHFIFN37.js

js reamstories.com collected 2026-09-25 18:19:02 UTC 9,049 bytes, 1 lines download raw bytes

1import{h as L}from"./chunk-6UAV3LWH.js";import"./chunk-T52XRCMA.js";import"./chunk-OG552DVI.js";import"./chunk-PVDLPPXZ.js";import"./chunk-JZGL3MPO.js";import"./chunk-A4IKLA77.js";import"./chunk-D7NNFQ5S.js";import{a as z,b as I}from"./chunk-BQNXIC4V.js";import{d as E}from"./chunk-ELGZLNOE.js";import"./chunk-PUS4KT7E.js";import"./chunk-7CD2UVCS.js";import{b as y,f as w}from"./chunk-7LFE6CSV.js";import{e as V}from"./chunk-HCSZOK6A.js";import{a as k,b as S}from"./chunk-7VTO4BUQ.js";import"./chunk-HFRZY4XY.js";import"./chunk-2TPHSDKA.js";import{Db as P,Dc as _,Ia as v,Ma as c,Na as d,Ob as r,Sc as O,_ as f,_a as M,ga as x,ha as b,hb as l,md as j,nd as T,sb as t,sd as A,tb as n,ub as C}from"./chunk-YSZEO4OX.js";import"./chunk-XIA4NYXV.js";import"./chunk-IJYXSRJ2.js";function q(i,e){i&1&&(t(0,"div",3)(1,"span",4),C(2,"mat-progress-spinner",5),n(),t(3,"span",6),r(4,"Email verification"),n(),t(5,"h1"),r(6,"Verifying your email"),n(),t(7,"p"),r(8,"Please keep this page open while we confirm your verification link."),n()())}function B(i,e){i&1&&(t(0,"div",3)(1,"span",7)(2,"mat-icon"),r(3,"check_circle"),n()(),t(4,"span",6),r(5,"Verification complete"),n(),t(6,"h1"),r(7,"Your email is verified"),n(),t(8,"p"),r(9,"You\u2019re all set. We\u2019ll take you to your creator dashboard now."),n(),t(10,"div",8)(11,"a",9),r(12,"Continue to dashboard"),n()()())}function D(i,e){if(i&1&&(t(0,"div",3)(1,"span",10)(2,"mat-icon"),r(3,"error"),n()(),t(4,"span",6),r(5,"Verification unsuccessful"),n(),t(6,"h1"),r(7,"We couldn\u2019t verify this link"),n(),t(8,"p"),r(9,"It may be incomplete, expired, or already used. Log in to request a new verification email."),n(),t(10,"div",8)(11,"a",11),r(12,"Go to login"),n(),t(13,"a",12),r(14,"Contact support"),n()()()),i&2){let N=P();c(13),l("href","mailto:"+N.brand.supportEmail,v)}}var R=(()=>{let e=class e{constructor(m,a,o){this.userApiService=m,this.router=a,this.snackbar=o,this.brand=V}ngOnInit(){var u;let m=window.location.search,a=m||((u=window.location.hash)==null?void 0:u.replace("#/email-verify?","")),o=new URLSearchParams(a),p=o.get("evt"),g=o.get("email");p&&g?this.userApiService.verifyEmail({Email:g,Token:p}).subscribe({next:s=>{this.emailSuccess=!0,this.snackbar.open(s==null?void 0:s.Message,"close",{duration:2e3,horizontalPosition:"center",verticalPosition:"top"}),this.userApiService.isEmailVerified=!0,setTimeout(()=>{this.router.navigate(["/creator-hub","dashboard"])},2e3)},error:s=>{var h;this.emailSuccess=!1,this.snackbar.open(((h=s==null?void 0:s.error)==null?void 0:h.Message)||"An issue occurred.","close",{duration:6e3,horizontalPosition:"center",verticalPosition:"top"})}}):(this.emailSuccess=!1,console.error("Missing token or email.",`Token is: ${p}`,`Email is: ${g}`))}};e.\u0275fac=function(a){return new(a||e)(d(L),d(j),d(E))},e.\u0275cmp=x({type:e,selectors:[["app-email-verify"]],decls:5,vars:3,consts:[[1,"auth-page"],["aria-live","polite",1,"auth-card"],["class","auth-status",4,"ngIf"],[1,"auth-status"],["aria-hidden","true",1,"status-spinner"],["mode","indeterminate","diameter","30"],[1,"auth-eyebrow"],["aria-hidden","true",1,"auth-icon","auth-icon--success"],[1,"auth-actions"],["mat-flat-button","","color","primary","routerLink","/creator-hub/dashboard"],["aria-hidden","true",1,"auth-icon","auth-icon--error"],["mat-flat-button","","color","primary","routerLink","/login"],["mat-stroked-button","","color","primary",3,"href"]],template:function(a,o){a&1&&(t(0,"main",0)(1,"section",1),M(2,q,9,0,"div",2)(3,B,13,0,"div",2)(4,D,15,1,"div",2),n()()),a&2&&(c(2),l("ngIf",o.emailSuccess===void 0),c(),l("ngIf",o.emailSuccess),c(),l("ngIf",o.emailSuccess===!1))},dependencies:[_,y,k,z,T],styles:['[_nghost-%COMP%]{display:block;width:100%}.auth-page[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:center;min-height:calc(100dvh - 56px);padding:clamp(1.25rem,5vw,4rem) 1rem;overflow:hidden;background:radial-gradient(circle at 12% 18%,color-mix(in srgb,var(--ream-primary) 17%,transparent),transparent 30rem),radial-gradient(circle at 88% 82%,color-mix(in srgb,var(--brand-gradient-end) 13%,transparent),transparent 28rem),var(--ream-page)}
1.auth-page[_ngcontent-%COMP%]:before, .auth-page[_ngcontent-%COMP%]:after{position:absolute;width:15rem;height:15rem;border:1px solid color-mix(in srgb,var(--ream-primary) 18%,transparent);border-radius:50%;content:"";pointer-events:none}.auth-page[_ngcontent-%COMP%]:before{top:-8rem;right:-5rem}.auth-page[_ngcontent-%COMP%]:after{bottom:-9rem;left:-4rem}.auth-card[_ngcontent-%COMP%]{position:relative;z-index:1;align-self:flex-start;width:min(100%,34rem);padding:clamp(1.5rem,5vw,2.5rem);border:1px solid var(--ream-border);border-radius:22px;background:color-mix(in srgb,var(--ream-surface-raised) 97%,transparent);box-shadow:0 22px 60px color-mix(in srgb,#000 18%,transparent)}.auth-header[_ngcontent-%COMP%]{margin-bottom:1.5rem;text-align:center}.auth-header[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{margin:.4rem 0 .5rem;color:var(--ream-text);font-size:clamp(1.5rem,5vw,1.95rem);font-weight:800;line-height:1.2}.auth-header[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{max-width:27rem;margin:0 auto;color:var(--ream-text-secondary);font-size:.8rem;line-height:1.55}.auth-icon[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:3.25rem;height:3.25rem;margin-bottom:.7rem;border-radius:15px;color:#fff;background:linear-gradient(145deg,var(--brand-gradient-start),var(--brand-gradient-end));box-shadow:0 10px 22px color-mix(in srgb,var(--ream-primary) 24%,transparent)}.auth-icon[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{width:1.55rem;height:1.55rem;font-size:1.55rem;line-height:1.55rem}.auth-icon--success[_ngcontent-%COMP%]{background:linear-gradient(145deg,#27895d,#176b44);box-shadow:0 10px 22px #176b4433}.auth-icon--error[_ngcontent-%COMP%]{background:linear-gradient(145deg,#e85b42,#b93624);box-shadow:0 10px 22px #b9362433}.auth-eyebrow[_ngcontent-%COMP%]{display:block;color:var(--ream-accent-foreground);font-size:.66rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.auth-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.8rem}.auth-form[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]{width:100%}.auth-form[_ngcontent-%COMP%]   mat-icon[matPrefix][_ngcontent-%COMP%]{margin-right:.45rem;color:var(--ream-text-secondary)}.auth-submit[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;width:100%;min-height:3.2rem;border-radius:11px;font-size:.84rem;font-weight:800}  .auth-submit mat-progress-spinner circle,   .auth-icon mat-progress-spinner circle{stroke:#fff!important}.auth-actions[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.65rem;margin-top:1.25rem}.auth-actions[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .auth-actions[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{min-height:2.7rem;border-radius:10px;font-weight:750}.auth-back-link[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.25rem;margin-top:1.25rem;color:var(--ream-accent-foreground);font-size:.72rem;font-weight:750;text-decoration:none}.auth-back-link[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{width:1rem;height:1rem;font-size:1rem;line-height:1rem}.status-panel[_ngcontent-%COMP%]{padding:1rem;border:1px solid var(--ream-border);border-radius:13px;color:var(--ream-text-secondary);background:var(--ream-surface-soft);font-size:.75rem;line-height:1.55}.status-panel[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0}.status-panel[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{color:var(--ream-text);overflow-wrap:anywhere}.status-panel[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin:0;padding-left:1.2rem}.status-panel[_ngcontent-%COMP%]   li[_ngcontent-%COMP%] + li[_ngcontent-%COMP%]{margin-top:.55rem}.auth-status[_ngcontent-%COMP%]{text-align:center}.auth-status[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{margin:.4rem 0 .5rem;color:var(--ream-text);font-size:clamp(1.5rem,5vw,1.95rem);font-weight:800;line-height:1.2}.auth-status[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0 0 1.25rem;color:var(--ream-text-secondary);font-size:.8rem;line-height:1.55}.status-spinner[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:3.25rem;height:3.25rem;margin-bottom:.7rem;border-radius:15px;background:var(--brand-accent-surface-strong)}@media only screen and (max-width: 520px){.auth-page[_ngcontent-%COMP%]{align-items:flex-start;padding:0;background:var(--ream-page)}.auth-card[_ngcontent-%COMP%]{width:100%;min-height:calc(100dvh - 56px);padding:3rem 1.15rem 1.5rem;border:0;border-radius:0;box-shadow:none}}@media (prefers-reduced-motion: reduce){.auth-card[_ngcontent-%COMP%], .auth-submit[_ngcontent-%COMP%]{transition:none}}']});let i=e;return i})();var ie=(()=>{let e=class e{};e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=b({type:e}),e.\u0275inj=f({imports:[O,w,S,I,A.forChild([{path:"",component:R}])]});let i=e;return i})();export{ie as EmailVerifyModule};

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.