1"use strict";(self.webpackChunkair3=self.webpackChunkair3||[]).push([[874],{18874:(xe,f,s)=>{s.r(f),s.d(f,{LoginModule:()=>Xe});var O=s(75743),c=s(59058),V=s(45312),e=s(93953),u=s(60177),U=s(1093),X=s(43957),x=s(74802),F=s(57397),k=s(87952),W=s(41151),j=s(2490),z=s(90651);let H=(()=>{class i{constructor(t,o){this.bannerService=t,this.cookieService=o,this.cookiesPolicyText=$localize`:@@COOKIES_POLICY.TEXT1:Our site uses cookies to improve your user experience. By browsing this site you consent to our use of cookies as described in our`,this.cookiesPolicyLink=$localize`:@@COOKIES_POLICY.TEXT2:Cookie Policy.`,this.dismiss=$localize`:@@SGS_BUTTON.CLOSE:Dismiss`,this.closeCookiesMsg=$localize`:@@COOKIES_POLICY.CLOSE_COOKIES_MESSAGE:Close cookies message`,this.showTaCDialog=!1}ngOnInit(){this.checkCookiesConsent()}checkCookiesConsent(){this.cookieService.get("cookies-consent")||this.cookiesBanner()}cookiesBanner(){this.bannerSub=this.bannerService.open(c.x1.info,`${this.cookiesPolicyText}`,[this.cookiesPolicyLink,this.dismiss]).subscribe({next:o=>{0===o&&(this.showTaCDialog=!0),1===o&&this.hideCookieBanner()}})}hideCookieBanner(){const t=new Date,o=new Date(t.getTime()+108e5);this.cookieService.set("cookies-consent",t.toISOString(),{expires:o,path:"/",secure:!0})}ngOnDestroy(){this.bannerSub&&this.bannerSub.unsubscribe()}static#e=this.\u0275fac=function(o){return new(o||i)(e.rXU(c._B),e.rXU(j.O))};static#n=this.\u0275cmp=e.VBU({type:i,selectors:[["app-cookie-control"]],decls:1,vars:5,consts:[[3,"visibleChange","onClose","width","height","autoFocus","closeOnClickOutside","visible"]],template:function(o,n){1&o&&(e.j41(0,"app-terms-and-conditions",0),e.mxI("visibleChange",function(r){return e.DH7(n.showTaCDialog,r)||(n.showTaCDialog=r),r}),e.bIt("onClose",function(){return n.hideCookieBanner()}),e.k0s()),2&o&&(e.Y8G("width","35em")("height","24.5em")("autoFocus",!1)("closeOnClickOutside",!0),e.R50("visible",n.showTaCDialog))},dependencies:[z.U]})}return i})();function Y(i,S){1&i&&e.nrm(0,"app-theme-menu")}let K=(()=>{class i{constructor(t){this.clientContextService=t}ngOnInit(){this.themeMenu=this.clientContextService.select(c.g3.devTools)||V.c.debug,this.client=this.clientContextService.select(c.g3.client)}static#e=this.\u0275fac=function(o){return new(o||i)(e.rXU(c.Yj))};static#n=this.\u0275cmp=e.VBU({type:i,selectors:[["login-layout"]],decls:10,vars:3,consts:[[1,"grid","login-grid","mat-typography"],["id","navbar",1,"grid-header"],[4,"ngIf"],[1,"grid-banner"],["id","mp-mainContent",1,"grid-content"],["id","footer",1,"grid-footer"]],template:function(o,n){1&o&&(e.j41(0,"div",0)(1,"app-header",1),e.nrm(2,"app-contact-menu")(3,"app-language-menu"),e.DNE(4,Y,1,0,"app-theme-menu",2),e.k0s(),e.nrm(5,"app-banner",3)(6,"app-cookie-control"),e.j41(7,"div",4),e.nrm(8,"router-outlet"),e.k0s(),e.nrm(9,"app-footer",5),e.k0s()),2&o&&(e.xc7("--client-background",n.client.backgroundImageUrl?"url("+n.client.backgroundImageUrl+")":null),e.R7$(4),e.Y8G("ngIf",n.themeMenu))},dependencies:[u.bT,O.n3,U.l,X.n,x.K,F.E,k.J,W.J,H],styles:['[_nghost-%COMP%] .grid[_ngcontent-%COMP%]{align-items:end;
1background:var(--client-background);background-size:var(--client-background-size);color:var(--text-primary);display:grid;float:left;grid-template-rows:72px auto 1fr auto;grid-template-areas:"header" "banner" "content" "footer";grid-gap:0;height:100vh;width:100%}[_nghost-%COMP%] .grid-header[_ngcontent-%COMP%]{grid-area:header;z-index:100}[_nghost-%COMP%] .grid-header[_ngcontent-%COMP%] app-contact-menu[_ngcontent-%COMP%], [_nghost-%COMP%] .grid-header[_ngcontent-%COMP%] app-language-menu[_ngcontent-%COMP%]{font:initial;margin:0 .2em}[_nghost-%COMP%] .grid-banner[_ngcontent-%COMP%]{grid-area:banner;z-index:50}[_nghost-%COMP%] .grid-content[_ngcontent-%COMP%]{grid-area:content;display:grid;height:100%;justify-content:center}[_nghost-%COMP%] .grid-footer[_ngcontent-%COMP%]{grid-area:footer}']})}return i})();var m=s(10467),T=s(89417),Q=s(66401),I=s(32141),p=s(71997),A=s(67575),l=s(37282);const q=[[["","main-pane",""]],[["","side-pane",""]]],J=["[main-pane]","[side-pane]"];let N=(()=>{class i{static#e=this.\u0275fac=function(o){return new(o||i)};static#n=this.\u0275cmp=e.VBU({type:i,selectors:[["app-login-pane"]],ngContentSelectors:J,decls:4,vars:0,consts:[[1,"login-pane","mat-elevation-z2"],[1,"vc-grid-layout","row","content-center"]],template:function(o,n){1&o&&(e.NAR(q),e.j41(0,"div",0)(1,"div",1),e.SdG(2),e.SdG(3,1),e.k0s()())},styles:["[_nghost-%COMP%] .login-pane[_ngcontent-%COMP%]{background:var(--snow-white);margin:0 0 .6em}[_nghost-%COMP%] .login-pane[_ngcontent-%COMP%] .vc-grid-layout[_ngcontent-%COMP%]{flex-wrap:nowrap}"]})}return i})(),Z=(()=>{class i{constructor(){this._visible=!1,this.visibleChange=new e.bkB}set visible(t){this._visible!==t&&(this._visible=t,this.visibleChange.emit(this._visible))}get visible(){return this._visible}static#e=this.\u0275fac=function(o){return new(o||i)};static#n=this.\u0275cmp=e.VBU({type:i,selectors:[["download-desktop-app"]],inputs:{visible:"visible"},outputs:{visibleChange:"visibleChange"},decls:5,vars:5,consts:()=>{let t,o,n;return t=$localize`:@@SGS_BUTTON.CLOSEâf4e529ae5ffd73001d1ff4bbdeeb0a72e342e5c8â7819314041543176992:Close`,o=$localize`:@@LOGIN.LOGIN.BANNER_DOWNLOAD_MACâea3ee788af33f0ce7e64bd6218c1d38c7b9d7b42â381469222124337951:Download MacOS`,n=$localize`:@@LOGIN.LOGIN.BANNER_DOWNLOAD_WINDOWSâf73eb0f5cb343ed73be73f536b9cfe49659e04e3â38
107629262523898793:Download Windows`,[["width","40em","title","Download your compliance and security application","secondaryLabel",t,3,"visibleChange","actionsOnLeft","showPrimary","visible"],["mode","basic","label",o,1,"col-2","space-pd-8",3,"url"],["mode","basic","label",n,1,"col-2","space-pd-8",3,"url"]]},template:function(o,n){1&o&&(e.j41(0,"vc-dialog",0),e.mxI("visibleChange",function(r){return e.DH7(n.visible,r)||(n.visible=r),r}),e.j41(1,"p"),e.EFF(2," As part of your programme, download VikingCloud Protect below. You will need the unique code provided to you to activate your compliance and security application "),e.k0s(),e.nrm(3,"vc-link",1)(4,"vc-link",2),e.k0s()),2&o&&(e.Y8G("actionsOnLeft",!1)("showPrimary",!1),e.R50("visible",n.visible),e.R7$(3),e.Y8G("url","https://download-01.sysnetgs.com/latest/SysnetProtect.dmg"),e.R7$(),e.Y8G("url","https://download-01.sysnetgs.com/latest/SysnetProtect-Setup.exe"))},dependencies:[l.gH,l.mq],styles:["[_nghost-%COMP%] a.mat-mdc-raised-button[_ngcontent-%COMP%]{margin:0 8px 0 0}"]})}return i})();var h=s(95433);const ee=i=>({withAside:i});function ne(i,S){1&i&&e.nrm(0,"mat-progress-bar",30)}function te(i,S){if(1&i){const t=e.RV6();e.j41(0,"div",31)(1,"h5",32),e.pXf(2,6),e.k0s(),e.j41(3,"vc-button",33),e.bIt("trigger",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.register())}),e.k0s()()}2&i&&(e.R7$(3),e.Y8G("fullWidth",!0))}function oe(i,S){if(1&i&&(e.j41(0,"div",34)(1,"h3",35),e.EFF(2,"Disclaimer Title"),e.k0s(),e.nrm(3,"p",35),e.k0s()),2&i){const t=e.XpG();e.R7$(),e.Y8G("innerHTML",t.disclaimerTitle,e.npT),e.R7$(2),e.Y8G("innerHTML",t.disclaimerText,e.npT)}}function ie(i,S){if(1&i){const t=e.RV6();e.j41(0,"app-login-pane")(1,"div",36)(2,"div",37)(3,"div",38)(4,"p",19)(5,"span"),e.pXf(6,7),e.k0s(),e.EFF(7,"\xa0 "),e.nrm(8,"vc-link",39),e.k0s()(),e.j41(9,"div",40)(10,"vc-button",41),e.bIt("trigger",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.showDesktopAppDialog=!0)}),e.k0s()()()()()}if(2&i){const t=e.XpG();e.R7$(),e.xc7("width",t.showDisclaimer?"100%":"auto"),e.R7$(7),e.Y8G("url",t.DOWNLOAD_URL)("showOpenInNewWindow",!0),e.R7$(2),e.Y8G("tooltipPosition","right")}}let _e=(()=>{class i{get submitted(){return!!this._submitted}constructor(t,o,n,_,r,a,E,P,d){this.router=t,this.fb=o,this.userAccountService=n,this.logger=_,this.bannerService=r,this.userLocalSaveService=a,this.authService=E,this.clientContextService=P,this.activatedRoute=d,this.DOWNLOAD_URL="https://sysnetprotect.com/",this.NVP_FEATURE_DISCLAIMER="system.feature.enable.login.disclaimer.message",this.NVP_MAINTENANCE_BANNER_TEXT="maintenance.banner",this.NVP_FEATURE_MAINTENANCE_BANNER="enable.maintenance.banner",this.NVP_FEATURE_DOWNLOAD_BANNER="sysnetProtectBanner",this.NVP_FEATURE_FIRST_REGISTRATION="enableSelfRegistration",this.user="user",this.hide=!0,this.showDownloadBanner=!1,this.showFirstRegistration=!1,this.showDisclaimer=!1,this.showMaintenanceBanner=!1,this.showDesktopAppDialog=!1,this.ariaLive="off",this.dismiss=$localize`:@@ERROR.DISMISS:Dismiss`,this.disclaimerTitle=$localize`:@@LOGIN.DISCLAIMER.TITLE:Disclaimer Title`,this.disclaimerText=$localize`:@@LOGIN.DISCLAIMER.CONTENT:Disclaimer Content`,this.forgotPasswordText=$localize`:@@LOGIN.LOGIN.LINK_FORGET_PASSWORD:Forgot password`,this.forgotUsernameText=$localize`:@@LOGIN.LOGIN.LINK_FORGET_USERNAME:Forgot username`,this.learnMoreText=$localize`:@@LOGIN.LOGIN.LEARN_MORE:Learn more`,this.loginHelpVisible=!1,this.form=this.fb.group({username:[null,[T.k0.required]],password:[null,[T.k0.required]]}),this.usernameVc="",this.passwordVc=""}ngOnInit(){this.setLoginFeatures()}get username(){return this.form.get("username")}get password(){return this.form.get("password")}maintenanceBanner(){this.showMaintenanceBanner&&this.bannerService.open(c.x1.warning,this.maintenanceText,[this.dismiss])}submitLogin(t){if(!t.submit())return!1;this._submitted=!0;const n={username:this.usernameVc,password:this.passwordVc,timezoneOffset:"0"};this.authService.login(n).subscribe({next:_=>{this._submitted=!1,this._initPendo(n.username)},error:_=>this._submitted=!1})}loginHelpDialog(){this.loginHelpVisible=!0}register(){this.router.navigate(["/login/portal/first-registration"])}setLoginFeatures(){const t=this.clientContextService.select(c.g3.nvp);t?.forEach(o=>{if(o.name===this.NVP_FEATURE_DISCLAIMER&&(this.showDisclaimer="true"===o.value),o.name===this.NVP_FEATURE_DOWNLOAD_BANNER&&(this.showDownloadBanner="true"===o.value),o.name===this.NVP_FEATURE_FIRST_REGISTRATION&&(this.show
1FirstRegistration="true"===o.value),o.name===this.NVP_FEATURE_MAINTENANCE_BANNER&&"true"===o.value){const n=t.filter(_=>_.name===this.NVP_MAINTENANCE_BANNER_TEXT);n.length>0&&""!==n[0].value&&(this.showMaintenanceBanner=!0,this.maintenanceText=n[0].value,this.maintenanceBanner())}})}passwordEnter(t){}goToForgetPassword(){var t=this;return(0,m.A)(function*(){yield t.router.navigate(["/login/portal/recover-password"])})()}goToForgetUsername(){var t=this;return(0,m.A)(function*(){yield t.router.navigate(["/login/portal/recover-username"])})()}updateAriaLabel(t){t.nativeElement.setAttribute("aria-invalid",t.nativeElement.value?"false":"true")}_initPendo(t){typeof pendo<"u"&&"function"==typeof pendo.initialize&&pendo.initialize({visitor:{id:"VISITOR-UNIQUE-ID",username:t}})}static#e=this.\u0275fac=function(o){return new(o||i)(e.rXU(O.Ix),e.rXU(T.ok),e.rXU(c.wf),e.rXU(Q.so),e.rXU(c._B),e.rXU(c.nq),e.rXU(c.uR),e.rXU(c.Yj),e.rXU(O.nX))};static#n=this.\u0275cmp=e.VBU({type:i,selectors:[["app-login-page"]],decls:39,vars:35,consts:()=>{let t,o,n,_,r,a,E,P,d,R,G,b,v,w,y,$,D,B;return t=$localize`:@@LOGIN.LOGIN.LOGIN_HELPâ5dd951844ddc480989f5028edb20cb68b354f444â6092110208361466980:Login help`,o=$localize`:@@LOGIN.LOGIN.USERNAME_PLACEHOLDERâ08c74dc9762957593b91f6eb5d65efdfc975bf48â5248717555542428023:Username`,n=$localize`:@@LOGIN.LOGIN.PASS_PLACEHOLDERâc32ef07f8803a223a83ed17024b38e8d82292407â1431416938026210429:Password`,_=$localize`:@@LOGIN.LOGIN.SUBMIT_BUTTONâ6765b4c916060f6bc42d9bb69e80377dbcb5e4e9â2454050363478003966:Login`,r=$localize`:@@LOGIN.LOGIN.LINK_FORGET_PASSWORDâ4d528d81243448524f3e1de53c8b67e41aa7639fâ2950516762204674600:Forgot Password`,a=$localize`:@@LOGIN.LOGIN.LINK_FORGET_USERNAMEâ6720c2b082b33f0b320acb1a53e49de4f90514f1â7127407580756479608:Forgot Username`,E=$localize`:@@LOGIN.LOGIN.LOGIN_HELPâ5dd951844ddc480989f5028edb20cb68b354f444â6092110208361466980:Login help`,P=$localize`:@@SGS_BUTTON.CLOSEâf4e529ae5ffd73001d1ff4bbdeeb0a72e342e5c8â7819314041543176992:Close`,d=$localize`:@@LOGIN.LOGIN.LOGIN_LABEL_REGULARâc4ebbb81a801aa736134a22ff9edf86d4b226158â6402514672833905878: Please login `,R=$localize`:@@LOGIN.LOGIN.USERNAME_PLACEHOLDERâ19ef014778b704a6644fe979a3e544c684e0262aâ224956237558966838: Finding your MID/Account `,G=$localize`:@@LOGIN.LOGIN.USERNAME_HELPTIPâf17e95e7084734abbbb93c0ae4612176a8d1f4efâ4681480314144795659: If this is your first time logging in please enter your Merchant identification Number. If you have previously logged in enter your username instead. `,b=$localize`:@@LOGIN.LOGIN.PASS_PLACEHOLDERâc32ef07f8803a223a83ed17024b38e8d82292407â1431416938026210429:Password`,v=$localize`:@@LOGIN.LOGIN.PASS_HELPTIPâcc05d8a47caf271de5b744094f5e2682864cd603â4862895512069830407: Enter the password provided to you duaring your initial communication period. If you have logged in before and changed your password enter that one instead. If you have forgotten your password request a new one by clicking FORGOT PASSWORD link. `,w=$localize`:@@FIRST_REGISTRATION.SUBMIT_BUTTONâcfc2f436ec2beffb042e7511a73c89c372e86a6câ3301086086650990787:Register`,y=$localize`:@@LOGIN.LOGIN.FIRST_REGISTRATION_LABELâf80e3b66ea703b0dc3717562f399421c71fae9aaâ97311266519471104: First time logging in? `,$=$localize`:@@LOGIN.LOGIN.LEARN_MOREâ1801bfa6ba6eb7a02fd61bafb37e35f5d0aebfdcâ7002955679222677443:Learn More`,D=$localize`:@@SGS_BUTTON.DOWNLOADâdc75033a5238fdc4f462212c847a45ba8018a3fdâ3099741642167775297:Download`,B=$localize`:@@LOGIN.LOGIN.BANNER_TITLEâbd11e00ceaa2f7fc7c0f645f02da5fee85dbdba8â2043143513142609545:Download our compliance and security application.`,[["loginForm",""],d,R,G,b,v,y,B,["mode","indeterminate",4,"ngIf"],["main-pane","",1,"main-pane","vc-grid-layout",3,"ngClass"],[1,"title","col-12"],["focusElement","",3,"tabIndex"],["mode","icon-plain","iconName","help_outline","tooltip",t,3,"trigger","tooltipPosition"],[1,"login-page-form",3,"showPrimaryButton","showSecondaryButton"],["label",o,"fieldText","",3,"valueChange","value","required","requiredText"],["label",n,3,"valueChange","showVisibleButton","value","required","requiredText"],["buttons","",1,"actions","vc-gri
1d-layout"],["type","submit","label",_,"mode","primary",3,"trigger","disabled","fullWidth"],[1,"vc-center","space-top-8"],[1,"col"],["mode","text","label",r,3,"trigger","showOpenInNewWindow"],[3,"vertical"],["mode","text","label",a,3,"trigger","showOpenInNewWindow"],["class","firstRegistration vc-grid-layout column",4,"ngIf"],["side-pane","","class","side-pane",4,"ngIf"],[4,"ngIf"],["title",E,"width","50em","primaryLabel",P,3,"visibleChange","showSecondary","actionsOnLeft","showCloseIcon","closeOnPrimary","visible"],[1,"vc-grid-layout"],[1,"col-12"],[3,"visibleChange","visible"],["mode","indeterminate"],[1,"firstRegistration","vc-grid-layout","column"],[1,"center"],["label",w,"mode","basic",3,"trigger","fullWidth"],["side-pane","",1,"side-pane"],[3,"innerHTML"],["main-pane","",1,"downloadBanner","vc-grid-layout"],[1,"downloadBanner-content"],[1,"left"],["mode","text","label",$,3,"url","showOpenInNewWindow"],[1,"right","col"],["mode","basic","iconPrefix","desktop_windows","label",D,3,"trigger","tooltipPosition"]]},template:function(o,n){if(1&o){const _=e.RV6();e.j41(0,"div"),e.DNE(1,ne,1,0,"mat-progress-bar",8),e.j41(2,"app-login-pane")(3,"div",9)(4,"div",10)(5,"h2",11),e.pXf(6,1),e.k0s(),e.j41(7,"vc-button",12),e.bIt("trigger",function(){return e.eBV(_),e.Njj(n.loginHelpDialog())}),e.k0s()(),e.j41(8,"vc-form",13,0)(10,"vc-input",14),e.nI1(11,"localizeByDynamicId"),e.mxI("valueChange",function(a){return e.eBV(_),e.DH7(n.usernameVc,a)||(n.usernameVc=a),e.Njj(a)}),e.k0s(),e.j41(12,"vc-password",15),e.nI1(13,"localizeByDynamicId"),e.mxI("valueChange",function(a){return e.eBV(_),e.DH7(n.passwordVc,a)||(n.passwordVc=a),e.Njj(a)}),e.k0s(),e.j41(14,"div",16)(15,"vc-button",17),e.bIt("trigger",function(){e.eBV(_);const a=e.sdS(9);return e.Njj(n.submitLogin(a))}),e.k0s(),e.j41(16,"div",18)(17,"div",19)(18,"vc-link",20),e.bIt("trigger",function(){return e.eBV(_),e.Njj(n.goToForgetPassword())}),e.k0s()(),e.j41(19,"div",19),e.nrm(20,"mat-divider",21),e.k0s(),e.j41(21,"div",19)(22,"vc-link",22),e.bIt("trigger",function(){return e.eBV(_),e.Njj(n.goToForgetUsername())}),e.k0s()()()()(),e.DNE(23,te,4,1,"div",23),e.k0s(),e.DNE(24,oe,4,2,"div",24),e.k0s(),e.DNE(25,ie,11,5,"app-login-pane",25),e.k0s(),e.j41(26,"vc-dialog",26),e.mxI("visibleChange",function(a){return e.eBV(_),e.DH7(n.loginHelpVisible,a)||(n.loginHelpVisible=a),e.Njj(a)}),e.j41(27,"div",27)(28,"div",28)(29,"h2"),e.pXf(30,2),e.k0s(),e.j41(31,"p"),e.pXf(32,3),e.k0s()(),e.j41(33,"div",28)(34,"h2"),e.pXf(35,4),e.k0s(),e.j41(36,"p"),e.pXf(37,5),e.k0s()()()(),e.j41(38,"download-desktop-app",29),e.mxI("visibleChange",function(a){return e.eBV(_),e.DH7(n.showDesktopAppDialog,a)||(n.showDesktopAppDialog=a),e.Njj(a)}),e.k0s()}2&o&&(e.xc7("max-width",n.showDisclaimer?"59.1rem":"28.8rem"),e.R7$(),e.Y8G("ngIf",n.submitted),e.R7$(2),e.Y8G("ngClass",e.eq3(33,ee,1==n.showDisclaimer)),e.R7$(2),e.Y8G("tabIndex",0),e.R7$(2),e.Y8G("tooltipPosition","right"),e.R7$(),e.Y8G("showPrimaryButton",!1)("showSecondaryButton",!1),e.R7$(2),e.R50("value",n.usernameVc),e.Y8G("required",!0)("requiredText",e.bMT(11,29,"@@VALIDATION.IS_REQUIRED_TEXT")),e.R7$(2),e.Y8G("showVisibleButton",!0),e.R50("value",n.passwordVc),e.Y8G("required",!0)("requiredText",e.bMT(13,31,"@@VALIDATION.IS_REQUIRED_TEXT")),e.R7$(3),e.Y8G("disabled",n.submitted)("fullWidth",!0),e.R7$(3),e.Y8G("showOpenInNewWindow",!1),e.R7$(2),e.Y8G("vertical",!0),e.R7$(2),e.Y8G("showOpenInNewWindow",!1),e.R7$(),e.Y8G("ngIf",n.showFirstRegistration),e.R7$(),e.Y8G("ngIf",n.showDisclaimer),e.R7$(),e.Y8G("ngIf",n.showDownloadBanner),e.R7$(),e.Y8G("showSecondary",!1)("actionsOnLeft",!1)("showCloseIcon",!1)("closeOnPrimary",!0),e.R50("visible",n.loginHelpVisible),e.R7$(12),e.R50("visible",n.showDesktopAppDialog))},dependencies:[u.YU,u.bT,I.a,p.q,A.HM,l.Qp,l.s2,l.Sj,l.n8,l.gH,l.mq,N,Z,h.A],styles:["[_nghost-%COMP%] mat-divider[_ngcontent-%COMP%]{height:100%}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%]{--button-primary-label: var(--login-button-primary-label);--button-primary-border-color: var(--login-button-primary-border-color);--button-primary-bg-1: var(--login-button-primary-bg1);--button-primary-bg-2: var(--login-button-primary-bg2);--button-primary-bg-hover: var(--login-button-primary-hover);padding:1.6em 2.5em}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{margin:0 0 1.4em;display:flex;justify-content:space-between;flex-direction:row}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{padding:0 12px 0 0}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]{height:inherit;padding:0;width:34px}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] FORM[_ngcontent-%COMP%] .mat-mdc-form-field[_ngcontent-%COMP%]{margin:0 0 16px}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] FORM[_ngcontent-%COMP%] BUTTON.mat-mdc-icon-button[_ngcontent-%COMP%]{color:var(--primary-600)}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] .firstRegistration[_ngcontent-%COMP%]{align-items:center;flex-direction:column;margin:1.7em 0 0;width:100%}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] .firstRegistration[_ngcontent-%COMP%] H5[_ngcontent-%COMP%]{color:var(--text-primary)}[_nghost-%COMP%] .main-pane.withAside[_ngcontent-%COMP%]{border-color:#00000014;border-style:solid;border-width:1px;background:#00000005;flex-direction:column;width:44.5em}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] .vc-center[_ngcontent-%COMP%]{display:flex;justify-content:center;width:100%}[_nghost-%COMP%] .side-pane[_ngcontent-%COMP%]{padding:1.6em 2.5em;width:101.2em;flex:2 2 auto;box-sizing:border-box}[_nghost-%COMP%] .side-pane[_ngcontent-%COMP%] H3[_ngcontent-%COMP%]{margin:0 0 12px}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%]{align-content:flex-start;display:flex;flex-wrap:wrap;padding:1.4em 1em;width:calc(100% - 2em)}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{width:calc(100% - 10em)}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] P[_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] P[_ngcontent-%COMP%] A[_ngcontent-%COMP%]{text-decoration:underline}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] P[_ngcontent-%COMP%] A[_ngcontent-%COMP%]:hover{text-decoration:none}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{justify-content:flex-end;width:10em}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%] .right[_ngcontent-%COMP%] BUTTON[_ngcontent-%COMP%]{flex:0 1 auto!important;float:right}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%] .right[_ngcontent-%COMP%] BUTTON[_ngcontent-%COMP%] MAT-ICON[_ngcontent-%COMP%]{margin:0 .3em 0 0}[_nghost-%COMP%] .login-page-form .vc-form-buttons{display:block!important;margin:0!important}"]})}return i})();var ae=s(96697),re=s(70980);function se(i,S){if(1&i&&e.nrm(0,"img",19),2&i){const t=e.XpG();e.Y8G("src","data:image/png;base64,"+t.captchaBase64,e.B4B)}}let le=(()=>{class i{constructor(t,o,n){this.authService=t,this.clientCompanyService=o,this.router=n,this.formSent=!1,this.formSubmitted=!1,this.midValue="",this.captchaValue=""}ngOnInit(){this.downloadCaptcha()}downloadCaptcha(){return this.authService.getCaptcha().subscribe({next:t=>{this.captchaBase64=t.data.captchaBase64,this.captchaCheck=t.data.captchaCheck}})}submitFirstRegistration(t){if(!t.submit())return!1;if(!this.formSubmitted){this.formSubmitted=!0;const n={mid:this.midValue,captcha:this.captchaValue,captchaCheck:this.captchaCheck,timezoneOffset:(new Date).getTimezoneOffset(),domain:this.clientCompanyService.getDomain()};this.authService.loginRegister(n).pipe((0,ae.s)(1),(0,re.j)(()=>{this.formSubmitted=!1})).subscribe({next:_=>{this.formSent=!0},error:_=>{this.downloadCaptcha()}})}}backToLogin(){this.formSent=!1,this.router.navigate(["/portal"])}static#e=this.\u0275fac=function(o){return new(o||i)(e.rXU(c.uR),e.rXU(c.ee),e.rXU(O.Ix))};static#n=this.\u0275cmp=e.VBU({type:i,selectors:[["app-first-registration"]],decls:27,vars:13,consts:()=>{let t,o,n,_,r,a,E,P,d;return t=$localize`:@@LOGIN.LOGIN.USERNAME_PLACEHOLDERâ219e2ef9a81d0a8daeec70336c5abadf74834b5bâ8085557177227588632:MID/Account`,o=$localize`:@@FIRST_REGISTRATION.CAPTCHA_PLACEHOLDERâae32f2bcbce992c8f9b762f7e4f93df62c593e15â5066894397266387121:Captcha`,n=$localize`:@@RECOVER_PASS.SUBMIT_BUTTONâ71c77bb8cecdf11ec3eead24dd1ba506573fa9cdâ935187492052582731:Submit`,_=$localize`:@@FIRST_REGISTRATION.LINK_LOGINâbdca963a149a6f2c95fecc57cbcdf0b390a64449â3084686770297988088:Return to login`,r=$localize`:@@FIRST_REGISTRATION.TITLEâb869accf7448f15b15e6e4c1b372121b82a7147eâ1008884391880073541: Registration `,a=$localize`:@@FIRST_REGISTRATION.MID_TITLEâ8dba9beab09c4ffb82e256b5155144c3eaae5d49â7350310493071559538:Finding your MID/Account`,E=$localize`:@@FIRST_REGISTRATION.MID_LABELâ96bb784d57ece2574f0ae17b9289ee040540a78eâ4729333267415019721:First we ...`,P=$localize`:@@FIRST_REGISTRATION.CAPTCHA_TITLEâcd322f551e793340c459d7aef9336dac42ce2346â3469004086718387445: Entering security code `,d=$localize`:@@FIRST_REGISTRATION.CAPTCHA_LABELâ96bb784d57ece2574f0ae17b9289ee040540a78eâ4729333267415019721:First we ...`,[["registrationForm",""],r,a,E,P,d,["main-pane","",1,"main-pane","vc-gri
1d-layout","withAside"],[1,"title","col-12"],["focusElement","",3,"tabIndex"],[3,"showPrimaryButton","showSecondaryButton"],["label",t,3,"valueChange","value","required"],["label",o,3,"valueChange","value","required"],[1,"actions","vc-grid-layout"],["buttons","","type","submit","label",n,"mode","primary",3,"trigger","disabled","fullWidth"],[1,"vc-grid-layout","vc-center","col-12"],["mode","text","label",_,3,"trigger","showOpenInNewWindow"],["side-pane","",1,"side-pane"],[1,"side-pane-block"],["class","sgs-login__first-registration-captcha",3,"src",4,"ngIf"],[1,"sgs-login__first-registration-captcha",3,"src"]]},template:function(o,n){if(1&o){const _=e.RV6();e.j41(0,"div")(1,"app-login-pane")(2,"div",6)(3,"div",7)(4,"h2",8),e.pXf(5,1),e.k0s()(),e.j41(6,"vc-form",9,0)(8,"vc-input",10),e.mxI("valueChange",function(a){return e.eBV(_),e.DH7(n.midValue,a)||(n.midValue=a),e.Njj(a)}),e.k0s(),e.j41(9,"vc-input",11),e.mxI("valueChange",function(a){return e.eBV(_),e.DH7(n.captchaValue,a)||(n.captchaValue=a),e.Njj(a)}),e.k0s(),e.j41(10,"div",12)(11,"vc-button",13),e.bIt("trigger",function(){e.eBV(_);const a=e.sdS(7);return e.Njj(n.submitFirstRegistration(a))}),e.k0s(),e.j41(12,"div",14)(13,"vc-link",15),e.bIt("trigger",function(){return e.eBV(_),e.Njj(n.backToLogin())}),e.k0s()()()()(),e.j41(14,"div",16)(15,"div",17)(16,"h3"),e.pXf(17,2),e.k0s(),e.j41(18,"p"),e.pXf(19,3),e.k0s()(),e.j41(20,"div",17)(21,"h3"),e.pXf(22,4),e.k0s(),e.j41(23,"p"),e.pXf(24,5),e.k0s()(),e.j41(25,"div",17),e.DNE(26,se,1,1,"img",18),e.k0s()()()()}2&o&&(e.xc7("width","59.1rem"),e.R7$(4),e.Y8G("tabIndex",0),e.R7$(2),e.Y8G("showPrimaryButton",!1)("showSecondaryButton",!1),e.R7$(2),e.R50("value",n.midValue),e.Y8G("required",!0),e.R7$(),e.R50("value",n.captchaValue),e.Y8G("required",!0),e.R7$(2),e.Y8G("disabled",n.formSubmitted)("fullWidth",!0),e.R7$(2),e.Y8G("showOpenInNewWindow",!1),e.R7$(13),e.Y8G("ngIf",n.captchaBase64))},dependencies:[u.bT,I.a,l.Qp,l.s2,l.Sj,l.gH,N],styles:["[_nghost-%COMP%] mat-divider[_ngcontent-%COMP%]{height:100%}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%]{--button-primary-label: var(--login-button-primary-label);--button-primary-border-color: var(--login-button-primary-border-color);--button-primary-bg-1: var(--login-button-primary-bg1);--button-primary-bg-2: var(--login-button-primary-bg2);--button-primary-bg-hover: var(--login-button-primary-hover);padding:1.6em 2.5em}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{margin:0 0 1.4em;display:flex;justify-content:space-between;flex-direction:row}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{padding:0 12px 0 0}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]{height:inherit;padding:0;width:34px}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] FORM[_ngcontent-%COMP%] .mat-mdc-form-field[_ngcontent-%COMP%]{margin:0 0 16px}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] FORM[_ngcontent-%COMP%] BUTTON.mat-mdc-icon-button[_ngcontent-%COMP%]{color:var(--primary-600)}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] .firstRegistration[_ngcontent-%COMP%]{align-items:center;flex-direction:column;margin:1.7em 0 0;width:100%}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] .firstRegistration[_ngcontent-%COMP%] H5[_ngcontent-%COMP%]{color:var(--text-primary)}[_nghost-%COMP%] .main-pane.withAside[_ngcontent-%COMP%]{border-color:#00000014;border-style:solid;border-width:1px;background:#00000005;flex-direction:column;width:44.5em}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] .vc-center[_ngcontent-%COMP%]{display:flex;justify-content:center;width:100%}[_nghost-%COMP%] .side-pane[_ngcontent-%COMP%]{padding:1.6em 2.5em;width:101.2em;flex:2 2 auto;box-sizing:border-box}[_nghost-%COMP%] .side-pane[_ngcontent-%COMP%] H3[_ngcontent-%COMP%]{margin:0 0 12px}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%]{align-content:flex-start;display:flex;flex-wrap:wrap;padding:1.4em 1em;width:calc(100% - 2em)}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{width:calc(100% - 10em)}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] P[_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] P[_ngcontent-%COMP%] A[_ngcontent-%COMP%]{text-decoration:underline}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] P[_ngcontent-%COMP%] A[_ngcontent-%COMP%]:hover{text-decoration:none}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{justify-content:flex-end;width:10em}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%] .right[_ngcontent-%COMP%] BUTTON[_ngcontent-%COMP%]{flex:0 1 auto!important;float:right}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%] .right[_ngcontent-%COMP%] BUTTON[_ngcontent-%COMP%] MAT-ICON[_ngcontent-%COMP%]{margin:0 .3em 0 0}[_nghost-%COMP%] .login-page-form .vc-form-buttons{display:block!important;margin:0!important}"]})}return i})();var M=s(99213);function ce(i,S){if(1&i){const t=e.RV6();e.j41(0,"app-login-pane")(1,"div",5)(2,"div",6)(3,"h2",7),e.pXf(4,1),e.k0s()(),e.j41(5,"vc-form",8,0)(7,"vc-input",9),e.mxI("valueChange",function(n){e.eBV(t);const _=e.XpG();return e.DH7(_.usernameValue,n)||(_.usernameValue=n),e.Njj(n)}),e.k0s(),e.j41(8,"vc-input",10),e.mxI("valueChange",function(n){e.eBV(t);const _=e.XpG();return e.DH7(_.emailValue,n)||(_.emailValue=n),e.Njj(n)}),e.k0s(),e.j41(9,"div",11)(10,"vc-button",12),e.bIt("trigger",function(){e.eBV(t);const n=e.sdS(6),_=e.XpG();return e.Njj(_.recoverPassword(n))}),e.k0s(),e.j41(11,"div",13)(12,"vc-link",14),e.bIt("trigger",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.backToLogin())}),e.k0s(),e.nrm(13,"mat-divider",15),e.j41(14,"vc-link",16),e.bIt("trigger",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.goToForgetUsername())}),e.k0s()()()()()()}if(2&i){const t=e.XpG();e.R7$(3),e.Y8G("tabIndex",0),e.R7$(2),e.Y8G("showPrimaryButton",!1)("showSecondaryButton",!1),e.R7$(2),e.R50("value",t.usernameValue),e.Y8G("required",!0),e.R7$(),e.R50("value",t.emailValue),e.Y8G("required",!0),e.R7$(2),e.Y8G("disabled",t.formSubmitted)("fullWidth",!0),e.R7$(2),e.Y8G("showOpenInNewWindow",!1),e.R7$(),e.Y8G("vertical",!0),e.R7$(),e.Y8G("showOpenInNewWindow",!1)}}function de(i,S){if(1&i){const t=e.RV6();e.j41(0,"div")(1,"app-login-pane")(2,"div",17)(3,"div",18),e.nrm(4,"mat-icon",19),e.k0s(),e.j41(5,"div",20)(6,"p",7),e.pXf(7,2),e.k0s()(),e.j41(8,"div",20)(9,"vc-button",21),e.bIt("trigger",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.backToLogin())}),e.k0s()()()()()}2&i&&(e.xc7("max-width","29.8rem"),e.R7$(6),e.Y8G("tabIndex",0),e.R7$(3),e.Y8G("fullWidth",!0))}let ge=(()=>{class i{constructor(t,o){this.router=t,this.userAccountService=o,this.dismiss=$localize`:@@ERROR.DISMISS:Dismiss`,this.passwordReset=$localize`:@@RECOVER_PASS.SUCCESS:Thank you. If details were correct an email will be sent to you. If you do not receive an email check spam or try again`,this.returnText=$localize`:@@RECOVER_USERNAME.LINK_LOGIN:Return to login`,this.forgotUsernameText=$localize`:@@RECOVER_PASS.LINK_FORGET_USERNAME:Forgot username`,this.formSent=!1,this.formSubmitted=!1,this.ariaLive="off",this.usernameValue="",this.emailValue=""}ngOnInit(){}recoverPassword(t){if(!t.submit())return!1;this.formSubmitted=!0,this.userAccountService.recoverPassword(this.usernameValue,this.emailValue).subscribe({next:o=>{this.formSent=!0}})}backToLogin(){this.formSent=!1,this.router.navigate(["/portal"])}goToForgetUsername(){var t=this;return(0,m.A)(function*(){yield t.router.navigate(["/login/portal/recover-username"])})()}static#e=this.\u0275fac=function(o){return new(o||i)(e.rXU(O.Ix),e.rXU(c.wf))};static#n=this.\u0275cmp=e.VBU({type:i,selectors:[["app-recover-password"]],decls:3,vars:4,consts:()=>{let t,o,n,_,r,a,E,P;return t=$localize`:@@LOGIN.LOGIN.USERNAME_PLACEHOLDERâ08c74dc9762957593b91f6eb5d65efdfc975bf48â5248717555542428023:Username`,o=$localize`:@@RECOVER_PASS.EMAIL_PLACEHOLDERâ244aae9346da82b0922506c2d2581373a15641ccâ4768749765465246664:Email`,n=$localize`:@@RECOVER_PASS.SUBMIT_BUTTONâ71c77bb8cecdf11ec3eead24dd1ba506573fa9cdâ935187492052582731:Submit`,_=$localize`:@@RECOVER_PASS.LINK_LOGINâbdca963a149a6f2c95fecc57cbcdf0b390a64449â3084686770297988088:Return to login`,r=$localize`:@@LOGIN.LOGIN.LINK_FORGET_USERNAMEâ6720c2b082b33f0b320acb1a53e49de4f90514f1â7127407580756479608:Forgot Username`,a=$localize`:@@RECOVER_PASS.TITLEâ49dd628981d21313e2432ee85218914a287d2b71â7664229588976248089: Recover password `,E=$localize`:@@RECOVER_PASS.LINK_LOGINâdbf077af2a96d5c6f7576e6d9e69f3a62a74ba3bâ7420623990150183817:Back to login`,P=$localize`:@@RECOVER_PASS.SUCCESSâb6f3c52dda4f30802de441d58f736e49109ff237â23447
151842017781485: Thank you. If details were correct an email will be sent to you. If you do not receive an email check spam or try again `,[["recoverPasswordForm",""],a,P,[4,"ngIf"],[3,"max-width",4,"ngIf"],["main-pane","",1,"main-pane"],[1,"vc-grid-layout","vc-center"],["focusElement","",3,"tabIndex"],[3,"showPrimaryButton","showSecondaryButton"],["label",t,3,"valueChange","value","required"],["label",o,3,"valueChange","value","required"],[1,"actions","vc-grid-layout"],["buttons","","type","submit","label",n,"mode","primary",3,"trigger","disabled","fullWidth"],[1,"vc-grid-layout","vc-center","col-12"],["mode","text","label",_,3,"trigger","showOpenInNewWindow"],[3,"vertical"],["mode","text","label",r,3,"trigger","showOpenInNewWindow"],["main-pane","",1,"main-pane","vc-grid-layout"],[1,"col-12","vc-center"],["svgIcon","login:email-sent"],[1,"col-12"],["label",E,"mode","primary",3,"trigger","fullWidth"]]},template:function(o,n){1&o&&(e.j41(0,"div"),e.DNE(1,ce,15,12,"app-login-pane",3),e.k0s(),e.DNE(2,de,10,4,"div",4)),2&o&&(e.xc7("max-width","29.8rem"),e.R7$(),e.Y8G("ngIf",!n.formSent),e.R7$(),e.Y8G("ngIf",n.formSent))},dependencies:[u.bT,I.a,p.q,M.An,l.Qp,l.s2,l.Sj,l.gH,N],styles:["[_nghost-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:65px;width:65px}[_nghost-%COMP%] P[_ngcontent-%COMP%]{text-align:center}","[_nghost-%COMP%] mat-divider[_ngcontent-%COMP%]{height:100%}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%]{--button-primary-label: var(--login-button-primary-label);--button-primary-border-color: var(--login-button-primary-border-color);--button-primary-bg-1: var(--login-button-primary-bg1);--button-primary-bg-2: var(--login-button-primary-bg2);--button-primary-bg-hover: var(--login-button-primary-hover);padding:1.6em 2.5em}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{margin:0 0 1.4em;display:flex;justify-content:space-between;flex-direction:row}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{padding:0 12px 0 0}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]{height:inherit;padding:0;width:34px}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] FORM[_ngcontent-%COMP%] .mat-mdc-form-field[_ngcontent-%COMP%]{margin:0 0 16px}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] FORM[_ngcontent-%COMP%] BUTTON.mat-mdc-icon-button[_ngcontent-%COMP%]{color:var(--primary-600)}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] .firstRegistration[_ngcontent-%COMP%]{align-items:center;flex-direction:column;margin:1.7em 0 0;width:100%}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] .firstRegistration[_ngcontent-%COMP%] H5[_ngcontent-%COMP%]{color:var(--text-primary)}[_nghost-%COMP%] .main-pane.withAside[_ngcontent-%COMP%]{border-color:#00000014;border-style:solid;border-width:1px;background:#00000005;flex-direction:column;width:44.5em}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] .vc-center[_ngcontent-%COMP%]{display:flex;justify-content:center;width:100%}[_nghost-%COMP%] .side-pane[_ngcontent-%COMP%]{padding:1.6em 2.5em;width:101.2em;flex:2 2 auto;box-sizing:border-box}[_nghost-%COMP%] .side-pane[_ngcontent-%COMP%] H3[_ngcontent-%COMP%]{margin:0 0 12px}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%]{align-content:flex-start;display:flex;flex-wrap:wrap;padding:1.4em 1em;width:calc(100% - 2em)}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{width:calc(100% - 10em)}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] P[_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] P[_ngcontent-%COMP%] A[_ngcontent-%COMP%]{text-decoration:underline}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] P[_ngcontent-%COMP%] A[_ngcontent-%COMP%]:hover{text-decoration:none}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{justify-content:flex-end;width:10em}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%] .right[_ngcontent-%COMP%] BUTTON[_ngcontent-%COMP%]{flex:0 1 auto!important;float:right}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%] .right[_ngcontent-%COMP%] BUTTON[_ngcontent-%COMP%] MAT-ICON[_ngcontent-%COMP%]{margin:0 .3em 0 0}[_nghost-%COMP%] .login-page-form .vc-form-buttons{display:block!important;margin:0!important}"]})}return i})();var Oe=s(86848);function Ee(i,S){if(1&i){const t=e.RV6();e.j41(0,"app-login-pane")(1,"div",5)(2,"div",6)(3,"h2",7),e.pXf(4,1),e.k0s()(),e.j41(5,"div",8)(6,"vc-form",9,0)(8,"vc-input",10),e.mxI("valueChange",function(n){e.eBV(t);const _=e.XpG();return e.DH7(_.emailValue,n)||(_.emailValue=n),e.Njj(n)}),e.k0s(),e.j41(9,"vc-input",11),e.mxI("valueChange",function(n){e.eBV(t);const _=e.XpG();return e.DH7(_.midValue,n)||(_.midValue=n),e.Njj(n)}),e.k0s(),e.j41(10,"div",12)(11,"div",13)(12,"vc-button",14),e.bIt("trigger",function(){e.eBV(t);const n=e.sdS(7),_=e.XpG();return e.Njj(_.recoverUsername(n))}),e.k0s()(),e.j41(13,"div",15)(14,"div",16)(15,"vc-link",17),e.bIt("trigger",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.backToLogin())}),e.k0s(),e.nrm(16,"mat-divider",18),e.j41(17,"vc-link",19),e.bIt("trigger",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.goToRecoverPassword())}),e.k0s()()()()()()()()}if(2&i){const t=e.XpG();e.R7$(3),e.Y8G("tabIndex",0),e.R7$(3),e.Y8G("showPrimaryButton",!1)("showSecondaryButton",!1),e.R7$(2),e.R50("value",t.emailValue),e.Y8G("required",!0),e.R7$(),e.R50("value",t.midValue),e.Y8G("required",!0),e.R7$(3),e.Y8G("disabled",t.formSubmitted)("fullWidth",!0),e.R7$(3),e.Y8G("showOpenInNewWindow",!1),e.R7$(),e.Y8G("vertical",!0),e.R7$(),e.Y8G("showOpenInNewWindow",!1)}}function Pe(i,S){if(1&i){const t=e.RV6();e.j41(0,"div")(1,"app-login-pane")(2,"div",5)(3,"div",15),e.nrm(4,"mat-icon",20),e.k0s(),e.j41(5,"div",8)(6,"p",21),e.pXf(7,2),e.k0s()(),e.j41(8,"div",8)(9,"vc-button",22),e.bIt("trigger",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.backToLogin())}),e.k0s()()()()()}2&i&&(e.xc7("max-width","29.8rem"),e.R7$(6),e.Y8G("tabIndex",0),e.R7$(3),e.Y8G("fullWidth",!0))}let Ce=(()=>{class i{constructor(t,o){this.router=t,this.userAccountService=o,this.dismiss=$localize`:@@ERROR.DISMISS:Dismiss`,this.usernameReset=$localize`:@@RECOVER_USERNAME.SUCCESS:Thank you. If details were correct an email will be sent to you. If you do not receive an email check spam or try again`,this.recoverPasswordText=$localize`:@@RECOVER_PASS.TITLE:Recover password`,this.returnText=$localize`:@@RECOVER_USERNAME.LINK_LOGIN:Return to login`,this.formSent=!1,this.ariaLive="off",this.midValue="",this.emailValue="",this.formSubmitted=!1}ngOnInit(){}recoverUsername(t){if(!t.submit())return!1;this.formSubmitted=!0,this.userAccountService.recoverUsername(this.emailValue,this.midValue).subscribe({next:o=>{this.formSent=!0}})}backToLogin(){this.formSent=!1,this.router.navigate(["/portal"])}goToRecoverPassword(){var t=this;return(0,m.A)(function*(){yield t.router.navigate(["/login/portal/recover-password"])})()}static#e=this.\u0275fac=function(o){return new(o||i)(e.rXU(O.Ix),e.rXU(Oe.w))};static#n=this.\u0275cmp=e.VBU({type:i,selectors:[["app-recover-username"]],decls:3,vars:4,consts:()=>{let t,o,n,_,r,a,E,P;return t=$localize`:@@RECOVER_PASS.EMAIL_PLACEHOLDERâ244aae9346da82b0922506c2d2581373a15641ccâ4768749765465246664:Email`,o=$localize`:@@RECOVER_USERNAME.MID_PLACEHOLDERâ289a8aa5ba8ce95cb7a57ad7ec0747c78659089eâ2113162158691788283:
1MID`,n=$localize`:@@RECOVER_USERNAME.SUBMIT_BUTTONâ71c77bb8cecdf11ec3eead24dd1ba506573fa9cdâ935187492052582731:Submit`,_=$localize`:@@RECOVER_PASS.LINK_LOGINâbdca963a149a6f2c95fecc57cbcdf0b390a64449â3084686770297988088:Return to login`,r=$localize`:@@RECOVER_PASS.TITLEâ01f29169b70a20a5c2373dea44ba20cba3f0a648â5189818166240080724:Recover password`,a=$localize`:@@RECOVER_USERNAME.TITLEâ6bd9969e82c9ac7a662a870b4685df7e86302debâ3134471522963140473: Recover username `,E=$localize`:@@RECOVER_PASS.LINK_LOGINâdbf077af2a96d5c6f7576e6d9e69f3a62a74ba3bâ7420623990150183817:Back to login`,P=$localize`:@@RECOVER_USERNAME.SUCCESSâb6f3c52dda4f30802de441d58f736e49109ff237â2344751842017781485: Thank you. If details were correct an email will be sent to you. If you do not receive an email check spam or try again `,[["recoverUserNameForm",""],a,P,[4,"ngIf"],[3,"max-width",4,"ngIf"],["main-pane","",1,"main-pane","vc-grid-layout"],[1,"title","vc-center","col-12"],["focusElement","",3,"tabIndex"],[1,"col-12"],[3,"showPrimaryButton","showSecondaryButton"],["label",t,3,"valueChange","value","required"],["label",o,3,"valueChange","value","required"],[1,"actions","vc-grid-layout"],["buttons","",1,"col-12","space-pd-0"],["type","submit","label",n,"mode","primary",3,"trigger","disabled","fullWidth"],[1,"col-12","vc-center"],[1,"vc-grid-layout","vc-center"],["mode","text","label",_,3,"trigger","showOpenInNewWindow"],[3,"vertical"],["mode","text","label",r,3,"trigger","showOpenInNewWindow"],["svgIcon","login:email-sent"],["focusElement","",1,"col-12",3,"tabIndex"],["label",E,"mode","primary",3,"trigger","fullWidth"]]},template:function(o,n){1&o&&(e.j41(0,"div"),e.DNE(1,Ee,18,12,"app-login-pane",3),e.k0s(),e.DNE(2,Pe,10,4,"div",4)),2&o&&(e.xc7("max-width","29.8rem"),e.R7$(),e.Y8G("ngIf",!n.formSent),e.R7$(),e.Y8G("ngIf",n.formSent))},dependencies:[u.bT,I.a,p.q,M.An,l.Qp,l.s2,l.Sj,l.gH,N],styles:["[_nghost-%COMP%] mat-divider[_ngcontent-%COMP%]{height:100%}[_nghost-%COMP%] .vc-center[_ngcontent-%COMP%]{display:flex;justify-content:center}[_nghost-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:65px;margin:0 0 1.3em;width:65px}[_nghost-%COMP%] P[_ngcontent-%COMP%]{margin:0 0 2.5em!important;min-height:4em;text-align:center}[_nghost-%COMP%] BUTTON[_ngcontent-%COMP%]{margin:0 1.2em}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%]{padding:1.7em 2.5em}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{margin:0 0 1.4em}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] FORM[_ngcontent-%COMP%] .mat-mdc-form-field[_ngcontent-%COMP%]{margin:0 0 16px}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] BUTTON[_ngcontent-%COMP%]{margin:0}"]})}return i})();var C=s(40151),L=s(13979);const Re=["newPasswordForm"],Ne=["newPasswordInput"];let Se=(()=>{class i{constructor(){this._userAccountService=(0,e.WQX)(c.wf),this._bannerService=(0,e.WQX)(c._B),this._router=(0,e.WQX)(O.Ix),this.passwordUpdatedSuccess=$localize`:@@CHANGE_PASSWORD.ALERTS.PASSWORD_SUCCESS:Password has been changed`,this.dismiss=$localize`:@@ERROR.DISMISS:Dismiss`,this.progressBarValidation=14,this.progressBarColour="low-strength",this.error=null,this.formInvalid=!1,this.formSubmitted=!1,this.validatePassword=t=>{if(t&&""!==t){this.formInvalid=!0;const o=$localize`:@@PERSONALISATION.LABEL.NEW_PASSWORD:New Password`;if(t.length<8)return $localize`:@@VALIDATION.MINLENGTH_VALUE:Minimum ${8}:minCharValue: characters long`;if(!C.g.hasCapitalCaseChar(t))return $localize`:@@VALIDATION.PATTERN:${o}:fieldName: doesn't meet requirements`;if(!C.g.hasSmallCaseChar(t))return $localize`:@@VALIDATION.PATTERN:${o}:fieldName: doesn't meet requirements`;if(!C.g.hasSpecialChar(t))return $localize`:@@VALIDATION.PATTERN:${o}:fieldName: doesn't meet requirements`;if(C.g.hasExtraSpecialChar(t))return $localize`:@@VALIDATION.PATTERN:${o}:fieldName: doesn't meet requirements`;if(!C.g.hasNumberChar(t))return $localize`:@@VALIDATION.PATTERN:${o}:fieldName: doesn't meet requirements`;if(!C.g.hasRepeatedChars(t))return $localize`:@@VALIDATION.PATTERN:${o}:fieldName: doesn't meet requirements`}return this.formInvalid=!1,""}}ngOnInit(){this.userData=history.state.user,this.userData||this._router.navigate(["/login/portal"])}updateExpiredPassword(){if(!this.newPasswordForm.submit())return;const t=this.userData.username,o=this.userData.password;this.formSubmitted=!0,this._userAccountService.updateExpiredPassword(this.newPassword,o,t).subscribe({next:()=>{this.formSubmitted=!1,this._bannerService.open(c.x1.success,this.passwordUpdatedSuccess,[this.dismiss]),this._router.navigate(["/login/portal"])},error:n=>{n.errors.newPassword&&(this.error=Object.values(n.errors).flat(),this.newPasswordInput?.setErrorState(this.error[0].message)),this.formSubmitted=!1}})}static#e=this.\u0275fac=function(o){return new(o||i)};static#n=this.\u0275cmp=e.VBU({type:i,selectors:[["app-expired-password"]],viewQuery:function(o,n){if(1&o&&(e.GBs(Re,5),e.GBs(Ne,5)),2&o){let _;e.mGM(_=e.lsd())&&(n.newPasswordForm=_.first),e.mGM(_=e.lsd())&&(n.newPasswordInput=_.first)}},decls:16,vars:13,consts:()=>{let t,o,n,_,r;return t=$localize`:@@CHANGE_PASSWORD.NEW_PASSWORDâc7014c6360e94b236286b869c3fe0ea9911c0387â1221596867309460035:New Password`,o=$localize`:@@VALIDATION.IS_REQUIRED_TEXTâf9e836ef3b17941ee4f1106a4d09f68ecf5b14c1â6681341635977984109:field is mandatory and cannot be empty`,n=$localize`:@@REGISTRATION.BUTTONâfd4dc0c2356dee337d6ed24a85ee6763c4ab6374â102408375548589662:Update password`,_=$localize`:@@CHANGE_PASSWORD.EXPIRED.TITLEâ3ca13d8c98984be9294598e0cf91ff5e6d2b3249â15539543903423792:Password expired`,r=$localize`:@@CHANGE_PASSWORD.EXPIRED.SUBTITLEâf51d35290eabcff231c0598d38fa97ae8c6bafaaâ3552204217061768255: Your password has expired. Please create a new password you would like to use. `,[["newPasswordForm",""],["newPasswordInput",""],_,r,["aria-live","polite"],["main-pane","",1,"main-pane"],[3,"showPrimaryButton","showSecondaryButton"],["label",t,"requiredText",o,1,"col-12","space-pd-x-0",3,"valueChange","showVisibleButton","required","customValidation","value","maxLength"],["buttons","",1,"actions"],["type","submit","label",n,"mode","primary",3,"trigger","disabled","fullWidth"],["side-pane","",2,"width","59.5em"],[3,"password","validationListLength"]]},template:function(o,n){if(1&o){const _=e.RV6();e.j41(0,"div")(1,"app-login-pane",4)(2,"div",5)(3,"div")(4,"h5"),e.pXf(5,2),e.k0s(),e.j41(6,"p"),e.pXf(7,3),e.k0s()(),e.j41(8,"vc-form",6,0)(10,"vc-password",7,1),e.mxI("valueChange",function(a){return e.eBV(_),e.DH7(n.newPassword,a)||(n.newPassword=a),e.Njj(a)}),e.k0s(),e.j41(12,"div",8)(13,"vc-button",9),e.bIt("trigger",function(){return e.eBV(_),e.Njj(n.updateExpiredPassword())}),e.k0s()()()(),e.j41(14,"div",10),e.nrm(15,"app-password-validate",11),e.k0s()()()}2&o&&(e.xc7("width","59.2rem"),e.R7$(8),e.Y8G("showPrimaryButton",!1)("showSecondaryButton",!1),e.R7$(2),e.Y8G("showVisibleButton",!0)("required",!0)("customValidation",n.validatePassword),e.R50("value",n.newPassword),e.Y8G("maxLength",200),e.R7$(3),e.Y8G("disabled",(null==n.newPassword?null:n.newPassword.trim().length)<1||n.formInvalid||n.formSubmitted)("fullWidth",!0),e.R7$(2),e.Y8G("password",n.newPassword)("validationListLength",7))},dependencies:[L.j,l.Qp,l.s2,l.n8,N],styles:["[_nghost-%COMP%] .er[_ngcontent-%COMP%]{display:table;font-size:14px;margin:0 0 1.3em;text-align:left}[_nghost-%COMP%] .er.not-allowed[_ngcontent-%COMP%]{color:var(--error-color)}[_nghost-%COMP%] .er.allowed[_ngcontent-%COMP%]{color:var(--success-color)}[_nghost-%COMP%] .er[_ngcontent-%COMP%] I[_ngcontent-%COMP%]{display:table-cell;padding:0 1.3em 0 0;vertical-align:top}[_nghost-%COMP%] .er[_ngcontent-%COMP%] SPAN[_ngcontent-%COMP%]{color:var(--text-primary);display:table-cell;float:left;padding:0}[_nghost-%COMP%] H5[_ngcontent-%COMP%]{margin:0 0 .5em}[_nghost-%COMP%] P[_ngcontent-%COMP%]{font-size:16px;line-height:24px}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%]{border-color:#00000014;border-style:solid;border-width:1px;background:#00000005;min-height:24.8em;padding:1.6em 2.5em;position:relative;width:50em}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{bottom:2em;position:absolute;width:calc(100% - 5em)}"]}
1)}return i})(),ue=(()=>{class i{constructor(){}ngOnInit(){}static#e=this.\u0275fac=function(o){return new(o||i)};static#n=this.\u0275cmp=e.VBU({type:i,selectors:[["app-maintenance"]],decls:11,vars:3,consts:()=>{let t,o;return t=$localize`:@@SYSTEM_MAINTENANCE.TITLEâ449a46e8608cbe58798e3fea951eac70ad54101câ5574305430467351145: System maintenance `,o=$localize`:@@SYSTEM_MAINTENANCE.TEXTâ8baed0325f6b73581de8f2c32b415836d626d637â5016930787584282016: We are currently carrying out scheduled maintenance and will be back with you shortly. `,[t,o,["main-pane","",1,"main-pane","vc-grid-layout"],[1,"col-12","vc-center"],["svgIcon","login:maintenance"],["focusElement","",3,"tabIndex"]]},template:function(o,n){1&o&&(e.j41(0,"div")(1,"app-login-pane")(2,"div",2)(3,"div",3),e.nrm(4,"mat-icon",4),e.k0s(),e.j41(5,"div",3)(6,"h2",5),e.pXf(7,0),e.k0s()(),e.j41(8,"div",3)(9,"p"),e.pXf(10,1),e.k0s()()()()()),2&o&&(e.xc7("max-width","29.8rem"),e.R7$(6),e.Y8G("tabIndex",0))},dependencies:[I.a,M.An,N],styles:["[_nghost-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:65px;width:65px}[_nghost-%COMP%] P[_ngcontent-%COMP%]{text-align:center}","[_nghost-%COMP%] mat-divider[_ngcontent-%COMP%]{height:100%}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%]{--button-primary-label: var(--login-button-primary-label);--button-primary-border-color: var(--login-button-primary-border-color);--button-primary-bg-1: var(--login-button-primary-bg1);--button-primary-bg-2: var(--login-button-primary-bg2);--button-primary-bg-hover: var(--login-button-primary-hover);padding:1.6em 2.5em}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{margin:0 0 1.4em;display:flex;justify-content:space-between;flex-direction:row}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{padding:0 12px 0 0}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]{height:inherit;padding:0;width:34px}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] FORM[_ngcontent-%COMP%] .mat-mdc-form-field[_ngcontent-%COMP%]{margin:0 0 16px}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] FORM[_ngcontent-%COMP%] BUTTON.mat-mdc-icon-button[_ngcontent-%COMP%]{color:var(--primary-600)}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] .firstRegistration[_ngcontent-%COMP%]{align-items:center;flex-direction:column;margin:1.7em 0 0;width:100%}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] .firstRegistration[_ngcontent-%COMP%] H5[_ngcontent-%COMP%]{color:var(--text-primary)}[_nghost-%COMP%] .main-pane.withAside[_ngcontent-%COMP%]{border-color:#00000014;border-style:solid;border-width:1px;background:#00000005;flex-direction:column;width:44.5em}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] .vc-center[_ngcontent-%COMP%]{display:flex;justify-content:center;width:100%}[_nghost-%COMP%] .side-pane[_ngcontent-%COMP%]{padding:1.6em 2.5em;width:101.2em;flex:2 2 auto;box-sizing:border-box}[_nghost-%COMP%] .side-pane[_ngcontent-%COMP%] H3[_ngcontent-%COMP%]{margin:0 0 12px}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%]{align-content:flex-start;display:flex;flex-wrap:wrap;padding:1.4em 1em;width:calc(100% - 2em)}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{width:calc(100% - 10em)}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] P[_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] P[_ngcontent-%COMP%] A[_ngcontent-%COMP%]{text-decoration:underline}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] P[_ngcontent-%COMP%] A[_ngcontent-%COMP%]:hover{text-decoration:none}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{justify-content:flex-end;width:10em}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%] .right[_ngcontent-%COMP%] BUTTON[_ngcontent-%COMP%]{flex:0 1 auto!important;float:right}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%] .right[_ngcontent-%COMP%] BUTTON[_ngcontent-%COMP%] MAT-ICON[_ngcontent-%COMP%]{margin:0 .3em 0 0}[_nghost-%COMP%] .login-page-form .vc-form-buttons{display:block!important;margin:0!important}"]})}return i})();var Ie=s(59772);let Me=(()=>{class i{constructor(t){this.iconService=t}resolve(t,o){return this.iconService.registerIcons("login")}static#e=this.\u0275fac=function(o){return new(o||i)(e.KVO(Ie.f))};static#n=this.\u0275prov=e.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();const me=["newPasswordForm"],Te=["newPasswordInput"];let pe=(()=>{class i{constructor(){this._userAccountService=(0,e.WQX)(c.wf),this._bannerService=(0,e.WQX)(c._B),this._router=(0,e.WQX)(O.Ix),this._route=(0,e.WQX)(O.nX),this.hide=!0,this.passwordUpdatedSuccess=$localize`:@@REGISTRATION.MESSAGE_SUCCESS:Password successfully updated. You can now login below using the new details you just created.`,this.dismiss=$localize`:@@ERROR.DISMISS:Dismiss`,this.progressBarValidation=14,this.progressBarColour="low-strength",this.error=null,this.formInvalid=!1,this.formSubmitted=!1,this.validatePassword=t=>{if(t&&""!==t){this.formInvalid=!0;const o=$localize`:@@PERSONALISATION.LABEL.NEW_PASSWORD:New Password`;if(t.length<8)return $localize`:@@VALIDATION.MINLENGTH_VALUE:Minimum ${8}:minCharValue: characters long`;if(!C.g.hasCapitalCaseChar(t))return $localize`:@@VALIDATION.PATTERN:${o}:fieldName: doesn't meet requirements`;if(!C.g.hasSmallCaseChar(t))return $localize`:@@VALIDATION.PATTERN:${o}:fieldName: doesn't meet requirements`;if(!C.g.hasSpecialChar(t))return $localize`:@@VALIDATION.PATTERN:${o}:fieldName: doesn't meet requirements`;if(C.g.hasExtraSpecialChar(t))return $localize`:@@VALIDATION.PATTERN:${o}:fieldName: doesn't meet requirements`;if(!C.g.hasNumberChar(t))return $localize`:@@VALIDATION.PATTERN:${o}:fieldName: doesn't meet requirements`;if(!C.g.hasRepeatedChars(t))return $localize`:@@VALIDATION.PATTERN:${o}:fieldName: doesn't meet requirements`}return this.formInvalid=!1,""}}ngOnInit(){this.token=this._route.snapshot.paramMap.get("token")}setUserPassword(){if(!this.newPasswordForm.submit())return;const t={token:this.token,password:this.newPassword};this.formSubmitted=!0,this._userAccountService.resetPassword(t).subscribe({next:()=>{this._bannerService.open(c.x1.success,this.passwordUpdatedSuccess,[this.dismiss]),this._router.navigate(["/login/portal"])},error:o=>{this.formSubmitted=!1,o.errors.newPassword&&(this.error=Object.values(o.errors).flat(),this.newPasswordInput?.setErrorState(this.error[0].message))}})}static#e=this.\u0275fac=function(o){return new(o||i)};static#n=this.\u0275cmp=e.VBU({type:i,selectors:[["app-registration"]],viewQuery:function(o,n){if(1&o&&(e.GBs(me,5),e.GBs(Te,5)),2&o){let _;e.mGM(_=e.lsd())&&(n.newPasswordForm=_.first),e.mGM(_=e.lsd())&&(n.newPasswordInput=_.first)}},decls:16,vars:13,consts:()=>{let t,o,n,_,r;return t=$localize`:@@CHANGE_PASSWORD.NEW_PASSWORDâc7014c6360e94b236286b869c3fe0ea9911c0387â1221596867309460035:New Password`,o=$localize`:@@VALIDATION.IS_REQUIRED_TEXTâf9e836ef3b17941ee4f1106a4d09f68ecf5b14c1â6681341635977984109:field is mandatory and cannot be empty`,n=$localize`:@@REGISTRATION.BUTTONâfd4dc0c2356dee337d6ed24a85ee6763c4ab6374â102408375548589662:Update password`,_=$localize`:@@REGISTRATION.TITLEâfd4dc0c2356dee337d6ed24a85ee6763c4ab6374â102408375548589662:Update password`,r=$localize`:@@REGISTRATION.SUBTITLEâ67df136652fa4bca435eaaa84dc68dc5b386b913â5903172885291808410:Please create a new password`,[["newPasswordForm",""],["newPasswordInput",""],_,r,["aria-live","polite"],["main-pane","",1,"main-pane"],[3,"showPrimaryButton","showSecondaryButton"],["label",t,"requiredText",o,1,"col-12","space-pd-x-0",3,"valueChange","showVisibleButton","required","customValidation","value","maxLength"],[1,"actions"],["buttons","","type","submit","label",n,"mode","primary",3,"trigger","disabled","fullWidth"],["side-pane","",2,"width","59.5em"],[3,"password","validationListLength"]]},template:function(o,n){if(1&o){const _=e.RV6();e.j41(0,"div")(1,"app-login-pane",4)(2,"div",5)(3,"div")(4,"h2"),e.pXf(5,2),e.k0s(),e.j41(6,"p"),e.pXf(7,3),e.k0s()(),e.j41(8,"vc-form",6,0)(10,"vc-password",7,1),e.mxI("valueChange",function(a){return e.eBV(_),e.DH7(n.newPassword,a)||(n.newPassword=a),e.Njj(a)}),e.k0s(),e.j41(12,"div",8)(13,"vc-button",9),e.bIt("trigger",function(){return e.eBV(_),e.Njj(n.setUserPassword())}),e.k0s()()()(),e.j41(14,"div",10),e.nrm(15,"app-password-validate",11),e.k0s()()()}2&o&&(e.xc7("width","59.2rem"),e.R7$(8),e.Y8G("showPrimaryButton",!1)("showSecondaryButton",!1),e.R7$(2),e.Y8G("showVisibleButton",!0)("required",!0)("customValidation",n.validatePassword),e.R50("value",n.newPassword),e.Y8G("maxLength",200),e.R7$(3),e.Y8G("disabled",(null==n.newPassword?null:n.newPassword.trim().length)<1||n.formInvalid||n.formSubmitted)("fullWidth",!0),e.R7$(2),e.Y8G("password",n.newPassword)("validationListLength",7))},dependencies:[L.j,l.Qp,l.s2,l.n8,N],styles:["[_nghost-%COMP%] .er[_ngcontent-%COMP%]{display:table;font-size:14px;margin:0 0 1.3em;text-align:left}[_nghost-%COMP%] .er.not-allowed[_ngcontent-%COMP%]{color:var(--error-color)}[_nghost-%COMP%] .er.allowed[_ngcontent-%COMP%]{color:var(--success-color)}[_nghost-%COMP%] .er[_ngcontent-%COMP%] I[_ngcontent-%COMP%]{display:table-cell;padding:0 1.3em 0 0;vertical-align:top}[_nghost-%COMP%] .er[_ngcontent-%COMP%] SPAN[_ngcontent-%COMP%]{color:var(--text-primary);display:table-cell;float:left;padding:0}[_nghost-%COMP%] H5[_ngcontent-%COMP%]{margin:0 0 .5em}[_nghost-%COMP%] P[_ngcontent-%COMP%]{font-size:16px;line-height:24px}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%]{border-color:#00000014;border-style:solid;border-width:1px;background:#00000005;min-height:24.8em;padding:1.6em 2.5em;position:relative;width:50em}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{bottom:2em;position:absolute;width:calc(100% - 5em)}"]}
1)}return i})(),fe=(()=>{class i{constructor(t,o,n,_){this.userAccountService=t,this.route=o,this.bannerService=n,this.router=_,this.passwordEmailRequestSuccess=$localize`:@@REISSUE_PASSWORD.MESSAGE_SUCCESS:Password successfully reissued.`,this.dismiss=$localize`:@@ERROR.DISMISS:Dismiss`,this.formSubmitted=!1}ngOnInit(){this.token=this.route.snapshot.paramMap.get("token")}resendPasswordEmail(){this.formSubmitted=!0,this.userAccountService.reissuePasswordEmail(this.token).subscribe({next:()=>{this.bannerService.open(c.x1.success,this.passwordEmailRequestSuccess,[this.dismiss]),this.router.navigate(["/login/portal"])}})}static#e=this.\u0275fac=function(o){return new(o||i)(e.rXU(c.wf),e.rXU(O.nX),e.rXU(c._B),e.rXU(O.Ix))};static#n=this.\u0275cmp=e.VBU({type:i,selectors:[["app-reissue-password"]],decls:10,vars:3,consts:()=>{let t,o;return t=$localize`:@@REISSUE_PASSWORD.BUTTONâf6fb577c2bf433f2b8a4425cbc37b795661bab8câ832879131692479185:Re-send`,o=$localize`:@@REISSUE_PASSWORD.CONTENTâ0f9f4b577fc77b9c5a1076645b582b1fa19088c8â8639100732523294711: Due to security reasons, this link has expired. Click the below button to re-send the email again. `,[o,["main-pane","",1,"main-pane","vc-grid-layout"],[1,"col-12"],[1,"vc-flex","justify-content-center"],["svgIcon","login:email-sent"],["label",t,3,"trigger","disabled"]]},template:function(o,n){1&o&&(e.j41(0,"div")(1,"app-login-pane")(2,"div",1)(3,"div",2)(4,"div",3),e.nrm(5,"mat-icon",4),e.k0s(),e.j41(6,"p"),e.pXf(7,0),e.k0s(),e.j41(8,"div",3)(9,"vc-button",5),e.bIt("trigger",function(){return n.resendPasswordEmail()}),e.k0s()()()()()()),2&o&&(e.xc7("max-width","28.8rem"),e.R7$(9),e.Y8G("disabled",n.formSubmitted))},dependencies:[M.An,l.Qp,N],styles:["[_nghost-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:65px;margin:0 0 1.3em;width:65px}[_nghost-%COMP%] P[_ngcontent-%COMP%]{margin:0 0 2.5em!important;min-height:4em;text-align:center}[_nghost-%COMP%] BUTTON[_ngcontent-%COMP%]{margin:0 1.2em}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%]{padding:1.7em 2.5em}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] BUTTON[_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%] .justify-content-center[_ngcontent-%COMP%]{justify-content:center}"]})}return i})();var Ae=s(56977),he=s(21413),Le=s(94599);const be=[{path:"",resolve:{IconsRegistryResolver:Me},children:[{path:"",redirectTo:"portal",pathMatch:"full"},{path:"portal",component:K,children:[{path:"",component:_e,title:$localize`:@@LOGIN.LOGIN.PAGE_TITLE:Login`},{path:"registration/:token",component:pe,title:$localize`:@@REGISTRATION.PAGE_TITLE:Update password`},{path:"first-registration",component:le,title:$localize`:@@FIRST_REGISTRATION.PAGE_TITLE:Register`},{path:"recover-username",component:Ce,title:$localize`:@@RECOVER_USERNAME.PAGE_TITLE:Recover username`},{path:"recover-password",component:ge,title:$localize`:@@RECOVER_PASS.PAGE_TITLE:Recover password`},{path:"expired-password",component:Se,title:$localize`:@@CHANGE_PASSWORD.EXPIRED.PAGE_TITLE:Password expired`},{path:"reissue-password/:token",component:fe,title:$localize`:@@REISSUE_PASSWORD.PAGE_TITLE:Reissue password`},{path:"maintenance",component:ue,title:$localize`:@@SYSTEM_MAINTENANCE.PAGE_TITLE:System Maintenance`},{path:"mfa-verify",component:(()=>{class i{constructor(t,o,n,_,r){this._authService=t,this._bannerService=o,this._formServerErrorService=n,this.mfaService=_,this.router=r,this.submissionError=$localize`:@@MFA.INVALID_CODE:Invalid code`,this.dismiss=$localize`:@@ERROR.DISMISS:Dismiss`,this._unsubscribe$=new he.B,this.formSent=!1,this.formSubmitted=!1}ngOnInit(){}onSubmit(t){if(!t.submit())return!1;this.formSubmitted=!0,this._authService.MFALogin(this.verificationCodeValue).pipe((0,Ae.Q)(this._unsubscribe$)).subscribe({next:o=>{const n=this._authService?.getCmSession?.mfaRequired;this.mfaService.setMfaEnabled(n),this.formSent=!0,this.formSubmitted=!1},error:o=>{this.formSubmitted=!1,o&&this._bannerService.open(c.x1.error,this.submissionError,[this.dismiss]),this._formServerErrorService.setValue({verificationCodeMFA:this.submissionError})}})}backToLogin(){this.formSent=!1,this.router.navigate(["/portal"])}ngOnDestroy(){this._unsubscribe$.next(!0),this._unsubscribe$.complete()}static#e=this.\u0275fac=function(o){return new(o||i)(e.rXU(c.uR),e.rXU(c._B),e.rXU(c.Z),e.rXU(Le.W),e.rXU(O.Ix))};static#n=this.\u0275cmp=e.VBU({type:i,selectors:[["app-verify-mfa"]],decls:16,vars:13,consts:()=>{let t,o,n,_,r;return t=$localize`:@@MFA.FORM_INPUTâ63ba3300343526771d845e884041c5f49c2da9d9â3950684299039506417:Verification code`,o=$localize`:@@MFA.SUBMITâ71c77bb8cecdf11ec3eead24dd1ba506573fa9cdâ935187492052582731:Submit`,n=$localize`:@@MFA.RETURNâbdca963a149a6f2c95fecc57cbcdf0b390a64449â3084686770297988088:Return to login`,_=$localize`:@@MFA.TITLEâ9d73394cacb96b2a0bf0d7da9496abbe50e6fa05â3704805259228046502:Get your co
1de`,r=$localize`:@@MFA.CONTENTâa4b88ae2be0edf322300bea921b18b2e8c22d0a2â7785488778913146991: Enter the 6-digit code generated by your authenticator app `,[["verificationForm",""],_,r,["main-pane","",1,"main-pane"],[1,"vc-grid-layout"],["focusElement","",3,"tabIndex"],[3,"showPrimaryButton","showSecondaryButton"],["label",t,3,"valueChange","value","required","requiredText"],[1,"actions","vc-grid-layout"],["buttons","","type","submit","label",o,"mode","primary",3,"trigger","disabled","fullWidth"],[1,"vc-grid-layout","vc-center","col-12"],["mode","text","label",n,3,"trigger","showOpenInNewWindow"]]},template:function(o,n){if(1&o){const _=e.RV6();e.j41(0,"div")(1,"app-login-pane")(2,"div",3)(3,"div",4)(4,"h2",5),e.pXf(5,1),e.k0s(),e.j41(6,"p"),e.pXf(7,2),e.k0s()(),e.j41(8,"vc-form",6,0)(10,"vc-input",7),e.nI1(11,"localizeByDynamicId"),e.mxI("valueChange",function(a){return e.eBV(_),e.DH7(n.verificationCodeValue,a)||(n.verificationCodeValue=a),e.Njj(a)}),e.k0s(),e.j41(12,"div",8)(13,"vc-button",9),e.bIt("trigger",function(){e.eBV(_);const a=e.sdS(9);return e.Njj(n.onSubmit(a))}),e.k0s(),e.j41(14,"div",10)(15,"vc-link",11),e.bIt("trigger",function(){return e.eBV(_),e.Njj(n.backToLogin())}),e.k0s()()()()()()()}2&o&&(e.xc7("max-width","29.8rem"),e.R7$(4),e.Y8G("tabIndex",0),e.R7$(4),e.Y8G("showPrimaryButton",!1)("showSecondaryButton",!1),e.R7$(2),e.R50("value",n.verificationCodeValue),e.Y8G("required",!0)("requiredText",e.bMT(11,11,"@@VALIDATION.IS_REQUIRED_TEXT")),e.R7$(3),e.Y8G("disabled",n.formSubmitted)("fullWidth",!0),e.R7$(2),e.Y8G("showOpenInNewWindow",!1))},dependencies:[I.a,l.Qp,l.s2,l.Sj,l.gH,N,h.A],styles:["[_nghost-%COMP%] mat-divider[_ngcontent-%COMP%]{height:100%}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%]{--button-primary-label: var(--login-button-primary-label);--button-primary-border-color: var(--login-button-primary-border-color);--button-primary-bg-1: var(--login-button-primary-bg1);--button-primary-bg-2: var(--login-button-primary-bg2);--button-primary-bg-hover: var(--login-button-primary-hover);padding:1.6em 2.5em}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{margin:0 0 1.4em;display:flex;justify-content:space-between;flex-direction:row}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{padding:0 12px 0 0}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]{height:inherit;padding:0;width:34px}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] FORM[_ngcontent-%COMP%] .mat-mdc-form-field[_ngcontent-%COMP%]{margin:0 0 16px}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] FORM[_ngcontent-%COMP%] BUTTON.mat-mdc-icon-button[_ngcontent-%COMP%]{color:var(--primary-600)}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] .firstRegistration[_ngcontent-%COMP%]{align-items:center;flex-direction:column;margin:1.7em 0 0;width:100%}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] .firstRegistration[_ngcontent-%COMP%] H5[_ngcontent-%COMP%]{color:var(--text-primary)}[_nghost-%COMP%] .main-pane.withAside[_ngcontent-%COMP%]{border-color:#00000014;border-style:solid;border-width:1px;background:#00000005;flex-direction:column;width:44.5em}[_nghost-%COMP%] .main-pane[_ngcontent-%COMP%] .vc-center[_ngcontent-%COMP%]{display:flex;justify-content:center;width:100%}[_nghost-%COMP%] .side-pane[_ngcontent-%COMP%]{padding:1.6em 2.5em;width:101.2em;flex:2 2 auto;box-sizing:border-box}[_nghost-%COMP%] .side-pane[_ngcontent-%COMP%] H3[_ngcontent-%COMP%]{margin:0 0 12px}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%]{align-content:flex-start;display:flex;flex-wrap:wrap;padding:1.4em 1em;width:calc(100% - 2em)}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{width:calc(100% - 10em)}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] P[_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] P[_ngcontent-%COMP%] A[_ngcontent-%COMP%]{text-decoration:underline}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] P[_ngcontent-%COMP%] A[_ngcontent-%COMP%]:hover{text-decoration:none}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{justify-content:flex-end;width:10em}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%] .right[_ngcontent-%COMP%] BUTTON[_ngcontent-%COMP%]{flex:0 1 auto!important;float:right}[_nghost-%COMP%] .downloadBanner[_ngcontent-%COMP%] .downloadBanner-content[_ngcontent-%COMP%] .right[_ngcontent-%COMP%] BUTTON[_ngcontent-%COMP%] MAT-ICON[_ngcontent-%COMP%]{margin:0 .3em 0 0}[_nghost-%COMP%] .login-page-form .vc-form-buttons{display:block!important;margin:0!important}"]})}return i})(),title:$localize`:@@MFA.PAGE_TITLE:Verify code`}]}]}];let ve=(()=>
1{class i{static#e=this.\u0275fac=function(o){return new(o||i)};static#n=this.\u0275mod=e.$C({type:i});static#t=this.\u0275inj=e.G2t({imports:[O.iI.forChild(be),O.iI]})}return i})();var we=s(37491),ye=s(88834),$e=s(53719),De=s(75351),Be=s(59042),Ve=s(14823),Ue=s(64342);let Xe=(()=>{class i{static#e=this.\u0275fac=function(o){return new(o||i)};static#n=this.\u0275mod=e.$C({type:i});static#t=this.\u0275inj=e.G2t({imports:[u.MD,we.be,ve,Ue.s,ye.Hl,De.hM,p.w,$e.RG,M.m_,Be.fS,A.PO,Ve.uc,T.X1,l.Qp,l.s2,l.Sj,l.n8,l.gH,l.mq]})}return i})()}}]);
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.