1"use strict";(self.webpackChunkfreedom_ssr=self.webpackChunkfreedom_ssr||[]).push([[715],{889:(N,b,c)=>{c.d(b,{E:()=>h,n:()=>m});class m{constructor(){this.Country="US"}}class h{constructor(){this.Country="US"}}},5715:(N,b,c)=>{c.r(b),c.d(b,{AuthLayoutModule:()=>Fe});var m=c(2791),h=c(467),f=c(177),e=c(4438),Y=c(307),i=c(9417),_=c(4082),U=c(5710),S=c(4637),I=c(6554),R=c(6210),F=c(2391),$=c(9153),C=c(2072),w=c(5669),H=c(9642),k=c(1626),M=c(9438),O=c(1355),D=c(2204),B=c(2248),T=c(8018),E=c(60);const G=["captcha"],V=()=>["fas","eye"],X=()=>["fas","eye-slash"],J=()=>["fas","copy"];function z(r,d){if(1&r&&(e.j41(0,"div",32),e.EFF(1),e.k0s()),2&r){const t=e.XpG();e.ZvI("alert alert-",t.type,""),e.R7$(),e.SpI(" ",t.errorMessage||t.msg," ")}}function W(r,d){1&r&&(e.j41(0,"div",33),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&r&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"AUTH_LAYOUT.INPUT_ERROR_EMAIL_REQUIRE"),". "))}function K(r,d){1&r&&(e.j41(0,"div",33),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&r&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"AUTH_LAYOUT.VALID_PASSWORD_ERROR"),"! "))}let Q=(()=>{class r{constructor(t,s,n,o,l,a,u,p,g,y,j,A,Ce,we,ke,Me,Oe,Le,Pe,je){this.platformId=t,this.modalService=s,this.router=n,this.tokenStorage=o,this.fb=l,this.spinner=a,this.authService=u,this.route=p,this.toastService=g,this.sharedService=y,this.customerService=j,this.tokenStorageService=A,this.seoService=Ce,this.socketService=we,this.http=ke,this.encryptDecryptService=Me,this.keyStorageService=Oe,this.legacyKeyMigrationService=Le,this.recoveryBackupService=Pe,this.translate=je,this.isLike=!1,this.isExpand=!1,this.isLoggedIn=!1,this.isLoginFailed=!1,this.errorMessage="",this.errorCode="",this.loginMessage="",this.msg="",this.type="danger",this.theme="",this.passwordHidden=!0,this.baseUrl=_.c.serverUrl;const x=this.route.snapshot.queryParams.isVerify;"false"===x?(this.msg="Please check your email and click the activation link to activate your account.",this.type="success"):"true"===x&&(this.msg="Account activated",this.type="success"),this.theme=localStorage.getItem("theme")}ngOnInit(){this.tokenStorage.getToken()&&(this.isLoggedIn=!0,this.router.navigate(["/home"])),this.loginForm=this.fb.group({Email:[null,[i.k0.required]],Password:[null,[i.k0.required]]})}ngAfterViewInit(){(0,f.UE)(this.platformId)&&this.loadCloudFlareWidget()}loadCloudFlareWidget(){typeof window<"u"&&window.turnstile&&this.captchaElement&&window.turnstile.render(this.captchaElement.nativeElement,{sitekey:_.c.siteKey,theme:"dark"===this.theme?"light":"dark",callback:t=>{localStorage.setItem("captcha-token",t),t||(this.msg="invalid captcha kindly try again!",this.type="danger")}})}togglePasswordVisibility(t){t.type="password"===t.type?"text":"password",this.passwordHidden=!this.passwordHidden}onSubmit(){var s,t=this;this.loginForm.valid&&(this.spinner.show(),this.authService.customerlogin(this.loginForm.value).subscribe({next:(s=(0,h.A)(function*(n){try{t.tokenStorage.saveToken(n?.accessToken),n?.refreshToken&&t.tokenStorage.saveRefreshToken(n.refreshToken),localStorage.setItem("profileId",n.user.profileId),localStorage.setItem("communityId",n.user.communityId),localStorage.setItem("channelId",n.user?.channelId),localStorage.setItem("currentLanguage",n.user?.language||"en"),t.spinner.hide();const o=n.user.profileId;if(yield t.legacyKeyMigrationService.resolveIdentityAfterLogin({profileId:o,publicKey:n?.user.public_key,accessToken:n.accessToken,generateAndUploadNewKeyPair:()=>t.generateAndUploadNewKeyPair(o,n.accessToken)}),n.error)t.loginMessage=n.mesaage,t.spinner.hide(),t.errorMessage="Invalid Email and Password. Kindly try again !!!!",t.isLoginFailed=!0;else{t.sharedService.getUserDetails(),t.isLoginFailed=!1,t.isLoggedIn=!0,t.socketService.connect(),t.socketService.socket?.emit("online-users");const l=t.translate.instant("TOASTE_MESSAGES.LOGIN_SUCCESS");t.toastService.success(l),t.setCookiesForTube(),n?.user?.requiresCategorySelection?t.router.navigate(["/onboarding/categories"]):(window.location.reload(),t.router.navigate(["/home"]))}}catch(o){console.error(" Error during login flow:",o),t.spinner.hide(),t.errorMessage="Invalid Email and Password. Kindly try again !!!!",t.isLoginFailed=!0}}),function(o){return s.apply(this,arguments)}),error:s=>{this.spinner.hide(),this.errorMessage=s.error.message,this.isLoginFailed=!0,this.errorCode=s.error.errorCode}}))}
1generateAndUploadNewKeyPair(t,s){var n=this;return(0,h.A)(function*(){const{publicKey:o,privateKey:l}=yield n.encryptDecryptService.generateRSAKeyPair();yield n.keyStorageService.setPrivateKey(t,l);try{yield n.http.post(`${n.baseUrl}login/setKeyPair`,{public_key:o},{headers:{Authorization:`Bearer ${s}`}}).toPromise()}catch(a){if(409===a?.status||"LEGACY_KEY_MIGRATION_REQUIRED"===a?.error?.code)return yield n.keyStorageService.clearPrivateKey(t),void(yield n.legacyKeyMigrationService.resolveIdentityAfterLogin({profileId:t,publicKey:null,accessToken:s,generateAndUploadNewKeyPair:(u=(0,h.A)(function*(){}),function(){return u.apply(this,arguments)})}));throw a}var u;n.recoveryBackupService.ensureDeviceBoundBackup(t,l,s)})()}resend(){this.authService.userVerificationResend({username:this.loginForm.value.login_email}).subscribe({next:t=>{this.msg=t.message,this.type="success"},error:t=>{this.msg=t.message,this.type="danger"}})}forgotPasswordOpen(){const t=this.modalService.open(Y.c,{centered:!0,backdrop:"static",keyboard:!1});t.componentInstance.cancelButtonLabel="Cancel",t.componentInstance.confirmButtonLabel="Submit",t.componentInstance.closeIcon=!0,t.result.then(s=>{"success"===s&&(this.msg="If the entered email exists you will receive a email to change your password.",this.type="success")})}setCookiesForTube(){const t=localStorage.getItem("auth-token");t&&(document.cookie=`authToken=${t}; domain=.freedom.buzz; path=/; secure; samesite=None; max-age=2592000`);const s=localStorage.getItem("auth-refresh-token");s&&(document.cookie=`authRefreshToken=${s}; domain=.freedom.buzz; path=/; secure; samesite=None; max-age=2592000`)}onClick(t){t.preventDefault();let s=n=>{(n.clipboardData||window.clipboardData).setData("text","[email protected]"),n.preventDefault();const l=this.translate.instant("TOASTE_MESSAGES.EMAIL_COPY_SUCCESS");this.toastService.success(l)};document.addEventListener("copy",s,!1),document.execCommand("copy"),document.removeEventListener("copy",s,!1)}static{this.\u0275fac=function(s){return new(s||r)(e.rXU(e.Agw),e.rXU(U.Bq),e.rXU(m.Ix),e.rXU(S.I),e.rXU(i.ok),e.rXU(I.ex),e.rXU(R.u),e.rXU(m.nX),e.rXU(F.f),e.rXU($.d),e.rXU(C.m),e.rXU(S.I),e.rXU(w.B),e.rXU(H.L),e.rXU(k.Qq),e.rXU(M.IM),e.rXU(O.g),e.rXU(D.m),e.rXU(B.B),e.rXU(T.c$))}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["app-login"]],viewQuery:function(s,n){if(1&s&&e.GBs(G,5),2&s){let o;e.mGM(o=e.lsd())&&(n.captchaElement=o.first)}},decls:58,vars:40,consts:[["signInForm","ngForm"],["passwordInput",""],["captcha",""],[1,"row","position-relative","loginForm"],[1,"col-12","col-md-8","col-lg-7","col-xl-6","mx-auto","d-flex","flex-column"],["routerLink","/",1,"d-flex","justify-content-center"],["height","60","src","assets/images/landingpage/freedom-buzz.png","alt","",1,"h-60-px","rounded","mt-16"],[1,"d-flex","flex-column","justify-content-center","mt-10","login-wrapper"],[1,"text-2","mb-5"],["routerLink","/register",1,"fw-500",2,"color","#e20e19","font-weight","600"],[1,"mb-4",2,"font-weight","600"],["id","loginForm","novalidate","","autocomplete","none",1,"form-dark","d-flex","flex-column",3,"ngSubmit","formGroup"],["role","alert",3,"class",4,"ngIf"],[1,"mb-3"],[1,"form-label"],[1,"text-danger"],["type","email","required","","formControlName","Email","autocomplete","email",1,"input-area",3,"placeholder"],["class","srv-validation-message text-danger",4,"ngIf"],[1,"d-flex","justify-content-between"],[1,"h6","fw-bold","c-pointer","custom-primary",3,"click"],[1,"d-flex","custom-input-area","position-relative"],["type","password","required","","autocomplete","current-password","formControlName","Password",1,"input-area",3,"placeholder"],[1,"font-20-px","position-absolute",3,"click","icon"],[1,"d-flex","justify-content-between","captcha-btn"],["id","captcha"],[1,"login-btn"],["type","submit",1,"btn","btn-primary","my-2","ms-auto","h-40-px"],[1,"text-center","mt-3"],[1,"h6",2,"color","#e20e19 !important","font-weight","600"],[1,"h6","c-pointer",2,"color","#e20e19 !important","font-weight","600",3,"click"],[1,"font-16-px","ms-1",2,"color","#e20e19 !important","font-weight","600",3,"icon"],["src","assets/images/banner/bg.png","alt","bg",2,"position","absolute","left","0","height","100%","width","100%","top","0"],["role","alert"],[1,"srv-validation-message","text-danger"]],template:function(s,n){if(1&s){const o=e.RV6();e.j41(0,"div",3)(1,"div",4)(2,"div",5),e.nrm(3,"img",6),e.k0s(),e.j41(4,"div",7)(5,"p",8),e.EFF(6),e.nI1(7,"translate"),e.j41(8,"a",9),e.EFF(9),e.nI1(10,"translate"),e.k0s()(),e.j41(11,"h3",10),e.EFF(12),e.nI1(13,"translate"),e.k0s(),e.j41(14,"form",11,0),e.bIt("ngSubmit",function(){e.eBV(o);const a=e.sdS(15);return e.Njj(a.form.valid&&n.onSubmit())}),e.DNE(16,z,2,4,"div",12),e.j41(17,"div",13)(18,"label",14),e.EFF(19),e.nI1(20,"translate"),e.j41(21,"span",15),e.EFF(22,"*"),e.k0s()(),e.nrm(23,"input",16),e.nI1(24,"translate"),e.DNE(25,W,3,3,"div",17),e.k0s(),e.j41(26,"div",13)(27,"div",18)(28,"label",14),e.EFF(29),e.nI1(30,"translate"),e.j41(31,"span",15),e.EFF(32,"*"),e.k0s()(),e.j41(33,"a",19),e.bIt("click",function(){return e.eBV(o),e.Njj(n.forgotPasswordOpen())}),e.EFF(34),e.nI1(35,"translate"),e.k0s()(),e.j41(36,"div",20),e.nrm(37,"input",21,1),e.nI1(39,"translate"),e.j41(40,"fa-icon",22),e.bIt("click",function(){e.eBV(o);const a=e.sdS(38);return e.Njj(n.togglePasswordVisibility(a))}),e.k0s()(),e.DNE(41,K,3,3,"div",17),e.k0s(),e.j41(42,"div",23),e.nrm(43,"div",24,2),e.j41(45,"div",25)(46,"button",26),e.EFF(47),e.nI1(48,"translate"),e.k0s()()()()(),e.j41(49,"div",27)(50,"p",28),e.EFF(51),e.nI1(52,"translate"),e.j41(53,"span")(54,"a",29),e.bIt("click",function(a){return e.eBV(o),e.Njj(n.onClick(a))}),e.EFF(55),e.nrm(56,"fa-icon",30),e.k0s()()()()()(),e.nrm(57,"img",31)}if(2&s){const o=e.sdS(15);e.R7$(6),e.SpI(" ",e.bMT(7,17,"AUTH_LAYOUT.NOT_ACTIVATED_LABEL"),"? "),e.R7$(3),e.JRh(e.bMT(10,19,"AUTH_LAYOUT.REGISTER")),e.R7$(3),e.SpI(" ",e.bMT(13,21,"AUTH_LAYOUT.LOG_IN_TO_YOUR_ACCOUNT")," "),e.R7$(2),e.Y8G("formGroup",n.loginForm),e.R7$(2),e.Y8G("ngIf",n.errorMessage||n.msg),e.R7$(3),e.SpI(" ",e.bMT(20,23,"AUTH_LAYOUT.EMAIL_ADD_OR_USERNAME"),""),e.R7$(4),e.FS9("placeholder",e.bMT(24,25,"AUTH_LAYOUT.ENTER_EMAIL_PLACEHOLDER")),e.R7$(2),e.Y8G("ngIf",o.submitted&&n.loginForm.controls.Email.invalid&&(null==n.loginForm.controls.Email.errors?null:n.loginForm.controls.Email.errors.required)),e.R7$(4),e.JRh(e.bMT(30,27,"AUTH_LAYOUT.PASSWORD")),e.R7$(5),e.SpI(" ",e.bMT(35,29,"AUTH_LAYOUT.FORGOT_PASSWORD"),"?"),e.R7$(3),e.FS9("placeholder",e.bMT(39,31,"AUTH_LAYOUT.ENTER_PASSWORD_PLACEHOLDER")),e.R7$(3),e.Y8G("icon",n.passwordHidden?e.lJ4(37,V):e.lJ4(38,X)),e.R7$(),e.Y8G("ngIf",o.submitted&&n.loginForm.controls.Password.invalid&&(null==n.loginForm.controls.Password.errors?null:n.loginForm.controls.Password.errors.required)),e.R7$(6),e.SpI(" ",e.bMT(48,33,"AUTH_LAYOUT.LOGIN")," "),e.R7$(4),e.SpI(" ",e.bMT(52,35,"AUTH_LAYOUT.TECHNICAL_ISSUE_GUIDE")," "),e.R7$(4),e.SpI("","[email protected]"," "),e.R7$(),e.Y8G("icon",e.lJ4(39,J))}},dependencies:[f.bT,i.qT,i.me,i.BC,i.cb,i.YS,i.j4,i.JD,m.Wk,E.aY,T.D9],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;width:100%}[_nghost-%COMP%] .custom-input-area[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{top:11px;right:20px;background-color:var(--box-1st-color);border-radius:50%;height:36px;width:36px;text-align:-webkit-center;align-content:center}[_nghost-%COMP%] .custom-primary[_ngcontent-%COMP%]{color:var(--link-color)!important}.captcha-btn[_ngcontent-%COMP%]{display:flex}@media (max-width: 410px){.captcha-btn[_ngcontent-%COMP%]{flex-direction:column}}.loginForm[_ngcontent-%COMP%]{z-index:99}.login-wrapper[_ngcontent-%COMP%]{background:#ffffff52;padding:20px;border-radius:30px;box-shadow:0 .5rem 1rem #00000026}"]})}}return r})();const Z=["changePassword"],q=()=>["fas","eye"],ee=()=>["fas","eye-slash"];function te(r,d){if(1&r&&(e.j41(0,"div",17),e.EFF(1),e.k0s()),2&r){const t=e.XpG();e.ZvI("alert alert-",t.type,""),e.R7$(),e.SpI(" ",t.msg," ")}}function ne(r,d){1&r&&(e.j41(0,"div",18),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&r&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"AUTH_LAYOUT.PASSWORD_REQUIRE_
1ERROR"),". "))}function re(r,d){1&r&&(e.j41(0,"div",18),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&r&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"AUTH_LAYOUT.PASSWORD_LENGTH_ERROR"),". "))}function se(r,d){1&r&&(e.j41(0,"div",18),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&r&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"AUTH_LAYOUT.CONFIRM_PASSWORD_ERROR")," "))}function oe(r,d){1&r&&(e.j41(0,"div",18),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&r&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"AUTH_LAYOUT.CONFIRM_PASSWORD_REQUIRE_ERROR")," "))}let ie=(()=>{class r{constructor(t,s,n,o,l,a,u){this.modalService=t,this.router=s,this.tokenStorage=n,this.fb=o,this.spinner=l,this.authService=a,this.route=u,this.loading=!1,this.submitted=!1,this.msg="",this.type="",this.passwordHidden=!0,this.route.queryParams.subscribe(p=>{this.userAccessToken=p.accesstoken}),this.spinner.hide()}ngOnInit(){}togglePasswordVisibility(t){t.type="password"===t.type?"text":"password",this.passwordHidden=!this.passwordHidden}mustMatch(){""!==this.changePassword.form.controls.newPassword.value&&""!==this.changePassword.form.controls.confirmPassword.value&&this.changePassword.form.controls.confirmPassword.setErrors(this.changePassword.form.controls.newPassword.value!==this.changePassword.form.controls.confirmPassword.value?{mustmatch:!0}:null)}validatepassword(){return!!this.changePassword.form.controls.newPassword.value.match(/^.{5,}$/)||(this.msg="Password must be a minimum of 5 characters",this.type="danger",!1)}forgotPasswordSubmit(t){this.submitted=!0,!t.form.invalid&&(this.loading=!0,this.authService.setPassword({token:this.userAccessToken,password:this.changePassword.form.controls.confirmPassword.value}).subscribe({next:s=>{this.submitted=!1,this.loading=!1,this.msg="New password set successfully!",this.type="success",this.changePassword.reset(),this.router.navigate(["/login"])},error:s=>{this.loading=!1,this.submitted=!1,this.msg="You have entered the wrong password or username",this.type="danger"}}))}static{this.\u0275fac=function(s){return new(s||r)(e.rXU(U.Bq),e.rXU(m.Ix),e.rXU(S.I),e.rXU(i.ok),e.rXU(I.ex),e.rXU(R.u),e.rXU(m.nX))}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["app-reset-password"]],viewQuery:function(s,n){if(1&s&&e.GBs(Z,5),2&s){let o;e.mGM(o=e.lsd())&&(n.changePassword=o.first)}},decls:33,vars:26,consts:[["changePassword","ngForm"],["newPassword","ngModel","passwordInput",""],["confirmPassword","ngModel"],[1,"row","min-vh-100"],[1,"col-12","col-md-8","col-lg-7","col-xl-6","mx-auto","d-flex","flex-column","justify-content-center"],[1,"mb-4"],["novalidate","",1,"form-dark","d-flex","flex-column"],["role","alert",3,"class",4,"ngIf"],[1,"mb-3"],[1,"form-label"],[1,"d-flex","custom-input-area","position-relative"],["name","newPassword","ngModel","","id","newPassword","required","",1,"input-area",3,"ngModelChange","focusout","placeholder"],[1,"font-20-px","position-absolute",3,"click","icon"],["class","invalid-feedback d-block",4,"ngIf"],[1,"d-flex","justify-content-between"],["type","password","id","confirmPassword","name","confirmPassword","ngModel","","required","",1,"input-area",3,"ngModelChange","placeholder"],[1,"btn","btn-primary","my-2","ms-auto",3,"click"],["role","alert"],[1,"invalid-feedback","d-block"]],template:function(s,n){if(1&s){const o=e.RV6();e.j41(0,"div",3)(1,"div",4)(2,"h3",5),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"form",6,0),e.DNE(7,te,2,4,"div",7),e.j41(8,"div",8)(9,"label",9),e.EFF(10),e.nI1(11,"translate"),e.k0s(),e.j41(12,"div",10)(13,"input",11,1),e.nI1(16,"translate"),e.bIt("ngModelChange",function(){return e.eBV(o),e.Njj(n.mustMatch())})("focusout",function(){return e.eBV(o),e.Njj(n.validatepassword())}),e.k0s(),e.j41(17,"fa-icon",12),e.bIt("click",function(){e.eBV(o);const a=e.sdS(15);return e.Njj(n.togglePasswordVisibility(a))}),e.k0s()()(),e.DNE(18,ne,3,3,"div",13)(19,re,3,3,"div",13),e.j41(20,"div",8)(21,"div",14)(22,"label",9),e.EFF(23),e.nI1(24,"translate"),e.k0s()(),e.j41(25,"input",15,2),e.nI1(27,"translate"),e.bIt("ngModelChange",function(){return e.eBV(o),e.Njj(n.mustMatch())}),e.k0s(),e.DNE(28,se,3,3,"div",13)(29,oe,3,3,"div",13),e.k0s(),e.j41(30,"button",16),e.bIt("click",function(){e.eBV(o);const a=e.sdS(6);return e.Njj(n.forgotPasswordSubmit(a))}),e.EFF(31),e.nI1(32,"translate"),e.k0s()()()()}if(2&s){const o=e.sdS(14),l=e.sdS(26);e.R7$(3),e.SpI(" ",e.bMT(4,12,"AUTH_LAYOUT.CHANGE_PASSWORD_LABEL")," "),e.R7$(4),e.Y8G("ngIf",n.msg),e.R7$(3),e.SpI(" ",e.bMT(11,14,"AUTH_LAYOUT.NEW_PASSWORD_LABEL"),""),e.R7$(3),e.FS9("placeholder",e.bMT(16,16,"AUTH_LAYOUT.NEW_PASSWORD_PLACEHOLDER")),e.R7$(4),e.Y8G("icon",n.passwordHidden?e.lJ4(24,q):e.lJ4(25,ee)),e.R7$(),e.Y8G("ngIf",n.submitted&&o.errors&&o.errors.required),e.R7$(),e.Y8G("ngIf",n.submitted&&o.errors&&o.errors.pattern),e.R7$(4),e.JRh(e.bMT(24,18,"AUTH_LAYOUT.CONFIRM_PASSWORD_LABEL")),e.R7$(2),e.FS9("placeholder",e.bMT(27,20,"AUTH_LAYOUT.CONFIRM_PASSWORD_PLACEHOLDER")),e.R7$(3),e.Y8G("ngIf",n.submitted&&l.errors&&l.errors.mustmatch),e.R7$(),e.Y8G("ngIf",n.submitted&&l.errors&&l.errors.required),e.R7$(2),e.SpI(" ",e.bMT(32,22,"AUTH_LAYOUT.CHANGE_PASSWORD")," ")}},dependencies:[f.bT,i.qT,i.me,i.BC,i.cb,i.YS,i.vS,i.cV,E.aY,T.D9],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;width:100%}[_nghost-%COMP%] .custom-input-area[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{top:11px;right:20px;background-color:var(--box-1st-color);border-radius:50%;height:36px;width:36px;text-align:-webkit-center;align-content:center}"]})}}return r})();var ae=c(4843),le=c(5964),ce=c(6354),pe=c(889),v=c(1980),de=c(4715),me=c(325);const ue=["zipCode"],ge=["captcha"],L=()=>["fas","eye"],P=()=>["fas","eye-slash"],he=()=>["fas","copy"];function fe(r,d){if(1&r&&(e.j41(0,"div",61),e.EFF(1),e.k0s()),2&r){const t=e.XpG();e.ZvI("alert alert-",t.type,""),e.R7$(),e.SpI(" ",t.registrationMessage||t.msg," ")}}function _e(r,d){1&r&&(e.qex(0),e.EFF(1),e.nI1(2,"translate"),e.bVm()),2&r&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"AUTH_LAYOUT.USERNAME_REQUIRE_
1ERROR"),". "))}function Te(r,d){1&r&&(e.qex(0),e.EFF(1),e.nI1(2,"translate"),e.bVm()),2&r&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"AUTH_LAYOUT.USERNAME_INVALID_ERROR"),". "))}function ve(r,d){if(1&r&&(e.j41(0,"div",9),e.DNE(1,_e,3,3,"ng-container",62)(2,Te,3,3,"ng-container",62),e.k0s()),2&r){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.registerForm.get("Username").hasError("required")),e.R7$(),e.Y8G("ngIf",t.registerForm.get("Username").hasError("invalidUsername"))}}function be(r,d){1&r&&(e.j41(0,"div",9),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&r&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"AUTH_LAYOUT.EMAIL_VALID_ERROR"),". "))}function ye(r,d){1&r&&(e.j41(0,"div",9),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&r&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"AUTH_LAYOUT.VALID_PASSWORD_ERROR"),". "))}function Se(r,d){1&r&&(e.j41(0,"div",9),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&r&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"AUTH_LAYOUT.CONFIRM_MATCH_ERROR"),". "))}function Ie(r,d){if(1&r&&(e.j41(0,"option",38),e.EFF(1),e.k0s()),2&r){const t=d.$implicit;e.Y8G("value",t.country_code),e.R7$(),e.SpI(" ",t.country," ")}}function Ee(r,d){if(1&r&&(e.j41(0,"option"),e.EFF(1),e.k0s()),2&r){const t=d.$implicit;e.R7$(),e.SpI(" ",t.state," ")}}const Ae=[{path:"",component:(()=>{class r{static{this.\u0275fac=function(s){return new(s||r)}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["app-auth-layout"]],decls:3,vars:0,consts:[[1,"main-content","d-flex","justify-content-start","align-items-start"],[1,"container","d-flex","justify-content-center","align-items-center"]],template:function(s,n){1&s&&(e.j41(0,"div",0)(1,"div",1),e.nrm(2,"router-outlet"),e.k0s()())},dependencies:[m.n3],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;min-height:100vh}"]})}}return r})(),children:[{path:"login",component:Q},{path:"register",component:(()=>{class r{constructor(t,s,n,o,l,a,u,p,g,y){this.spinner=t,this.route=s,this.customerService=n,this.router=o,this.uploadService=l,this.toastService=a,this.seoService=u,this.encryptDecryptService=p,this.keyStorageService=g,this.translate=y,this.customer=new pe.n,this.useDetails={},this.isragister=!1,this.registrationMessage="",this.confirm_password="",this.msg="",this.userId="",this.submitted=!1,this.type="danger",this.defaultCountry="US",this.profileImg={file:null,url:""},this.theme="",this.passwordHidden=!0,this.confirmpasswordHidden=!0,this.platform="",this.registerForm=new i.gE({FirstName:new i.MJ(""),LastName:new i.MJ(""),Username:new i.MJ("",[i.k0.required,i.k0.minLength(3),i.k0.maxLength(v.d0),A=>(0,v.Bs)(A.value)?null:{invalidUsername:!0}]),Email:new i.MJ("",[i.k0.required]),hp_field:new i.MJ(""),Password:new i.MJ("",[i.k0.required]),confirm_password:new i.MJ("",[i.k0.required]),MobileNo:new i.MJ(""),Country:new i.MJ("US",[
1i.k0.required]),Zip:new i.MJ(""),State:new i.MJ(""),City:new i.MJ(""),County:new i.MJ(""),TermAndPolicy:new i.MJ(!1,i.k0.required),Anonymous:new i.MJ(!1)}),this.captchaToken="",this.turnstileWidgetId=null,this.formStartedAt=Date.now(),this.theme=localStorage.getItem("theme")}ngOnInit(){this.getAllCountries(),this.route.queryParams.subscribe(t=>{this.platform=t.platform||""})}ngAfterViewInit(){this.loadCloudFlareWidget()}loadCloudFlareWidget(){this.turnstileWidgetId=turnstile?.render(this.captchaElement.nativeElement,{sitekey:_.c.siteKey,theme:"dark"===this.theme?"light":"dark",callback:t=>{this.captchaToken=t||""},"expired-callback":()=>{this.captchaToken=""},"error-callback":()=>{this.captchaToken=""}})??null}resetCaptcha(){this.captchaToken="",null!==this.turnstileWidgetId&&turnstile?.reset(this.turnstileWidgetId)}togglePasswordVisibility(t){t.type="password"===t.type?"text":"password",this.passwordHidden=!this.passwordHidden}toggleConfirmPasswordVisibility(t){t.type="password"===t.type?"text":"password",this.confirmpasswordHidden=!this.confirmpasswordHidden}selectFiles(t){this.profileImg=t}uploadProfileForRegistration(t){var s=this;return(0,h.A)(function*(){if(!t)return null;try{return(yield(0,ae._)(s.uploadService.uploadFile(t).pipe((0,le.p)(o=>o?.type===k.hv.Response),(0,ce.T)(o=>o?.body))))?.url||null}catch{return null}})()}save(){var t=this;return(0,h.A)(function*(){const s=t.captchaToken;if(!s)return t.msg="Please complete the captcha, then try again.",t.type="danger",void t.scrollTop();if(t.registerForm.valid){const n=(0,v.o5)(t.registerForm.get("Username")?.value),o=t.registerForm.get("MobileNo")?.value,l=null==o||""===o?"":String(o);if(t.registerForm.patchValue({Username:n,MobileNo:l},{emitEvent:!1}),!(0,v.Bs)(n))return t.registrationMessage="Username must be 3\u201330 characters and cannot include @ or special characters.",t.type="danger",void t.scrollTop();if(t.spinner.show(),"lamarslist"===t.platform)return void t.customerService.registerLamarsList(t.registerForm.value).subscribe({next:p=>{t.spinner.hide(),p.error||(t.submitted=!0,t.registrationMessage="Registered on LamarsList successfully! You can now login at lamarslist.com with the same email and password.",t.scrollTop(),t.isragister=!0)},error:p=>{t.registrationMessage=p.error?.message||p.message||"Registration failed",t.type="danger",t.spinner.hide(),t.scrollTop()}});if("localfoods"===t.platform)return void t.customerService.registerLocalFoods(t.registerForm.value).subscribe({next:p=>{t.spinner.hide(),p.error||(t.submitted=!0,t.registrationMessage="Registered on LocalFoods successfully! You can now login at localfoods.market with the same email and password.",t.scrollTop(),t.isragister=!0)},error:p=>{t.registrationMessage=p.error?.message||p.message||"Registration failed",t.type="danger",t.spinner.hide(),t.scrollTop()}});if("healing"===t.platform)return void t.customerService.registerHealingTube(t.registerForm.value).subscribe({next:p=>{t.spinner.hide(),p.error||(t.submitted=!0,t.registrationMessage="Registered on Healing.tube successfully! You can now login at healing.tube with the same email and password.",t.scrollTop(),t.isragister=!0)},error:p=>{t.registrationMessage=p.error?.message||p.message||"Registration failed",t.type="danger",t.spinner.hide(),t.scrollTop()}});const a=yield t.encryptDecryptService.generateRSAKeyPair(),u=yield t.uploadProfileForRegistration(t.profileImg?.file||null);if(t.profileImg?.file&&!u)return t.registrationMessage="Profile image upload failed. Please try again.",t.type="danger",t.spinner.hide(),void t.scrollTop();t.customerService.createCustomer({customer:{...t.registerForm.value,ProfilePicName:u,formStartedAt:t.formStartedAt},public_key:a.publicKey,turnstileToken:s}).subscribe({next:(p=(0,h.A)(function*(g){t.spinner.hide(),g.error||(t.submitted=!0,g.profileId&&(localStorage.setItem("profileId",String(g.profileId)),yield t.keyStorageService.setPrivateKey(g.profileId,a.privateKey)),t.registrationMessage="Your account has registered successfully. Kindly login with your email and password !!!",t.scrollTop(),t.isragister=!0,localStorage.setItem("register",String(t.isragister)),t.router.navigateByUrl("/login?isVerify=false"))}),function(y){return p.apply(this,arguments)}),error:p=>{t.registrationMessage=p.error.message,t.type="danger",t.spinner.hide(),t.scrollTop(),t.resetCaptcha()}})}var p})()}validateEmail(){const t=this.registerForm.get("Email");if(i.k0.email(t))return this.msg="Please enter a valid email address.",this.scrollTop(),!1;const n=t?.value?.trim();return!n||!n?.toLowerCase()?.includes("@sharklasers.com")||(this.msg="You must use a legitimate email address.",this.scrollTop(),!1)}validatepassword(){return this.registerForm.get("Password").value.match(".{5,}")?this.registerForm.get("Password").value===this.registerForm.get("confirm_password").value||(this.msg="Passwords do not match",this.scrollTop(),!1):(this.msg="Password must be a minimum of 5 characters",this.scrollTop(),!1)}onSubmit(){if(this.msg="",this.registerForm.valid&&!0===this.registerForm.get("TermAndPolicy").value){if(!this.validateEmail()||!this.validatepassword())return;this.save()}else this.msg="Please enter mandatory fields(*) data.",this.scrollTop()}changeCountry(){this.registerForm.get("Zip").setValue(""),this.registerForm.get("State").setValue(""),this.registerForm.get("City").setValue(""),this.registerForm.get("County").setValue("")}getAllCountries(){this.spinner.show(),this.customerService.getCountriesData().subscribe({next:t=>{this.spinner.hide(),this.allCountryData=t,this.registerForm.get("Zip").enable(),this.getAllState(this.defaultCountry)},error:t=>{this.spinner.hide(),console.log(t)}})}onCountryChange(t){this.getAllState(t.target.value)}getAllState(t){this.customerService.getStateData(t).subscribe({next:s=>{this.spinner.hide(),this.allStateData=s,this.registerForm.get("State").setValue(s[0]?.state)},error:s=>{this.spinner.hide(),console.log(s)}})}changetopassword(t){t.target.setAttribute("type","password"),this.msg=""}clearProfileImg(t){t.stopPropagation(),t.preventDefault(),this.profileImg={file:null,url:""}}scrollTop(){window.scroll({top:0,left:0,behavior:"smooth"})}onChangeTag(t){const s=t.target,n=(0,v.o5)(s.value);s.value=n,this.registerForm.get("Username")?.setValue(n,{emitEvent:!1})}
1convertToUppercase(t){const s=t.target;let n=s.value;if(n=n.replace(/\s/g,""),s.value=n.toUpperCase(),n.length>3){const o=this.registerForm.get("Country")?.value||"";this.customerService.getZipData(n,o).subscribe({next:l=>{if(l&&l[0]){const a=l[0];this.registerForm.patchValue({State:a.state||"",City:a.city||"",County:a.places||""})}},error:()=>{}})}}onClick(t){t.preventDefault();let s=n=>{(n.clipboardData||window.clipboardData).setData("text","[email protected]"),n.preventDefault();const l=this.translate.instant("TOASTE_MESSAGES.EMAIL_COPY_SUCCESS");this.toastService.success(l)};document.addEventListener("copy",s,!1),document.execCommand("copy"),document.removeEventListener("copy",s,!1)}static{this.\u0275fac=function(s){return new(s||r)(e.rXU(I.ex),e.rXU(m.nX),e.rXU(C.m),e.rXU(m.Ix),e.rXU(de.y),e.rXU(F.f),e.rXU(w.B),e.rXU(M.IM),e.rXU(O.g),e.rXU(T.c$))}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["app-sign-up"]],viewQuery:function(s,n){if(1&s&&(e.GBs(ue,5),e.GBs(ge,5)),2&s){let o;e.mGM(o=e.lsd())&&(n.zipCode=o.first),e.mGM(o=e.lsd())&&(n.captchaElement=o.first)}},decls:170,vars:133,consts:[["passwordInput",""],["confirmpasswordInput",""],["zipCode",""],["captcha",""],[1,"row","mt-8","registerForm","justify-content-center","position-relative"],[1,"col-lg-4","d-flex","flex-column","align-items-xl-end"],[1,"mb-3","d-flex","justify-content-center","mt-17"],[1,"img-pick","d-flex","flex-column","justify-content-center","mb-5"],[1,"form-label"],[1,"text-danger"],["classes","h-300-px w-300-px",3,"onFileChange"],[1,"col-12","col-lg-6"],[1,"text-2","mb-5",2,"display","flex","justify-content","end","gap","10px"],["routerLink","/login",1,"fw-500"],[1,"mb-4"],[1,"form-dark","d-flex","flex-column",3,"ngSubmit","formGroup"],["role","alert",3,"class",4,"ngIf"],[1,"row"],[1,"col-12","col-md-6","mb-3"],[1,"col-12","mb-3"],["type","text","name","FirstName","formControlName","FirstName",1,"input-area",3,"placeholder"],["type","text","name","LastName","formControlName","LastName",1,"input-area",3,"placeholder"],[1,"col-12","col-md-6","mb-3","d-none","px-6"],[3,"onFileChange"],[1,"col-12","col-md-6","mb-3","single-box","px-6"],[1,"align-items-center","text-start","my-auto","mt-3","font-check"],[1,"d-flex","justify-content-end"],["type","checkbox","formControlName","Anonymous",1,"my-3","check-box"],["type","text","name","Username","formControlName","Username","autocomplete","Username","required","",1,"input-area",3,"input","placeholder"],["class","text-danger",4,"ngIf"],["type","email","name","Email","required","","formControlName","Email","autocomplete","Email",1,"input-area",3,"placeholder"],[1,"d-flex","custom-input-area","position-relative"],["type","password","required","","name","password","formControlName","Password","autocomplete","new-password",1,"input-area",3,"input","keyup","placeholder"],[1,"font-20-px","position-absolute","c-pointer","eye-icon",3,"click","icon"],["type","password","required","","name","confirmPassword","formControlName","confirm_password","autocomplete","new-password",1,"input-area",3,"focusout","input","keyup","placeholder"],[1,"font-20-px","position-absolute","eye-slash","c-pointer","eye-icon",3,"click","icon"],["type","tel","inputmode","numeric","autocomplete","tel","name","MobileNo","formControlName","MobileNo",1,"input-area",3,"placeholder"],["id","Country","name","Country","formControlName","Country",1,"input-area","w-100",3,"input","change"],[3,"value"],[3,"value",4,"ngFor","ngForOf"],["type","text","formControlName","Zip","name","Zip",1,"input-area",3,"input","placeholder"],["id","State","name","State","formControlName","State",1,"input-area","w-100"],[4,"ngFor","ngForOf"],["value","Other"],["type","text","name","City","formControlName","City",1,"input-area",3,"placeholder"],["type","text","name","County","formControlName","County",1,"input-area",3,"placeholder"],["aria-hidden","true",1,"hp-field"],["type","text","formControlName","hp_field","tabindex","-1","autocomplete","off"],[1,"form-check","ps-0","my-4","d-flex"],["id","captcha"],[1,"form-check","ps-0","my-4","align-items-center","d-flex"],["type","checkbox","required","","formControlName","TermAndPolicy",1,"p-0","check-box"],[1,"form-check-label","ms-2","c-pointer","fw-light"],["href","/user-agreement","target","_blank",1,"custom-primary","fw-bold"],["href","/privacy-policy","target","_blank",1,"custom-primary","fw-bold"],["type","submit",1,"btn","btn-primary","my-2","ms-auto",3,"disabled"],[1,"text-center","mt-3"],[1,"h6","fw-light"],[1,"h5","c-pointer","custom-primary",3,"click"],[1,"font-16-px","ms-1",3,"icon"],["src","assets/images/banner/bg.png","alt","bg",2,"position","absolute","left","0","width","100%","top","0","height","200vh"],["role","alert"],[4,"ngIf"]],template:function(s,n){if(1&s){const o=e.RV6();e.j41(0,"div",4)(1,"div",5)(2,"div",6)(3,"div",7)(4,"label",8),e.EFF(5),e.nI1(6,"translate"),e.j41(7,"span",9),e.EFF(8,"*"),e.k0s()(),e.j41(9,"app-img-picker",10),e.bIt("onFileChange",function(a){return e.eBV(o),e.Njj(n.selectFiles(a))}),e.k0s()()()(),e.j41(10,"div",11)(11,"p",12),e.EFF(12),e.nI1(13,"translate"),e.j41(14,"a",13),e.EFF(15),e.nI1(16,"translate"),e.k0s()(),e.j41(17,"h3",14),e.EFF(18),e.nI1(19,"translate"),e.k0s(),e.j41(20,"form",15),e.bIt("ngSubmit",function(){return e.eBV(o),e.Njj(n.onSubmit())}),e.DNE(21,fe,2,4,"div",16),e.j41(22,"div",17)(23,"div",18)(24,"div",19)(25,"label",8),e.EFF(26),e.nI1(27,"translate"),e.k0s(),e.nrm(28,"input",20),e.nI1(29,"translate"),e.k0s(),e.j41(30,"div",19)(31,"label",8),e.EFF(32),e.nI1(33,"translate"),e.k0s(),e.nrm(34,"input",21),e.nI1(35,"translate"),e.k0s()(),e.j41(36,"div",22)(37,"label",8),e.EFF(38),e.nI1(39,"translate"),e.nrm(40,"span",9),e.k0s(),e.j41(41,"app-img-picker",23),e.bIt("onFileChange",function(a){return e.eBV(o),e.Njj(n.selectFiles(a))}),e.k0s()(),e.j41(42,"div",24)(43,"p",25),e.EFF(44),e.nI1(45,"translate"),e.nI1(46,"translate"),e.nrm(47,"br"),e.EFF(48),e.nI1(49,"translate"),e.k0s(),e.j41(50,"div",26),e.nrm(51,"input",27),e.k0s()(),e.j41(52,"div",18)(53,"label",8),e.EFF(54),e.nI1(55,"translate"),e.j41(56,"span",9),e.EFF(57,"*"),e.k0s()(),e.j41(58,"input",28),e.nI1(59,"translate"),e.bIt("input",function(a){return e.eBV(o),e.Njj(n.onChangeTag(a))}),e.k0s(),e.DNE(60,ve,3,2,"div",29),e.k0s(),e.j41(61,"div",18)(62,"label",8),e.EFF(63),e.nI1(64,"translate"),e.j41(65,"span",9),e.EFF(66,"*"),e.k0s()(),e.nrm(67,"input",30),e.nI1(68,"translate"),e.DNE(69,be,3,3,"div",29),e.k0s(),e.j41(70,"div",18)(71,"label",8),e.EFF(72),e.nI1(73,"translate"),e.j41(74,"span",9),e.EFF(75,"*"),e.k0s()(),e.j41(76,"div",31)(77,"input",32,0),e.nI1(79,"translate"),e.bIt("input",function(a){return e.eBV(o),e.Njj(n.changetopassword(a))})("keyup",function(a){return e.eBV(o),e.Njj(n.changetopassword(a))}),e.k0s(),e.j41(80,"fa-icon",33),e.bIt("click",function(){e.eBV(o);const a=e.sdS(78);return e.Njj(n.togglePasswordVisibility(a))}),e.k0s()(),e.DNE(81,ye,3,3,"div",29),e.k0s(),e.j41(82,"div",18)(83,"label",8),e.EFF(84),e.nI1(85,"translate"),e.j41(86,"span",9),e.EFF(87,"*"),e.k0s()(),e.j41(88,"div",31)(89,"input",34,1),e.nI1(91,"translate"),e.bIt("focusout",function(){return e.eBV(o),e.Njj(n.validatepassword())})("input",function(a){return e.eBV(o),e.Njj(n.changetopassword(a))})("keyup",function(a){return e.eBV(o),e.Njj(n.changetopassword(a))}),e.k0s(),e.j41(92,"fa-icon",35),e.bIt("click",function(){e.eBV(o);const a=e.sdS(90);return e.Njj(n.toggleConfirmPasswordVisibility(a))}),e.k0s()(),e.DNE(93,Se,3,3,"div",29),e.k0s(),e.j41(94,"div",18)(95,"label",8),e.EFF(96),e.nI1(97,"translate"),e.k0s(),e.nrm(98,"input",36),e.nI1(99,"translate"),e.k0s(),e.j41(100,"div",18)(101,"label",8),e.EFF(102),e.nI1(103,"translate"),e.j41(104,"span",9),e.EFF(105,"*"),e.k0s()(),e.j41(106,"select",37),e.bIt("input",function(a){return e.eBV(o),e.Njj(n.convertToU
1ppercase(a))})("change",function(a){return e.eBV(o),e.Njj(n.onCountryChange(a))}),e.j41(107,"option",38),e.EFF(108),e.nI1(109,"translate"),e.k0s(),e.DNE(110,Ie,2,2,"option",39),e.k0s()(),e.j41(111,"div",18)(112,"label",8),e.EFF(113),e.nI1(114,"translate"),e.k0s(),e.j41(115,"input",40,2),e.nI1(117,"translate"),e.bIt("input",function(a){return e.eBV(o),e.Njj(n.convertToUppercase(a))}),e.k0s()(),e.j41(118,"div",18)(119,"label",8),e.EFF(120),e.nI1(121,"translate"),e.k0s(),e.j41(122,"select",41),e.DNE(123,Ee,2,1,"option",42),e.j41(124,"option",43),e.EFF(125),e.nI1(126,"translate"),e.k0s()()(),e.j41(127,"div",18)(128,"label",8),e.EFF(129),e.nI1(130,"translate"),e.k0s(),e.nrm(131,"input",44),e.nI1(132,"translate"),e.k0s(),e.j41(133,"div",18)(134,"label",8),e.EFF(135),e.nI1(136,"translate"),e.k0s(),e.nrm(137,"input",45),e.nI1(138,"translate"),e.k0s()(),e.j41(139,"div",46),e.nrm(140,"input",47),e.k0s(),e.j41(141,"div",48),e.nrm(142,"div",49,3),e.k0s(),e.j41(144,"div",50),e.nrm(145,"input",51),e.j41(146,"label",52),e.EFF(147),e.nI1(148,"translate"),e.j41(149,"a",53),e.EFF(150),e.nI1(151,"translate"),e.k0s(),e.EFF(152),e.nI1(153,"translate"),e.j41(154,"a",54),e.EFF(155),e.nI1(156,"translate"),e.j41(157,"span",9),e.EFF(158,"*"),e.k0s()()()(),e.j41(159,"button",55),e.EFF(160),e.nI1(161,"translate"),e.k0s()()()(),e.j41(162,"div",56)(163,"p",57),e.EFF(164),e.nI1(165,"translate"),e.j41(166,"a",58),e.bIt("click",function(a){return e.eBV(o),e.Njj(n.onClick(a))}),e.EFF(167),e.nrm(168,"fa-icon",59),e.k0s()()(),e.nrm(169,"img",60)}2&s&&(e.R7$(5),e.JRh(e.bMT(6,52,"AUTH_LAYOUT.PROFILE_PICTURE")),e.R7$(7),e.SpI(" ",e.bMT(13,54,"AUTH_LAYOUT.ALREADY_ACTIVATED"),"? "),e.R7$(3),e.JRh(e.bMT(16,56,"AUTH_LAYOUT.LOGIN")),e.R7$(3),e.SpI(" ",e.bMT(19,58,"AUTH_LAYOUT.REGISTER_TITLE")," "),e.R7$(2),e.Y8G("formGroup",n.registerForm),e.R7$(),e.Y8G("ngIf",n.registrationMessage||n.msg),e.R7$(5),e.JRh(e.bMT(27,60,"AUTH_LAYOUT.FIRST_NAME_LABEL")),e.R7$(2),e.FS9("placeholder",e.bMT(29,62,"AUTH_LAYOUT.NAME_PLACEHOLDER")),e.R7$(4),e.JRh(e.bMT(33,64,"AUTH_LAYOUT.LAST_NAME_LABEL")),e.R7$(2),e.FS9("placeholder",e.bMT(35,66,"AUTH_LAYOUT.NAME_PLACEHOLDER")),e.R7$(4),e.JRh(e.bMT(39,68,"AUTH_LAYOUT.PROFILE_PICTURE")),e.R7$(6),e.Lme(" ",e.bMT(45,70,"AUTH_LAYOUT.HIDE_INFO_OPTION")," Freedom.buzz.",e.bMT(46,72,"AUTH_LAYOUT.DO_NOT_USE_NAME_FOR_USERNAME"),"."),e.R7$(4),e.SpI("",e.bMT(49,74,"AUTH_LAYOUT.ONLY_USERNAME_DISPLAYED")," "),e.R7$(6),e.JRh(e.bMT(55,76,"AUTH_LAYOUT.USERNAME")),e.R7$(4),e.FS9("placeholder",e.bMT(59,78,"AUTH_LAYOUT.USERNAME_PLACEHOLDER")),e.R7$(2),e.Y8G("ngIf",n.registerForm.get("Username").invalid&&n.registerForm.get("Username").touched),e.R7$(3),e.JRh(e.bMT(64,80,"AUTH_LAYOUT.EMAIL_LABEL")),e.R7$(4),e.FS9("placeholder",e.bMT(68,82,"AUTH_LAYOUT.ENTER_EMAIL_PLACEHOLDER")),e.R7$(2),e.Y8G("ngIf",n.registerForm.get("Email").hasError("required")&&n.registerForm.get("Email").touched),e.R7$(3),e.JRh(e.bMT(73,84,"AUTH_LAYOUT.PASSWORD")),e.R7$(5),e.FS9("placeholder",e.bMT(79,86,"AUTH_LAYOUT.PASSWORD_PLACEHOLDER")),e.R7$(3),e.Y8G("icon",n.passwordHidden?e.lJ4(128,L):e.lJ4(129,P)),e.R7$(),e.Y8G("ngIf",n.registerForm.get("Password").hasError("required")&&n.registerForm.get("Password").touched),e.R7$(3),e.JRh(e.bMT(85,88,"AUTH_LAYOUT.CONFIRM_PASSWORD_LABEL")),e.R7$(5),e.FS9("placeholder",e.bMT(91,90,"AUTH_LAYOUT.CONFIRM_PASSWORD_PLACEHOLDER")),e.R7$(3),e.Y8G("icon",n.confirmpasswordHidden?e.lJ4(130,L):e.lJ4(131,P)),e.R7$(),e.Y8G("ngIf",n.registerForm.get("confirm_password").hasError("required")&&n.registerForm.get("confirm_password").touched),e.R7$(3),e.SpI("",e.bMT(97,92,"AUTH_LAYOUT.MOBILE_LABEL")," "),e.R7$(2),e.FS9("placeholder",e.bMT(99,94,"AUTH_LAYOUT.MOBILE_PLACEHOLDER")),e.R7$(4),e.SpI("",e.bMT(103,96,"AUTH_LAYOUT.COUNTRY")," "),e.R7$(5),e.Y8G("value",n.defaultCountry),e.R7$(),e.SpI(" ",e.bMT(109,98,"AUTH_LAYOUT.UNITED_STATES")," "),e.R7$(2),e.Y8G("ngForOf",n.allCountryData),e.R7$(3),e.SpI("",e.bMT(114,100,"AUTH_LAYOUT.ZIP_CODE_LABEL")," "),e.R7$(2),e.FS9("placeholder",e.bMT(117,102,"AUTH_LAYOUT.ZIP_CODE_PLACEHOLDER")),e.R7$(5),e.SpI("",e.bMT(121,104,"AUTH_LAYOUT.STATE_LABEL")," "),e.R7$(3),e.Y8G("ngForOf",n.allStateData),e.R7$(2),e.SpI(" ",e.bMT(126,106,"AUTH_LAYOUT.OTHER")," "),e.R7$(4),e.SpI("",e.bMT(130,108,"AUTH_LAYOUT.CITY_LABEL")," "),e.R7$(2),e.FS9("placeholder",e.bMT(132,110,"AUTH_LAYOUT.CITY_PLACEHOLDER")),e.R7$(4),e.SpI("",e.bMT(136,112,"AUTH_LAYOUT.COUNTY_LABEL")," "),e.R7$(2),e.FS9("placeholder",e.bMT(138,114,"AUTH_LAYOUT.COUNTY_PLACEHOLDER")),e.R7$(10),e.SpI(" ",e.bMT(148,116,"AUTH_LAYOUT.AGREE_LABEL")," Freedom.buzz "),e.R7$(3),e.JRh(e.bMT(151,118,"AUTH_LAYOUT.TERMS_USE")),e.R7$(2),e.SpI(" ",e.bMT(153,120,"AUTH_LAYOUT.AND")," "),e.R7$(3),e.SpI("",e.bMT(156,122,"AUTH_LAYOUT.PRIVACY_POLICY"),"."),e.R7$(4),e.Y8G("disabled",!n.registerForm.valid),e.R7$(),e.SpI(" ",e.bMT(161,124,"AUTH_LAYOUT.REGISTER")," "),e.R7$(4),e.SpI(" ",e.bMT(165,126,"AUTH_LAYOUT.TECHNICAL_ISSUE_GUIDE")," "),e.R7$(3),e.SpI("","[email protected]"," "),e.R7$(),e.Y8G("icon",e.lJ4(132,he)))},dependencies:[f.Sq,f.bT,i.qT,i.xH,i.y7,i.me,i.Zm,i.wz,i.BC,i.cb,i.YS,i.xq,i.j4,i.JD,m.Wk,E.aY,me.H,T.D9],styles:[".login-content[_ngcontent-%COMP%] .form-label[_ngcontent-%COMP%]{text-transform:none}.login-content[_ngcontent-%COMP%] .banner-sction[_ngcontent-%COMP%]{background-image:url(/assets/images/banner/banner-2.jpg);width:299px;height:490px;background-size:cover;background-repeat:no-repeat;background-position:54%}@media (min-width: 990px) and (max-width: 1400px){.login-content[_ngcontent-%COMP%] .banner-sction[_ngcontent-%COMP%]{width:290px;height:400px}}.login-content[_ngcontent-%COMP%] .banner-sction[_ngcontent-%COMP%] .hrero-section[_ngcontent-%COMP%]{background:var(--hero-section-bg);padding:50px;position:relative;height:490px}@media (min-width: 990px) and (max-width: 1400px){.login-content[_ngcontent-%COMP%] .banner-sction[_ngcontent-%COMP%] .hrero-section[_ngcontent-%COMP%]{height:400px;width:290px}}.login-content[_ngcontent-%COMP%] .banner-sction[_ngcontent-%COMP%] .hrero-section[_ngcontent-%COMP%] .about-freedom[_ngcontent-%COMP%]{position:absolute;top:50%;left:0;width:100%;transform:translateY(-50%);padding:30px}.login-content[_ngcontent-%COMP%] .banner-sction[_ngcontent-%COMP%] .hrero-section[_ngcontent-%COMP%] .about-freedom[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:600}.login-content[_ngcontent-%COMP%] .custom-input-area[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{top:11px;right:15px;background-color:var(--box-1st-color);border-radius:50%;height:36px;width:36px;text-align:-webkit-center;align-content:center}.login-content[_ngcontent-%COMP%] .form-check-label[_ngcontent-%COMP%]{text-transform:none}.login-content[_ngcontent-%COMP%] .custom-primary[_ngcontent-%COMP%]{color:var(--link-color)!important}.check-box[_ngcontent-%COMP%]{width:20px;height:20px}.font-check[_ngcontent-%COMP%]{font-size:20px}.eye-icon[_ngcontent-%COMP%]{height:100%;display:flex;align-items:center;right:15px}.hp-field[_ngcontent-%COMP%]{position:absolute;
1left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}"]})}}return r})()},{path:"reset-password/user",component:ie}]}];let Ue=(()=>{class r{static{this.\u0275fac=function(s){return new(s||r)}}static{this.\u0275mod=e.$C({type:r})}static{this.\u0275inj=e.G2t({imports:[m.iI.forChild(Ae),m.iI]})}}return r})();var Re=c(3335);let Fe=(()=>{class r{static{this.\u0275fac=function(s){return new(s||r)}}static{this.\u0275mod=e.$C({type:r})}static{this.\u0275inj=e.G2t({imports:[Re.G,Ue,T.h]})}}return r})()}}]);
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.