1"use strict";(self.webpackChunkprivacypillar_sfo3=self.webpackChunkprivacypillar_sfo3||[]).push([["src_app_resetpassword_resetpassword_module_ts"],{51181:(C,h,s)=>{s.d(h,{b:()=>a});var m=s(94650);let a=(()=>{const c=class{constructor(p){this.el=p;const f=this.el.nativeElement.parentNode,g=document.createElement("span");g.innerHTML='<i class="fa password-toggle-eye fa-eye mt-2" show="true" aria-hidden="true"></i>',g.addEventListener("click",()=>{this.toggle(g)}),f.appendChild(g)}toggle(p){"fa-eye-slash"!==p.getElementsByClassName("fa")[0].classList[2]?(this.el.nativeElement.setAttribute("type","text"),p.innerHTML='<i class="fa password-toggle-eye fa-eye-slash mt-2" show="false" aria-hidden="true"></i>'):(this.el.nativeElement.setAttribute("type","password"),p.innerHTML='<i class="fa password-toggle-eye fa-eye mt-2" show="true" aria-hidden="true"></i>')}};let l=c;return c.\u0275fac=function(f){return new(f||c)(m.Y36(m.SBq))},c.\u0275dir=m.lG2({type:c,selectors:[["","togglepassword",""]]}),l})()},78733:(C,h,s)=>{s.r(h),s.d(h,{ResetpasswordModule:()=>q});var m=s(36895),a=s(24006),l=s(51692),c=s(87224),x=s(20496),p=s(3940),f=s(9224),g=s(92340),t=s(94650),u=s(64491),_=s(11481),P=s(4358),O=s(51181),M=s(12553),y=s(2854);function b(e,n){1&e&&t._UZ(0,"div",21)}function T(e,n){1&e&&(t.TgZ(0,"div"),t._uU(1,"New Password is required"),t.qZA())}function Z(e,n){1&e&&(t.TgZ(0,"div"),t._uU(1," Password must be at least 6 characters "),t.qZA())}function F(e,n){1&e&&(t.TgZ(0,"div"),t._uU(1," Password should not be more than 32 characters "),t.qZA())}function k(e,n){if(1&e&&(t.TgZ(0,"div",24),t._uU(1),t.qZA()),2&e){const r=t.oxw(3);t.xp6(1),t.hij(" ",r.f.newpsw.errors.passwordStrength," ")}}function I(e,n){if(1&e&&(t.TgZ(0,"div"),t.YNc(1,Z,2,0,"div",22),t.YNc(2,F,2,0,"div",22),t.YNc(3,k,2,1,"div",23),t.qZA()),2&e){const r=t.oxw(2);t.xp6(1),t.Q6J("ngIf",r.resetpasswordForm.controls.newpsw.errors.minlength),t.xp6(1),t.Q6J("ngIf",r.resetpasswordForm.controls.newpsw.errors.maxlength),t.xp6(1),t.Q6J("ngIf",r.resetpasswordForm.controls.newpsw.hasError("passwordStrength"))}}function J(e,n){if(1&e&&(t.TgZ(0,"div",21),t.YNc(1,T,2,0,"div",22),t.YNc(2,I,4,3,"div",22),t.qZA()),2&e){const r=t.oxw();
1t.xp6(1),t.Q6J("ngIf",r.resetpasswordForm.controls.newpsw.errors.required),t.xp6(1),t.Q6J("ngIf",r.resetpasswordForm.controls.newpsw.invalid&&(r.resetpasswordForm.controls.newpsw.dirty||r.resetpasswordForm.controls.newpsw.touched)||r.submitted&&r.f.newpsw.errors)}}function A(e,n){1&e&&(t.TgZ(0,"div"),t._uU(1,"Re-enter Password is required"),t.qZA())}function N(e,n){1&e&&(t.TgZ(0,"div"),t._uU(1,"Passwords must match"),t.qZA())}function S(e,n){if(1&e&&(t.TgZ(0,"div",21),t.YNc(1,A,2,0,"div",22),t.YNc(2,N,2,0,"div",22),t.qZA()),2&e){const r=t.oxw();t.xp6(1),t.Q6J("ngIf",r.resetpasswordForm.controls.renewpsw.errors.required),t.xp6(1),t.Q6J("ngIf",r.resetpasswordForm.controls.renewpsw.errors.mustMatch)}}function Y(e,n){1&e&&t._UZ(0,"span",25)}function U(e,n){if(1&e){const r=t.EpF();t.TgZ(0,"alert",28),t.NdJ("onClosed",function(){t.CHM(r);const d=t.oxw(2);return t.KtG(d.onClosed(d.alertMsg))}),t._uU(1),t.qZA()}if(2&e){const r=t.oxw(2);t.Q6J("type",r.alertType)("dismissible",r.dismissible),t.xp6(1),t.hij(" ",r.alertMsg," ")}}function L(e,n){if(1&e&&(t.TgZ(0,"div",26),t.YNc(1,U,2,3,"alert",27),t.qZA()),2&e){const r=t.oxw();
1t.xp6(1),t.Q6J("ngIf",r.isOpen)}}const w=function(e){return{"is-invalid":e}},Q=[{path:"",component:(()=>{const n=class{constructor(i,d,o,v,G,H,D){this.formBuilder=i,this.router=d,this.activatedRoute=o,this.authenticationService=v,this.userService=G,this.alertService=H,this.titleService=D,this.loading=!1,this.submitted=!1,this.show=!1,this.navbarCollapsed=!1,this.isOpen=!1,this.dismissible=!0,this.portal=g.N.portalPrefix,this.activatedRoute.snapshot.paramMap.get("id"),this.titleService.setTitle("Reset Password - "+g.N.portalPrefix)}ngOnInit(){const i=document.getElementById("main");i.classList.remove("container"),i.classList.remove("site-content"),i.classList.add("container-fluid"),i.style.padding="0px",this.id=this.activatedRoute.snapshot.paramMap.get("id"),this.resetpasswordForm=this.formBuilder.group({token:[this.id],newpsw:["",[a.kI.required,f.p,a.kI.minLength(6),a.kI.maxLength(32)]],renewpsw:["",[a.kI.required,f.p,a.kI.minLength(6),a.kI.maxLength(32)]]},{validator:(0,x.Y)("newpsw","renewpsw")})}ngOnDestroy(){const i=document.getElementById("main");i.classList.remove("container-fluid"),i.style.padding=null,i.classList.add("site-content")}get f(){return this.resetpasswordForm.controls}onSubmit(){this.submitted=!0,this.alertService.clear(),this.show=!1,!this.resetpasswordForm.invalid&&(this.loading=!0,this.userService.resetpassword(this.constructor.name,p.e.resetPasswordModule,this.f.token.value,this.f.newpsw.value,this.f.renewpsw.value).pipe((0,c.P)()).subscribe(i=>{200===i.status&&(this.show=!0,this.loading=!1,this.isOpen=!0,this.alertMsg="Password has been reset successfully!",this.alertType="success",setTimeout(()=>{this.router.navigate(["/login"])},1e3))},i=>{this.isOpen=!0,this.alertMsg=i.Invalid_link,this.alertType="danger",this.loading=!1}))}onClosed(i){this.alertMsg=!i,this.isOpen=!1}};let e=n;return n.\u0275fac=function(d){return new(d||n)(t.Y36(a.QS),t.Y36(l.F0),t.Y36(l.gz),t.Y36(u.$h),t.Y36(u.KD),t.Y36(u.c9),t.Y36(_.Dx))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-resetpassword"]],decls:31,vars:16,consts:[["appTheme","",1,"container-fluid"],[1,"row","justify-content-center"],[1,""],[1,"logo-group"],[1,"az-logo","mb-2",3,"src","alt"],[1,"inputs-key","login-form"],[1,"mb-2","formheading","text-center"],[3,"formGroup","ngSubmit"],[1,"form-group"],["type","hidden","formControlName","token",1,"form-control",3,"value"],["class","invalid-feedback",4,"ngIf"],["for","newpsw",1,"formlabel"],["type","password","togglepassword","","formControlName","newpsw","autocomplete","off","placeholder","Enter your password",1,"form-control","input-md","forminput",3,"ngClass"],["for","renewpsw",1,"formlabel"],["type","password","togglepassword","","formControlName","renewpsw","autocomplete","off","placeholder","Enter your Confirm password",1,"form-control","input-md","forminput",3,"ngClass"],[1,"text-center"],["type","submit",1,"btn","btn-brand-02","btn-block","login-btn",3,"disabled"],["class","spinner-border spinner-border-sm mr-1",4,"ngIf"],[1,"tx-13","mt-3","mb-2","tx-center","tx-18"],["routerLink","/login",1,"font-weight-bold","ml-2","redirect-text"],["class","col-sm-5 mr-0 float-right flotingdiv",4,"ngIf"],[1,"invalid-feedback"],[4,"ngIf"],["class","error-text",4,"ngIf"],[1,"error-text"],[1,"spinner-border","spinner-border-sm","mr-1"],[1,"col-sm-5","mr-0","float-right","flotingdiv"],["dismissOnTimeout","5000",3,"type","dismissible","onClosed",4,"ngIf"],["dismissOnTimeout","5000",3,"type","dismissible","onClosed"]],template:function(d,o){1&d&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),t._UZ(4,"img",4),t.qZA(),t.TgZ(5,"div",5)(6,"h1",6),t._uU(7,"Reset Password"),t.qZA(),t.TgZ(8,"form",7),t.NdJ("ngSubmit",function(){return o.onSubmit()}),t.TgZ(9,"div",8),t._UZ(10,"input",9),t.YNc(11,b,1,0,"div",10),t.qZA(),t.TgZ(12,"div",8)(13,"label",11),t._uU(14,"New Password"),t.qZA(),t._UZ(15,"input",12),t.YNc(16,J,3,2,"div",10),t.qZA(),t.TgZ(17,"div",8)(18,"label",13),t._uU(19,"Confirm Password"),t.qZA(),t._UZ(20,"input",14),t.YNc(21,S,3,2,"div",10),t.qZA(),t.TgZ(22,"div",15)(23,"button",16),t.YNc(24,Y,1,0,"span",17),t._uU(25," Save "),t.qZA(),t.TgZ(26,"div",18),t._uU(27,"Go back to Login ? "),t.TgZ(28,"a",19),t._uU(29,"Login "),t.qZA()()()()()()()(),t.YNc(30,L,2,1,"div",20)),2&d&&(t.xp6(4),t.MGl("alt","",o.portal," logo"),t.Q6J("src","PrivacyPillar"==o.portal?"assets/imgs/privacypillarblack.png":"assets/imgs/Full-Color-Tagline.png",t.LSH),t.xp6(4),t.Q6J("formGroup",o.resetpasswordForm),t.xp6(2),t.s9C("value",o.id),t.xp6(1),t.Q6J("ngIf",o.submitted&&o.f.token.errors),t.xp6(4),t.Q6J("ngClass",t.VKq(12,w,o.resetpasswordForm.controls.newpsw.invalid&&(o.resetpasswordForm.controls.newpsw.dirty||o.resetpasswordForm.controls.newpsw.touched)||o.submitted&&o.f.newpsw.errors)),t.xp6(1),t.Q6J("ngIf",o.resetpasswordForm.controls.newpsw.invalid&&(o.resetpasswordForm.controls.newpsw.dirty||o.resetpasswordForm.controls.newpsw.touched)||o.submitted&&o.f.newpsw.errors),t.xp6(4),t.Q6J("ngClass",t.VKq(14,w,o.resetpasswordForm.controls.renewpsw.invalid&&(o.resetpasswordForm.controls.renewpsw.dirty||o.resetpasswordForm.controls.renewpsw.touched)||o.submitted&&o.f.renewpsw.errors)),t.xp6(1),t.Q6J("ngIf",o.resetpasswordForm.controls.renewpsw.invalid&&(o.resetpasswordForm.controls.renewpsw.dirty||o.resetpasswordForm.controls.renewpsw.touched)||o.submitted&&o.f.renewpsw.errors),t.xp6(2),t.Q6J("disabled",o.loading),t.xp6(1),t.Q6J("ngIf",o.loading),t.xp6(6),t.Q6J("ngIf",o.isOpen))},dependencies:[m.mk,m.O5,a._Y,a.Fj,a.JJ,a.JL,a.sg,a.u,P.wx,O.b,M.mh,l.rH,y.E],styles:['.flotingdiv[_ngcontent-%COMP%]{position:fixed;bottom:0;top:80%;right:0;overflow-x:hidden;overflow-y:auto}.content-auth[_ngcontent-%COMP%]{min-height:calc(100vh - 106px);display:flex;flex-direction:column;justify-content:center}.content-auth[_ngcontent-%COMP%] > .container[_ngcontent-%COMP%]{padding:0}@media (max-width: 1139px){.content-auth[_ngcontent-%COMP%] > .container[_ngcontent-%COMP%]{max-width:none;padding:0 20px}}.content-auth[_ngcontent-%COMP%] > .container[_ngcontent-%COMP%]:first-child{flex:1}.content-auth-alt[_ngcontent-%COMP%]{min-height:calc(100vh - 106px);display:flex;flex-direction:column;justify-content:center}.content-auth-alt[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{padding:0}@media (max-width: 1139px){.content-auth-alt[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{max-width:none}}.sign-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:center;width:340px}@media (min-width: 1200px){.sign-wrapper[_ngcontent-%COMP%]{width:340px}}.sign-wrapper[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:block;margin-bottom:5px}.float-right[_ngcontent-%COMP%]{float:right!important}.flotingdiv[_ngcontent-%COMP%]{position:fixed;bottom:0;top:80%;right:0;overflow-x:hidden;overflow-y:auto;z-index:0}.justify-content-center[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, .tx-center[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{cursor:pointer}input[_ngcontent-%COMP%]::-ms-reveal, input[_ngcontent-%COMP%]::-ms-clear{display:none}.email-verification-panel[_ngcontent-%COMP%]{position:relative;top:-470px;height:100px;z-index:1500;background:#ffffff}.hide-emailpanel[_ngcontent-%COMP%]{display:none}.show-emailpanel[_ngcontent-%COMP%]{display:block}.hide-resend[_ngcontent-%COMP%]{display:none}.showlogin[_ngcontent-%COMP%]{display:block}.confirm-msg[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;color:green;font-size:16px}.relative-txt-center[_ngcontent-%COMP%]{position:relative;text-align:center}.img-zindex[_ngcontent-%COMP%]{z-index:2500}.back-arrow[_ngcontent-%COMP%]{position:absolute;
1left:0;top:4px;cursor:pointer;font-size:20px}.back-arrow[_ngcontent-%COMP%]:hover{color:#00f}svg[_ngcontent-%COMP%]{width:40px;display:block;margin:10px}.path[_ngcontent-%COMP%]{stroke-dasharray:1000;stroke-dashoffset:0}.path.circle[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_dash .9s ease-in-out}.path.line[_ngcontent-%COMP%]{stroke-dashoffset:1000;animation:_ngcontent-%COMP%_dash .9s .35s ease-in-out forwards}.path.check[_ngcontent-%COMP%]{stroke-dashoffset:-100;animation:_ngcontent-%COMP%_dash-check .9s .35s ease-in-out forwards}.msg[_ngcontent-%COMP%]{text-align:center;margin:0 auto;display:flex;font-size:15px;background:#fff;color:#0168fa;font-weight:600;border-radius:10px;border:1px solid #ccc;align-items:center;justify-content:right;width:730px}.msg[_ngcontent-%COMP%] span[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:underline;cursor:pointer}.msg.success[_ngcontent-%COMP%]{color:#73af55}p.error[_ngcontent-%COMP%]{color:#d06079}@keyframes _ngcontent-%COMP%_dash{0%{stroke-dashoffset:1000}to{stroke-dashoffset:0}}@keyframes _ngcontent-%COMP%_dash-check{0%{stroke-dashoffset:-100}to{stroke-dashoffset:900}}.login-background[_ngcontent-%COMP%]{background-image:linear-gradient(#042b60,#004097);height:105%;margin:0;padding-bottom:188px;position:fixed;overflow:scroll}.login-form[_ngcontent-%COMP%]{width:470px;padding:0 50px 10px}.forminput[_ngcontent-%COMP%]{background-color:#fff!important;border-color:#b6b6b6;border-radius:5px}.formlabel[_ngcontent-%COMP%]{color:#1c1c1c;font-family:"Poppins",Sans-serif;font-size:1em;font-weight:600;padding-bottom:0}.formheading[_ngcontent-%COMP%]{color:#000;font-family:"Poppins",Sans-serif;font-weight:700;font-size:2.9em}.formdesc[_ngcontent-%COMP%]{color:#202020;font-family:"Poppins",Sans-serif;font-size:1.2em;font-weight:400}.input-lg[_ngcontent-%COMP%]{height:55px;font-size:16px;font-weight:600}.logo-group[_ngcontent-%COMP%]{text-align:center;margin-top:40px;margin-bottom:20px}.az-logo[_ngcontent-%COMP%]{height:70px}.login-btn[_ngcontent-%COMP%]{background-color:var(--user-preference);font-size:20px;height:45px;border:none}.redirect-text[_ngcontent-%COMP%]{color:var(--user-preference)!important}.forgot-password[_ngcontent-%COMP%]{float:right;margin-right:15px;margin-top:11px;font-size:15px;margin-bottom:20px;font-weight:600}.forgot-password[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#555}']}),e})()}];let z=(()=>{const n=class{};let e=n;return n.\u0275fac=function(d){return new(d||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[l.Bz.forChild(Q),l.Bz]}),e})();var R=s(19119),E=s(23501),j=s(55466),B=s(91742);let q=(()=>{const n=class{};let e=n;return n.\u0275fac=function(d){return new(d||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[m.ez,a.UX,a.u5,R.J,z,E.O.forRoot({themes:[j.W,B.$],active:g.N.theme})]}),e})()}}]);
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.