PageSourceSearch

https://desk.bigvu.tv/chunk-QBYYUOFG.js

js bigvu.tv collected 2026-09-24 08:55:14 UTC 10,334 bytes, 6 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ecebf8ab-75d8-5e05-821d-1eb0e76d93d0")}catch(e){}}();
3import{a as ne}from"./chunk-N4USS5EY.js";import{ee as te,fe as pe,ib as $,jb as le,pd as ee,qd as ce}from"./chunk-3DSPHW6V.js";import{$ as y,X as W,Y as ae,Z as X,_ as se,aa as Z}from"./chunk-63QE6F3C.js";import{k as B,n as M,r as A}from"./chunk-J3ZCYF7X.js";import"./chunk-N6HKC5YM.js";import"./chunk-EHPICUXU.js";import{A as L,C as q,Db as Y,E as H,H as G,I as N,K as D,M as j,N as U,Nb as J,O as Q,fc as K,rc as re,v as F,y as R,z as V}from"./chunk-NZAURXIC.js";import{D as O,l as z,y as b}from"./chunk-PDBQSBW2.js";import{Bb as E,Da as l,Ib as a,Ja as v,Lc as x,Nc as m,Rc as I,Va as d,Wa as f,Wb as u,Zc as c,Zd as P,_c as T,ec as h,gd as w,hc as o,tc as i,uc as s,ud as S,vc as p,zc as _}from"./chunk-RX45F3VG.js";import"./chunk-XTLLHG7S.js";import"./chunk-3YV6UUBL.js";import"./chunk-JLENAXOB.js";import"./chunk-2QIXGXOC.js";import"./chunk-SNF2N7IK.js";import"./chunk-NM7LVQTP.js";import"./chunk-IK6B3JC3.js";import{m as g}from"./chunk-C6VPWJCA.js";P();O();A();ce();P();O();Q();A();re();ae();Z();pe();le();var k=function(e){return e.MISSING_EMAIL="Your email is required",e}(k||{});se();P();O();Q();function ge(e,C){if(e&1&&p(0,"lib-alert",11),e&2){let t=m(2);o("message",t.errorMessage())}}function de(e,C){if(e&1){let t=_();i(0,"div",2)(1,"div",3)(2,"h1",4),c(3,"Forgot password?"),s(),i(4,"p",5),c(5," Enter your email and we'll send you a link to get back into your account. "),s()(),h(6,ge,1,1,"lib-alert",6),i(7,"form",7),x("ngSubmit",function(){d(t);let r=m();return f(r.onSubmit())}),i(8,"div",8),p(9,"lib-input",9),s(),i(10,"lib-button",10),c(11," Send reset link "),s()()()}if(e&2){let t,n=m();a(6),o("ngIf",n.errorMessage()),a(),o("formGroup",n.emailForm),a(2),o("formControl",n.emailForm.controls.email)("label",!0)("required",!1)("error",((t=n.emailForm.get("email"))==null?null:t.invalid)&&((t=n.emailForm.get("email"))==null?null:t.touched)),a(),o("variant","primary")("disabled",n.getSubmitButtonState()==="disabled")("loading",n.getSubmitButtonState()==="loading")}}function fe(e,C){if(e&1){let t=_();i(0,"div",12)(1,"div",3)(2,"h1",4),c(3,"Email Sent"),s(),i(4,"div",13)(5,"p",5),c(6," Please go to your mailbox to reset your password. If you encounter any problem, please contact us at "),s(),i(7,"a",14),c(8),s()()(),i(9,"lib-button",15),x("clicked",function(){d(t);let r=m();return f(r.onBackToLogin())}),c(10," Back to log in "),s()()}if(e&2){let t=m();a(7),I("href","mailto:",t.supportEmail,"",E),a(),T(t.supportEmail),a(),o("variant","primary")}}var oe=(()=>{class e{constructor(){this.requestsService=l(W),this.loginHelperService=l(y),this.eventsService=l(te),this.errorParseService=l($),this.router=l(M),this.route=l(B),this.isSubmitting=u(!1),this.errorMessage=u(""),this.emailSent=u(!1),this.sentEmail=u(""),this.emailForm=new L({email:new q("",[F.required,F.email])}),this.supportEmail="[email protected]"}ngOnInit(){return g(this,null,function*(){this.eventsService.log(this.eventsService.events.account.forgotPasswordScreen),this.prefillEmailFromQueryParams(),yield this.loginHelperService.ifUserIsLoggedInRefreshTokenAndRedirect()})}prefillEmailFromQueryParams(){let t=this.route.snapshot.queryParams[X.EMAIL];t&&this.emailForm.patchValue({email:t})}onSubmit(){return g(this,null,function*(){if(this.emailForm.invali
3d){this.emailForm.markAllAsTouched();return}let t=this.emailForm.get("email")?.value;if(!t){this.errorMessage.set(k.MISSING_EMAIL);return}this.isSubmitting.set(!0),this.errorMessage.set("");try{yield this.requestsService.forgotPassword(t),this.eventsService.log(this.eventsService.events.account.forgotPassword,{resetEmail:t}),this.sentEmail.set(t),this.emailSent.set(!0)}catch(n){let r=this.errorParseService.parseForgotPasswordError(n);typeof r=="string"?this.errorMessage.set(r):this.errorMessage.set("Failed to send reset link. Please try again.")}finally{this.isSubmitting.set(!1)}})}onBackToLogin(){this.router.navigate(["/login"],{queryParamsHandling:"preserve"})}getSubmitButtonState(){return this.isSubmitting()?"loading":this.emailForm.invalid?"disabled":"default"}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=v({type:e,selectors:[["app-forgot-password-form"]],standalone:!0,features:[w],decls:2,vars:2,consts:[["class","forgot-password-form",4,"ngIf"],["class","forgot-password-form success-view",4,"ngIf"],[1,"forgot-password-form"],[1,"header-section"],[1,"title"],[1,"description"],["status","error","size","regular","mode","light",3,"message",4,"ngIf"],[1,"form-section",3,"ngSubmit","formGroup"],[1,"input-wrapper"],["labelText","Email","placeholder","[email protected]","type","email","size","large","errorMessage","Please enter a valid email address","autocomplete","email",3,"formControl","label","required","error"],["size","lg","type","submit",3,"variant","disabled","loading"],["status","error","size","regular","mode","light",3,"message"],[1,"forgot-password-form","success-view"],[1,"description-block"],[1,"support-link-inline",3,"href"],["size","lg",3,"clicked","variant"]],template:function(n,r){n&1&&h(0,de,12,9,"div",0)(1,fe,11,4,"div",1),n&2&&(o("ngIf",!r.emailSent()),a(),o("ngIf",r.emailSent()))},dependencies:[b,z,j,H,R,V,D,U,G,N,Y,J,K],styles:[".forgot-password-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:32px;width:100%;margin:0 auto}.back-link[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%}.back-button[_ngcontent-%COMP%]{display:flex;align-items:center;gap:2px;background:none;border:none;cursor:pointer;padding:0;border-radius:8px;transition:opacity .2s ease}.back-button[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:24px;height:24px}.back-button[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-family:Inter,sans-serif;font-size:14px;font-weight:500;line-height:1.4;letter-spacing:-.14px;color:#2563eb}.back-button[_ngcontent-%COMP%]:hover{opacity:.8}.header-section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px;align-items:center;width:100%}.title[_ngcontent-%COMP%]{font-family:Inter,sans-serif;font-size:32px;font-weight:600;line-height:1.2;letter-spacing:-1.28px;color:#253658;margin:0;text-align:center}.description[_ngcontent-%COMP%]{font-family:Inter,sans-serif;font-size:16px;font-weight:400;line-height:1.4;letter-spacing:-.16px;color:#6b7280;margin:0;text-align:center}.description-block[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:2px;text-align:center}.error-container[_ngcontent-%COMP%]{width:100%;padding:12px 16px;background-color:#fef2f2;border-radius:8px;border:1px solid #FECACA}.error-message[_ngcontent-%COMP%]{font-family:Inter,sans-serif;font-size:14px;font-weight:400;line-height:1.4;color:#dc2626;margin:0;text-align:center}.form-section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:32px;align-items:center;width:100%}.form-section[_ngcontent-%COMP%]   lib-button[_ngcontent-%COMP%]{display:block;width:100%}.form-section[_ngcontent-%COMP%]   lib-button[_ngcontent-%COMP%]     button{width:100%}.input-wrapper[_ngcontent-%COMP%]{width:100%}.input-wrapper[_ngcontent-%COMP%]   lib-input[_ngcontent-%COMP%]{width:100%}.footer[_ngcontent-%COMP%]{display:flex;gap:4px;align-items:center;justify-content:center;width:100%}.footer-text[_ngcontent-%COMP%]{font-family:Inter,sans-serif;font-size:14px;font-weight:400;line-height:1.4;letter-spacing:-.14px;color:#4b6fa5}.support-link[_ngcontent-%COMP%]{font-family:Inter,sans-serif;font-size:14px;font-weight:500;line-height:1.4;letter-spacing:-.14px;color:#4b6fa5;text-decoration:none;transition:opacity .2s ease}.support-link[_ngcontent-%COMP%]:hover{opacity:.8}.support-link-inline[_ngcontent-%COMP%]{font-family:Inter,sans-serif;font-size:16px;font-weight:500;line-height:1.4;letter-spacing:-.16px;color:#2563eb;text-decoration:none;transition:opacity .2s ease}.support-link-inline[_ngcontent-%COMP%]:hover{opacity:.8}.success-view[_ngcontent-%COMP%]   .header-section[_ngcontent-%COMP%]{gap:16px}.success-view[_ngcontent-%COMP%]   lib-button[_ngcontent-%COMP%]{display:block;width:100%}.success-view[_ngcontent-%COMP%]   lib-button[_ngcontent-%COMP%]     button{width:100%}@media (max-width: 768px){.title[_ngcontent-%COMP%]{font-size:28px}}@media (max-width: 480px){.forgot-password-form[_ngcontent-%COMP%]{gap:24px}.title[_ngcontent-%COMP%]{font-size:24px;letter-spacing:-1px}.header-section[_ngcontent-%COMP%]{gap:12px}.form-section[_ngcontent-%COMP%]{gap:24px}.description[_ngcontent-%COMP%]{font-size:14px}}@media (max-width: 320px){.forgot-password-form[_ngcontent-%COMP%]{gap:20px}.title[_ngcontent-%COMP%]{font-size:20px}.footer-text[_ngcontent-%COMP%], .support-link[_ngcontent-%COMP%], .back-button[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:12px}}"]})}}return e})();Z();P();function ue(e,C){e&1&&p(0,"app-forgot-password-form")}function he(e,C){e&1&&p(0,"app-auth-footer",4),e&2&&o("variant","help")}var De=(()=>{class e{constructor(){this.loginHelperService=l(y),this.router=l(M)}ngOnInit(){return g(this,null,function*(){yield this.loginHelperService.ifUserIsLoggedInRefreshTokenAndRedirect()})}onBackToLogin(){this.router.navigate(["/login"],{queryParamsHandling:"preserve"})}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=v({type:e,selectors:[["app-forgot-password-page"]],standalone:!0,features:[w],decls:6,vars:2,consts:[["screenContent",""],["footerContent",""],[1,"forgot-password-page-component","full-screen"],["backButtonText","Back to log in",3,"backButtonClick","showAbsoluteStaff","showBackButton"],[3,"variant"]],template:function(n,r){if(n&1){let ie=_();i(0,"div",2)(1,"auth-screen",3),x("backButtonClick",function(){return d(ie),f(r.onBackToLogin())}),h(2,ue,1,0,"ng-template",null,0,S)(4,he,1,1,"ng-template",null,1,S),s()()}n&2&&(a(),o("showAbsoluteStaff",!0)("showBackButton",!0))},dependencies:[b,ee,oe,ne],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%}"]})}}return e})();export{De as ForgotPasswordPageComponent};
4/**i18n:e059b5419240afef74436eb5a1887102ff8937e043a8d48b1423a03649476971*/
5
6//# debugId=ecebf8ab-75d8-5e05-821d-1eb0e76d93d0

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.