PageSourceSearch

https://www.onlineformportal.com/chunk-SGSAHDGM.js

js onlineformportal.com collected 2026-10-08 06:07:26 UTC 59,870 bytes, 1 lines download raw bytes

1import{a as st,b as ct,c as U,d as Ee,e as N}from"./chunk-VXQLRSDA.js";import{a as J}from"./chunk-REEAYYRD.js";import"./chunk-5U4YUDMS.js";import{c as B,d as K}from"./chunk-PI2FGLWU.js";import"./chunk-WNUVB2MS.js";import"./chunk-I3ED4F4H.js";import{$a as Qe,Aa as a,Ab as it,Ca as Q,Ea as Y,Eb as nt,F as Ie,Fa as A,G as O,Gb as ot,H as De,Ha as _e,Hb as rt,I as o,Ib as at,L as g,M as T,Mb as M,N as me,O as Fe,P as $,R as F,S as v,T as b,Ta as Ve,U as ge,Ua as ve,V as ue,W as fe,Wa as be,Wb as lt,X as C,Xa as $e,Y as n,Ya as We,Z as s,Za as ze,_ as f,_a as qe,a as V,ab as Ye,ba as he,ca as Ce,da as P,e as te,eb as Xe,fa as S,fb as Ke,g as I,gb as Je,ha as h,hb as Ze,i as Ge,ia as Ue,ib as Se,ja as Oe,jb as et,ka as we,la as re,m as ce,ma as c,na as p,o as He,oa as y,q as ee,qa as W,ra as z,s as de,sa as q,sb as H,t as pe,tb as X,u as Ae,ua as ae,ub as Me,vb as xe,wa as je,wb as tt,x,xb as w,y as E,za as r}from"./chunk-KJBFGHFF.js";import{c as Pe}from"./chunk-BUFNPMAW.js";var Z=(()=>{class i{constructor(e,t){this.languageService=e,this.translationService=t,this.languageInitialized=!1,this.isWagefiler=!1,this.isWagefiler=window.location.href.includes("wagefiler"),this.initializeLanguage().subscribe(()=>setTimeout(()=>this.languageInitialized=!0))}initializeLanguage(){return this.translationService.enableTranslation?te(!0):this.languageService.initializeLanguageBeforeLogin().pipe(I(()=>!0))}static{this.\u0275fac=function(t){return new(t||i)(g(B),g(w))}}static{this.\u0275dir=Fe({type:i})}}return i})();var ne=(()=>{class i{constructor(){this.isCollapsed=[!0,!0,!0,!0,!0,!0]}collapseHandler(e){this.isCollapsed=this.isCollapsed.map((t,l)=>l===e?!t:!0)}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=T({type:i,selectors:[["app-login-help-questions"]],decls:113,vars:122,consts:[["collapse","ngbCollapse"],["href","javascript:void(0)",3,"click"],[1,"mt-2",3,"ngbCollapseChange","ngbCollapse"],[1,"mt-2"]],template:function(t,l){if(t&1){let d=P();n(0,"div")(1,"a",1),S("click",function(){return l.collapseHandler(0)}),c(2),r(3,"translate"),r(4,"async"),s(),n(5,"div",2,0),q("ngbCollapseChange",function(m){return x(d),z(l.isCollapsed[0],m)||(l.isCollapsed[0]=m),E(m)}),n(7,"ul",2,0),q("ngbCollapseChange",function(m){return x(d),z(l.isCollapsed[0],m)||(l.isCollapsed[0]=m),E(m)}),n(9,"li"),c(10),r(11,"translate"),r(12,"async"),s(),n(13,"li"),c(14),r(15,"translate"),r(16,"async"),s(),n(17,"li"),c(18),r(19,"translate"),r(20,"async"),s()()()(),n(21,"div",3)(22,"a",1),S("click",function(){return l.collapseHandler(1)}),c(23),r(24,"translate"),r(25,"async"),s(),n(26,"div",2,0),q("ngbCollapseChange",function(m){return x(d),z(l.isCollapsed[1],m)||(l.isCollapsed[1]=m),E(m)}),c(28),r(29,"translate"),r(30,"async"),s()(),n(31,"div",3)(32,"a",1),S("click",function(){return l.collapseHandler(2)}),c(33),r(34,"translate"),r(35,"async"),s(),n(36,"div",2,0),q("ngbCollapseChange",function(m){return x(d),z(l.isCollapsed[2],m)||(l.isCollapsed[2]=m),E(m)}),n(38,"div"),c(39),r(40,"translate"),r(41,"async"),s(),n(42,"ol",3)(43,"li"),c(44),r(45,"translate"),r(46,"async"),s(),n(47,"li"),c(48),r(49,"translate"),r(50,"async"),s(),n(51,"li"),c(52),r(53,"translate"),r(54,"async"),s(),n(55,"li"),c(56),r(57,"translate"),r(58,"async"),s()()()(),n(59,"div",3)(60,"a",1),S("click",function(){return l.collapseHandler(3)}),c(61),r(62,"translate"),r(63,"async"),s(),n(64,"ul",2,0),q("ngbCollapseChange",function(m){return x(d),z(l.isCollapsed[3],m)||(l.isCollapsed[3]=m),E(m)}),n(66,"li"),c(67),r(68,"translate"),r(69,"async"),s(),n(70,"li"),c(71),r(72,"translate"),r(73,"async"),s()()(),he(74),n(75,"div",3)(76,"a",1),S("click",function(){return l.collapseHandler(4)}),c(77),r(78,"translate"),r(79,"async"),s(),n(80,"ul",2,0),q("ngbCollapseChange",function(m){return x(d),z(l.isCollapsed[4],m)||(l.isCollapsed[4]=m),E(m)}),n(82,"li"),c(83),r(84,"translate"),r(85,"async"),s(),n(86,"li"),c(87),r(88,"translate"),r(89,"async"),s(),n(90,"li"),c(91),r(92,"translate"),r(93,"async"),s(),n(94,"li"),c(95),r(96,"translate"),r(97,"async"),s(),n(98,"li"),c(99),r(100,"translate"),r(101,"async"),s()()(),n(102,"div",3)(103,"a",1),S("click",function(){return l.collapseHandler(5)}),c(104),r(105,"translate"),r(106,"async"),s(),n(107,"ul",2,0),q("ngbCollapseChange",function(m){return x(d),z(l.isCollapsed[5],m)||(l.isCollapsed[5]=m),E(m)}),n(109,"li"),c(110),r(111,"translate"),r(112,"async"),s()()(),Ce()}t&2&&(o(2),p(a(4,32,a(3,30,"$TRANSLATE.LOGIN_IN_HELP_PAGE.NO_VERIFICATION_CODE.HELP_HEADER"))),o(3),W("ngbCollapse",l.isCollapsed[0]),o(2),W("ngbCollapse",l.isCollapsed[0]),o(3),p(a(12,36,a(11,34,"$TRANSLATE.LOGIN_IN_HELP_PAGE.NO_VERIFICATION_CODE.STEP_1"))),o(4),p(a(16,40,a(15,38,"$TRANSLATE.LOGIN_IN_HELP_PAGE.NO_VERIFICATION_CODE.STEP_2"))),o(4),p(a(20,44,a(19,42,"$TRANSLATE.LOGIN_IN_HELP_PAGE.NO_VERIFICATION_CODE.STEP_3"))),o(5),p(a(25,48,a(24,46,"$TRANSLATE.LOGIN_IN_HELP_PAGE.INVALID_EMAIL.HELP_HEADER"))),o(3),W("ngbCollapse",l.isCollapsed[1]),o(2),y(" ",a(30,52,a(29,50,"$TRANSLATE.LOGIN_IN_HELP_PAGE.INVALID_EMAIL.STEP_1"))," "),o(5),p(a(35,56,a(34,54,"$TRANSLATE.LOGIN_IN_HELP_PAGE.FORGOT_PASSWORD.HELP_HEADER"))),o(3),W("ngbCollapse",l.isCollapsed[2]),o(3),p(a(41,60,a(40,58,"$TRANSLATE.LOGIN_IN_HELP_PAGE.FORGOT_PASSWORD.STEP_HEADER"))),o(5),p(a(46,64,a(45,62,"$TRANSLATE.LOGIN_IN_HELP_PAGE.FORGOT_PASSWORD.STEP_1"))),o(4),p(a(50,68,a(49,66,"$TRANSLATE.LOGIN_IN_HELP_PAGE.FORGOT_PASSWORD.STEP_2"))),o(4),p(a(54,72,a(53,70,"$TRANSLATE.LOGIN_IN_HELP_PAGE.FORGOT_PASSWORD.STEP_3"))),o(4),p(a(58,76,a(57,74,"$TRANSLATE.LOGIN_IN_HELP_PAGE.FORGOT_PASSWORD.STEP_4"))),o(5),p(a(63,80,a(62,78,"$TRANSLATE.LOGIN_IN_HELP_PAGE.LOCKED_OUT.HELP_HEADER"))),o(3),W("ngbCollapse",l.isCollapsed[3]),o(3),p(a(69,84,a(68,82,"$TRANSLATE.LOGIN_IN_HELP_PAGE.LOCKED_OUT.STEP_1"))),o(4),p(a(73,88,a(72,86,"$TRANSLATE.LOGIN_IN_HELP_PAGE.LOCKED_OUT.STEP_2"))),o(6),p(a(79,92,a(78,90,"$TRANSLATE.LOGIN_IN_HELP_PAGE.TIN.TYPE_SELECT"))),o(3),W("ngbCollapse",l.isCollapsed[4]),o(3),p(a(85,96,a(84,94,"$TRANSLATE.LOGIN_IN_HELP_PAGE.TIN.TYPE_SSN"))),o(4),p(a(89,100,a(88,98,"$TRANSLATE.LOGIN_IN_HELP_PAGE.TIN.TYPE_EIN"))),o(4),p(a(93,104,a(92,102,"$TRANSLATE.LOGIN_IN_HELP_PAGE.TIN.TYPE_SIN"))),o(4),p(a(97,108,a(96,106,"$TRANSLATE.LOGIN_IN_HELP_PAGE.TIN.TYPE_RQID"))),o(4),p(a(101,112,a(100,110,"$TRANSLATE.LOGIN_IN_HELP_PAGE.TIN.TYPE_APPLIED_FOR"))),o(5),p(a(106,116,a(105,114,"$TRANSLATE.LOGIN_IN_HELP_PAGE.COMPANY_CODE.WHAT_IS"))),o(3),W("ngbCollapse",l.isCollapsed[5]),o(3),p(a(112,120,a(111,118,"$TRANSLATE.LOGIN_IN_HELP_PAGE.COMPANY_CODE.CONTACT"))))},dependencies:[_e,ve,Ve,A,M],styles:["ul[_ngcontent-%COMP%]{padding-left:1.25rem}ol[_ngcontent-%COMP%]{padding-left:1rem}"]})}}return i})();function xt(i,_){i&1&&f(0,"app-hr-block-footer",11),i&2&&C("justifyContentCenter",!0)}function Et(i,_){if(i&1){let e=P();n(0,"div")(1,"div",0)(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4),c(6,"\xA0"),s(),n(7,"div",5)(8,"div",6)(9,"button",7),r(10,"async"),r(11,"async"),S("click",function(){x(e);let l=h();return E(l.onBack())}),c(12),r(13,"translate"),r(14,"async"),s(),n(15,"div",8)(16,"div",9)(17,"h1"),c(18),r(19,"translate"),r(20,"async"),s()(),n(21,"div",10),f(22,"app-login-help-questions"),s()()()(),n(23,"div",4),c(24,"\xA0"),s(),v(25,xt,1,1,"app-hr-block-footer",11),n(26,"div",12),f(27,"app-greatland-terms-footer"),s()()()()()()}if(i&2){let e,t,l=h();o(9),re("es",((e=a(10,7,l.translationService.getLanguage()))==null?null:e.localeCode)==="es")("fr",((t=a(11,9,l.translationService.getLanguage()))==null?null:t.localeCode)==="fr"),o(3),y(" ",a(14,13,a(13,11,"$TRANSLATE.LOGIN_IN_HELP_PAGE.BACK_TO_BUTTON_TEXT"))," "),o(6),p(a(20,17,a(19,15,"$TRANSLATE.LOGIN_IN_HELP_PAGE.PAGE_HEADER"))),o(7),b(l.enableHRBlockCouponPreference?25:-1)}}var dt=(()=>{class i extends Z{constructor(e,t,l){super(t,l),this.route=e,this.languageService=t,this.translationService=l,this.enableHRBlockCouponPreference=!0}ngOnInit(){this.route.queryParams.subscribe(e=>{"enableHRBlockCouponPreference"in e?this.enableHRBlockCouponPreference=e.enableHRBlockCouponPreference==="true":this.enableHRBlockCouponPreference=!0})}onBack(){window.close()}static{this.\u0275fac=function(t){return new(t||i)(g(H),g(B),g(w))}}static{this.\u0275cmp=T({type:i,selectors:[["app-login-help-page"]],standalone:!1,features:[$],decls:1,vars:1,consts:[[1,"login","d-flex","align-items-center"],[1,"container"],[1,"h-100","justify-content-center","align-items-center"],[1,"h-100","d-flex","flex-column"],[1,"d-flex","flex-grow-1"],[1,"d-flex","flex-column","align-items-center"],[1,"d-flex","flex-column","align-items-start"],["type","button",1,"btn","btn-primary","mb-3","back-to-login-button-style",3,"click"],[1,"card","mx-auto","max-width","p-1"],[1,"card-header","no-bottom-border"],[1,"card-section","no-bottom-border"],[3,"justifyContentCenter"],[1,"d-flex","align-items-center","justify-content-center","mb-2","px-2"]],template:function(t,l){t&1&&v(0,Et,28,19,"div"),t&2&&b(l.languageInitialized?0:-1)},dependencies:[U,ne,N,A,M],styles:[".container[_ngcontent-%COMP%]{width:100%;height:100vh;padding:0}h1[_ngcontent-%COMP%]{font-size:1.25rem}.row[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{padding-left:15px;padding-right:15px}.left[_ngcontent-%COMP%]{background:#0b1727;color:#fff}.left[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:60%}.left[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:18px;margin-bottom:0}.right[_ngcontent-%COMP%]{background-color:#edf2f9;color:#0b1727}.p-20[_ngcontent-%COMP%]{padding:20px}.back-to-login-button-style[_ngcontent-%COMP%]{max-width:150px}.back-to-login-button-style.fr[_ngcontent-%COMP%]{max-width:250px}
1.back-to-login-button-style.es[_ngcontent-%COMP%]{max-width:200px}"]})}}return i})();var Te=(()=>{class i{constructor(e){this.activeModal=e}static{this.\u0275fac=function(t){return new(t||i)(g(Ze))}}static{this.\u0275cmp=T({type:i,selectors:[["ng-component"]],decls:9,vars:0,consts:[[1,"modal-header"],["id","modalTitle",1,"modal-title"],["type","button","aria-label","Cancel",1,"btn-close",3,"click"],[1,"modal-body"],[1,"modal-footer","mt-1"],["type","button",1,"btn","btn-primary",3,"click"]],template:function(t,l){t&1&&(n(0,"div",0)(1,"h4",1),c(2,"Log In Help"),s(),n(3,"button",2),S("click",function(){return l.activeModal.dismiss("cancel")}),s()(),n(4,"div",3),f(5,"app-login-help-questions"),s(),n(6,"div",4)(7,"button",5),S("click",function(){return l.activeModal.dismiss("cancel")}),c(8,"Close"),s()())},dependencies:[ne],encapsulation:2})}}return i})();var yt=["dropdownButton"],Lt=["dropdownMenu"];function Tt(i,_){if(i&1&&(n(0,"div",7)(1,"div",15)(2,"div",16),f(3,"div",17),s()()()),i&2){let e=h(2);o(3),C("innerHTML",e.loginMessage,Ie)}}function Pt(i,_){if(i&1&&(n(0,"div",11)(1,"div",18)(2,"div",16),f(3,"div",19),s()()()),i&2){let e=h(2);o(3),C("innerHTML",e.loginMessage,Ie)}}function At(i,_){i&1&&(n(0,"p",31),c(1),r(2,"translate"),r(3,"async"),s()),i&2&&(o(),y(" ",a(3,3,a(2,1,"$TRANSLATE.LOGIN_PAGE.INACTIVITY_LOG_OUT"))," "))}function It(i,_){i&1&&(n(0,"p",31),c(1),r(2,"translate"),r(3,"async"),s()),i&2&&(o(),y(" ",a(3,3,a(2,1,"$TRANSLATE.LOGIN_PAGE.PASSWORD_UPDATED"))," "))}function Ot(i,_){if(i&1&&(n(0,"div",34),c(1),s()),i&2){let e=h(3);o(),y(" ",e.emailSubmitError," ")}}function wt(i,_){if(i&1&&(n(0,"div",54),c(1),s()),i&2){let e=h(4);o(),y(" ",e.companyCodeSubmitError," ")}}function Mt(i,_){if(i&1&&(n(0,"div"),f(1,"lib-company-code-input-control",53),r(2,"translate"),r(3,"async"),v(4,wt,2,1,"div",54),s()),i&2){let e=h(3);o(),C("displayName",ae(a(3,9,a(2,7,"$TRANSLATE.LOGIN_PAGE.COMPANY_CODE"))))("formGroup",e.fg)("showAsRequired",!1)("showAsOptional",!1)("showErrors",e.showErrors),o(3),b(e.companyCodeSubmitError?4:-1)}}function Bt(i,_){if(i&1){let e=P();n(0,"button",55,2),S("touchstart",function(l){x(e);let d=h(3);return E(d.toggleDropdown(l))}),f(2,"i",56),n(3,"span"),c(4),s()()}if(i&2){let e=h(3);F("aria-expanded",e.isLanguageDropdownOpen),o(3),F("lang",e.selectedLanguage.localeCode),o(),p(e.selectedLanguage.languageText)}}function Nt(i,_){if(i&1){let e=P();n(0,"button",57,2),S("click",function(l){x(e);let d=h(3);return E(d.toggleDropdown(l))})("keypress",function(l){x(e);let d=h(3);return E(d.toggleDropdown(l))}),f(2,"i",56),n(3,"span"),c(4),s()()}if(i&2){let e=h(3);F("aria-expanded",e.isLanguageDropdownOpen),o(3),F("lang",e.selectedLanguage.localeCode),o(),p(e.selectedLanguage.languageText)}}function kt(i,_){if(i&1){let e=P();n(0,"button",59),S("touchstart",function(l){x(e);let d=h().$implicit,u=h(3);return E(u.onLanguageSelect(l,d))}),n(1,"span"),c(2),s()()}if(i&2){let e=h().$implicit,t=h(3);re("selected",t.selectedLanguage.languageText===e.languageText),F("aria-selected",t.selectedLanguage.languageText===e.languageText),o(),F("lang",e==null?null:e.localeCode),o(),p(e==null?null:e.languageText)}}function Rt(i,_){if(i&1){let e=P();n(0,"button",60),S("click",function(l){x(e);let d=h().$implicit,u=h(3);return E(u.onLanguageSelect(l,d))})("keypress",function(l){x(e);let d=h().$implicit,u=h(3);return E(u.onLanguageSelect(l,d))}),n(1,"span"),c(2),s()()}if(i&2){let e=h().$implicit,t=h(3);re("selected",t.selectedLanguage.languageText===e.languageText),F("aria-selected",t.selectedLanguage.languageText===e.languageText),o(),F("lang",e==null?null:e.localeCode),o(),p(e==null?null:e.languageText)}}function Gt(i,_){if(i&1&&(n(0,"li",41),v(1,kt,3,5,"button",58)(2,Rt,3,5,"button",58),s()),i&2){let e=h(3);o(),b(e.isMobileDevice?1:2)}}function Ht(i,_){if(i&1&&(n(0,"a",45)(1,"span",50),c(2),r(3,"translate"),r(4,"async"),s(),n(5,"span",51),c(6),r(7,"translate"),r(8,"async"),s()()),i&2){let e=h(3);C("href",e.loginHelpUrl,O),o(2),y(" ",a(4,5,a(3,3,"$TRANSLATE.LOGIN_PAGE.TROUBLE_LOGGING_IN"))," "),o(4),p(a(8,9,a(7,7,"$TRANSLATE.BTN_OPENS_IN_NEW_WINDOW")))}}function Dt(i,_){if(i&1){let e=P();n(0,"a",61),S("click",function(){x(e);let l=h(3);return E(l.showLoginHelpModal())}),n(1,"span",50),c(2),r(3,"translate"),r(4,"async"),s()()}
1i&2&&(o(2),y(" ",a(4,3,a(3,1,"$TRANSLATE.LOGIN_PAGE.TROUBLE_LOGGING_IN"))," "))}function Ft(i,_){i&1&&f(0,"app-hr-block-footer",47),i&2&&C("justifyContentCenter",!0)("textCenter",!1)}function Ut(i,_){if(i&1){let e=P();n(0,"div",14)(1,"div",20)(2,"div",21)(3,"div",22),c(4,"\xA0"),s(),n(5,"div",23),f(6,"app-greatland-terms"),s(),n(7,"div",24)(8,"div",25)(9,"div",26)(10,"h1",27),c(11),r(12,"translate"),r(13,"async"),s()(),n(14,"div",28)(15,"form",29,0),S("ngSubmit",function(){x(e);let l=h(2);return E(l.onSubmit())}),f(17,"div",30),v(18,At,4,5,"p",31),v(19,It,4,5,"p",31),n(20,"div",32),f(21,"lib-email-input",33),r(22,"translate"),r(23,"async"),v(24,Ot,2,1,"div",34),s(),he(25),n(26,"div"),f(27,"lib-tin-tin-type-input-control",35),s(),v(28,Mt,5,11,"div"),Ce(),n(29,"div",36),r(30,"translate"),r(31,"async"),n(32,"div",37),c(33),r(34,"translate"),r(35,"async"),s(),n(36,"div",38),v(37,Bt,5,3,"button",39)(38,Nt,5,3,"button",39),n(39,"ul",40,1),ue(41,Gt,3,1,"li",41,ge),s()()()()(),n(43,"div",42)(44,"button",43),c(45),r(46,"translate"),r(47,"async"),s()()(),n(48,"div",44),v(49,Ht,9,11,"a",45)(50,Dt,5,5,"a",46),s()(),n(51,"div",22),c(52,"\xA0"),s(),v(53,Ft,1,2,"app-hr-block-footer",47),n(54,"div",48)(55,"span")(56,"a",49)(57,"span",50),c(58),r(59,"translate"),r(60,"async"),s(),n(61,"span",51),c(62),r(63,"translate"),r(64,"async"),s()(),n(65,"span"),c(66," /"),s(),n(67,"a",52)(68,"span",50),c(69),r(70,"translate"),r(71,"async"),s(),n(72,"span",51),c(73),r(74,"translate"),r(75,"async"),s()()()()()()()}if(i&2){let e=h(2);o(11),y(" ",a(13,30,a(12,28,"$TRANSLATE.LOGIN_PAGE.LOG_IN"))," "),o(4),C("formGroup",e.fg),o(3),b(e.timeout?18:-1),o(),b(e.updatePassword?19:-1),o(2),C("displayName",ae(a(23,34,a(22,32,"$TRANSLATE.LOGIN_PAGE.EMAIL"))))("formGroup",e.fg)("control",e.fg.controls.email)("showAsOptional",!1)("controlErrors",e.emailErrors)("showErrors",e.showErrors)("ignoreDisabledStyles",!0),o(3),b(e.emailSubmitError?24:-1),o(3),C("formGroup",e.fg)("showAsRequired",!1)("showAsOptional",!1)("showErrors",e.showErrors),o(),b(e.isGreatlandURL?28:-1),o(),F("aria-label",a(31,38,a(30,36,"$TRANSLATE.LOGIN_PAGE.SELECT_LANGUAGE"))),o(4),y(" ",a(35,42,a(34,40,"$TRANSLATE.LOGIN_PAGE.LANGUAGE_SELECT_LABEL"))," "),o(4),b(e.isMobileDevice?37:38),o(4),fe(e.langaugeSelectOptions),o(4),y(" ",a(47,46,a(46,44,"$TRANSLATE.BUTTON_TEXT.NEXT"))," "),o(4),b(e.isMobileDevice?50:49),o(4),b(e.enableHRBlockCouponPreference?53:-1),o(5),p(a(60,50,a(59,48,"$TRANSLATE.COPYRIGHT.PRIVACY_POLICY"))),o(4),p(a(64,54,a(63,52,"$TRANSLATE.BTN_OPENS_IN_NEW_WINDOW"))),o(7),p(a(71,58,a(70,56,"$TRANSLATE.COPYRIGHT.PRIVACY_COOKIES"))),o(4),p(a(75,62,a(74,60,"$TRANSLATE.BTN_OPENS_IN_NEW_WINDOW")))}}function jt(i,_){if(i&1&&(n(0,"div",3)(1,"div",4)(2,"div",5)(3,"div",6),v(4,Tt,4,1,"div",7),n(5,"div",8),f(6,"img",9),n(7,"p"),c(8),r(9,"translate"),r(10,"async"),s()()()()(),n(11,"div",10),f(12,"img",9),n(13,"span"),c(14),r(15,"translate"),r(16,"async"),s(),v(17,Pt,4,1,"div",11),s(),n(18,"div",12)(19,"div",13),v(20,Ut,76,64,"div",14),s()()()),i&2){let e=h();o(),C("ngStyle",e.sideBarStyle),o(3),b(e.loginMessage?4:-1),o(2),C("alt",ae(e.logoFile?"":"Yearli Portal logo"))("src",e.logoFile?e.logoFile:"assets/images/portal-logo-light.svg",O),o(2),p(a(10,16,a(9,14,"$TRANSLATE.LOGIN_PAGE.LOGO_TEXT"))),o(3),C("ngStyle",e.sideBarStyle),o(),C("alt",ae(e.logoFile?"":"Yearli Portal logo"))("src",e.logoFile?e.logoFile:"assets/images/portal-logo-light.svg",O),o(2),p(a(16,20,a(15,18,"$TRANSLATE.LOGIN_PAGE.LOGO_TEXT"))),o(3),b(e.loginMessage?17:-1),o(),C("ngStyle",e.mainBackgroundStyle),o(2),b(e.isAlreadyActive?-1:20)}}var mt=(()=>{class i{constructor(e,t,l,d,u,m,D,R,G,L,j,Re,oe){this.fb=e,this.route=t,this.authUserService=l,this.formService=d,this.router=u,this.ngbModalService=m,this.deviceService=D,this.companyInfoService=R,this.authAccountService=G,this.languageService=L,this.translationService=j,this.ariaLiveService=Re,this.cd=oe,this.fg=this.fb.group({email:this.formService.getRequiredEmailControl(),tinTINType:new ze(null,be.required),companyCode:this.formService.getRequiredInputControl()}),this.timeout=!1,this.updatePassword=!1,this.redirectToRenew=!1,this.showErrors=!1,this.loginMessage="",this.emailErrors=this.formService.getRequiredEmailErrors(),this.subscriptions=new V,this.isContentVisible=!1,this.sideBarStyle={}
1,this.mainBackgroundStyle={},this.enableHRBlockCouponPreference=!0,this.langaugeSelectOptions=this.languageService.getLanguages(),this.selectedLanguage=this.languageService.getDefaultLanguage(),this.isGreatlandURL=!0,this.termsOfUseLink="",this.emailSubmitError=null,this.companyCodeSubmitError=null,this.isLanguageDropdownOpen=!1,this.language={languageText:"English",localeCode:"en",isDefault:!0},this.requiredCustomUrl=null,this.initialLoginUrl="/login",this.onDocumentClickHandler=bt=>{this.dropdownMenu.nativeElement.classList.contains("show")&&this.toggleDropdown(bt,!1)},this.isMobileDevice=this.deviceService.isMobileDevice()}ngOnInit(){let t=new URLSearchParams(window.location.search).get("customUrl");t&&t!=="login"&&(this.requiredCustomUrl=t),this.initialLoginUrl=window.location.pathname+window.location.search;let l=window.location.pathname+window.location.search;history.pushState(null,"",l),this.authAccountService.onLogoutHandler(),localStorage.removeItem("nextLoginEmail"),localStorage.removeItem("loggedInUserEmail"),this.subscriptions.add(this.companyInfoService.customUrl$.subscribe(L=>{this.customUrl=L;let j=this.router.url,oe=this.router.parseUrl(j).queryParams.customUrl;this.isGreatlandURL=!(oe&&oe!=="login"),this.updateCompanyCodeControl(),this.customUrl&&this.customUrl!=="login"&&(this.requiredCustomUrl=this.customUrl),(!j.startsWith("/login")||this.customUrl&&this.customUrl!=="login"&&oe!==this.customUrl)&&(this.customUrl&&this.customUrl!=="login"?this.router.navigate(["/login"],{queryParams:{customUrl:this.customUrl}}):this.router.navigate(["/login"]))})),this.subscriptions.add(this.route.queryParamMap.subscribe(L=>{this.timeout=L.get("timeout")==="true",this.updatePassword=L.get("updatepassword")==="true"}));let d=this.router.url,m=this.route.snapshot.queryParams.customUrl?.trim()||null,D=this.router.url.split("?")[0];this.loginHelpUrl=`${D}/help`,d.includes("/home")&&(m?this.router.navigate(["/login"],{queryParams:{customUrl:m}}):this.router.navigate(["/login"])),this.subscriptions.add(Ge([this.loadCompanyInfo(),this.initializePage()]).subscribe(([L,j])=>{L&&j&&(this.isContentVisible=!0,this.cd.detectChanges())}));let R=localStorage.getItem("nextLoginEmail");R&&(this.isAlreadyActive=!0,localStorage.removeItem("nextLoginEmail"),this.language&&this.subscriptions.add(this.authUserService.checkUserAccount(R,this.language.localeCode,"","","",m).subscribe(L=>{if(L.success)localStorage.setItem("loggedInUserEmail",R),localStorage.setItem("justLoggedIn","true"),document.location.href=L.result;else{if(L.result==="access-disabled"){this.router.navigate(["/login/access-disabled"],{queryParams:{type:"mfa"}});return}this.submitErrorHandler(L.error),this.isAlreadyActive=!1}}))),this.subscriptions.add(this.translationService.getLanguage().subscribe(L=>{this.language=L,this.syncDocumentLanguage(L?.localeCode),this.translateSubmitErrors(),this.setEmailErrors()})),this.isMobileDevice?document.addEventListener("touchstart",this.onDocumentClickHandler):document.addEventListener("click",this.onDocumentClickHandler);let G=window.location.pathname+window.location.search;history.pushState(null,"",G),window.history.replaceState(null,"",G)}ngAfterViewInit(){[].slice.call(document.querySelectorAll(".dropdown-toggle")).map(function(t){return new xe(t)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.isMobileDevice?document.removeEventListener("touchstart",this.onDocumentClickHandler):document.removeEventListener("click",this.onDocumentClickHandler)}onPopState(e){if(this.requiredCustomUrl&&window.location.pathname.includes("/login")){let t=`/login?customUrl=${encodeURIComponent(this.requiredCustomUrl)}`;history.pushState(null,"",t),window.history.replaceState(null,"",t)}else if(window.location.pathname.includes("/login"))history.pushState(null,"",this.initialLoginUrl),window.history.replaceState(null,"",this.initialLoginUrl);else{let t=window.location.pathname+window.location.search;history.pushState(null,"",t)}}get f(){return this.fg.controls}toggleDropdown(e,t=!0){e.stopPropagation(),t&&e.preventDefault(),new xe(this.dropdownButton.nativeElement).toggle(),this.isLanguageDropdownOpen=this.dropdownMenu?.nativeElement?.classList.contains("show")??!1}onSubmit(){if(this.clearSubmitErrors(),this.showErrors=this.fg.invalid,this.showErrors){this.focusFirstInvalidInput();return}let e=encodeURIComponent(this.fg.controls.email.value),t=localStorage.getItem("loggedInUserEmail"),l=this.fg.controls.tinTINType?.value,d=l?.type??"",u=l?.value??"",m=this.fg.controls.companyCode.value??"",R=this.route.
1snapshot.queryParams.customUrl?.trim()||null;this.authUserService.checkUserAccount(e,this.language?.localeCode||"en",d,u,m,R).subscribe(G=>{if(G.success){if(localStorage.setItem("loggedInUserEmail",e),localStorage.setItem("justLoggedIn","true"),t&&t!==e){document.location.href=`/account/duplicatesigninsignout?next=login&email=${e}&redirect=${G.result}`,localStorage.setItem("nextLoginEmail",e);return}document.location.href=G.result}else{if(G.result==="access-disabled"){this.router.navigate(["/login/access-disabled"],{queryParams:{type:"mfa"}});return}this.submitErrorHandler(G.error)}})}setBackgroundColors(e,t){e&&(this.sideBarStyle={"background-color":e},this.mainBackgroundStyle={"background-color":t})}showLoginHelpModal(){let e=this.ngbModalService.open(Te,{ariaLabelledBy:"modalTitle",centered:!0,backdrop:"static"})}onLanguageSelect(e,t){this.cd.detectChanges(),this.toggleDropdown(e),this.isLanguageDropdownOpen=!1,t!==this.selectedLanguage&&(this.selectedLanguage=t,this.translationService.setLanguage(t).pipe(ce(1)).subscribe(l=>{let d=l||this.selectedLanguage;this.syncDocumentLanguage(d?.localeCode),this.focusLanguageDropdownToggle(),this.updateLanguageSwitchStatus(d)}))}focusLanguageDropdownToggle(){this.dropdownButton?.nativeElement?.focus()}updateLanguageSwitchStatus(e){let l=`${this.translationService.translate("$TRANSLATE.LOGIN_PAGE.LANGUAGE_SWITCHED_TO","recipientapp")} ${e?.languageText||""}`.trim();this.ariaLiveService.updateAccessibilityStatus(l)}syncDocumentLanguage(e){let t=e?.trim().toLowerCase()||this.selectedLanguage.localeCode||"en";document.documentElement.setAttribute("lang",t),document.getElementById("accessibilityStatus")?.setAttribute("lang",t)}submitErrorHandler(e){switch(e){case"incorrect_email":this.submitEmailErrorHandler();break;case"invalid_company_code":this.submitCompanyCodeErrorHandler();break}}translateSubmitEmailError(){this.emailSubmitError=this.translationService.translate("$TRANSLATE.LOGIN_PAGE.INVALID_EMAIL_ERROR","recipientapp")}translateSubmitCompanyCodeError(){this.companyCodeSubmitError=this.translationService.translate("$TRANSLATE.LOGIN_PAGE.INVALID_COMPANY_CODE_ERROR","recipientapp")}submitEmailErrorHandler(){this.translateSubmitEmailError(),this.fg.controls.email.setErrors({incorrect:!0}),this.showErrors=!0,this.syncSubmitErrorDescriptions(),this.focusFirstInvalidInput("email")}submitCompanyCodeErrorHandler(){this.translateSubmitCompanyCodeError(),this.fg.controls.companyCode.setErrors({invalid:!0}),this.showErrors=!0,this.syncSubmitErrorDescriptions(),this.focusFirstInvalidInput("companyCode")}translateSubmitErrors(){this.emailSubmitError&&this.translateSubmitEmailError(),this.companyCodeSubmitError&&this.translateSubmitCompanyCodeError()}clearSubmitErrors(){this.emailSubmitError=null;let e=this.fg.get("email");if(e&&e.errors){let l=e.errors,{incorrect:u}=l,m=Pe(l,["incorrect"]);e.setErrors(Object.keys(m).length?m:null)}this.companyCodeSubmitError=null;let t=this.fg.get("companyCode");if(t&&t.errors){let d=t.errors,{invalid:u}
1=d,m=Pe(d,["invalid"]);t.setErrors(Object.keys(m).length?m:null)}this.syncSubmitErrorDescriptions()}loadCompanyInfo(){return this.customUrl||this.customUrl.trim()!==""?this.companyInfoService.fetchCompanyLoginInfo(this.customUrl).pipe(ee(e=>{if(e){this.sideBarColor=e.customThemeSideNavColor?e.customThemeSideNavColor:"#0B1727",this.mainBackgroundColor=e.customThemeMainColor?e.customThemeMainColor:"#EDF2F9",this.loginMessage=e.loginMessage?e.loginMessage.replace(/ /g," "):"",this.logoFile=e.logoFile?e.logoFile:"",this.enableHRBlockCouponPreference=e.enableHRBlockCoupon??!0,this.setBackgroundColors(this.sideBarColor,this.mainBackgroundColor);let t=this.router.url.split("?")[0];if(this.enableHRBlockCouponPreference)this.loginHelpUrl=`${t}/help`;else{let l=this.router.createUrlTree(["/login/help"],{queryParams:{enableHRBlockCouponPreference:"false"}});this.loginHelpUrl=this.router.serializeUrl(l)}}}),I(()=>!0)):(this.authAccountService.gotoLogin(),te(!0))}initializePage(){return this.setupFormValidators(),this.languageService.initializeLanguageBeforeLogin().pipe(ee(e=>{this.selectedLanguage=e||this.languageService.getDefaultLanguage(),this.setEmailErrors()}),I(()=>!0))}setupFormValidators(){this.fg.get("tinTINType")?.setValidators(be.required),this.fg.get("tinTINType")?.enable(),this.fg.get("tinTINType")?.updateValueAndValidity(),this.updateCompanyCodeControl(),this.fg.get("tinTINType")?.setValue({type:"",value:""})}setEmailErrors(){this.emailErrors=[{validator:"required",message:this.translationService.translate("INPUT_ERRORS.EMAIL.REQUIRED","common")},{validator:"pattern",message:this.translationService.translate("INPUT_ERRORS.EMAIL.INVALID","common")},{validator:"minlength",message:this.translationService.translate("INPUT_ERRORS.EMAIL.TOO_SHORT","common")}]}updateCompanyCodeControl(){let e=this.fg.get("companyCode");this.isGreatlandURL?(e?.setValidators(be.required),e?.enable()):(e?.clearValidators(),e?.disable(),e?.setValue("")),e?.updateValueAndValidity()}focusFirstInvalidInput(e){setTimeout(()=>{let t=e&&this.fg.get(e)?.invalid?e:Object.keys(this.fg.controls).find(d=>{let u=this.fg.get(d);return!!(u?.enabled&&u.invalid)});(t?this.findFocusableElementForControl(t):null)?.focus()})}syncSubmitErrorDescriptions(){this.syncControlDescribedBy("email","emailSubmitError",!!this.emailSubmitError),this.syncControlDescribedBy("companyCode","companyCodeSubmitError",!!this.companyCodeSubmitError)}syncControlDescribedBy(e,t,l){let d=this.findFocusableElementForControl(e);if(!d)return;let u=(d.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean).filter(m=>m!==t);if(l&&u.push(t),u.length){d.setAttribute("aria-describedby",u.join(" "));return}d.removeAttribute("aria-describedby")}findFocusableElementForControl(e){let t=document.querySelector(`#loginForm [formControlName="${e}"]`);if(t&&this.isFocusableElement(t))return t;let d={email:'lib-email-input[controlName="email"]',tinTINType:'lib-tin-tin-type-input-control[controlName="tinTINType"]',companyCode:'lib-company-code-input-control[controlName="companyCode"]'}[e];if(!d)return null;let u=document.querySelector(`#loginForm ${d}`);if(!u)return null;let D={tinTINType:["input#tinInput:not([disabled])",'.tin-input-wrapper input:not([type="hidden"]):not([disabled])','input:not([type="hidden"]):not([disabled])',"button.dropdown-toggle:not([disabled])"]}[e]??[];for(let L of D){let j=u.querySelector(L);if(j)return j}let R=['input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])","button:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(", ");return u.querySelector(R)}isFocusableElement(e){if(e.hasAttribute("disabled"))return!1;let t=e.tagName.toLowerCase(),l=["input","select","textarea","button"].includes(t),d=e.hasAttribute("tabindex")&&e.getAttribute("tabindex")!=="-1";return l||d}static{this.\u0275fac=function(t){return new(t||i)(g(Xe),g(H),g(st),g(nt),g(X),g(Se),g(tt),g(J),g(K),g(B),g(w),g(lt),g(Q))}}static{this.\u0275cmp=T({type:i,selectors:[["app-login"]],viewQuery:function(t,l){if(t&1&&Ue(yt,5)(Lt,5),t&2){let d;
vendor: 2,685 bytes, line 1
1Oe(d=we())&&(l.dropdownButton=d.first),Oe(d=we())&&(l.dropdownMenu=d.first)}},hostBindings:function(t,l){t&1&&S("popstate",function(u){return l.onPopState(u)},De)},inputs:{customUrl:"customUrl"},standalone:!1,decls:1,vars:1,consts:[["form","ngForm"],["dropdownMenu",""],["dropdownButton",""],["aria-labelledby","loginHeading",1,"row"],["id","loginSideBackground",1,"d-none","d-md-flex","d-lg-flex","d-xl-flex","col-md-6","col-lg-6","left",3,"ngStyle"],[1,"container","h-100"],[1,"row","h-100","position-relative"],["id","loginMessageCard",1,"col-12"],[1,"col-md-5","col-lg-5","mx-auto","d-flex","flex-column","justify-content-center"],[1,"mb-1",3,"src","alt"],["id","mobileHeaderBackground",1,"d-sm-flex","d-md-none","d-flex","flex-column","align-items-center","text-center","p-20","left",3,"ngStyle"],["id","loginMessageCardMobile",1,"col-12"],["id","loginBackground",1,"col-sm-12","col-md-6","col-lg-6","right",3,"ngStyle"],[1,"login","d-flex","align-items-center"],[1,"container"],[1,"card",2,"background-color","#242f3d","color","white"],[1,"card-body",2,"font-size","12px"],["id","loginMessageDiv","role","status","aria-live","polite","aria-atomic","true",3,"innerHTML"],[1,"card",2,"background-color","#242f3d","color","white","margin-top","1rem"],["id","loginMessageMobileDiv","role","status","aria-live","polite","aria-atomic","true",3,"innerHTML"],[1,"h-100","justify-content-center","align-items-center"],[1,"h-100","d-flex","flex-column"],[1,"d-flex","flex-grow-1"],[1,"d-flex","mb-2","mx-auto","terms","info-links"],[1,"justify-content-center"],[1,"card","mx-auto","max-width"],[1,"card-header","no-bottom-border"],["id","loginHeading"],[1,"card-body"],["id","loginForm","aria-describedby","loginStatusMessages",1,"row","g-3",3,"ngSubmit","formGroup"],["id","loginStatusMessages","aria-live","polite","aria-atomic","true",1,"visually-hidden"],["role","status","aria-live","polite","aria-atomic","true",1,"header-msg-blue"],[1,"col-md-12"],["controlName","email","autoComplete","email","aria-describedby","emailExample",3,"formGroup","displayName","control","showAsOptional","controlErrors","showErrors","ignoreDisabledStyles"],["id","emailSubmitError","role","alert","aria-live","assertive","aria-atomic","true",1,"is-invalid"],["controlName","tinTINType","displayName","TIN","formControlName","tinTINType",3,"formGroup","showAsRequired","showAsOptional","showErrors"],["role","group",1,"dropdown","language-select-container"],["id","languageSelectLabel"],[1,"language-select-dropdown-container"],["type","button","aria-haspopup","listbox","aria-controls","languageDropdownMenu","aria-labelledby","languageSelectLabel",1,"btn","dropdown-toggle","language-select-button"],["
1id","languageDropdownMenu","role","listbox","aria-labelledby","languageSelectLabel",1,"dropdown-menu","dropdown-select"],["role","none"],[1,"card-section","w-btn","no-bottom-border"],["type","submit","form","loginForm",1,"btn","btn-primary"],[1,"text-center","mt-3","terms","info-links"],["target","_blank","rel","noopener noreferrer",3,"href"],["href","javascript:void(0)","aria-haspopup","dialog"],[3,"justifyContentCenter","textCenter"],[1,"d-flex","align-items-center","justify-content-center","text-center","mt-4-5","mb-2","px-2","copyright"],["href","https://onlineformportal-help.zendesk.com/hc/en-us/articles/29252211192087-Privacy-Policy","target","_blank","rel","noopener noreferrer",1,"ms-1"],[1,"footer-underline"],[1,"visually-hidden"],["href","https://onlineformportal-help.zendesk.com/hc/en-us/articles/29252211192087-Privacy-Policy#cookie-policy","target","_blank","rel","noopener noreferrer",1,"ms-1"],["controlName","companyCode","formControlName","companyCode",3,"formGroup","displayName","showAsRequired","showAsOptional","showErrors"],["id","companyCodeSubmitError","role","alert","aria-live","assertive","aria-atomic","true",1,"is-invalid"],["type","button","aria-haspopup","listbox","aria-controls","languageDropdownMenu","aria-labelledby","languageSelectLabel",1,"btn","dropdown-toggle","language-select-button",3,"touchstart"],["aria-hidden","true",1,"bi","bi-globe-americas","globe-americas-icon","icon-padding","me-2"],["type","button","aria-haspopup","listbox","aria-controls","languageDropdownMenu","aria-labelledby","languageSelectLabel",1,"btn","dropdown-toggle","language-select-button",3,"click","keypress"],["type","button","role","option",1,"dropdown-item",3,"selected"],["type","button","role","option",1,"dropdown-item",3,"touchstart"],["type","button","role","option",1,"dropdown-item",3,"click","keypress"],["href","javascript:void(0)","aria-haspopup","dialog",3,"click"]],template:function(t,l){t&1&&v(0,jt,21,22,"div",3),t&2&&b(l.isContentVisible?0:-1)},dependencies:[Y,qe,$e,We,Ye,Qe,it,ot,rt,U,Ee,A,M],styles:["body[_ngcontent-%COMP%]{font-family:Segoe UI,SegoeUI,Helvetica Neue,Helvetica,Arial,sans-serif;background-attachment:fixed;background-color:#fff;background-position:center;background-repeat:no-repeat;background-size:cover;text-align:left;font:-apple-system-body}h1[_ngcontent-%COMP%]{font-size:1.25rem}a[_ngcontent-%COMP%]{text-decoration:none}a[_ngcontent-%COMP%]:focus-visible{outline:2px solid #0d6efd;outline-offset:3px;border-radius:2px}.card.max-width[_ngcontent-%COMP%]{max-width:400px}.container[_ngcontent-%COMP%]{width:100%;display:table;height:100vh;padding:0}.row[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{padding-left:15px;padding-right:15px}.vertical-center[_ngcontent-%COMP%]{min-height:100%;min-height:100vh;display:flex;align-items:center}.left[_ngcontent-%COMP%]{background:#0b1727;color:#fff}.left[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:60%}.left[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:18px;margin-bottom:0}.right[_ngcontent-%COMP%]{background-color:#edf2f9;color:#0b1727}.hr-block-img[_ngcontent-%COMP%]{width:50px;margin-right:10px}.dollar-sign[_ngcontent-%COMP%]{font-size:10px;vertical-align:top;line-height:18px}a.hr-block-link[_ngcontent-%COMP%]{text-decoration:underline;cursor:pointer;white-space:nowrap;color:#0263f3}a.hr-block-link[_ngcontent-%COMP%]:hover{color:#0263f3;text-decoration:none}a.hr-block-link[_ngcontent-%COMP%]:focus-visible{outline:2px solid #0d6efd;outline-offset:3px;border-radius:2px}.copyright[_ngcontent-%COMP%]{font-size:12px}.terms[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .copyright[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#000}.terms[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus-visible, .copyright[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus-visible{outline:2px solid #0d6efd;outline-offset:3px;border-radius:2px}.mt-4-5[_ngcontent-%COMP%]{margin-top:2.5rem}.pt-20[_ngcontent-%COMP%]{padding-top:20px}.p-20[_ngcontent-%COMP%]{padding:20px}.header-msg-blue[_ngcontent-%COMP%]{text-align:left;color:#0d6efd}#loginSideBackground[_ngcontent-%COMP%]{position:relative}#loginMessageCard[_ngcontent-%COMP%]{position:absolute;top:1rem;left:1rem;max-width:calc(100% - 2rem)}.language-select-container[_ngcontent-%COMP%]{margin-top:.625rem}.btn.language-select-button[_ngcontent-%COMP%]{margin-top:.625rem;border:solid;border-width:.063rem;border-color:var(--bs-border-color);border-radius:var(--bs-border-radius);background-color:#fff;width:160px;text-align:left}.btn.language-select-button[_ngcontent-%COMP%]:hover{border:solid!important;border-width:.063rem!important;border-color:var(--bs-border-color)!important;border-radius:var(--bs-border-radius)!important;background-color:#fff!important}.btn.language-select-button[_ngcontent-%COMP%]:focus-visible{outline:2px solid #0d6efd;outline-offset:3px;border-radius:var(--bs-border-radius);box-shadow:none!important}.btn.language-select-button[_ngcontent-%COMP%]:after{position:absolute;
1left:9.375rem;top:3.25rem}[_nghost-%COMP%]     lib-tin-tin-type-input-control .label-dropdown-only:after{align-self:center}.dropdown-item.selected[_ngcontent-%COMP%]{background-color:#0d6efd!important;color:#fff!important}.is-invalid[_ngcontent-%COMP%]{margin-top:.25rem;font-size:.875em;color:var(--bs-form-invalid-color)}@media(max-width:768px){#loginMessageCard[_ngcontent-%COMP%]{max-width:100%;left:0;right:0}}.footer-underline[_ngcontent-%COMP%]{text-decoration:underline}.info-links[_ngcontent-%COMP%]{font-size:.75rem}[_nghost-%COMP%]     .eye-toggle-btn:hover, [_nghost-%COMP%]     .static-button:hover{box-shadow:none!important;border:none!important}#loginMessageMobileDiv[_ngcontent-%COMP%], #loginMessageDiv[_ngcontent-%COMP%]{word-break:keep-all;overflow-wrap:break-word;white-space:normal}"]})}}return i})();function Vt(i,_){if(i&1){let e=P();n(0,"div",16)(1,"button",23),S("click",function(){x(e);let l=h(2);return E(l.onBack())}),c(2),r(3,"translate"),r(4,"async"),s()()}i&2&&(o(2),y(" ",a(4,3,a(3,1,"$TRANSLATE.BUTTON_TEXT.BACK"))," "))}function $t(i,_){if(i&1&&(n(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),f(5,"img",5),n(6,"p"),c(7),r(8,"translate"),r(9,"async"),s()()()()(),n(10,"div",6),f(11,"img",5),n(12,"p"),c(13),r(14,"translate"),r(15,"async"),s()(),n(16,"div",7)(17,"div",8)(18,"div",2)(19,"div",9)(20,"div",10)(21,"div",11),c(22,"\xA0"),s(),n(23,"div",12)(24,"div",13)(25,"div",14)(26,"h1"),c(27),r(28,"translate"),r(29,"async"),s()(),n(30,"div",15)(31,"p"),c(32),r(33,"translate"),r(34,"async"),s()(),v(35,Vt,5,5,"div",16),s()(),n(36,"div",17)(37,"a",18),f(38,"i",19),c(39,"\xA0"),n(40,"span",20),c(41),r(42,"translate"),r(43,"async"),s()()(),n(44,"div",11),c(45,"\xA0"),s(),f(46,"app-hr-block-footer",21),n(47,"div",22),f(48,"app-greatland-terms-footer"),s()()()()()()()),i&2){let e=h();o(),C("ngStyle",e.sideBarStyle),o(4),C("src",e.logoFile?e.logoFile:"assets/images/portal-logo-light.svg",O),o(2),p(a(9,13,a(8,11,"$TRANSLATE.LOGIN_PAGE.LOGO_TEXT"))),o(4),C("src",e.logoFile?e.logoFile:"assets/images/portal-logo-light.svg",O),o(2),p(a(15,17,a(14,15,"$TRANSLATE.LOGIN_PAGE.LOGO_TEXT"))),o(3),C("ngStyle",e.mainBackgroundStyle),o(11),p(a(29,21,a(28,19,"$TRANSLATE.LOCKED_ACCOUNT_PAGE.TITLE"))),o(5),p(a(34,25,a(33,23,"$TRANSLATE.LOCKED_ACCOUNT_PAGE.MESSAGE"))),o(3),b(e.isMfa?35:-1),o(6),p(a(43,29,a(42,27,"$TRANSLATE.LOGIN_PAGE.LOGIN_LINK"))),o(5),C("justifyContentCenter",!0)}}var gt=(()=>{class i extends Z{constructor(e,t,l,d,u,m){super(l,d),this.router=e,this.route=t,this.languageService=l,this.translationService=d,this.companyInfoService=u,this.cd=m,this.sideBarStyle={},this.mainBackgroundStyle={},this.enableHRBlockCouponPreference=!0,this.subscriptions=new V,this.isContentVisible=!1,this.isMfa=!0}onBack(){this.router.navigate(["/login"])}ngOnInit(){this.route.queryParams.subscribe(e=>{e.isMfa&&(this.isMfa=e.isMfa==="1"),e.sideNavBackgroundColor&&(this.sideBarColor=decodeURIComponent(e.sideNavBackgroundColor)||this.sideBarColor),e.mainBackgroundColor&&(this.mainBackgroundColor=decodeURIComponent(e.mainBackgroundColor)||this.mainBackgroundColor),e.logoFilePath&&(this.logoFilePath=decodeURIComponent(e.logoFilePath)||this.logoFilePath),this.setBackgroundColors(this.sideBarColor,this.mainBackgroundColor),this.subscriptions.add(this.loadLogo().subscribe(()=>setTimeout(()=>{this.isContentVisible=!0,this.cd.detectChanges()})))})}ngOnDestroy(){this.subscriptions.unsubscribe()}loadLogo(){return this.companyInfoService.loadCompanyLogo(this.logoFilePath).pipe(ee(e=>{this.logoFile=e||null}),I(()=>!0))}setBackgroundColors(e,t){e&&t&&(this.sideBarStyle={"background-color":e},this.mainBackgroundStyle={"background-color":t})}static{this.\u0275fac=function(t){return new(t||i)(g(X),g(H),g(B),g(w),g(J),g(Q))}}static{this.\u0275cmp=T({type:i,selectors:[["app-locked-account"]],standalone:!1,features:[$],decls:1,vars:1,consts:[[1,"row"],[1,"d-none","d-md-flex","d-lg-flex","d-xl-flex","col-md-6","col-lg-6","left",3,"ngStyle"],[1,"container"],[1,"row","h-100","justify-content-center","align-items-center"],[1,"col-md-5","col-lg-5","mx-auto"],["alt","logo",1,"mb-1",3,"src"],[1,"d-sm-flex","d-md-none","d-flex","flex-column","align-items-center","p-20","left","top-logo"],[1,"col-sm-12","col-md-6","col-lg-6","right",3,"ngStyle"],[1,"login","d-flex","align-items-center"],[1,"h-100","justify-content-center","align-items-center"],[1,"h-100","d-flex","flex-column"],[1,"d-flex","flex-grow-1"],[1,"justify-content-center"],[1,"card","mx-auto","max-width"],[1,"card-header","no-bottom-border"],[1,"card-body"],[1,"card-section","w-btn","no-border"],[1,"back-to-login-div","d-flex","align-items-center","justify-content-center","text-center","mt-28","mb-20","px-20"],["id","loginLink","target","_self","href","/",1,"back-to-login"],[1,"bi","bi-arrow-left-circle-fill"],[1,"footer-underline"],[3,"justifyContentCenter"],[1,"d-flex","align-items-center","justify-content-center","mb-2","px-2"],["name","back","type","button",1,"btn","btn-danger","me-2",3,"click"]],template:function(t,l){t&1&&v(0,$t,49,31,"div",0),t&2&&b(l.languageInitialized&&l.isContentVisible?0:-1)},dependencies:[Y,U,N,A,M],styles:["h1[_ngcontent-%COMP%]{font-size:1.25rem}.card.max-width[_ngcontent-%COMP%]{max-width:400px}.container[_ngcontent-%COMP%]{width:100%;display:table;height:100vh;padding:0}.row[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{padding-left:15px;padding-right:15px}.vertical-center[_ngcontent-%COMP%]{min-height:100%;min-height:100vh;display:flex;align-items:center}.left[_ngcontent-%COMP%]{background:#0b1727;color:#fff}.left[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:60%}.left[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:18px;margin-bottom:0}.right[_ngcontent-%COMP%]{background-color:#edf2f9;color:#0b1727}.pt-20[_ngcontent-%COMP%]{padding-top:20px}.p-20[_ngcontent-%COMP%]{padding:20px}.top-logo[_ngcontent-%COMP%]{text-align:center}.back-to-login[_ngcontent-%COMP%], .back-to-login[_ngcontent-%COMP%]   i[_ngcontent-%COMP%], .back-to-login[_ngcontent-%COMP%]   .footer-underline[_ngcontent-%COMP%]{color:#000!important}.back-to-login[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:inherit}.back-to-login[_ngcontent-%COMP%]:hover{color:#000!important;text-decoration:none}.back-to-login[_ngcontent-%COMP%]:focus-visible{color:#000!important;text-decoration:none;outline:2px solid #0d6efd;outline-offset:3px;border-radius:2px}.back-to-login[_ngcontent-%COMP%]:hover   .footer-underline[_ngcontent-%COMP%], .back-to-login[_ngcontent-%COMP%]:focus-visible   .footer-underline[_ngcontent-%COMP%]{text-decoration:underline;color:#000!important}.back-to-login-div[_ngcontent-%COMP%]{margin-top:15px}"]})}}return i})();var Wt=()=>[];function zt(i,_){if(i&1&&(n(0,"p"),c(1),s()),i&2){let e=_.$implicit;o(),p(e)}}var ut=(()=>{class i{constructor(e){this.authAccountService=e,this.ssoErrors$=this.authAccountService.getAuthAccount().pipe(I(t=>t?.ssoErrors??[]))}static{this.\u0275fac=function(t){return new(t||i)(g(K))}}static{this.\u0275cmp=T({type:i,selectors:[["app-sso-errors"]],standalone:!1,decls:32,vars:3,consts:[[1,"row"],[1,"d-none","d-md-flex","d-lg-flex","d-xl-flex","col-md-6","col-lg-6","left"],[1,"container"],[1,"row","h-100","justify-content-center","align-items-center"],[1,"col-md-5","col-lg-5","mx-auto"],["src","assets/images/portal-logo-light.svg","alt","logo",1,"mb-1"],[1,"d-sm-flex","d-md-none","d-flex","flex-column","align-items-center","p-20","left"],[1,"col-sm-12","col-md-6","col-lg-6","right"],[1,"login","d-flex","align-items-center"],[1,"h-100","justify-content-center","align-items-center"],[1,"h-100","d-flex","flex-column"],[1,"d-flex","flex-grow-1"],[1,"justify-content-center"],[1,"card","mx-auto","max-width"],[1,"card-header","no-bottom-border"],[1,"card-body"],[1,"d-flex","align-items-center","justify-content-center","mb-2","px-2"]],template:function(t,l){t&1&&(n(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),f(5,"img",5),n(6,"p"),c(7,"Secure Online Access To Your Tax Forms. Anytime. Anywhere."),s()()()()(),n(8,"div",6),f(9,"img",5),n(10,"span"),c(11,"Secure Online Access To Your Tax Forms. Anytime. Anywhere."),s()(),n(12,"div",7)(13,"div",8)(14,"div",2)(15,"div",9)(16,"div",10)(17,"div",11),c(18,"\xA0"),s(),n(19,"div",12)(20,"div",13)(21,"div",14)(22,"h1"),c(23,"Authentication 
1Error"),s()(),n(24,"div",15),ue(25,zt,2,1,"p",null,ge),r(27,"async"),s()()(),n(28,"div",11),c(29,"\xA0"),s(),n(30,"div",16),f(31,"app-greatland-terms-footer"),s()()()()()()()),t&2&&(o(25),fe(a(27,0,l.ssoErrors$)??je(2,Wt)))},dependencies:[N,A],styles:["body[_ngcontent-%COMP%]{font-family:Segoe UI,SegoeUI,Helvetica Neue,Helvetica,Arial,sans-serif;background-attachment:fixed;background-color:#fff;background-position:center;background-repeat:no-repeat;background-size:cover;text-align:left;font:-apple-system-body}h1[_ngcontent-%COMP%]{font-size:1.25rem}a[_ngcontent-%COMP%]{text-decoration:underline}.card.max-width[_ngcontent-%COMP%]{max-width:400px}.container[_ngcontent-%COMP%]{width:100%;display:table;height:100vh;padding:0}.row[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{padding-left:15px;padding-right:15px}.vertical-center[_ngcontent-%COMP%]{min-height:100%;min-height:100vh;display:flex;align-items:center}.left[_ngcontent-%COMP%]{background:#0b1727;color:#fff}.left[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:60%}.left[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:18px;margin-bottom:0}.right[_ngcontent-%COMP%]{background-color:#edf2f9;color:#0b1727}.pt-20[_ngcontent-%COMP%]{padding-top:20px}.p-20[_ngcontent-%COMP%]{padding:20px}.header-msg-blue[_ngcontent-%COMP%]{text-align:left;color:#0d6efd}"]})}}return i})();var ft=(()=>{class i{constructor(e,t){this.authAccountService=e,this.safeRedirectService=t}canActivate(e){let t=e.queryParamMap.get("domain_hint");return this.canActivateRoute(t)}canActivateChild(e){let t=e.queryParamMap.get("domain_hint");return this.canActivateRoute(t)}canActivateRoute(e){return this.authAccountService.getAuthAccount().pipe(He(t=>t?te(t):this.authAccountService.loadAuthAccount()),ce(1),I(t=>this.processAuthInfo(t,e)))}processAuthInfo(e,t){return e?.isAuthenticated?!0:(t?this.safeRedirectService.redirect("/api/Auth/SSOLogin",{domainHint:t,ssoRedirect:"ssoTestComponent"}):this.authAccountService.gotoLogin(),!1)}static{this.\u0275fac=function(t){return new(t||i)(Ae(K),Ae(ct))}}static{this.\u0275prov=de({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var ht=(()=>{class i{canDeactivate(){let e=window.location.pathname+window.location.search;return history.pushState(null,"",e),!0}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=de({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function qt(i,_){if(i&1&&(n(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),f(5,"img",5),n(6,"p"),c(7),r(8,"translate"),r(9,"async"),s()()()()(),n(10,"div",6),f(11,"img",5),n(12,"span"),c(13),r(14,"translate"),r(15,"async"),s()(),n(16,"div",7)(17,"div",8)(18,"div",2)(19,"div",9)(20,"div",10)(21,"div",11),c(22,"\xA0"),s(),n(23,"div",12)(24,"div",13)(25,"div",14)(26,"h1"),c(27),r(28,"translate"),r(29,"async"),s()(),n(30,"div",15)(31,"p"),c(32),r(33,"translate"),r(34,"async"),s()()()(),n(35,"div",11),c(36,"\xA0"),s(),n(37,"div",16),f(38,"app-greatland-terms-footer"),s()()()()()()()),i&2){let e=h();o(),C("ngStyle",e.sideBarStyle),o(4),C("src",e.logoFile?e.logoFile:"assets/images/portal-logo-light.svg",O),o(2),p(a(9,11,a(8,9,"$TRANSLATE.LOGIN_PAGE.LOGO_TEXT"))),o(3),C("ngStyle",e.sideBarStyle),o(),C("src",e.logoFile?e.logoFile:"assets/images/portal-logo-light.svg",O),o(2),p(a(15,15,a(14,13,"$TRANSLATE.LOGIN_PAGE.LOGO_TEXT"))),o(3),C("ngStyle",e.mainBackgroundStyle),o(11),p(a(29,19,a(28,17,"$TRANSLATE.SSO_LOGGED_OUT_PAGE.TITLE"))),o(5),p(a(34,23,a(33,21,"$TRANSLATE.SSO_LOGGED_OUT_PAGE.MESSAGE")))}}var Ct=(()=>{class i extends Z{constructor(e,t,l,d,u,m,D,R){super(u,m),this.router=e,this.companyInfoService=t,this.activatedRoute=l,this.ngbModalService=d,this.languageService=u,this.translationService=m,this.cd=D,this.authAccountService=R,this.currentUrl="",this.subscriptions=new V,this.enableHRBlockCouponPreference=!0,this.sideBarStyle={},this.mainBackgroundStyle={},this.isContentVisible=!1}ngOnInit(){this.authAccountService.onLogoutHandler(),this.subscriptions.add(this.activatedRoute.queryParams.subscribe(e=>{let t=e.customUrl;t&&(this.customUrl=t),this.customUrl&&this.companyInfoService.setCustomUrl(this.customUrl)})),this.currentUrl=this.router.url,this.companyInfoService.fetchCompanyLoginInfo(this.customUrl).subscribe(e=>{if(e){this.sideBarColor=e.customThemeSideNavColor?e.customThemeSideNavColor:"#0B1727",this.mainBackgroun
1dColor=e.customThemeMainColor?e.customThemeMainColor:"#EDF2F9",this.logoFile=e.logoFile?e.logoFile:"",this.enableHRBlockCouponPreference=e.enableHRBlockCoupon??!0,this.setBackgroundColors(this.sideBarColor,this.mainBackgroundColor);let t=this.router.url.split("?")[0];if(this.enableHRBlockCouponPreference)this.loginHelpUrl=`${t}/help`;else{let l=this.router.createUrlTree(["/login/help"],{queryParams:{enableHRBlockCouponPreference:"false"}});this.loginHelpUrl=this.router.serializeUrl(l)}}})}setBackgroundColors(e,t){e&&(this.sideBarStyle={"background-color":e},this.mainBackgroundStyle={"background-color":t}),this.isContentVisible=!0,this.cd.detectChanges()}showLoginHelpModal(){let e=this.ngbModalService.open(Te,{ariaLabelledBy:"modalTitle",centered:!0,backdrop:"static"})}ngOnDestroy(){this.subscriptions.unsubscribe()}static{this.\u0275fac=function(t){return new(t||i)(g(X),g(J),g(H),g(Se),g(B),g(w),g(Q),g(K))}}static{this.\u0275cmp=T({type:i,selectors:[["app-sso-logged-out"]],inputs:{customUrl:"customUrl"},standalone:!1,features:[$],decls:1,vars:1,consts:[[1,"row"],["
1id","logoutSideBackground",1,"d-none","d-md-flex","d-lg-flex","d-xl-flex","col-md-6","col-lg-6","left",3,"ngStyle"],[1,"container"],[1,"row","h-100","justify-content-center","align-items-center"],[1,"col-md-5","col-lg-5","mx-auto"],["alt","logo",1,"mb-1",3,"src"],["id","mobileHeaderBackground",1,"d-sm-flex","d-md-none","d-flex","flex-column","align-items-center","text-center","p-20","left","top-logo",3,"ngStyle"],["id","logoutBackground",1,"col-sm-12","col-md-6","col-lg-6","right",3,"ngStyle"],[1,"login","d-flex","align-items-center"],[1,"h-100","justify-content-center","align-items-center"],[1,"h-100","d-flex","flex-column"],[1,"d-flex","flex-grow-1"],[1,"justify-content-center"],[1,"card","mx-auto","max-width"],[1,"card-header","no-bottom-border"],[1,"card-body"],[1,"d-flex","align-items-center","justify-content-center","mb-2","px-2"]],template:function(t,l){t&1&&v(0,qt,39,25,"div",0),t&2&&b(l.isContentVisible&&l.languageInitialized?0:-1)},dependencies:[Y,N,A,M],styles:["body[_ngcontent-%COMP%]{font-family:Segoe UI,SegoeUI,Helvetica Neue,Helvetica,Arial,sans-serif;background-attachment:fixed;background-color:#fff;background-position:center;background-repeat:no-repeat;background-size:cover;text-align:left;font:-apple-system-body}h1[_ngcontent-%COMP%]{font-size:1.25rem}a[_ngcontent-%COMP%]{text-decoration:underline}.card.max-width[_ngcontent-%COMP%]{max-width:400px}.container[_ngcontent-%COMP%]{width:100%;display:table;height:100vh;padding:0}.row[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{padding-left:15px;padding-right:15px}.vertical-center[_ngcontent-%COMP%]{min-height:100%;min-height:100vh;display:flex;align-items:center}.left[_ngcontent-%COMP%]{background:#0b1727;color:#fff}.left[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:60%}.left[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:18px;margin-bottom:0}.right[_ngcontent-%COMP%]{background-color:#edf2f9;color:#0b1727}.pt-20[_ngcontent-%COMP%]{padding-top:20px}.p-20[_ngcontent-%COMP%]{padding:20px}.top-logo[_ngcontent-%COMP%]{text-align:center}#logoutSideBackground[_ngcontent-%COMP%]{position:relative}#logoutMessageCard[_ngcontent-%COMP%]{position:absolute;top:1rem;left:1rem;max-width:calc(100% - 2rem)}@media(max-width:768px){#logoutMessageCard[_ngcontent-%COMP%]{max-width:100%;left:0;right:0}}"]})}}return i})();function Qt(i,_){if(i&1){let e=P();n(0,"button",19),S("click",function(){x(e);let l=h(2);return E(l.onBack())}),c(1," Back "),s()}}function Yt(i,_){i&1&&f(0,"app-hr-block-footer",17),i&2&&C("justifyContentCenter",!0)("textCenter",!1)}function Xt(i,_){if(i&1&&(n(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),f(5,"img",5),n(6,"p"),c(7),r(8,"translate"),r(9,"async"),s()()()()(),n(10,"div",6),f(11,"img",5),n(12,"p"),c(13),r(14,"translate"),r(15,"async"),s()(),n(16,"div",7)(17,"div",8)(18,"div",2)(19,"div",9)(20,"div",10)(21,"div",11),c(22,"\xA0"),s(),n(23,"div",12)(24,"div",13)(25,"div",14)(26,"h1"),c(27),r(28,"translate"),r(29,"async"),s()(),n(30,"div",15)(31,"p"),c(32),r(33,"translate"),r(34,"async"),s(),v(35,Qt,2,0,"button",16),s()()(),n(36,"div",11),c(37,"\xA0"),s(),v(38,Yt,1,2,"app-hr-block-footer",17),n(39,"div",18),f(40,"app-greatland-terms-footer"),s()()()()()()()),i&2){let e=h();o(),C("ngStyle",e.sideBarStyle),o(4),C("src",e.logoFile?e.logoFile:"assets/images/portal-logo-light.svg",O),o(2),p(a(9,12,a(8,10,"$TRANSLATE.LOGIN_PAGE.LOGO_TEXT"))),o(4),C("src",e.logoFile?e.logoFile:"assets/images/portal-logo-light.svg",O),o(2),p(a(15,16,a(14,14,"$TRANSLATE.LOGIN_PAGE.LOGO_TEXT"))),o(3),C("ngStyle",e.mainBackgroundStyle),o(11),y(" ",a(29,20,a(28,18,e.isWagefiler?"$TRANSLATE.ACCESS_DISABLED_PAGE.WAGEFILER_TITLE":"$TRANSLATE.ACCESS_DISABLED_PAGE.TITLE"))," "),o(5),y(" ",a(34,24,a(33,22,e.isWagefiler?"$TRANSLATE.ACCESS_DISABLED_PAGE.WAGEFILER_MESSAGE":"$TRANSLATE.ACCESS_DISABLED_PAGE.MESSAGE"))," "),o(3),b(e.isMfa?35:-1),o(3),b(e.isMfa?38:-1)}}var _t=(()=>{class i extends Z{constructor(e,t,l,d,u,m,D){super(l,d),this.activatedRoute=e,this.router=t,this.languageService=l,this.translationService=d,this.route=u,this.companyInfoService=m,this.cd=D,this.isMfa=!1,this.subscriptions=new V,this.isWagefiler=!1,this.logoFilePath="assets/images/portal-logo-light.svg",this.sideBarStyle={}
1,this.mainBackgroundStyle={},this.isContentVisible=!1,this.isWagefiler=window.location.href.includes("wagefiler")}ngOnInit(){this.subscriptions.add(this.activatedRoute.queryParams.subscribe(e=>{let t=e.type;t&&(this.isMfa=t==="mfa")})),this.route.queryParams.subscribe(e=>{e.sideNavBackgroundColor&&(this.sideBarColor=decodeURIComponent(e.sideNavBackgroundColor)||this.sideBarColor,console.log(this.sideBarColor)),e.mainBackgroundColor&&(this.mainBackgroundColor=decodeURIComponent(e.mainBackgroundColor)||this.mainBackgroundColor),e.logoFilePath&&(this.logoFilePath=decodeURIComponent(e.logoFilePath)||this.logoFilePath),this.setBackgroundColors(this.sideBarColor,this.mainBackgroundColor),this.subscriptions.add(this.loadLogo().subscribe(()=>setTimeout(()=>{this.isContentVisible=!0,this.cd.detectChanges()})))})}loadLogo(){return this.companyInfoService.loadCompanyLogo(this.logoFilePath).pipe(ee(e=>{this.logoFile=e||null}),I(()=>!0))}setBackgroundColors(e,t){e&&t&&(this.sideBarStyle={"background-color":e},this.mainBackgroundStyle={"background-color":t})}ngOnDestroy(){this.subscriptions.unsubscribe()}onBack(){this.router.navigate(["/login"])}static{this.\u0275fac=function(t){return new(t||i)(g(H),g(X),g(B),g(w),g(H),g(J),g(Q))}}static{this.\u0275cmp=T({type:i,selectors:[["app-access-disabled"]],standalone:!1,features:[$],decls:1,vars:1,consts:[[1,"row"],["
1id","accessSideBackground",1,"d-none","d-md-flex","d-lg-flex","d-xl-flex","col-md-6","col-lg-6","left",3,"ngStyle"],[1,"container"],[1,"row","h-100","justify-content-center","align-items-center"],[1,"col-md-5","col-lg-5","mx-auto"],["alt","logo",1,"mb-1",3,"src"],["id","mobileHeaderBackground",1,"d-sm-flex","d-md-none","d-flex","flex-column","align-items-center","text-center","p-20","left","top-logo"],["id","accessBackground",1,"col-sm-12","col-md-6","col-lg-6","right",3,"ngStyle"],[1,"login","d-flex","align-items-center"],[1,"h-100","justify-content-center","align-items-center"],[1,"h-100","d-flex","flex-column"],[1,"d-flex","flex-grow-1"],[1,"justify-content-center"],[1,"card","mx-auto","max-width"],[1,"card-header","no-bottom-border"],[1,"card-body"],["type","button",1,"btn","btn-danger","me-1"],[3,"justifyContentCenter","textCenter"],[1,"d-flex","align-items-center","justify-content-center","mb-2","px-2"],["type","button",1,"btn","btn-danger","me-1",3,"click"]],template:function(t,l){t&1&&v(0,Xt,41,26,"div",0),t&2&&b(l.languageInitialized&&l.isContentVisible?0:-1)},dependencies:[Y,U,N,A,M],styles:["h1[_ngcontent-%COMP%]{font-size:1.25rem}.card.max-width[_ngcontent-%COMP%]{max-width:400px}.container[_ngcontent-%COMP%]{width:100%;display:table;height:100vh;padding:0}.row[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{padding-left:15px;padding-right:15px}.vertical-center[_ngcontent-%COMP%]{min-height:100%;min-height:100vh;display:flex;align-items:center}.left[_ngcontent-%COMP%]{background:#0b1727;color:#fff}.left[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:60%}.left[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:18px;margin-bottom:0}.right[_ngcontent-%COMP%]{background-color:#edf2f9;color:#0b1727}.pt-20[_ngcontent-%COMP%]{padding-top:20px}.p-20[_ngcontent-%COMP%]{padding:20px}#accessSideBackground[_ngcontent-%COMP%]{position:relative}#accessMessageCard[_ngcontent-%COMP%]{position:absolute;top:1rem;left:1rem;max-width:calc(100% - 2rem)}@media(max-width:768px){#accessMessageCard[_ngcontent-%COMP%]{max-width:100%;left:0;right:0}}"]})}}return i})();var Kt=[{path:"",component:mt,canDeactivate:[ht],title:"Online Form Portal - Login"},{path:"help",component:dt,title:"Online Form Portal - Login Help"},{path:"locked-account",component:gt,title:"Online Form Portal - Account Locked"},{path:"sso-logged-out",component:Ct,title:"Online Form Portal - Account Logged Out"},{path:"access-disabled",component:_t,title:"Online Form Portal - Access Disabled"},{path:"sso-errors",canActivate:[ft],component:ut,title:"Online Form Portal - Authentication Error"}],vt=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=me({type:i})}static{this.\u0275inj=pe({imports:[Me.forChild(Kt),Me]})}}return i})();var fn=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=me({type:i})}static{this.\u0275inj=pe({imports:[_e,Ke,Je,at,vt,et,ve,U,ne,Ee,N]})}}return i})();export{fn as LoginModule};

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.