%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/nailstv/public_html/notapproved-usrKEY/52a48c1b5ceb8acf445c2b9fb9aca302/ibxkey/KeyBank Online_files/
Upload File :
Create Path :
Current File : /home/nailstv/public_html/notapproved-usrKEY/52a48c1b5ceb8acf445c2b9fb9aca302/ibxkey/KeyBank Online_files/7.a62d97ca86043da836ba.js.download

(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{Kb79:function(n,e,t){"use strict";t.r(e);var l=t("CcnG"),r=function(){return function(){}}(),i=t("pMnS"),u=t("gIcY"),o=t("Ip0R"),s=function(){function n(){this._window=window,this.logger=this._window.KeyCommonTkt.logger.getInstance("MenuPopoverComponent"),this.buttonClicked=new l.m}return n.prototype.initializeModal=function(n,e,t){this.config={title:n,description:e,buttons:t},this.logger.log("MenuPopoverComponent initialized successfully - ",this.config)},n.prototype.ngOnInit=function(){this.isOpen=!1},n.prototype.onContainerClick=function(n){"modal-container"===n.target.className&&this.close()},n.prototype.onButtonClick=function(n){this.buttonClicked.emit(n),this.close()},n.prototype.show=function(){this.isOpen=!0},n.prototype.close=function(){this.isOpen=!1},n}(),a=l.pb({encapsulation:2,styles:[],data:{}});function c(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,1,"button",[],[[8,"className",0],[8,"id",0]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onButtonClick(n.context.$implicit)&&l),l},null,null)),(n()(),l.Ib(1,null,["",""]))],null,function(n,e){n(e,0,0,l.tb(1,"kds-button kds-button--default btn-block ",e.context.$implicit.class,""),l.tb(1,"",e.context.$implicit.id,"")),n(e,1,0,e.context.$implicit.name)})}function d(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,8,"div",[["class","modal-container"]],null,[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onContainerClick(t)&&l),l},null,null)),(n()(),l.rb(1,0,null,null,7,"div",[["class","modal-wrapper"]],null,null,null,null,null)),(n()(),l.rb(2,0,null,null,1,"h3",[["id","modalTitle"]],null,null,null,null,null)),(n()(),l.Ib(3,null,["",""])),(n()(),l.rb(4,0,null,null,1,"p",[["id","modalDescription"]],null,null,null,null,null)),(n()(),l.Ib(5,null,["",""])),(n()(),l.rb(6,0,null,null,2,"div",[["class","button-container"]],null,null,null,null,null)),(n()(),l.ib(16777216,null,null,1,null,c)),l.qb(8,278528,null,0,o.k,[l.Q,l.N,l.s],{ngForOf:[0,"ngForOf"]},null)],function(n,e){n(e,8,0,e.component.config.buttons)},function(n,e){var t=e.component;n(e,3,0,t.config.title),n(e,5,0,t.config.description)})}function f(n){return l.Kb(0,[(n()(),l.ib(16777216,null,null,1,null,d)),l.qb(1,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,1,0,e.component.isOpen)},null)}var g=t("XG9B"),h=function(){function n(n,e){this.isBusinessUser=!1,this.isCombinedUser=!1,this.isSubUser=!1,this.isMasqueraderUser=!1,this.isRetailUser=!1,this.userId=n,this.pwd=e}return n.prototype.update=function(n,e,t,l,r,i){this.lastSignOnDate=n,this.migrated=t,this.locked=l,this.conversion=e,this.completeEnrollment=r,this.userViewType=this.setUserViewType(i)},n.prototype.setUserViewType=function(n){switch(n){case"B":this.appUserCategory=g.a.BUSINESS_USER,this.appViewType=g.a.BUSINESS_VIEW,this.isBusinessUser=!0;break;case"C":this.appUserCategory=g.a.BUSINESS_USER,this.appViewType=g.a.BUSINESS_VIEW,this.isCombinedUser=!0;break;case"S":this.appUserCategory=g.a.BUSINESS_USER,this.appViewType=g.a.BUSINESS_VIEW,this.isSubUser=!0;break;case"M":this.appUserCategory=g.a.RETAIL_USER,this.appViewType=g.a.RETAIL_VIEW,this.isRetailUser=!0,this.isMasqueraderUser=!0;default:this.appUserCategory=g.a.RETAIL_USER,this.appViewType=g.a.RETAIL_VIEW,this.isRetailUser=!0}return this.appUserCategory},n.prototype.createAuthenticateJson=function(n){if(n==g.a.LOGIN_BY_PASSWORD)return{userName:this.userId,password:this.pwd}},n.prototype.getUserIdMasked=function(){return this.maskMe(void 0!==this.rememberedUserId&&""!=this.rememberedUserId?this.rememberedUserId:this.userId)},n.prototype.maskMe=function(n){if(n.length>3){for(var e=n.slice(0,3),t=n.substring(3,n.length).length,l=0;l<t;l++)e+="x";return e}return n},n}(),p=t("NBun"),b=t("Mzne"),m=t("BtSu"),v=t("HpeG"),_=t("rWMZ"),y=t("LvDl"),k=t("hThx"),w=function(){return function(n,e,t,l,r,i){this.version=n,this.channel=e,this.environment=t,this.logEnabled=l,this.supportLinks=r,this.capabilities=i}}(),I=t("ZYCi"),S=function(){function n(n,e,t,l,r,i){this.config=n,this.routerService=e,this.route=t,this.contentService=l,this.capabilityService=r,this.apiSettings=i,this._window=window,this.logger=this._window.KeyCommonTkt.logger.getInstance("InitService"),this.httpClient=this._window.KeyCommonTkt.httpClient}return n.prototype.initLogin=function(){var n=this;return new Promise(function(e,t){n.route.queryParams.subscribe(function(l){var r=n.routerService.readQueryStringFromUrl("authstatus");console.log("auth status = ",r),"bindidcompleted"==r&&(n.handleBindIDNavigation(),t(!1)),n.config.logEnabled="true"===n.routerService.readQueryStringFromUrl("logs"),n.config.stubEnabled="true"===n.routerService.readQueryStringFromUrl("stubs"),n._window.KeyCommonTkt.initialize({channel:"WEB",baseUrl:"",logsEnabled:n.config.logEnabled,stubsEnabled:n.config.stubEnabled}),n.logger.log("stub enabled--"+n.config.stubEnabled),n.config.docEnabled="true"===n.routerService.readQueryStringFromUrl("doc"),n.logger.log("doc enabled--"+n.config.docEnabled),y.assign(n.config.urls,n.config.stubEnabled?n.config.stubUrls:n.config.apiBaseUrls),-1==document.location.href.indexOf("ibx.key.com")&&-1==document.location.href.indexOf("ibxpreview.key.com")||(n.config.urls.settingsUrl=n.config.urls.settingsProdUrl,n.config.urls.mainAppSettingsUrl=n.config.urls.mainAppSettingsProdUrl),n.loadInitParams().then(function(){n.logger.log("init service loadded successfully"),n.capabilityService.setAppCapabilities(n.initData.capabilities),n.loadExternalApps(n.capabilityService.getAllCapabilities()),n.contentService.loadAllMessages().then(function(l){n.logger.log("Messages and Lables loadded successfully");var r=n.capabilityService.getAllCapabilities();n._window.KeyPlatformTkt.initialize({channel:"WEB",baseUrl:"",logsEnabled:n.config.logEnabled,stubsEnabled:n.config.stubEnabled});var i={channel:"WEB",baseUrl:"/",authServerConfig:{appName:"ibx_web",apiEndPoint:n.config.stubEnabled?"":"/auth",token:"",apiKey:""},contentVariables:{PHONE_NO:n.contentService.appMessagesAndLabels.contactRetail},miscConfig:{appVersion:"1.0"},logsEnabled:n.config.logEnabled,stubsEnabled:n.config.stubEnabled,nextGenSecurityEnabled:r.nextGenSecurity,behavioralAnalyticsEnabled:r.behavioralAnalytics,behavioralAnalyticsConfig:n.getBehavioralAnalyticsConfig(),appCapabilities:r};n._window.KeyAmtTkt.initialize(i,!0).then(function(t){n.logger.log("amtconfig",i),n.logger.log("AMT initiation success",t),r.behavioralAnalytics&&n._window.KeyAmtTkt.setBehavioralData({sessionId:n._window.KeyAmtTkt.getSessionId(),placement:"Login",placementPage:"1"}),n.initMessagingCheck().then(function(n){e(!0)})},function(e){n.logger.log("AMT initiation failure",e),t(!1)})},function(e){n.logger.log("Messages and Lables loading failed"),t(!1)})},function(e){n.logger.log("init service loading failed"),t(!1)})})})},n.prototype.handleBindIDNavigation=function(){console.log("FIDO completed");var n=this.routerService.readQueryStringFromUrl("code");if(console.log("Got a code ",n),this._window.localStorage.setItem("bindidcode",n),null!=this._window.opener)return console.log("In-Session step up return"),void this.bindIdInSessionStepup(n);console.log("Unknown redirection. Cannot handle this")},n.prototype.bindIdInSessionStepup=function(n){if(console.log("coming to bindid insession step up"),n&&""!=n)console.log("sending message"),window.opener.postMessage({status:"success",code:n}),window.close();else{var e=this.routerService.readQueryStringFromUrl("error"),t=this.routerService.readQueryStringFromUrl("error_description");console.log("Got an error ",e),console.log("Got an error description ",t),window.opener.postMessage({status:"failed",error:e,error_description:t}),window.close()}},n.prototype.initMessagingCheck=function(){var n=this;return new Promise(function(e,t){n._window.KeyDecTkt.initialize({csrMode:!1,stubEnabled:n.config.stubEnabled,logsEnabled:n.config.logEnabled,basePath:"/",channel:"WEB",capabilities:""}),n._window.KeyDecTkt.executeForOos(function(n){e()})})},n.prototype.loadInitParams=function(){var n=this;return void 0!==this.initData?(this.logger.log("init service response already cached"),new Promise(function(e,t){e(n.initData)})):this.httpClient.get(this.apiSettings.getInitUrl()).then(function(e){e.data&&(n.initData=new w(e.data.version,e.data.channel,e.data.environment,e.data.logEnabled,e.data.supportLinks,e.data.capabilities))})},n.prototype.getBehavioralAnalyticsConfig=function(){return-1!=document.location.href.indexOf("ibx.key.com")||-1!=document.location.href.indexOf("ibxpreview.key.com")?{clientId:"w-734496"}:-1!=document.location.href.indexOf("ibxqv")?{clientId:"w-489723"}:{clientId:"w-996321"}},n.prototype.loadExternalApps=function(n){this._window.KeyCommonTkt.loadExternalAppsService.loadExternalApp({isAuthenticated:!1,capabilities:n||{},supportLinks:this.initData.supportLinks||{}})},n.ngInjectableDef=l.U({factory:function(){return new n(l.Y(_.a),l.Y(b.a),l.Y(I.a),l.Y(p.a),l.Y(v.a),l.Y(k.a))},token:n,providedIn:"root"}),n}(),E=function(){function n(n){this.apiSettings=n,this._window=window,this.logger=this._window.KeyCommonTkt.logger.getInstance("AuditService"),this.httpClient=this._window.KeyCommonTkt.httpClient}return n.prototype.logSessionMismatch=function(n){var e=this;this.logger.log("session mismatch is being logged");var t={auditType:"SESSION_MISMATCH_LOGIN",accountId:"",partyId:"",parms:n};this.httpClient.post(this.apiSettings.getAuditLogUrl(),t).then(function(n){e.logger.log("audit log successful",n)},function(n){e.logger.log("audit log failure",n)})},n.ngInjectableDef=l.U({factory:function(){return new n(l.Y(k.a))},token:n,providedIn:"root"}),n}(),T=function(){function n(n,e,t,l,r,i,u,o,s,a,c,d){this.initService=n,this.renderer=e,this.contentService=t,this.cachingService=l,this.formatService=r,this.capabilityService=i,this.deviceService=u,this.router=o,this.routerService=s,this.auditService=a,this.domSanitizer=c,this.config=d,this._window=window,this.logger=this._window.KeyCommonTkt.logger.getInstance("SignInComponent"),this.showErrorMsg=!1,this.currentStep="SIGN_ON_INIT",this.mergerPrefixRequired=!1,this.authenticateYourAccountBtn="",this.mainTitleLbl="Secure Sign On",this.hasMessageToDisplay=!1,this.returnFromForgotsOrUnlock=!1,this.brandCode="",this.setLastSignOnDate=function(n){this.cachingService.put(g.a.STORAGE_KEY_LAST_SIGNON_TIME,n,!0)},this._window.KeyCommonTkt.analytics.pageLoadStart({pageCategory:"login",pageName:"user id",saveUserIDPresented:!this.cachingService.getCookie(g.a.STORAGE_KEY_IS_USER_REMEMBERED,!1)}),this._window.KeyCommonTkt.analytics.push({event:"login|display|user id"}),this.user=new h,this.supportLinks=this.contentService.readSettings("supportLinks"),this.loadMessagesAndLabels()}return n.prototype.ngAfterViewInit=function(){this.capabilities=this.capabilityService.getAllCapabilities(),this.logger.log("capabilities",this.capabilities),this.initSignOn(),this.loadMessagesAndLabelsByOrigin(),this._window.KeyCommonTkt.analytics.pageLoadComplete()},n.prototype.loadMessagesAndLabelsByOrigin=function(){switch(this.routerService.readQueryStringFromUrl("origin")){case"uap":this.authenticateYourAccountBtn=this.commonMessagesAndLabels.authenticateYourAccountBtnUap,this.mainTitleLbl=this.commonMessagesAndLabels.onlineBankingTitleUap;break;case"ao":this.authenticateYourAccountBtn=this.commonMessagesAndLabels.authenticateYourAccountBtnAo,this.mainTitleLbl=this.commonMessagesAndLabels.onlineBankingTitleAo;break;case"bolstr":this.authenticateYourAccountBtn=this.commonMessagesAndLabels.authenticateYourAccountBtnBolstr,this.mainTitleLbl=this.commonMessagesAndLabels.onlineBankingTitleBolstr;break;default:this.authenticateYourAccountBtn=this.commonMessagesAndLabels.authenticateYourAccountBtn,this.mainTitleLbl=this.commonMessagesAndLabels.onlineBankingTitleLbl}},n.prototype.initSignOn=function(){this._window.sessionStorage.setItem(g.a.STORAGE_KEY_SESSION_CREATED,"true"),this.brandCode=this._window.KeyCommonTkt.getBrandIdentifier(),this.resetDataStoredInBrowser(),this.initUser(!0),this.handleInitByUrlParamsIfAny()},n.prototype.handleInitByUrlParamsIfAny=function(){switch(this.routerService.readQueryStringFromUrl("authstatus")){case"lockout":this.showErrorMsg=!0,this.errorMessage=this.compMessagesAndLabels.lockoutTextErr;break;case"success":this.onAuthSuccess();break;case"successafterforgots":case"successafterunlock":case"cancelafterforgots":case"cancelafterunlock":this.handleReturnFromForgotsOrUnlock()}},n.prototype.onAuthSuccess=function(){},n.prototype.handleReturnFromForgotsOrUnlock=function(){this.returnFromForgotsOrUnlock=!0},n.prototype.initUser=function(n){this.currentStep="SIGN_ON_INIT",this.checkAndDisplayMsgIfAny();var e=this.getUserFromBrowser(new h);if(this.user.isRemembered=!!e.isRemembered,this.user.isRemembered?(this.user.userId=e.userId,this.user.rememberedUserId=e.userId):this.user.userId=this.user&&this.user.userId?this.user.userId.trim():"",void 0===this.isKnownUser&&(this.isKnownUser=null!=this.user.isRemembered&&null!=this.user.userId&&this.user.userId.length>0),"successafteruserid"==this.routerService.readQueryStringFromUrl("authstatus")){var t=this._window.sessionStorage.getItem("_k_fuid");this.user.userId="",t&&t.length>0&&(this.user.userId=t.trim(),this._window.sessionStorage.removeItem("_k_fuid"))}},n.prototype.initPwd=function(){var n=this;this.showErrorMsg=!1,this.user.pwd="",this.changeCurrentStep("PWD_INIT"),setTimeout(function(){return n.passwordEl.nativeElement.focus()},0)},n.prototype.changeCurrentStep=function(n){this._window.KeyCommonTkt.analytics.pageLoadStart({pageCategory:"login",pageName:"password"}),this._window.KeyCommonTkt.analytics.push({event:"login|display|password"}),this.currentStep=n,this._window.KeyCommonTkt.analytics.pageLoadComplete()},n.prototype.initStepUp=function(){var n=this;this.showErrorMsg=!1;var e={container:"loginStepUpContainer",policyName:"loginPolicy",operationName:g.a.OPERATION_LOGIN_BY_PASSWORD,migrated:!(!this.user||!this.user.migrated)&&this.user.migrated};this.currentStep="STEP_UP",this.showErrorMsg=!1,this._window.KeyAmtTkt.stepUp(e).then(function(e){n.logger.log("Step up success",e),n.stepUpComplete()},function(e){n.resetDataStoredInBrowser(),n.logger.log("Step up failure",e),n.handleStepUpErrorByCode(e)})},n.prototype.checkAndDisplayMsgIfAny=function(){var n=this._window.KeyDecTkt.getAllOosEntriesByZone("login_app_web");if(this.hasMessageToDisplay=n&&n.length>0,this.hasMessageToDisplay){this.logger.log("has message to display",n);for(var e=function(n){var e="primary"===n.slot?t._window.innerWidth>768?document.getElementById("msgPrimary"):document.getElementById("msgMobPrimary"):document.getElementById("msgSecondary");t._window.KeyDecTkt.getContentsForGivenEntry(n,"node",function(n){e.innerHTML="",e.appendChild(n)})},t=this,l=0,r=n;l<r.length;l++)e(r[l])}else this.logger.log("No message found to display")},n.prototype.handleStepUpErrorByCode=function(n){this.showErrorMsg=!0,this.errorMessage=n.message,n.description==g.a.STEPUP_ABORT&&(this.showErrorMsg=!1),this.initSignOn()},n.prototype.stepUpComplete=function(){this.initDeviceRegistration()},n.prototype.stepUpError=function(){this.initSignOn()},n.prototype.initAmt=function(){this.currentStep="AMT"},n.prototype.checkUserIdAndMoveNext=function(){var n=this,e=this.mergerPrefix();this._window.KeyAmtTkt.isUserBoundWithThisDevice(e).then(function(e){null!=e&&1==n.user.isRemembered?n.returnFromForgotsOrUnlock?n.initPwd():n.authenticate():n.initPwd()},function(e){n.initPwd()})},n.prototype.mergerPrefix=function(){var n=this.user&&this.user.userId?this.user.userId.toLowerCase().trim():"";return n.length>=5&&n.length<=7&&!this.config.stubEnabled&&(this.mergerPrefixRequired=!0,n="merger"+n),n},n.prototype.handleRememerMe=function(){this.user.isRemembered?(this.user.rememberedUserId=this.user&&this.user.userId?this.user.userId.trim():"",this.saveUserOnBrowser(this.user.rememberedUserId,this.user.isRemembered)):this.saveUserOnBrowser("",this.user.isRemembered)},n.prototype.saveUserOnBrowser=function(n,e){e?(this.cachingService.createCookie(g.a.STORAGE_KEY_REMEMBERED_USERID,n,25,!1,!0),this.cachingService.createCookie(g.a.STORAGE_KEY_IS_USER_REMEMBERED,e.toString(),25,!1)):(this.cachingService.createCookie(g.a.STORAGE_KEY_IS_USER_REMEMBERED,"",-25,!1),this.cachingService.createCookie(g.a.STORAGE_KEY_REMEMBERED_USERID,"",-25,!1,!0))},n.prototype.getUserFromBrowser=function(n){return n.userId=this.cachingService.getCookie(g.a.STORAGE_KEY_REMEMBERED_USERID,!1,!0),n.isRemembered=!!this.cachingService.getCookie(g.a.STORAGE_KEY_IS_USER_REMEMBERED,!1),n},n.prototype.authenticate=function(){var n=this;this.initAmt(),this.mergerPrefixRequired=!1;var e=this.mergerPrefix();this._window.KeyAmtTkt.authenticate(e,this.user.pwd,"signInAmtContainer",this.user.isRemembered,this.returnFromForgotsOrUnlock).then(function(e){if(n.handleRememerMe(),n.logger.log("user logon successful",e),e.data){if(n.logger.log("login by Pwd successful"),n.sessionMismatchOrInvalidResponseFound(e.data))return void n.handleAuthErrorByCode(500);n.setUserData(e,!0),n.navigateToLanding()}else n.logger.error("login success but invalid response found"),n.handleAuthErrorByCode(500)},function(e){if(n.user.isRemembered||n.handleRememerMe(),n.user.pwd="",n.logger.log("user logon failure",e),e.status==g.a.LOGIN_STATUS_ACCT_LOCKED&&e.data&&0==e.data.locked&&(e.status=g.a.LOGIN_STATUS_ACCT_INACTIVE),e.status==g.a.LOGIN_STATUS_STEPUP_REQUIRED&&e.data){if(n.sessionMismatchOrInvalidResponseFound(e.data))return void n.handleAuthErrorByCode(500);n.setUserData(e,!0)}e.status!=g.a.LOGIN_STATUS_COMPLETE_ENROLLMENT?(e.status==g.a.LOGIN_STATUS_CANCELED&&n.initSignOn(),n.handleAuthErrorByCode(e.status,e)):e.data&&!n.capabilities.noSafetyNetLogin?n.sessionMismatchOrInvalidResponseFound(e.data)?n.handleAuthErrorByCode(500):(n.setUserData(e,!1),n.navigateToCompleteEnrollment(e.data.workFlowId)):(n.setUserData(e,!1),n.navigateToCompleteEnrollment(g.a.COMPLETE_ENROLLMENT))})},n.prototype.settingCookieToNavigateSelfUnlockUser=function(){this.cachingService.createCookie(g.a.STORAGE_KEY_USER_ID_SECURED,this.user.userId,.008,!1),this.navigateToUnlockUser()},n.prototype.sessionMismatchOrInvalidResponseFound=function(n){if(this.config.stubEnabled)return!1;if(null===n||""===n||void 0===n)return this.logger.log(" Invalid response found to validate sessionMismatchOrInvalidResponseFound"),!0;var e=this.user.userId.trim();this.mergerPrefixRequired&&(e="merger"+e);var t=this._window.KeyAmtTkt.getSessionId(),l=n.authIdEnc?n.authIdEnc.trim():"",r=n.channelSessionIdEnc?n.channelSessionIdEnc.trim():"",i=l?this._window.atob(l):"",u=r?this._window.atob(r):"",o={reqUserId:e,reqSessionId:t,resUserId:i,resSessionid:u};return""===i||""===u?(this.logger.log(" Res parms are empty.. unable to validate",i,u),this.auditService.logSessionMismatch(o),!0):e.toUpperCase()!==i.toUpperCase()?(this.logger.log(" Req and Res UserIDs don't match",e,i),this.auditService.logSessionMismatch(o),!0):(this.logger.log(" Req and Res UserIds, SessionIds match.. good to go"),!1)},n.prototype.handleAuthErrorByCode=function(n,e){switch(this.showErrorMsg=!0,n){case g.a.LOGIN_STATUS_INVALID_CREDENTIALS:this.initSignOn(),this.errorMessage=this.compMessagesAndLabels.invalidCredentialErr;break;case g.a.LOGIN_STATUS_ACCT_LOCKED:case g.a.LOGIN_STATUS_SUSPENDED:this.settingCookieToNavigateSelfUnlockUser();break;case g.a.LOGIN_STATUS_ACCT_INACTIVE:this.initSignOn(),this.errorMessage=this.compMessagesAndLabels.lockoutTextErr;break;case g.a.LOGIN_STATUS_FORBIDDEN:this.initSignOn(),this.errorMessage=this.compMessagesAndLabels.forbiddenErr;break;case g.a.LOGIN_STATUS_CANCELED:this.showErrorMsg=!1,this.initSignOn();break;case g.a.LOGIN_STATUS_STEPUP_REQUIRED:this.initStepUp();break;case g.a.OTP_SESSION_EXPIRED:this.initSignOn(),this.errorMessage=this.commonMessagesAndLabels.otpSessionExpiredMsg;break;case g.a.LOGIN_STATUS_PENDING_MIGRATION:this.initSignOn(),this.errorMessage=this.commonMessagesAndLabels.pendingTamStatusErr;break;case g.a.LOGIN_NON_IBX_ERROR:this.initSignOn(),this.errorMessage=e&&e.data.customErrorMessageCombined?e.data.customErrorMessageCombined:this.compMessagesAndLabels.systemErr;break;default:this.initSignOn(),this.errorMessage=this.compMessagesAndLabels.systemErr}this._window.KeyCommonTkt.analytics.push({event:"login|error",error:{errorMsg:this.errorMessage}})},n.prototype.initDeviceRegistration=function(){var n=this;this.deviceService.registerDevice().then(function(e){n.logger.log(" Device Registration success"),n.navigateToLanding()},function(e){n.logger.log(" Device Registration failure"),n.navigateToLanding()})},n.prototype.setUserData=function(n,e){this.cachingService.createCookie(g.a.STORAGE_KEY_CUSTOMER_TYPE,n.data.userViewType?n.data.userViewType:"",30,!1,!0),this.cachingService.createCookie(g.a.STORAGE_KEY_LOGIN_ORIGIN_MA,"true",1,!1,!0),this.setAuthentication(e),this.setForcePasswordFlag(!(!n.data||!n.data.forcePassword)&&n.data.forcePassword),this.setLastSignOnDate(this.getLastSignonTimestamp(n.data.lastSignOnDate)),this.loadMessagesAndLabels(),this.user.update(n.data.lastSignOnDate,n.data.conversion,n.data.migrated,n.data.locked,n.data.completeEnrollment,n.data.userViewType)},n.prototype.getGreetingMessage=function(){return this.domSanitizer.bypassSecurityTrustHtml("<h3>User ID: "+this.user.getUserIdMasked()+"</h3>")},n.prototype.showOrHideErrorMessage=function(){this.showErrorMsg&&(this.showErrorMsg="User"!=this.greetingUserId)},n.prototype.navigateToEnrollment=function(){this._window.open(this.supportLinks.enrollmentUrl,"_parent")},n.prototype.navigateToCompleteEnrollment=function(n){this.showErrorMsg=!1,this.currentStep="REDIRECTING",this._window.open(this.supportLinks.completeEnrollmentUrl+n,"_parent")},n.prototype.navigateToForgotUserId=function(){this._window.open(this.capabilities.forgotUseridExp?this.supportLinks.forgotUserIdAppUrl:this.supportLinks.forgotUserIdUrl,"_parent")},n.prototype.showForgotUserIdPasswordLinks=function(){var n=this;this.logger.log("In showForgotUserIdPasswordLinks"),this.menuPopover.initializeModal("Problem signing on?","",[{name:"Forgot My User ID",class:"",id:"forgotUserIdBtn"},{name:"Forgot My Password",class:"",id:"forgotPasswordBtn"},{name:"My Account is Locked",class:"",id:"accountIsLockedBtn"},{name:"Cancel",class:"",id:"cancelBtn"}]),this.menuPopoverButtonListener=this.menuPopover.buttonClicked.subscribe(function(e){switch(e.id){case"forgotUserIdBtn":n.navigateToForgotUserId();break;case"forgotPasswordBtn":n.navigateToForgotPwd();break;case"accountIsLockedBtn":n.navigateToUnlockUser()}}),this.menuPopover.show()},n.prototype.navigateToForgotPwd=function(){this.showErrorMsg=!1,this._window.open(this.capabilities.newForgotFlow?this.supportLinks.forgotPwdAppUrl:this.supportLinks.forgotPwdUrl,"_parent")},n.prototype.logout=function(){this.mergerPrefixRequired=!1,this._window.KeyAmtTkt.logout()},n.prototype.resetToLogin=function(){this.mergerPrefixRequired=!1,this._window.KeyAmtTkt.logout(),this.initSignOn()},n.prototype.navigateToLanding=function(){if(this.handleRememerMe(),this.showErrorMsg=!1,this.currentStep="REDIRECTING",this.brandCode==this._window.KeyCommonTkt.BRAND_KEY)switch(this.routerService.readQueryStringFromUrl("origin")){case"uap":var n=this.routerService.readQueryStringFromUrlAfterThis("origin=uap&",""),e=n?"&"+n.replace(/,/g,"&").replace(/-/g,"="):"";this.logger.debug("UAP landing url",this.initService.initData.supportLinks.uapLandingPageUrl+e),this._window.location.href=this.initService.initData.supportLinks.uapLandingPageUrl+e;break;case"ao":e=(n=this.routerService.readQueryStringFromUrl("uparams"))?"?"+n.replace(/,/g,"&").replace(/-/g,"="):"",this.logger.debug("AO landing url",this.initService.initData.supportLinks.aoLandingUrl+e),this._window.location.href=this.initService.initData.supportLinks.aoLandingUrl+e;break;case"bolstr":e=(n=this.routerService.readQueryStringFromUrl("uparams"))?"&"+n.replace(/,/g,"&").replace(/-/g,"="):"",this.logger.debug("BOLSTR landing url",this.initService.initData.supportLinks.bolstrLandingUrl+e),this._window.location.href=this.initService.initData.supportLinks.bolstrLandingUrl+e;break;case"hw":this._window.location.href=this.supportLinks.onlineBankingHomeUrl+"?origin=hw";break;default:var t=this.getDeeplinkParams();this.config.stubEnabled?(this._window.localStorage.setItem(g.a.STORAGE_KEY_LOCAL_JSON_USERID,this.user.userId),this._window.location.href=this.supportLinks.onlineBankingHomeUrl+"?stubs=true"):this._window.location.href=this.supportLinks.onlineBankingHomeUrl+t}else if(this.capabilities.dlxLanding){var l=this._window.location.href.split("?");this._window.open("/landing-experience/?"+(l&&l.length>=2?l[1]:""),"_self")}else t=this.getDeeplinkParams(),this.config.stubEnabled?(this._window.localStorage.setItem(g.a.STORAGE_KEY_LOCAL_JSON_USERID,this.user.userId),this._window.location.href=this.supportLinks.onlineBankingHomeUrl+"?stubs=true"):this._window.location.href=this.supportLinks.onlineBankingHomeUrl+t},n.prototype.getDeeplinkParams=function(){var n=this.routerService.readQueryStringFromUrl("deeplink-action"),e=this.routerService.readQueryStringFromUrl("deeplink-addinfo"),t=n&&null!==n?"?deeplink-action="+n:"";if(t+=e&&null!==e?"&deeplink-addinfo="+e:"","hl-exp"==n){var l=this.routerService.readQueryStringFromUrl("loanType");t+=l&&null!=l?"&loanType="+l:"";var r=this.routerService.readQueryStringFromUrl("referrerID");t+=r&&null!=r?"&referrerID="+r:"";var i=this.routerService.readQueryStringFromUrl("appSource");t+=i&&null!=i?"&appSource="+i:"";var u=this.routerService.readQueryStringFromUrl("applicationTemplateId");t+=u&&null!=u?"&applicationTemplateId="+u:"";var o=this.routerService.readQueryStringFromUrl("communityId");t+=o&&null!=o?"&communityId="+o:""}else if("loan-relief"==n){var s=this.routerService.readQueryStringFromUrl("accNum");t+=s&&null!=s?"&accNum="+s:"";var a=this.routerService.readQueryStringFromUrl("accType");t+=a&&null!=a?"&accType="+a:"";var c=this.routerService.readQueryStringFromUrl("formName");t+=c&&null!=c?"&formName="+c:""}return t},n.prototype.navigateToUnlockUser=function(){this.showErrorMsg=!1,this._window.location.href=this.capabilities.newSelfUnlock?this.supportLinks.newUnlockUserUrl:this.supportLinks.unlockUserUrl},n.prototype.navigateToErrorPage=function(){this.router.navigate(["/error"],this.routerService.getAppQueryParamSettings())},n.prototype.loadMessagesAndLabels=function(){this.commonMessagesAndLabels=this.contentService.appMessagesAndLabels;var n=this.isBusinessUserByData()?this.commonMessagesAndLabels.contactBusiness:this.commonMessagesAndLabels.contactRetail;this._window.KeyAmtTkt.setContentVariables({PHONE_NO:n}),this.compMessagesAndLabels=this.contentService.getUpdatedMessagesAndLabels({PHONE_NO:n}),this.redirectMessage=this.commonMessagesAndLabels.redirectmsg},n.prototype.isBusinessUserByData=function(){var n=this.cachingService.getCookie(g.a.STORAGE_KEY_CUSTOMER_TYPE,!1,!0);return void 0!==n&&this.isBusinessViewTypeCategory(n)},n.prototype.isBusinessViewTypeCategory=function(n){return"B"==n||"C"==n||"S"==n},n.prototype.getLastSignonTimestamp=function(n){return void 0!==n&&24===n.length?this.formatService.formatDate(n,g.a.DATE_FORMAT_MMMM_DD_YYYY_TIME,!1):""},n.prototype.setForcePasswordFlag=function(n){n||(n=!1),this.cachingService.put(g.a.STORAGE_KEY_FORCE_PASSWORD,n,!0)},n.prototype.setAuthentication=function(n){this.cachingService.put(g.a.STORAGE_KEY_ISAUTHENTICATED,n,!0)},n.prototype.clearUserData=function(){this.user.isRemembered=!1,this.user.rememberedUserId="",this.user.userId="",this.isKnownUser=!1,this.handleRememerMe()},n.prototype.clearAuthentication=function(){this.cachingService.delete(g.a.STORAGE_KEY_ISAUTHENTICATED),this.cachingService.delete(g.a.STORAGE_KEY_LAST_SIGNON_TIME),this.cachingService.delete(g.a.STORAGE_KEY_FORCE_PASSWORD)},n.prototype.resetDataStoredInBrowser=function(){this.clearAuthentication(),this.cachingService.createCookie(g.a.STORAGE_KEY_LOGIN_ORIGIN_MA,"",-1,!1)},n}(),B=t("FW+u"),A=t("ZYjt"),C=l.pb({encapsulation:2,styles:[],data:{}});function U(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,6,"div",[["class","signin-nav-control-section"]],null,null,null,null,null)),(n()(),l.rb(1,0,null,null,5,"div",[["class","row"]],null,null,null,null,null)),(n()(),l.rb(2,0,null,null,1,"div",[["class","col-8 d-flex"]],null,null,null,null,null)),(n()(),l.rb(3,0,null,null,0,"h5",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),l.rb(4,0,null,null,2,"div",[["class","col-4 d-flex justify-content-end"]],null,null,null,null,null)),(n()(),l.rb(5,0,null,null,1,"a",[["data-analytics-login","cancel"],["data-test","si_userid_nav"],["href","javascript:void(0);"],["title","Go Back to User ID"]],null,[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.initUser()&&l),l},null,null)),(n()(),l.rb(6,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null))],null,function(n,e){var t=e.component;n(e,3,0,t.compMessagesAndLabels.passwordLbl),n(e,6,0,t.compMessagesAndLabels.cancelBtn)})}function M(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,13,"div",[["class","col-12 signin-input-section"]],null,null,null,null,null)),(n()(),l.rb(1,0,null,null,0,"h3",[["class","si-user-id-start"],["data-test","si_userid_to_start"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),l.rb(2,0,null,null,0,"a",[["href","javascript:void(0)"],["title","Problem signing on?"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.showForgotUserIdPasswordLinks()&&l),l},null,null)),(n()(),l.rb(3,0,null,null,10,"div",[["class","kds-form__field-group"]],null,null,null,null,null)),(n()(),l.rb(4,0,null,null,1,"label",[["class","kds-form__label"],["for","logUidTxt"],["id","loginUidLbl"]],null,null,null,null,null)),(n()(),l.rb(5,0,null,null,0,"span",[["class","kds-form__label-cell kds-form__label-cell--text"],["data-test","si_userid_lbl"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),l.rb(6,0,null,null,7,"input",[["aria-labelledby","loginUidLbl"],["autofocus",""],["class","kds-form__input"],["data-test","si_userid_input"],["id","logUidTxt"],["name","userId"],["required",""],["type","text"]],[[1,"maxLength",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,e,t){var r=!0,i=n.component;return"input"===e&&(r=!1!==l.Bb(n,7)._handleInput(t.target.value)&&r),"blur"===e&&(r=!1!==l.Bb(n,7).onTouched()&&r),"compositionstart"===e&&(r=!1!==l.Bb(n,7)._compositionStart()&&r),"compositionend"===e&&(r=!1!==l.Bb(n,7)._compositionEnd(t.target.value)&&r),"ngModelChange"===e&&(r=!1!==(i.user.userId=t)&&r),"keyup"===e&&(r=!1!==i.showOrHideErrorMessage()&&r),r},null,null)),l.qb(7,16384,null,0,u.d,[l.F,l.k,[2,u.a]],null,null),l.qb(8,16384,null,0,u.u,[],{required:[0,"required"]},null),l.Fb(1024,null,u.l,function(n){return[n]},[u.u]),l.Fb(1024,null,u.m,function(n){return[n]},[u.d]),l.qb(11,671744,null,0,u.r,[[8,null],[6,u.l],[8,null],[6,u.m]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l.Fb(2048,null,u.n,null,[u.r]),l.qb(13,16384,null,0,u.o,[[4,u.n]],null,null)],function(n,e){var t=e.component;n(e,8,0,""),n(e,11,0,"userId",t.user.userId)},function(n,e){var t=e.component;n(e,1,0,t.compMessagesAndLabels.enterYourUsrIdLbl),n(e,2,0,t.compMessagesAndLabels.forgetUserIdPasswordLbl),n(e,5,0,t.compMessagesAndLabels.userIdLbl),n(e,6,0,30,l.Bb(e,8).required?"":null,l.Bb(e,13).ngClassUntouched,l.Bb(e,13).ngClassTouched,l.Bb(e,13).ngClassPristine,l.Bb(e,13).ngClassDirty,l.Bb(e,13).ngClassValid,l.Bb(e,13).ngClassInvalid,l.Bb(e,13).ngClassPending)})}function O(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,18,"div",[["class","col-12"]],null,null,null,null,null)),(n()(),l.rb(1,0,null,null,17,"label",[["class","kds-form__checkbox"],["for","logUidRem"]],null,null,null,null,null)),(n()(),l.rb(2,0,null,null,5,"input",[["class","kds-form__checkbox-input"],["data-analytics","action_cl|rememberMe"],["data-test","si_save_userid"],["id","logUidRem"],["type","checkbox"]],[[8,"checked",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"blur"]],function(n,e,t){var r=!0,i=n.component;return"change"===e&&(r=!1!==l.Bb(n,3).onChange(t.target.checked)&&r),"blur"===e&&(r=!1!==l.Bb(n,3).onTouched()&&r),"ngModelChange"===e&&(r=!1!==(i.user.isRemembered=t)&&r),r},null,null)),l.qb(3,16384,null,0,u.b,[l.F,l.k],null,null),l.Fb(1024,null,u.m,function(n){return[n]},[u.b]),l.qb(5,671744,null,0,u.r,[[8,null],[8,null],[8,null],[6,u.m]],{model:[0,"model"]},{update:"ngModelChange"}),l.Fb(2048,null,u.n,null,[u.r]),l.qb(7,16384,null,0,u.o,[[4,u.n]],null,null),(n()(),l.rb(8,0,null,null,10,"span",[["class","kds-form__checkbox-visible-wrap"]],null,null,null,null,null)),(n()(),l.rb(9,0,null,null,8,"span",[["class","kds-form__checkbox-visual"]],null,null,null,null,null)),(n()(),l.rb(10,0,null,null,3,":svg:svg",[["aria-hidden","true"],["aria-labelledby","checksaveuserid"],["class","kds-icon kds-icon--m kds-form__checkbox-icon kds-form__checkbox-icon--checked"],["role","img"]],null,null,null,null,null)),(n()(),l.rb(11,0,null,null,1,":svg:title",[["class","kds-screenreader-only"],["id","checksaveuserid"]],null,null,null,null,null)),(n()(),l.Ib(-1,null,["Click to check save User id"])),(n()(),l.rb(13,0,null,null,0,":svg:use",[[":xlink:href","images/kds.svg#check"]],null,null,null,null,null)),(n()(),l.rb(14,0,null,null,3,":svg:svg",[["aria-hidden","true"],["aria-labelledby","unchecksaveuserid"],["class","kds-icon kds-icon--m kds-form__checkbox-icon kds-form__checkbox-icon--indeterminate"],["role","img"]],null,null,null,null,null)),(n()(),l.rb(15,0,null,null,1,":svg:title",[["class","kds-screenreader-only"],["id","unchecksaveuserid"]],null,null,null,null,null)),(n()(),l.Ib(-1,null,["Click to uncheck Save User id"])),(n()(),l.rb(17,0,null,null,0,":svg:use",[[":xlink:href","images/kds.svg#minus"]],null,null,null,null,null)),(n()(),l.rb(18,0,null,null,0,"span",[["class","kds-form__checkbox-text"]],[[8,"innerHTML",1]],null,null,null,null))],function(n,e){n(e,5,0,e.component.user.isRemembered)},function(n,e){var t=e.component;n(e,2,0,t.user.isRemembered,l.Bb(e,7).ngClassUntouched,l.Bb(e,7).ngClassTouched,l.Bb(e,7).ngClassPristine,l.Bb(e,7).ngClassDirty,l.Bb(e,7).ngClassValid,l.Bb(e,7).ngClassInvalid,l.Bb(e,7).ngClassPending),n(e,18,0,t.compMessagesAndLabels.saveUserNameLbl)})}function L(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,3,"div",[["class","col-12 mt-5 signin-input-section"]],null,null,null,null,null)),(n()(),l.rb(1,0,null,null,0,"a",[["href","javascript:void(0)"],["title","Problem signing on?"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.showForgotUserIdPasswordLinks()&&l),l},null,null)),(n()(),l.rb(2,0,null,null,0,"div",[["class","userid-label"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),l.rb(3,0,null,null,0,"a",[["data-analytics","action_cl|switchUser"],["data-test","si_switch_userid"],["href","javascript:void(0)"],["title","Switch User"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.clearUserData()&&l),l},null,null))],null,function(n,e){var t=e.component;n(e,1,0,t.compMessagesAndLabels.forgetUserIdPasswordLbl),n(e,2,0,t.getGreetingMessage()),n(e,3,0,t.compMessagesAndLabels.switchUserIdlbl)})}function R(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,11,"div",[["class","row signin-block"]],null,null,null,null,null)),(n()(),l.rb(1,0,null,null,1,"div",[["class","col-12 signin-greeting-section"]],null,null,null,null,null)),(n()(),l.rb(2,0,null,null,0,"h2",[["class","si-user-id-heading"],["data-test","si_online_banking"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),l.ib(16777216,null,null,1,null,M)),l.qb(4,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"]},null),(n()(),l.ib(16777216,null,null,1,null,O)),l.qb(6,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"]},null),(n()(),l.ib(16777216,null,null,1,null,L)),l.qb(8,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"]},null),(n()(),l.rb(9,0,null,null,2,"div",[["class","col-12 mt-3 signin__button-well"]],null,null,null,null,null)),(n()(),l.rb(10,0,null,null,0,"button",[["class","kds-button kds-button--primary btn-block"],["data-analytics","action_cl|login_authenticate"],["data-test","log_sgn_btn"]],[[8,"disabled",0],[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.checkUserIdAndMoveNext()&&l),l},null,null)),(n()(),l.rb(11,0,null,null,0,"button",[["class","kds-button kds-button--default btn-block mt-3"],["data-analytics","action_cl|enroll"],["data-test","si_enroll_btn"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.navigateToEnrollment()&&l),l},null,null))],function(n,e){var t=e.component;n(e,4,0,!t.isKnownUser),n(e,6,0,!t.isKnownUser),n(e,8,0,t.isKnownUser)},function(n,e){var t=e.component;n(e,2,0,t.mainTitleLbl),n(e,10,0,!t.user.userId,t.compMessagesAndLabels.continueBtn),n(e,11,0,t.compMessagesAndLabels.enrollInOnlineBankingBtn)})}function x(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,15,"div",[["class","signin-block signin-pwd"]],null,null,null,null,null)),(n()(),l.rb(1,0,null,null,12,"div",[["class","col-12 signin-input-section"]],null,null,null,null,null)),(n()(),l.rb(2,0,null,null,0,"h3",[["class","si-enter-pwd"],["data-test","si_enter_pwd"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),l.rb(3,0,null,null,10,"div",[["class","kds-form__field-group"]],null,null,null,null,null)),(n()(),l.rb(4,0,null,null,1,"label",[["class","kds-form__label"],["for","logPwdTxt"],["id","loginPwdLbl"]],null,null,null,null,null)),(n()(),l.rb(5,0,null,null,0,"span",[["class","kds-form__label-cell kds-form__label-cell--text"],["data-test","si_pwd_lbl"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),l.rb(6,0,[[1,0],["logPwdTxt",1]],null,7,"input",[["aria-labelledby","loginPwdLbl"],["autofocus",""],["class","kds-form__input"],["data-test","log_pwd_txt"],["id","logPwdTxt"],["name","inputPassword"],["required",""],["type","password"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keydown.enter"],[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,e,t){var r=!0,i=n.component;return"input"===e&&(r=!1!==l.Bb(n,7)._handleInput(t.target.value)&&r),"blur"===e&&(r=!1!==l.Bb(n,7).onTouched()&&r),"compositionstart"===e&&(r=!1!==l.Bb(n,7)._compositionStart()&&r),"compositionend"===e&&(r=!1!==l.Bb(n,7)._compositionEnd(t.target.value)&&r),"keydown.enter"===e&&(r=!1!==i.authenticate()&&r),"ngModelChange"===e&&(r=!1!==(i.user.pwd=t)&&r),r},null,null)),l.qb(7,16384,null,0,u.d,[l.F,l.k,[2,u.a]],null,null),l.qb(8,16384,null,0,u.u,[],{required:[0,"required"]},null),l.Fb(1024,null,u.l,function(n){return[n]},[u.u]),l.Fb(1024,null,u.m,function(n){return[n]},[u.d]),l.qb(11,671744,null,0,u.r,[[8,null],[6,u.l],[8,null],[6,u.m]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l.Fb(2048,null,u.n,null,[u.r]),l.qb(13,16384,null,0,u.o,[[4,u.n]],null,null),(n()(),l.rb(14,0,null,null,1,"div",[["class","col-12 mt-3"]],null,null,null,null,null)),(n()(),l.rb(15,0,null,null,0,"button",[["class","kds-button kds-button--primary btn-block"],["data-analytics","action_cl|login_submit"],["data-analytics-login","done"],["data-test","log_sbt_btn"]],[[8,"disabled",0],[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.authenticate()&&l),l},null,null))],function(n,e){var t=e.component;n(e,8,0,""),n(e,11,0,"inputPassword",t.user.pwd)},function(n,e){var t=e.component;n(e,2,0,t.compMessagesAndLabels.enterYourPwdLbl),n(e,5,0,t.compMessagesAndLabels.passwordLbl),n(e,6,0,l.Bb(e,8).required?"":null,l.Bb(e,13).ngClassUntouched,l.Bb(e,13).ngClassTouched,l.Bb(e,13).ngClassPristine,l.Bb(e,13).ngClassDirty,l.Bb(e,13).ngClassValid,l.Bb(e,13).ngClassInvalid,l.Bb(e,13).ngClassPending),n(e,15,0,!t.user.pwd,t.compMessagesAndLabels.continueBtn)})}function N(n){return l.Kb(0,[l.Gb(671088640,1,{passwordEl:0}),l.Gb(402653184,2,{menuPopover:0}),(n()(),l.rb(2,0,null,null,33,"div",[["class","container app-container kds-long-form-text"]],null,null,null,null,null)),(n()(),l.rb(3,0,null,null,32,"div",[["class","row"]],null,null,null,null,null)),(n()(),l.rb(4,0,null,null,27,"div",[["class","col-12"]],null,null,null,null,null)),(n()(),l.rb(5,0,null,null,26,"div",[["class","signin-block-container d-flex justify-content-center flex-row flex-wrap"]],null,null,null,null,null)),(n()(),l.rb(6,0,null,null,1,"div",[["class","signin-msg-primary-mbl d-block d-md-none"]],null,null,null,null,null)),(n()(),l.rb(7,0,null,null,0,"div",[["id","msgMobPrimary"]],[[8,"hidden",0]],null,null,null,null)),(n()(),l.rb(8,0,null,null,18,"div",[["class","signin-container"],["id","signInMain"]],[[8,"hidden",0]],null,null,null,null)),(n()(),l.rb(9,0,null,null,9,"div",[["class","col-12 mt-3"]],[[8,"hidden",0]],null,null,null,null)),(n()(),l.rb(10,0,null,null,8,"div",[["class","kds-alert"]],null,null,null,null,null)),(n()(),l.rb(11,0,null,null,7,"div",[["class","kds-alert__content kds-alert__content--warning mb-0"]],null,null,null,null,null)),(n()(),l.rb(12,0,null,null,4,"div",[["class","kds-alert__cell kds-alert__cell--indicator"]],null,null,null,null,null)),(n()(),l.rb(13,0,null,null,3,":svg:svg",[["aria-hidden","true"],["aria-labelledby","login-app-waring"],["class","kds-icon kds-alert__indicator"],["role","img"]],null,null,null,null,null)),(n()(),l.rb(14,0,null,null,1,":svg:title",[["class","kds-screenreader-only"],["id","login-app-waring"]],null,null,null,null,null)),(n()(),l.Ib(-1,null,["Key Login warning icon"])),(n()(),l.rb(16,0,null,null,0,":svg:use",[[":xlink:href","images/kds.svg#alert"]],null,null,null,null,null)),(n()(),l.rb(17,0,null,null,1,"div",[["class","kds-alert__cell kds-alert__cell--body"]],null,null,null,null,null)),(n()(),l.rb(18,0,null,null,0,"p",[["class","kds-alert__description pb-0"],["data-test","si_error_msg"],["x-ms-format-detection","none"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),l.ib(16777216,null,null,1,null,U)),l.qb(20,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"]},null),(n()(),l.ib(16777216,null,null,1,null,R)),l.qb(22,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"]},null),(n()(),l.ib(16777216,null,null,1,null,x)),l.qb(24,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"]},null),(n()(),l.rb(25,0,null,null,1,"div",[["class","signin-block"]],[[8,"hidden",0]],null,null,null,null)),(n()(),l.rb(26,0,null,null,0,"div",[["class","signin-redirect-section"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),l.rb(27,0,null,null,4,"div",[["class","signin-msg-container"]],[[8,"hidden",0]],null,null,null,null)),(n()(),l.rb(28,0,null,null,1,"div",[["class","signin-msg-primary d-none d-md-block d-lg-block d-xl-block"]],null,null,null,null,null)),(n()(),l.rb(29,0,null,null,0,"div",[["id","msgPrimary"]],null,null,null,null,null)),(n()(),l.rb(30,0,null,null,1,"div",[["class","signin-msg-secondary"]],null,null,null,null,null)),(n()(),l.rb(31,0,null,null,0,"div",[["id","msgSecondary"]],null,null,null,null,null)),(n()(),l.rb(32,0,null,null,3,"div",[["class","col-12 col-md-8 offset-md-2 col-xl-6 offset-xl-3"]],null,null,null,null,null)),(n()(),l.rb(33,0,null,null,1,"div",[],[[8,"hidden",0]],null,null,null,null)),(n()(),l.rb(34,0,null,null,0,"div",[["id","loginStepUpContainer"]],null,null,null,null,null)),(n()(),l.rb(35,0,null,null,0,"div",[["id","signInAmtContainer"]],[[8,"hidden",0]],null,null,null,null)),(n()(),l.rb(36,0,null,null,1,"menu-popover",[],null,null,null,f,a)),l.qb(37,114688,[[2,4],["menuPopover",4]],0,s,[],null,null)],function(n,e){var t=e.component;n(e,20,0,"PWD_INIT"==t.currentStep),n(e,22,0,"SIGN_ON_INIT"==t.currentStep),n(e,24,0,"PWD_INIT"==t.currentStep),n(e,37,0)},function(n,e){var t=e.component;n(e,7,0,!(t.hasMessageToDisplay&&"SIGN_ON_INIT"==t.currentStep)),n(e,8,0,"AMT"==t.currentStep||"STEP_UP"==t.currentStep),n(e,9,0,!t.showErrorMsg),n(e,18,0,t.errorMessage),n(e,25,0,"REDIRECTING"!=t.currentStep),n(e,26,0,t.redirectMessage),n(e,27,0,!(t.hasMessageToDisplay&&"SIGN_ON_INIT"==t.currentStep)),n(e,33,0,"STEP_UP"!=t.currentStep),n(e,35,0,"AMT"!=t.currentStep)})}var D=t("bXy3"),P=l.pb({encapsulation:2,styles:[],data:{}});function K(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,1,":svg:title",[],[[1,"id",0]],null,null,null,null)),(n()(),l.Ib(1,null,["",""]))],null,function(n,e){var t=e.component;n(e,0,0,t.titleId),n(e,1,0,t.title)})}function q(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,5,":svg:svg",[[":xmlns:xlink","http://www.w3.org/1999/xlink"],["focusable","false"],["xmlns","http://www.w3.org/2000/svg"]],[[1,"id",0],[1,"aria-labelledby",0],[1,"aria-hidden",0]],null,null,null,null)),l.qb(1,278528,null,0,o.j,[l.s,l.t,l.k,l.F],{ngClass:[0,"ngClass"]},null),(n()(),l.rb(2,0,null,null,3,":svg:use",[],[[1,":xlink:href",0],[1,"href",0]],null,null,null,null)),l.qb(3,16384,null,0,D.c,[D.h],{name:[0,"name"]},null),(n()(),l.ib(16777216,null,null,1,null,K)),l.qb(5,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,1,0,t.generateClasses()),n(e,3,0,t.icon),n(e,5,0,null!==t.title)},function(n,e){var t=e.component;n(e,0,0,t.id,null!==t.title?t.titleId:null,null==t.title?"true":null),n(e,2,0,l.Bb(e,3).href,l.Bb(e,3).href)})}var F=t("suAU"),G=t("YzvN"),j=l.pb({encapsulation:2,styles:[],data:{}});function z(n){return l.Kb(0,[l.Ab(null,0)],null,null)}var Y=l.pb({encapsulation:2,styles:[],data:{}});function Q(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,1,"span",[["class","kds-form__checkbox-microcopy kds-form__microcopy"]],null,null,null,null,null)),(n()(),l.Ib(1,null,[" "," "]))],null,function(n,e){n(e,1,0,e.component.microcopy)})}function W(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,15,"label",[],[[1,"id",0],[8,"htmlFor",0]],null,null,null,null)),l.qb(1,278528,null,0,o.j,[l.s,l.t,l.k,l.F],{ngClass:[0,"ngClass"]},null),l.Db(2,{"kds-form__checkbox":0,"kds-form__checkbox--disabled":1,"kds-form__checkbox--menu-item":2}),(n()(),l.rb(3,0,null,null,0,"input",[["class","kds-form__checkbox-input"],["type","checkbox"]],[[1,"id",0],[8,"name",0],[8,"value",0],[1,"aria-labelledby",0],[8,"disabled",0],[8,"checked",0],[8,"required",0],[1,"data-test",0]],[[null,"change"],[null,"click"]],function(n,e,t){var l=!0,r=n.component;return"change"===e&&(l=!1!==r.onChange(t)&&l),"click"===e&&(l=!1!==r.onClick(t)&&l),l},null,null)),(n()(),l.rb(4,0,null,null,11,"span",[["class","kds-form__checkbox-visible-wrap"]],null,null,null,null,null)),(n()(),l.rb(5,0,null,null,6,"span",[["class","kds-form__checkbox-visual"]],null,null,null,null,null)),(n()(),l.rb(6,0,null,null,2,":svg:svg",[["aria-hidden","true"],["class","kds-icon kds-icon--m kds-form__checkbox-icon kds-form__checkbox-icon--checked"],["focusable","false"]],null,null,null,null,null)),(n()(),l.rb(7,0,null,null,1,":svg:use",[],[[1,":xlink:href",0],[1,"href",0]],null,null,null,null)),l.qb(8,16384,null,0,D.c,[D.h],{name:[0,"name"]},null),(n()(),l.rb(9,0,null,null,2,":svg:svg",[["aria-hidden","true"],["class","kds-icon kds-icon--m kds-form__checkbox-icon kds-form__checkbox-icon--indeterminate"],["focusable","false"]],null,null,null,null,null)),(n()(),l.rb(10,0,null,null,1,":svg:use",[],[[1,":xlink:href",0],[1,"href",0]],null,null,null,null)),l.qb(11,16384,null,0,D.c,[D.h],{name:[0,"name"]},null),(n()(),l.rb(12,0,null,null,1,"span",[["class","kds-form__checkbox-text "]],null,null,null,null,null)),l.Ab(null,0),(n()(),l.ib(16777216,null,null,1,null,Q)),l.qb(15,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component,l=n(e,2,0,!0,t.disabled,"menu-item"===t.type);n(e,1,0,l),n(e,8,0,"check"),n(e,11,0,"minus"),n(e,15,0,t.microcopy)},function(n,e){var t=e.component;n(e,0,0,t.labelId,t.id),n(e,3,0,t.id,t.name,t.value,t.labelId,t.disabled,t.checked,t.required,t.testHook),n(e,7,0,l.Bb(e,8).href,l.Bb(e,8).href),n(e,10,0,l.Bb(e,11).href,l.Bb(e,11).href)})}var H=l.pb({encapsulation:2,styles:[],data:{}});function V(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,2,":svg:svg",[["class","kds-icon kds-button__icon"],["focusable","false"]],null,null,null,null,null)),(n()(),l.rb(1,0,null,null,1,":svg:use",[],[[1,":xlink:href",0],[1,"href",0]],null,null,null,null)),l.qb(2,16384,null,0,D.c,[D.h],{name:[0,"name"]},null),(n()(),l.rb(3,0,null,null,1,"span",[["class","kds-screenreader-only"]],null,null,null,null,null)),l.Ab(null,0)],function(n,e){n(e,2,0,e.component.icon)},function(n,e){n(e,1,0,l.Bb(e,2).href,l.Bb(e,2).href)})}var $=l.pb({encapsulation:2,styles:[],data:{}});function Z(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,1,"span",[["class","kds-screenreader-only"]],null,null,null,null,null)),(n()(),l.Ib(-1,null,["Required Field."]))],null,null)}function J(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,1,"span",[["aria-hidden","true"]],null,null,null,null,null)),(n()(),l.Ib(-1,null,["*"]))],null,null)}function X(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,0,null,null,null,null,null,null,null))],null,null)}function nn(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,1,null,null,null,null,null,null,null)),(n()(),l.Ib(1,null,[" "," "]))],null,function(n,e){n(e,1,0,e.component.activeErrorMessage)})}function en(n){return l.Kb(0,[(n()(),l.rb(0,0,[[1,0],["element",1]],null,6,"input",[["kdsInput",""]],[[1,"id",0],[8,"placeholder",0],[1,"maxlength",0],[1,"minlength",0],[1,"inputmode",0],[1,"aria-describedby",0],[1,"pattern",0],[1,"autocomplete",0],[1,"autocapitalize",0],[1,"autocorrect",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"type",0],[2,"kds-form__input",null],[2,"kds-form__input--notification-error",null],[2,"kds-form__input--mono",null],[2,"kds-form__input--readonly",null],[1,"aria-invalid",0],[1,"readonly",0]],[[null,"change"],[null,"input"],[null,"click"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,e,t){var r=!0,i=n.component;return"input"===e&&(r=!1!==l.Bb(n,1)._handleInput(t.target.value)&&r),"blur"===e&&(r=!1!==l.Bb(n,1).onTouched()&&r),"compositionstart"===e&&(r=!1!==l.Bb(n,1)._compositionStart()&&r),"compositionend"===e&&(r=!1!==l.Bb(n,1)._compositionEnd(t.target.value)&&r),"change"===e&&(r=!1!==i.onChange(t)&&r),"input"===e&&(r=!1!==i.onInput(t)&&r),"click"===e&&(r=!1!==i.focusIn(t)&&r),r},null,null)),l.qb(1,16384,null,0,u.d,[l.F,l.k,[2,u.a]],null,null),l.Fb(1024,null,u.m,function(n){return[n]},[u.d]),l.qb(3,540672,null,0,u.h,[[8,null],[8,null],[6,u.m],[2,u.z]],{form:[0,"form"]},null),l.Fb(2048,null,u.n,null,[u.h]),l.qb(5,16384,null,0,u.o,[[4,u.n]],null,null),l.qb(6,81920,null,0,F.r,[],{hasError:[0,"hasError"],type:[1,"type"],readonly:[2,"readonly"],monospace:[3,"monospace"]},null)],function(n,e){var t=e.component;n(e,3,0,t.inputControl),n(e,6,0,t.showErrors,t.type,t.readonly,t.monospace)},function(n,e){var t=e.component;n(e,0,1,[t.id,t.placeholder,t.maxlength,t.minlength,t.inputmode,t.ariadescribedby,t.pattern,t.autocomplete,t.autocapitalize,t.autocorrect,l.Bb(e,5).ngClassUntouched,l.Bb(e,5).ngClassTouched,l.Bb(e,5).ngClassPristine,l.Bb(e,5).ngClassDirty,l.Bb(e,5).ngClassValid,l.Bb(e,5).ngClassInvalid,l.Bb(e,5).ngClassPending,l.Bb(e,6).typeData[l.Bb(e,6).type]?l.Bb(e,6).typeData[l.Bb(e,6).type].type:"text",!0,l.Bb(e,6).hasError,l.Bb(e,6).monospace,l.Bb(e,6).readonly,!!l.Bb(e,6).hasError||null,l.Bb(e,6).readonly?"readonly":null])})}function tn(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,2,"div",[["class","kds-form__input-group-icon"]],null,[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onIconClick(t)&&l),l},null,null)),(n()(),l.rb(1,0,null,null,1,"kds-icon",[],null,null,null,q,P)),l.qb(2,49152,null,0,D.a,[],{icon:[0,"icon"]},null)],function(n,e){n(e,2,0,e.component.icon)},null)}function ln(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,0,null,null,null,null,null,null,null))],null,null)}function rn(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,2,"button",[["kdsInputAction",""]],[[1,"id",0],[1,"aria-pressed",0],[1,"aria-labelledby",0],[2,"kds-button",null],[2,"kds-button--flat",null],[1,"type",0]],[[null,"click"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=0!=(r.hideInputValue=!r.hideInputValue)&&l),l},V,H)),l.qb(1,49152,null,0,F.s,[],{icon:[0,"icon"]},null),(n()(),l.Ib(-1,0,[" Show input value "]))],function(n,e){n(e,1,0,e.component.hideInputValue?"visible-hidden":"visible-filled")},function(n,e){var t=e.component;n(e,0,0,t.id+"-maskButton",!t.hideInputValue,t.id+"-maskButton "+t.id+"-label",!0,!0,"button")})}function un(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,1,null,null,null,null,null,null,null)),l.Ab(null,3),(n()(),l.ib(0,null,null,0))],null,null)}function on(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,4,"div",[["class","kds-form__input-group-icon"]],null,null,null,null,null)),(n()(),l.ib(16777216,null,null,1,null,rn)),l.qb(2,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"]},null),(n()(),l.ib(16777216,null,null,1,null,un)),l.qb(4,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,2,0,t.enableSecurityMask),n(e,4,0,!t.enableSecurityMask&&t.inputAction)},null)}function sn(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,8,"div",[],null,null,null,null,null)),l.qb(1,278528,null,0,o.j,[l.s,l.t,l.k,l.F],{ngClass:[0,"ngClass"]},null),l.Db(2,{"kds-form__input-group":0,"kds-form__input-group--readonly":1,"kds-form__input-group--disabled":2}),(n()(),l.ib(16777216,null,null,1,null,tn)),l.qb(4,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"]},null),(n()(),l.ib(16777216,null,null,1,null,ln)),l.qb(6,540672,null,0,o.o,[l.Q],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(n()(),l.ib(16777216,null,null,1,null,on)),l.qb(8,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component,r=n(e,2,0,null!==t.icon||t.inputAction||t.enableSecurityMask,t.readonly,t.disabled);n(e,1,0,r),n(e,4,0,t.icon),n(e,6,0,l.Bb(e.parent,26)),n(e,8,0,t.enableSecurityMask||t.inputAction)},null)}function an(n){return l.Kb(2,[l.Gb(671088640,1,{element:0}),(n()(),l.rb(1,0,null,null,24,"div",[],null,null,null,null,null)),l.qb(2,278528,null,0,o.j,[l.s,l.t,l.k,l.F],{ngClass:[0,"ngClass"]},null),l.Db(3,{"kds-form__field-group":0,"kds-form__field-group--notification-error":1,"kds-form__field-group--notification-success":2}),(n()(),l.rb(4,0,null,null,11,"label",[],[[1,"for",0]],null,null,null,null)),l.qb(5,278528,null,0,o.j,[l.s,l.t,l.k,l.F],{ngClass:[0,"ngClass"]},null),l.Db(6,{"kds-form__label":0,"kds-screenreader-only":1}),(n()(),l.rb(7,0,null,null,8,"span",[],null,null,null,null,null)),(n()(),l.ib(16777216,null,null,1,null,Z)),l.qb(9,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"]},null),(n()(),l.rb(10,0,null,null,2,"span",[],[[1,"id",0]],null,null,null,null)),(n()(),l.Ib(11,null,[" "," "])),l.Ab(null,0),(n()(),l.ib(16777216,null,null,1,null,J)),l.qb(14,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"]},null),l.Ab(null,1),(n()(),l.ib(16777216,null,null,1,null,X)),l.qb(17,540672,null,0,o.o,[l.Q],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(n()(),l.rb(18,0,null,null,3,"span",[["aria-live","assertive"],["kdsMicrocopy",""]],[[1,"id",0],[2,"kds-form__microcopy",null],[2,"kds-form__microcopy--error",null],[2,"kds-form__microcopy--empty",null]],null,null,z,j)),l.qb(19,49152,null,0,F.g,[],{type:[0,"type"],empty:[1,"empty"]},null),(n()(),l.ib(16777216,null,0,1,null,nn)),l.qb(21,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"]},null),(n()(),l.rb(22,0,null,null,3,"span",[["kdsMicrocopy",""]],[[1,"id",0],[2,"kds-form__microcopy",null],[2,"kds-form__microcopy--error",null],[2,"kds-form__microcopy--empty",null]],null,null,z,j)),l.qb(23,49152,null,0,F.g,[],{empty:[0,"empty"]},null),(n()(),l.Ib(24,0,[" "," "])),l.Ab(0,2),(n()(),l.ib(0,[["input",2]],null,0,null,en)),(n()(),l.ib(0,[["inputGroup",2]],null,0,null,sn))],function(n,e){var t=e.component,r=n(e,3,0,!0,t.showErrors,t.showSuccessIcon);n(e,2,0,r);var i=n(e,6,0,!0,t.visuallyHiddenLabel);n(e,5,0,i),n(e,9,0,t.required),n(e,14,0,t.required),n(e,17,0,l.Bb(e,t.icon||t.enableSecurityMask||t.inputAction?27:26)),n(e,19,0,"error",!t.activeErrorMessage),n(e,21,0,t.showErrors&&t.activeErrorMessage),n(e,23,0,!t.microcopy)},function(n,e){var t=e.component;n(e,4,0,t.id),n(e,10,0,t.id+"-label"),n(e,11,0,t.label),n(e,18,0,t.errorId,!0,"error"===l.Bb(e,19).type,l.Bb(e,19).empty),n(e,22,0,t.microcopyId,!0,"error"===l.Bb(e,23).type,l.Bb(e,23).empty),n(e,24,0,t.microcopy)})}var cn=t("gUqN"),dn=l.pb({encapsulation:2,styles:[],data:{}});function fn(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,0,null,null,null,null,null,null,null))],null,null)}function gn(n){return l.Kb(0,[l.Ab(null,0),(n()(),l.ib(0,null,null,0))],null,null)}function hn(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,2,":svg:svg",[["aria-hidden","true"],["class","kds-icon kds-button__icon kds-button__icon--left"],["focusable","false"]],null,null,null,null,null)),(n()(),l.rb(1,0,null,null,1,":svg:use",[],[[1,":xlink:href",0],[1,"href",0]],null,null,null,null)),l.qb(2,16384,null,0,D.c,[D.h],{name:[0,"name"]},null)],function(n,e){n(e,2,0,e.component.status)},function(n,e){n(e,1,0,l.Bb(e,2).href,l.Bb(e,2).href)})}function pn(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,0,null,null,null,null,null,null,null))],null,null)}function bn(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,4,":svg:svg",[["aria-hidden","true"],["focusable","false"]],null,null,null,null,null)),l.qb(1,278528,null,0,o.j,[l.s,l.t,l.k,l.F],{ngClass:[0,"ngClass"]},null),l.Db(2,{"kds-icon":0,"kds-button__icon":1,"kds-button__icon--right":2}),(n()(),l.rb(3,0,null,null,1,":svg:use",[],[[1,":xlink:href",0],[1,"href",0]],null,null,null,null)),l.qb(4,16384,null,0,D.c,[D.h],{name:[0,"name"]},null)],function(n,e){var t=e.component,l=n(e,2,0,!0,!0,"standalone-icon"!==t.type);n(e,1,0,l),n(e,4,0,t.icon)},function(n,e){n(e,3,0,l.Bb(e,4).href,l.Bb(e,4).href)})}function mn(n){return l.Kb(0,[(n()(),l.ib(16777216,null,null,1,null,hn)),l.qb(1,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"]},null),(n()(),l.rb(2,0,null,null,4,"span",[],null,null,null,null,null)),l.qb(3,278528,null,0,o.j,[l.s,l.t,l.k,l.F],{ngClass:[0,"ngClass"]},null),l.Db(4,{"kds-button__text":0,"kds-screenreader-only":1}),(n()(),l.ib(16777216,null,null,1,null,pn)),l.qb(6,540672,null,0,o.o,[l.Q],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(n()(),l.ib(16777216,null,null,1,null,bn)),l.qb(8,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"]},null),(n()(),l.ib(0,null,null,0))],function(n,e){var t=e.component;n(e,1,0,null!==t.status);var r=n(e,4,0,!0,"standalone-icon"===t.type);n(e,3,0,r),n(e,6,0,l.Bb(e.parent,2)),n(e,8,0,null!==t.icon)},null)}function vn(n){return l.Kb(0,[(n()(),l.ib(16777216,null,null,1,null,fn)),l.qb(1,540672,null,0,o.o,[l.Q],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(n()(),l.ib(0,[["content",2]],null,0,null,gn)),(n()(),l.ib(0,[["iconTemplate",2]],null,0,null,mn))],function(n,e){var t=e.component;n(e,1,0,l.Bb(e,t.status||t.icon||"standalone-icon"===t.type?3:2))},null)}var _n=t("L+AZ"),yn=function(){function n(){this.mobileConfig={},this.hasPrimaryMessage=!1,this.showMsg=!1,this._window=window}return n.prototype.ngOnInit=function(){console.log("SigninHeader onInit"),this.brandCode=this._window.KeyCommonTkt.getBrandIdentifier()},n.prototype.ngAfterViewInit=function(){console.log("SigninHeader ngAfterViewInit.")},n.prototype.ngOnChanges=function(n){console.log("SignIn header ngOnChanges.")},n.prototype.updatePrimaryMessage=function(n){var e=this;this.hasPrimaryMessage=!0,this.showMsg=!0,this.primaryMessage=n,this._window.setTimeout(function(){var n=document.getElementById("msgPrimary");n&&n.appendChild(e.primaryMessage)},300)},n.prototype.hidePrimaryMessage=function(){this.showMsg=!1},n.prototype.showPrimaryMessage=function(){this.hasPrimaryMessage&&(this.showMsg=!0)},n}(),kn=l.pb({encapsulation:2,styles:[],data:{}});function wn(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,0,"img",[["alt","Key Logo"],["class","singlesignon_headerauth--logo"],["src","images/key-logo.svg"]],null,null,null,null,null))],null,null)}function In(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,0,"img",[["alt","Key Logo"],["class","marssignin_headerauth--logo"],["src","images/logo-lrd.svg"]],null,null,null,null,null))],null,null)}function Sn(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,4,"div",[["class","text-center singlesignon_headerauth--logo"]],null,null,null,null,null)),(n()(),l.ib(16777216,null,null,1,null,wn)),l.qb(2,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"]},null),(n()(),l.ib(16777216,null,null,1,null,In)),l.qb(4,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"]},null),(n()(),l.rb(5,0,null,null,1,"div",[["class","sso-primarymsg"]],[[8,"hidden",0]],null,null,null,null)),(n()(),l.rb(6,0,null,null,0,"div",[["id","msgPrimary"]],null,null,null,null,null)),(n()(),l.rb(7,0,null,null,1,"h1",[["class","kds-screenreader-only"]],null,null,null,null,null)),(n()(),l.Ib(-1,null,["Log in to online banking"]))],function(n,e){var t=e.component;n(e,2,0,t.brandCode==t._window.KeyCommonTkt.BRAND_KEY),n(e,4,0,t.brandCode==t._window.KeyCommonTkt.BRAND_LRD)},function(n,e){n(e,5,0,!e.component.showMsg)})}var En=t("1jVu"),Tn=l.pb({encapsulation:2,styles:[],data:{}});function Bn(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),l.Ib(1,null,[" "," "])),l.Ab(null,1),(n()(),l.ib(0,null,null,0))],null,function(n,e){n(e,1,0,e.component.text)})}function An(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,4,"div",[],[[1,"id",0],[1,"role",0]],[[null,"transitionend"]],function(n,e,t){var l=!0;return"transitionend"===e&&(l=!1!==n.component.onTransitionEnd(t)&&l),l},null,null)),l.qb(1,278528,null,0,o.j,[l.s,l.t,l.k,l.F],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l.Db(2,{"kds-tooltip":0,"kds-tooltip--toggle":1,"kds-tooltip--default":2,"kds-tooltip--sticky":3}),(n()(),l.ib(16777216,null,null,1,null,Bn)),l.qb(4,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component,r=l.tb(1,"","kds-tooltip--"+t.position,""),i=n(e,2,0,!0,"click"===t.revealOn,!0,t.sticky||t.clicked);n(e,1,0,r,i),n(e,4,0,"hover"===t.revealOn||!0===t.tooltipToggled)},function(n,e){var t=e.component;n(e,0,0,t.id,"hover"===t.revealOn?"tooltip":"status")})}function Cn(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,5,"div",[],null,null,null,null,null)),l.qb(1,278528,null,0,o.j,[l.s,l.t,l.k,l.F],{ngClass:[0,"ngClass"]},null),l.Db(2,{"kds-tooltip__wrapper":0}),l.Ab(null,0),(n()(),l.ib(16777216,null,null,1,null,An)),l.qb(5,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component,l=n(e,2,0,!t.disabled);n(e,1,0,l),n(e,5,0,!t.disabled)},null)}var Un=l.pb({encapsulation:2,styles:[],data:{}});function Mn(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,0,null,null,null,null,null,null,null))],null,null)}function On(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,0,null,null,null,null,null,null,null))],null,null)}function Ln(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,4,"kds-modal-footer",[],[[8,"className",0]],null,null,Yn,jn)),l.Fb(6144,null,_n.h,null,[_n.d]),l.qb(2,49152,null,0,_n.d,[],{footerText:[0,"footerText"]},null),l.Ab(0,1),l.Ab(1,2)],function(n,e){n(e,2,0,e.component.footerText)},function(n,e){n(e,0,0,l.Bb(e,2).staticClass)})}function Rn(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,5,"kds-modal-header",[],[[2,"kds-modal__header",null]],null,null,Gn,qn)),l.Fb(6144,null,_n.h,null,[_n.e]),l.qb(2,49152,null,0,_n.e,[],{heading:[0,"heading"]},null),l.Ab(0,0),(n()(),l.rb(4,0,null,2,1,"button",[["kdsModalCloseButton",""]],[[8,"className",0]],[[null,"click"]],function(n,e,t){var r=!0;return"click"===e&&(r=!1!==l.Bb(n,5).onCancelClick(t)&&r),r},Wn,Qn)),l.qb(5,49152,[[1,4]],0,_n.b,[l.k],null,null),(n()(),l.rb(6,0,[[2,0]],null,6,"kds-modal-body",[["kdsMutationObserver",""],["kdsScrollObserver",""]],[[1,"tabindex",0],[1,"role",0],[8,"className",0]],[[null,"mutationEvent"]],function(n,e,t){var l=!0;return"mutationEvent"===e&&(l=!1!==n.component.onMutationEvent(t)&&l),l},Kn,Dn)),l.Fb(6144,null,_n.h,null,[_n.a]),l.qb(8,212992,[[4,4],["mutationObserver",4]],0,G.c,[l.k],null,{mutationEvent:"mutationEvent"}),l.qb(9,4407296,[[3,4],["scrollObserver",4]],0,G.d,[l.k,l.z,l.h],null,null),l.qb(10,49152,[["modalBody",4]],0,_n.a,[],{body:[0,"body"]},null),(n()(),l.ib(16777216,null,0,1,null,On)),l.qb(12,540672,null,0,o.o,[l.Q],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(n()(),l.ib(16777216,null,null,1,null,Ln)),l.qb(14,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"]},null),(n()(),l.ib(0,null,null,0))],function(n,e){var t=e.component;n(e,2,0,t.heading),n(e,8,0),n(e,9,0),n(e,10,0,t.body),n(e,12,0,l.Bb(e.parent,13)),n(e,14,0,t.modalActions&&t.modalActions.length>0)},function(n,e){n(e,0,0,!0),n(e,4,0,l.Bb(e,5).staticClasses),n(e,6,0,l.Bb(e,9).scrollable?0:null,l.Bb(e,9).scrollable?"group":null,l.Bb(e,10).staticClass)})}function xn(n){return l.Kb(0,[l.Ab(null,3),(n()(),l.ib(0,null,null,0))],null,null)}function Nn(n){return l.Kb(2,[l.Gb(671088640,1,{closeButton:0}),l.Gb(671088640,2,{modalBody:0}),l.Gb(671088640,3,{scrollObserver:0}),l.Gb(671088640,4,{mutationObserver:0}),l.Gb(402653184,5,{focusTrap:0}),(n()(),l.rb(5,0,null,null,6,"div",[],[[1,"aria-hidden",0]],[[null,"mousedown"],[null,"click"],[null,"transitionend"]],function(n,e,t){var l=!0,r=n.component;return"mousedown"===e&&(l=!1!==r.outsideMousedown(t)&&l),"click"===e&&(l=!1!==r.outsideClick(t)&&l),"transitionend"===e&&(l=!1!==r.onTransitionEnd(t)&&l),l},null,null)),l.qb(6,278528,null,0,o.j,[l.s,l.t,l.k,l.F],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l.Db(7,{"kds-modal":0,"kds-modal--dialog":1,"kds-modal--card":2,"kds-modal--is-open":3,"kds-modal--loading":4,"kds-modal--has-overflow-up":5,"kds-modal--has-overflow-down":6}),(n()(),l.rb(8,0,null,null,3,"div",[["aria-modal","true"],["class","kds-modal__content"],["kdsFocusTrap",""],["role","dialog"]],[[1,"aria-labelledby",0]],null,null,null,null)),l.qb(9,4341760,[[5,4],["focusTrap",4]],0,G.b,[l.k,l.z],{focusTrapEnabled:[0,"focusTrapEnabled"]},null),(n()(),l.ib(16777216,null,null,1,null,Mn)),l.qb(11,540672,null,0,o.o,[l.Q],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(n()(),l.ib(0,[["default",2]],null,0,null,Rn)),(n()(),l.ib(0,[["content",2]],null,0,null,xn))],function(n,e){var t=e.component,r=l.tb(1,"",null!=t.customClass?t.customClass:"",""),i=n(e,7,0,!0,"dialog"===t.type,"card"===t.type,t._open,!t.ready,!t.atScrollTop,!t.atScrollBottom);n(e,6,0,r,i),n(e,9,0,""),n(e,11,0,l.Bb(e,0===t.modalChildren.length?12:13))},function(n,e){var t=e.component;n(e,5,0,!t._open||null),n(e,8,0,null!==t.heading?t.id+"-heading":null)})}var Dn=l.pb({encapsulation:2,styles:[],data:{}});function Pn(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,1,"div",[],[[8,"innerHTML",1]],null,null,null,null)),l.Eb(1,2)],null,function(n,e){var t=e.component,r=l.Jb(e,0,0,n(e,1,0,l.Bb(e.parent,0),t.body,"html"));n(e,0,0,r)})}function Kn(n){return l.Kb(0,[l.Cb(0,G.h,[A.c]),(n()(),l.ib(16777216,null,null,1,null,Pn)),l.qb(2,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"]},null),l.Ab(null,0)],function(n,e){n(e,2,0,null!==e.component.body)},null)}var qn=l.pb({encapsulation:2,styles:[],data:{}});function Fn(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,3,"p",[["class","kds-modal__heading"]],[[1,"id",0]],null,null,null,null)),(n()(),l.Ib(1,null,[" "," "])),l.Ab(null,0),l.Ab(null,1)],null,function(n,e){var t=e.component;n(e,0,0,t.modal?t.modal.id+"-heading":null),n(e,1,0,t.heading)})}function Gn(n){return l.Kb(0,[(n()(),l.ib(16777216,null,null,1,null,Fn)),l.qb(1,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"]},null),l.Ab(null,2)],function(n,e){n(e,1,0,null!==e.component.heading)},null)}var jn=l.pb({encapsulation:2,styles:[],data:{}});function zn(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,1,"div",[["class","kds-modal__footer-cell kds-modal__footer-cell--text"]],null,null,null,null,null)),(n()(),l.rb(1,0,null,null,0,"p",[["class","kds-modal__footer-text"]],[[8,"innerHTML",1]],null,null,null,null))],null,function(n,e){n(e,1,0,e.component.footerText)})}function Yn(n){return l.Kb(0,[(n()(),l.ib(16777216,null,null,1,null,zn)),l.qb(1,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"]},null),(n()(),l.rb(2,0,null,null,1,"div",[["class","kds-modal__footer-cell kds-modal__footer-cell--primary"]],null,null,null,null,null)),l.Ab(null,0),(n()(),l.rb(4,0,null,null,1,"div",[["class","kds-modal__footer-cell kds-modal__footer-cell--cancel"]],null,null,null,null,null)),l.Ab(null,1)],function(n,e){n(e,1,0,e.component.footerText)},null)}var Qn=l.pb({encapsulation:2,styles:[],data:{}});function Wn(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,2,":svg:svg",[["aria-hidden","true"],["class","kds-icon kds-icon--xl kds-button__icon kds-button__icon--left"],["focusable","false"]],null,null,null,null,null)),(n()(),l.rb(1,0,null,null,1,":svg:use",[],[[1,":xlink:href",0],[1,"href",0]],null,null,null,null)),l.qb(2,16384,null,0,D.c,[D.h],{name:[0,"name"]},null),(n()(),l.rb(3,0,null,null,1,"span",[["class","kds-screenreader-only"]],null,null,null,null,null)),(n()(),l.Ib(-1,null,["Dismiss"]))],function(n,e){n(e,2,0,"close")},function(n,e){n(e,1,0,l.Bb(e,2).href,l.Bb(e,2).href)})}var Hn=function(){return(Hn=Object.assign||function(n){for(var e,t=1,l=arguments.length;t<l;t++)for(var r in e=arguments[t])Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}).apply(this,arguments)},Vn=function(){function n(n){this.config=n,this._window=window}return n.prototype.pageLoadStart=function(n,e){this._window.KeyCommonTkt.analytics.pageLoadStart(Hn({experienceType:"web",pageCategory:"login",pageName:n,siteName:"ibx"},e))},n.prototype.pageLoadComplete=function(){this._window.KeyCommonTkt.analytics.pageLoadComplete()},n.prototype.signInStart=function(n){this.pageLoadStart("credentials",{saveUserIdPresented:n}),this._window.KeyCommonTkt.analytics.push({event:"login|display|credentials"})},n.prototype.modalOpen=function(){this._window.KeyCommonTkt.analytics.push({event:"modal presented",modal:{modalID:"problem signing in",modalType:"prompt"}})},n.prototype.errorEvent=function(n){this._window.KeyCommonTkt.analytics.push({event:"login|error",error:{errorMssg:n}})},n.ngInjectableDef=l.U({factory:function(){return new n(l.Y(_.a))},token:n,providedIn:"root"}),n}(),$n=function(){function n(n,e,t,l,r,i,u,o,s,a,c,d){this.initService=n,this.contentService=e,this.cachingService=t,this.formatService=l,this.capabilityService=r,this.deviceService=i,this.router=u,this.routerService=o,this.auditService=s,this.domSanitizer=a,this.analyticsService=c,this.config=d,this._window=window,this.logger=this._window.KeyCommonTkt.logger.getInstance("SignInCoreComponent"),this.showErrorMsg=!1,this.currentStep="SIGN_ON_INIT",this.mergerPrefixRequired=!1,this.authenticateYourAccountBtn="",this.mainTitleLbl="Secure Sign On",this.hasMessageToDisplay=!1,this.returnFromForgotsOrUnlock=!1,this.isFidoAvailable=!1,this.isBindIdEnabled=!1,this.registeredBindIdUser="",this.brandCode="",this.primaryAuthBtnType="Sign On With Your Bind ID",this.secondaryAuthBtnType="Enter Your Password",this.authMode="bindid",this.hidePassword=!0,this.otacCode0="",this.otacCode1="",this.otacCode2="",this.password="",this.setLastSignOnDate=function(n){this.cachingService.put(g.a.STORAGE_KEY_LAST_SIGNON_TIME,n,!0)},this.analyticsService.signInStart(!this.cachingService.getCookie(g.a.STORAGE_KEY_IS_USER_REMEMBERED,!1)),this.user=new h,this.supportLinks=this.contentService.readSettings("supportLinks"),this.loadMessagesAndLabels()}return n.prototype.ngAfterViewInit=function(){this.loadMessagesAndLabelsByOrigin(),this.focusInput(),this.analyticsService.pageLoadComplete()},n.prototype.ngOnChanges=function(n){console.log("Signin core ngOnChanges."),""==this.errorMessage&&(this.showErrorMsg=!1)},n.prototype.ngOnInit=function(){this.capabilities=this.capabilityService.getAllCapabilities(),this.setupAdditionalAuthenticatorsIfAny(),this.initSignOn(),console.log("Signin-Core onInit")},n.prototype.loadMessagesAndLabelsByOrigin=function(){switch(this.routerService.readQueryStringFromUrl("origin")){case"uap":this.authenticateYourAccountBtn=this.commonMessagesAndLabels.authenticateYourAccountBtnUap,this.mainTitleLbl=this.commonMessagesAndLabels.onlineBankingTitleUap;break;case"ao":this.authenticateYourAccountBtn=this.commonMessagesAndLabels.authenticateYourAccountBtnAo,this.mainTitleLbl=this.commonMessagesAndLabels.onlineBankingTitleAo;break;case"bolstr":this.authenticateYourAccountBtn=this.commonMessagesAndLabels.authenticateYourAccountBtnBolstr,this.mainTitleLbl=this.commonMessagesAndLabels.onlineBankingTitleBolstr;break;default:this.authenticateYourAccountBtn=this.commonMessagesAndLabels.authenticateYourAccountBtn,this.mainTitleLbl=this.commonMessagesAndLabels.onlineBankingTitleLbl}},n.prototype.initSignOn=function(){this._window.sessionStorage.setItem(g.a.STORAGE_KEY_SESSION_CREATED,"true"),this.brandCode=this._window.KeyCommonTkt.getBrandIdentifier(),this.resetDataStoredInBrowser(),this.initUser(!0),this.handleInitByUrlParamsIfAny()},n.prototype.setupAdditionalAuthenticatorsIfAny=function(){if(this.capabilities.isFidoEnabled){var n=this.cachingService.getCookie(g.a.STORAGE_KEY_BIOMETRIC_ENABLED,!0,!1);this.isFidoAvailable=!(!n||""==n)}if(this.capabilities.enableBindidLogin){this.registeredBindIdUser=this.cachingService.getCookie(g.a.STORAGE_KEY_BINDID_ENABLED,!0,!1);var e=this.cachingService.getCookie(g.a.STORAGE_KEY_REMEMBERED_USERID,!1,!0);e&&""!=e?this.registeredBindIdUser&&""!=this.registeredBindIdUser&&e.toLowerCase()==this.registeredBindIdUser.toLowerCase()&&(this.isBindIdEnabled=!0):this.registeredBindIdUser&&""!=this.registeredBindIdUser&&(this.isBindIdEnabled=!0)}this.isBindIdEnabled||(this.hidePassword=!1)},n.prototype.handleInitByUrlParamsIfAny=function(){switch(this.routerService.readQueryStringFromUrl("authstatus")){case"lockout":this.showErrorMsg=!0,this.errorMessage=this.compMessagesAndLabels.lockoutTextErr,this.analyticsService.errorEvent(this.errorMessage);break;case"success":this.onAuthSuccess();break;case"successafterforgots":case"successafterunlock":case"cancelafterforgots":case"cancelafterunlock":this.handleReturnFromForgotsOrUnlock()}},n.prototype.onAuthSuccess=function(){},n.prototype.handleReturnFromForgotsOrUnlock=function(){this.returnFromForgotsOrUnlock=!0},n.prototype.initUser=function(n){this.currentStep="SIGN_ON_INIT",this.checkAndDisplayMsgIfAny();var e=this.getUserFromBrowser(new h);if(this.user.isRemembered=!!e.isRemembered,this.user.isRemembered?(this.user.userId=e.userId,this.user.rememberedUserId=e.userId):this.user.userId=this.user&&this.user.userId?this.user.userId.trim():"",void 0===this.isKnownUser&&(this.isKnownUser=null!=this.user.isRemembered&&null!=this.user.userId&&this.user.userId.length>0),!this.isKnownUser&&this.registeredBindIdUser&&""!=this.registeredBindIdUser&&""==this.user.userId&&(this.user.userId=this.registeredBindIdUser),"successafteruserid"==this.routerService.readQueryStringFromUrl("authstatus")){var t=this._window.sessionStorage.getItem("_k_fuid");this.user.userId="",t&&t.length>0&&(this.user.userId=t.trim(),this._window.sessionStorage.removeItem("_k_fuid"))}},n.prototype.focusInput=function(){this.isKnownUser?this.passwordEl&&this.passwordEl.$.focus():this.usernameEl&&this.usernameEl.$.focus()},n.prototype.initStepUp=function(){var n=this;this.showErrorMsg=!1;var e={container:"loginStepUpContainer",policyName:"loginPolicy",operationName:g.a.OPERATION_LOGIN_BY_PASSWORD,migrated:!(!this.user||!this.user.migrated)&&this.user.migrated};this.currentStep="STEP_UP",this.showErrorMsg=!1,this._window.KeyAmtTkt.stepUp(e).then(function(e){n.logger.log("Step up success",e),n.stepUpComplete()},function(e){n.resetDataStoredInBrowser(),n.logger.log("Step up failure",e),n.handleStepUpErrorByCode(e)})},n.prototype.preparePrimaryAuth=function(){"bindid"==this.authMode?this.authenticateUsingBindId():this.hidePassword?this.hidePassword=!1:this.authenticate()},n.prototype.prepareSecondaryAuth=function(){"bindid"==this.authMode?(this.authMode="password",this.hidePassword=!1,this.primaryAuthBtnType="Sign On",this.secondaryAuthBtnType="Sign On With Your Bind ID",this.focusInput()):this.authenticateUsingBindId()},n.prototype.checkAndDisplayMsgIfAny=function(){var n=this._window.KeyDecTkt.getAllOosEntriesByZone("login_app_web");if(this.hasMessageToDisplay=n&&n.length>0,this.hasMessageToDisplay){this.logger.log("has message to display",n);for(var e=function(n){var e="primary"===n.slot?t._window.innerWidth>768?document.getElementById("msgPrimary"):document.getElementById("msgMobPrimary"):document.getElementById("msgSecondary");t._window.KeyDecTkt.getContentsForGivenEntry(n,"node",function(n){e.innerHTML="",e.appendChild(n)})},t=this,l=0,r=n;l<r.length;l++)e(r[l])}else this.logger.log("No message found to display")},n.prototype.handleStepUpErrorByCode=function(n){this.showErrorMsg=!0,this.errorMessage=n.message,n.description==g.a.STEPUP_ABORT?this.showErrorMsg=!1:this.analyticsService.errorEvent(this.errorMessage),this.initSignOn()},n.prototype.stepUpComplete=function(){this.initDeviceRegistration()},n.prototype.stepUpError=function(){this.initSignOn()},n.prototype.initAmt=function(){this.currentStep="AMT"},n.prototype.mergerPrefix=function(){var n=this.user&&this.user.userId?this.user.userId.toLowerCase().trim():"";return n.length>=5&&n.length<=7&&!this.config.stubEnabled&&(this.mergerPrefixRequired=!0,n="merger"+n),n},n.prototype.handleRememerMe=function(){this.user.isRemembered?(this.user.rememberedUserId=this.user&&this.user.userId?this.user.userId.trim():"",this.saveUserOnBrowser(this.user.rememberedUserId,this.user.isRemembered)):this.saveUserOnBrowser("",this.user.isRemembered)},n.prototype.saveUserOnBrowser=function(n,e){e?(this.cachingService.createCookie(g.a.STORAGE_KEY_REMEMBERED_USERID,n,25,!1,!0),this.cachingService.createCookie(g.a.STORAGE_KEY_IS_USER_REMEMBERED,e.toString(),25,!1)):(this.cachingService.createCookie(g.a.STORAGE_KEY_IS_USER_REMEMBERED,"",-25,!1),this.cachingService.createCookie(g.a.STORAGE_KEY_REMEMBERED_USERID,"",-25,!1,!0),this.cachingService.createCookie(g.a.STORAGE_KEY_BIOMETRIC_ENABLED,"",-25,!1,!0),this.setupAdditionalAuthenticatorsIfAny())},n.prototype.getUserFromBrowser=function(n){return n.userId=this.cachingService.getCookie(g.a.STORAGE_KEY_REMEMBERED_USERID,!1,!0),n.isRemembered=!!this.cachingService.getCookie(g.a.STORAGE_KEY_IS_USER_REMEMBERED,!1),n},n.prototype.processPostLoginActions=function(n){var e=this;return new Promise(function(t){if(n.otac_code){var l=n.otac_code;e.currentStep="POST_LOGIN_ACTION",e.otacCode0=l.substr(0,4),e.otacCode1=l.substr(4,4),e.otacCode2=l.substr(8,12),t(!1)}t(!0)})},n.prototype.proceedToDashboard=function(){this.navigateToLanding()},n.prototype.authenticateUsingBindId=function(){var n=this;if(!this.isValidUserId())return this.errorMessage="Please enter a valid user ID",void(this.showErrorMsg=!0);this.initAmt(),this._window.KeyAmtTkt.authenticateUsingBindId(this.mergerPrefix(),"signInAmtContainer",{rememberDevice:this.user.isRemembered}).then(function(e){if(n.handleRememerMe(),n.logger.log("user logon successful",e),e.data){if(n.logger.log("bio login successful"),n.sessionMismatchOrInvalidResponseFound(e.data))return void n.handleAuthErrorByCode(500);n.setUserData(e,!0),n.processPostLoginActions(e).then(function(e){e&&n.navigateToLanding()})}else n.logger.error("login success but invalid response found"),n.handleAuthErrorByCode(500)},function(e){n.logger.log("bio login failed"),console.log(e),n.processAuthError(e)})},n.prototype.authenticateUsingBiometric=function(){var n=this;if(!this.isValidUserId())return this.errorMessage="Please enter a valid user ID",void(this.showErrorMsg=!0);this.initAmt(),this._window.KeyAmtTkt.authenticateUsingBiometric(this.mergerPrefix(),"fido","signInAmtContainer").then(function(e){if(n.handleRememerMe(),n.logger.log("user logon successful",e),e.data){if(n.logger.log("bio login successful"),n.sessionMismatchOrInvalidResponseFound(e.data))return void n.handleAuthErrorByCode(500);n.setUserData(e,!0),n.processPostLoginActions(e).then(function(e){e&&n.navigateToLanding()})}else n.logger.error("login success but invalid response found"),n.handleAuthErrorByCode(500)},function(e){n.logger.log("bio login failed"),console.log(e),n.processAuthError(e)})},n.prototype.authenticate=function(){var n=this;if(!this.isValidUserId()||!this.user.pwd||0==this.user.pwd.length)return this.errorMessage="Please enter a valid user ID and password",this.showErrorMsg=!0,void this.analyticsService.errorEvent(this.errorMessage);this.initAmt(),this.mergerPrefixRequired=!1;var e=this.mergerPrefix();this._window.KeyAmtTkt.authenticate(e,this.user.pwd,"signInAmtContainer",this.user.isRemembered,this.returnFromForgotsOrUnlock).then(function(e){if(n.handleRememerMe(),n.logger.log("user logon successful",e),e.data){if(n.logger.log("login by Pwd successful"),n.sessionMismatchOrInvalidResponseFound(e.data))return void n.handleAuthErrorByCode(500);n.setUserData(e,!0),n.processPostLoginActions(e).then(function(e){e&&n.navigateToLanding()})}else n.logger.error("login success but invalid response found"),n.handleAuthErrorByCode(500)},function(e){n.processAuthError(e)})},n.prototype.processAuthError=function(n){if(this.user.isRemembered||this.handleRememerMe(),this.user.pwd="",this.logger.log("user logon failure",n),n.status==g.a.LOGIN_STATUS_ACCT_LOCKED&&n.data&&0==n.data.locked&&(n.status=g.a.LOGIN_STATUS_ACCT_INACTIVE),n.status==g.a.LOGIN_STATUS_STEPUP_REQUIRED&&n.data){if(this.sessionMismatchOrInvalidResponseFound(n.data))return void this.handleAuthErrorByCode(500);this.setUserData(n,!0)}n.status!=g.a.LOGIN_STATUS_COMPLETE_ENROLLMENT?(n.status==g.a.LOGIN_STATUS_CANCELED&&this.initSignOn(),this.handleAuthErrorByCode(n.status,n)):n.data&&!this.capabilities.noSafetyNetLogin?this.sessionMismatchOrInvalidResponseFound(n.data)?this.handleAuthErrorByCode(500):(this.setUserData(n,!1),this.navigateToCompleteEnrollment(n.data.workFlowId)):(this.setUserData(n,!1),this.navigateToCompleteEnrollment(g.a.COMPLETE_ENROLLMENT))},n.prototype.isValidUserId=function(){var n=this.user.userId?this.user.userId.trim():"";return!!(n&&""!=n&&n.length>=5)},n.prototype.settingCookieToNavigateSelfUnlockUser=function(){this.cachingService.createCookie(g.a.STORAGE_KEY_USER_ID_SECURED,this.user.userId,.008,!1),this.navigateToUnlockUser()},n.prototype.sessionMismatchOrInvalidResponseFound=function(n){if(this.config.stubEnabled)return!1;if(null===n||""===n||void 0===n)return this.logger.log(" Invalid response found to validate sessionMismatchOrInvalidResponseFound"),!0;var e=this.user.userId.trim();this.mergerPrefixRequired&&(e="merger"+e);var t=this._window.KeyAmtTkt.getSessionId(),l=n.authIdEnc?n.authIdEnc.trim():"",r=n.channelSessionIdEnc?n.channelSessionIdEnc.trim():"",i=l?this._window.atob(l):"",u=r?this._window.atob(r):"",o={reqUserId:e,reqSessionId:t,resUserId:i,resSessionid:u};return""===i||""===u?(this.logger.log(" Res parms are empty.. unable to validate",i,u),this.auditService.logSessionMismatch(o),!0):e.toUpperCase()!==i.toUpperCase()?(this.logger.log(" Req and Res UserIDs don't match",e,i),this.auditService.logSessionMismatch(o),!0):(this.logger.log(" Req and Res UserIds, SessionIds match.. good to go"),!1)},n.prototype.handleAuthErrorByCode=function(n,e){var t=this;switch(this.showErrorMsg=!0,n){case g.a.LOGIN_STATUS_INVALID_CREDENTIALS:this.initSignOn(),this.errorMessage=this.compMessagesAndLabels.invalidCredentialErr;break;case g.a.LOGIN_STATUS_ACCT_LOCKED:case g.a.LOGIN_STATUS_SUSPENDED:this.settingCookieToNavigateSelfUnlockUser();break;case g.a.LOGIN_STATUS_ACCT_INACTIVE:this.initSignOn(),this.errorMessage=this.compMessagesAndLabels.lockoutTextErr;break;case g.a.LOGIN_STATUS_FORBIDDEN:this.initSignOn(),this.errorMessage=this.compMessagesAndLabels.forbiddenErr;break;case g.a.LOGIN_STATUS_CANCELED:this.showErrorMsg=!1,this.initSignOn();break;case g.a.LOGIN_STATUS_STEPUP_REQUIRED:this.initStepUp();break;case g.a.OTP_SESSION_EXPIRED:this.initSignOn(),this.errorMessage=this.commonMessagesAndLabels.otpSessionExpiredMsg;break;case g.a.LOGIN_STATUS_NO_AUTHENTICATOR:this.initSignOn(),this.errorMessage=this.commonMessagesAndLabels.loginStepAuthNotAvailable;break;case g.a.LOGIN_STATUS_PENDING_MIGRATION:this.initSignOn(),this.errorMessage=this.commonMessagesAndLabels.pendingTamStatusErr;break;case g.a.LOGIN_NON_IBX_ERROR:this.initSignOn(),this.errorMessage=e&&e.data.customErrorMessageCombined?e.data.customErrorMessageCombined:this.compMessagesAndLabels.systemErr;break;default:this.initSignOn(),this.errorMessage=this.compMessagesAndLabels.systemErr}setTimeout(function(){return t.focusInput()},0),this.errorMessage&&this.analyticsService.errorEvent(this.errorMessage)},n.prototype.initDeviceRegistration=function(){var n=this;this.deviceService.registerDevice().then(function(e){n.logger.log(" Device Registration success"),n.navigateToLanding()},function(e){n.logger.log(" Device Registration failure"),n.navigateToLanding()})},n.prototype.setUserData=function(n,e){this.cachingService.createCookie(g.a.STORAGE_KEY_CUSTOMER_TYPE,n.data.userViewType?n.data.userViewType:"",30,!1,!0),this.cachingService.createCookie(g.a.STORAGE_KEY_LOGIN_ORIGIN_MA,"true",1,!1,!0),this.setAuthentication(e),this.setForcePasswordFlag(!(!n.data||!n.data.forcePassword)&&n.data.forcePassword),this.setLastSignOnDate(this.getLastSignonTimestamp(n.data.lastSignOnDate)),this.loadMessagesAndLabels(),this.user.update(n.data.lastSignOnDate,n.data.conversion,n.data.migrated,n.data.locked,n.data.completeEnrollment,n.data.userViewType)},n.prototype.getGreetingMessage=function(){return this.domSanitizer.bypassSecurityTrustHtml("<h3>User ID: "+this.user.getUserIdMasked()+"</h3>")},n.prototype.showOrHideErrorMessage=function(){this.showErrorMsg&&(this.showErrorMsg="User"!=this.greetingUserId)},n.prototype.hideErrorMessage=function(){this.errorMessage="",this.showErrorMsg=!1,this.updateBindIdAuthOption()},n.prototype.updateBindIdAuthOption=function(){if(this.registeredBindIdUser&&this.user.userId&&""!=this.registeredBindIdUser.trim()&&""!=this.user.userId.trim()){var n=this.registeredBindIdUser.toLocaleLowerCase(),e=this.user.userId.toLocaleLowerCase();this.isBindIdEnabled?n!=e&&(this.isBindIdEnabled=!1,this.hidePassword=!1):n==e&&(this.isBindIdEnabled=!0,this.hidePassword=!0)}},n.prototype.navigateToEnrollment=function(){this._window.open(this.supportLinks.enrollmentUrl,"_parent")},n.prototype.navigateToCompleteEnrollment=function(n){this.showErrorMsg=!1,this.currentStep="REDIRECTING",this._window.open(this.supportLinks.completeEnrollmentUrl+n,"_parent")},n.prototype.navigateToForgotUserId=function(){this._window.open(this.capabilities.forgotUseridExp?this.supportLinks.forgotUserIdAppUrl:this.supportLinks.forgotUserIdUrl,"_parent")},n.prototype.showForgotUserIdPasswordLinks=function(){var n=this;this.logger.log("In showForgotUserIdPasswordLinks"),this.menuPopover.initializeModal("Problem signing on?","",[{name:"Forgot My User ID",class:"",id:"forgotUserIdBtn"},{name:"Forgot My Password",class:"",id:"forgotPasswordBtn"},{name:"My Account is Locked",class:"",id:"accountIsLockedBtn"},{name:"Cancel",class:"",id:"cancelBtn"}]),this.menuPopoverButtonListener=this.menuPopover.buttonClicked.subscribe(function(e){switch(e.id){case"forgotUserIdBtn":n.navigateToForgotUserId();break;case"forgotPasswordBtn":n.navigateToForgotPwd();break;case"accountIsLockedBtn":n.navigateToUnlockUser()}}),this.menuPopover.show()},n.prototype.onProblemModalButtonClick=function(){this.analyticsService.modalOpen()},n.prototype.navigateToForgotPwd=function(){this.showErrorMsg=!1,this._window.open(this.capabilities.newForgotFlow?this.supportLinks.forgotPwdAppUrl:this.supportLinks.forgotPwdUrl,"_parent")},n.prototype.logout=function(){this.mergerPrefixRequired=!1,this._window.KeyAmtTkt.logout()},n.prototype.resetToLogin=function(){this.mergerPrefixRequired=!1,this._window.KeyAmtTkt.logout(),this.initSignOn()},n.prototype.navigateToLanding=function(){if(this.handleRememerMe(),this.showErrorMsg=!1,this.currentStep="REDIRECTING",this.brandCode==this._window.KeyCommonTkt.BRAND_KEY)switch(this.routerService.readQueryStringFromUrl("origin")){case"uap":var n=this.routerService.readQueryStringFromUrlAfterThis("origin=uap&",""),e=n?"&"+n.replace(/,/g,"&").replace(/-/g,"="):"";this.logger.debug("UAP landing url",this.initService.initData.supportLinks.uapLandingPageUrl+e),this._window.location.href=this.initService.initData.supportLinks.uapLandingPageUrl+e;break;case"ao":e=(n=this.routerService.readQueryStringFromUrl("uparams"))?"?"+n.replace(/,/g,"&").replace(/-/g,"="):"",this.logger.debug("AO landing url",this.initService.initData.supportLinks.aoLandingUrl+e),this._window.location.href=this.initService.initData.supportLinks.aoLandingUrl+e;break;case"bolstr":e=(n=this.routerService.readQueryStringFromUrl("uparams"))?"&"+n.replace(/,/g,"&").replace(/-/g,"="):"",this.logger.debug("BOLSTR landing url",this.initService.initData.supportLinks.bolstrLandingUrl+e),this._window.location.href=this.initService.initData.supportLinks.bolstrLandingUrl+e;break;case"hw":this._window.location.href=this.supportLinks.onlineBankingHomeUrl+"?origin=hw";break;default:var t=this.getDeeplinkParams();this.config.stubEnabled?(this._window.localStorage.setItem(g.a.STORAGE_KEY_LOCAL_JSON_USERID,this.user.userId),this._window.location.href=this.supportLinks.onlineBankingHomeUrl+"?stubs=true"):this._window.location.href=this.supportLinks.onlineBankingHomeUrl+t}else if(this.capabilities.dlxLanding){var l=this._window.location.href.split("?");this._window.open("/landing-experience/?"+(l&&l.length>=2?l[1]:""),"_self")}else t=this.getDeeplinkParams(),this.config.stubEnabled?(this._window.localStorage.setItem(g.a.STORAGE_KEY_LOCAL_JSON_USERID,this.user.userId),this._window.location.href=this.supportLinks.onlineBankingHomeUrl+"?stubs=true"):this._window.location.href=this.supportLinks.onlineBankingHomeUrl+t},n.prototype.getDeeplinkParams=function(){var n=this.routerService.readQueryStringFromUrl("deeplink-action"),e=this.routerService.readQueryStringFromUrl("deeplink-addinfo"),t=n&&null!==n?"?deeplink-action="+n:"";if(t+=e&&null!==e?"&deeplink-addinfo="+e:"","hl-exp"==n){var l=this.routerService.readQueryStringFromUrl("loanType");t+=l&&null!=l?"&loanType="+l:"";var r=this.routerService.readQueryStringFromUrl("referrerID");t+=r&&null!=r?"&referrerID="+r:"";var i=this.routerService.readQueryStringFromUrl("appSource");t+=i&&null!=i?"&appSource="+i:"";var u=this.routerService.readQueryStringFromUrl("applicationTemplateId");t+=u&&null!=u?"&applicationTemplateId="+u:"";var o=this.routerService.readQueryStringFromUrl("communityId");t+=o&&null!=o?"&communityId="+o:""}else if("loan-relief"==n){var s=this.routerService.readQueryStringFromUrl("accNum");t+=s&&null!=s?"&accNum="+s:"";var a=this.routerService.readQueryStringFromUrl("accType");t+=a&&null!=a?"&accType="+a:"";var c=this.routerService.readQueryStringFromUrl("formName");t+=c&&null!=c?"&formName="+c:""}return t},n.prototype.navigateToUnlockUser=function(){this.showErrorMsg=!1,this._window.location.href=this.capabilities.newSelfUnlock?this.supportLinks.newUnlockUserUrl:this.supportLinks.unlockUserUrl},n.prototype.navigateToErrorPage=function(){this.router.navigate(["/error"],this.routerService.getAppQueryParamSettings())},n.prototype.loadMessagesAndLabels=function(){this.commonMessagesAndLabels=this.contentService.appMessagesAndLabels;var n=this.isBusinessUserByData()?this.commonMessagesAndLabels.contactBusiness:this.commonMessagesAndLabels.contactRetail;this._window.KeyAmtTkt.setContentVariables({PHONE_NO:n}),this.compMessagesAndLabels=this.contentService.getUpdatedMessagesAndLabels({PHONE_NO:n}),this.redirectMessage=this.commonMessagesAndLabels.redirectmsg},n.prototype.isBusinessUserByData=function(){var n=this.cachingService.getCookie(g.a.STORAGE_KEY_CUSTOMER_TYPE,!1,!0);return void 0!==n&&this.isBusinessViewTypeCategory(n)},n.prototype.isBusinessViewTypeCategory=function(n){return"B"==n||"C"==n||"S"==n},n.prototype.getLastSignonTimestamp=function(n){return void 0!==n&&24===n.length?this.formatService.formatDate(n,g.a.DATE_FORMAT_MMMM_DD_YYYY_TIME,!1):""},n.prototype.setForcePasswordFlag=function(n){n||(n=!1),this.cachingService.put(g.a.STORAGE_KEY_FORCE_PASSWORD,n,!0)},n.prototype.setAuthentication=function(n){this.cachingService.put(g.a.STORAGE_KEY_ISAUTHENTICATED,n,!0),this.storeSessionStartTime()},n.prototype.storeSessionStartTime=function(){var n=Math.round(Date.now()/1e3);localStorage.setItem("_k_sst",n.toString())},n.prototype.saveUserIdChanged=function(n){n.checked||this.isKnownUser&&(this.clearUserData(),this.updateBindIdAuthOption())},n.prototype.clearUserData=function(){this.user.isRemembered=!1,this.user.rememberedUserId="",this.user.userId="",this.isKnownUser=!1,this.showErrorMsg=!1,this.handleRememerMe()},n.prototype.clearAuthentication=function(){this.cachingService.delete(g.a.STORAGE_KEY_ISAUTHENTICATED),this.cachingService.delete(g.a.STORAGE_KEY_LAST_SIGNON_TIME),this.cachingService.delete(g.a.STORAGE_KEY_FORCE_PASSWORD)},n.prototype.resetDataStoredInBrowser=function(){this.clearAuthentication(),this.cachingService.createCookie(g.a.STORAGE_KEY_LOGIN_ORIGIN_MA,"",-1,!1)},n.prototype.getMaskedUserId=function(){return this.user.userId.substring(0,3)+this.user.userId.substring(3).replace(/./g,"x")},n}(),Zn=l.pb({encapsulation:2,styles:[],data:{}});function Jn(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,9,"div",[["class","kds-form__field-group userid-input"]],null,null,null,null,null)),(n()(),l.rb(1,0,null,null,2,"label",[["class","kds-form__label"],["for","masked-uid"]],null,null,null,null,null)),(n()(),l.rb(2,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),l.Ib(-1,null,["Enter your User ID"])),(n()(),l.rb(4,0,null,null,5,"div",[["class","kds-form__input-group kds-form__input-group--disabled"]],null,null,null,null,null)),(n()(),l.rb(5,0,null,null,2,"div",[["class","kds-form__input-group-icon"]],null,null,null,null,null)),(n()(),l.rb(6,0,null,null,1,"kds-icon",[["icon","user-account"]],null,null,null,q,P)),l.qb(7,49152,null,0,D.a,[],{icon:[0,"icon"]},null),(n()(),l.rb(8,0,null,null,1,"div",[["class","ng-pristine ng-valid kds-form__input ng-touched userid-readonly"],["id","masked-uid"]],null,null,null,null,null)),(n()(),l.Ib(9,null,["",""]))],function(n,e){n(e,7,0,"user-account")},function(n,e){n(e,9,0,e.component.getMaskedUserId())})}function Xn(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,9,"kds-input",[["class","userid-input"],["data-test","si_userid_input"],["icon","user-account"],["name","userName"]],[[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"],[null,"ngModelChange"],[null,"focusout"],[null,"focusin"],[null,"mousedown"],[null,"click"]],function(n,e,t){var r=!0,i=n.component;return"focusout"===e&&(r=!1!==l.Bb(n,8).focusOut()&&r),"focusin"===e&&(r=!1!==l.Bb(n,8).focusIn(t)&&r),"mousedown"===e&&(r=!1!==l.Bb(n,8).onMousedown()&&r),"click"===e&&(r=!1!==l.Bb(n,8).onClick()&&r),"keyup"===e&&(r=!1!==i.hideErrorMessage()&&r),"ngModelChange"===e&&(r=!1!==(i.isKnownUser?i.getMaskedUserId():i.user.userId=t)&&r),r},an,$)),l.qb(1,16384,null,0,u.u,[],{required:[0,"required"]},null),l.qb(2,540672,null,0,u.k,[],{maxlength:[0,"maxlength"]},null),l.Fb(1024,null,u.l,function(n,e){return[n,e]},[u.u,u.k]),l.qb(4,671744,null,0,u.r,[[2,u.c],[6,u.l],[8,null],[8,null]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),l.Fb(2048,null,u.n,null,[u.r]),l.qb(6,16384,null,0,u.o,[[4,u.n]],null,null),l.Fb(512,null,F.u,F.u,[]),l.qb(8,4308992,[[1,4],["uidInput",4]],1,F.t,[[6,u.n],l.h,F.u],{type:[0,"type"],id:[1,"id"],required:[2,"required"],disabled:[3,"disabled"],label:[4,"label"],name:[5,"name"],icon:[6,"icon"],maxlength:[7,"maxlength"],autocapitalize:[8,"autocapitalize"]},null),l.Gb(335544320,4,{inputAction:0})],function(n,e){var t=e.component;n(e,1,0,!1),n(e,2,0,30),n(e,4,0,"userName",t.isKnownUser,t.isKnownUser?t.getMaskedUserId():t.user.userId),n(e,8,0,"userID","ibx-user-id-input",!1,t.isKnownUser,"Enter your User ID","userName","user-account",30,"none")},function(n,e){n(e,0,0,l.Bb(e,1).required?"":null,l.Bb(e,2).maxlength?l.Bb(e,2).maxlength:null,l.Bb(e,6).ngClassUntouched,l.Bb(e,6).ngClassTouched,l.Bb(e,6).ngClassPristine,l.Bb(e,6).ngClassDirty,l.Bb(e,6).ngClassValid,l.Bb(e,6).ngClassInvalid,l.Bb(e,6).ngClassPending)})}function ne(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,0,"div",[],null,null,null,null,null))],null,null)}function ee(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,0,"div",[],null,null,null,null,null))],null,null)}function te(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,0,"div",[],null,null,null,null,null))],null,null)}function le(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,0,"div",[],null,null,null,null,null))],null,null)}function re(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,0,"hr",[],null,null,null,null,null))],null,null)}function ie(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,46,"div",[["class","row signin-block"]],null,null,null,null,null)),(n()(),l.rb(1,0,null,null,35,"div",[["class","col-12 signin-input-section"]],null,null,null,null,null)),(n()(),l.rb(2,0,null,null,34,"form",[["autocomplete","off"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var r=!0;return"submit"===e&&(r=!1!==l.Bb(n,4).onSubmit(t)&&r),"reset"===e&&(r=!1!==l.Bb(n,4).onReset()&&r),r},null,null)),l.qb(3,16384,null,0,u.x,[],null,null),l.qb(4,4210688,[["signOnForm",4]],0,u.q,[[8,null],[8,null]],null,null),l.Fb(2048,null,u.c,null,[u.q]),l.qb(6,16384,null,0,u.p,[[4,u.c]],null,null),(n()(),l.rb(7,0,null,null,7,"div",[["class","userid-container"]],null,null,null,null,null)),(n()(),l.ib(16777216,null,null,1,null,Jn)),l.qb(9,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"]},null),(n()(),l.ib(16777216,null,null,1,null,Xn)),l.qb(11,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"]},null),(n()(),l.rb(12,0,null,null,2,"button",[["icon","fingerprint"],["kdsInputAction",""],["type","button"]],[[8,"hidden",0],[2,"kds-button",null],[2,"kds-button--flat",null],[1,"type",0]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.authenticateUsingBiometric()&&l),l},V,H)),l.qb(13,49152,null,0,F.s,[],{icon:[0,"icon"]},null),(n()(),l.Ib(-1,0,["Use Biometric Login "])),(n()(),l.rb(15,0,null,null,8,"kds-input",[["data-test","log_pwd_txt"],["name","password"]],[[8,"hidden",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"focusout"],[null,"focusin"],[null,"mousedown"],[null,"click"]],function(n,e,t){var r=!0,i=n.component;return"focusout"===e&&(r=!1!==l.Bb(n,22).focusOut()&&r),"focusin"===e&&(r=!1!==l.Bb(n,22).focusIn(t)&&r),"mousedown"===e&&(r=!1!==l.Bb(n,22).onMousedown()&&r),"click"===e&&(r=!1!==l.Bb(n,22).onClick()&&r),"ngModelChange"===e&&(r=!1!==(i.user.pwd=t)&&r),r},an,$)),l.qb(16,16384,null,0,u.u,[],{required:[0,"required"]},null),l.Fb(1024,null,u.l,function(n){return[n]},[u.u]),l.qb(18,671744,null,0,u.r,[[2,u.c],[6,u.l],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l.Fb(2048,null,u.n,null,[u.r]),l.qb(20,16384,null,0,u.o,[[4,u.n]],null,null),l.Fb(512,null,F.u,F.u,[]),l.qb(22,4308992,[[2,4],["pwdInput",4]],1,F.t,[[6,u.n],l.h,F.u],{type:[0,"type"],id:[1,"id"],required:[2,"required"],label:[3,"label"],name:[4,"name"],autocapitalize:[5,"autocapitalize"]},null),l.Gb(335544320,5,{inputAction:0}),(n()(),l.rb(24,0,null,null,10,"div",[["class","d-flex justify-content-between"]],null,null,null,null,null)),(n()(),l.rb(25,0,null,null,7,"div",[["class","pull-left"]],null,null,null,null,null)),(n()(),l.rb(26,0,null,null,6,"kds-checkbox",[["data-analytics","action_cl|rememberMe"],["data-test","si_save_userid"],["name","rememberMe"]],[[8,"label",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"focusout"]],function(n,e,t){var r=!0,i=n.component;return"focusout"===e&&(r=!1!==l.Bb(n,27).focusOut()&&r),"ngModelChange"===e&&(r=!1!==(i.user.isRemembered=t)&&r),"change"===e&&(r=!1!==i.saveUserIdChanged(t)&&r),r},W,Y)),l.qb(27,49152,[["theCheckBox",4]],0,F.o,[],{name:[0,"name"]},{change:"change"}),l.Fb(1024,null,u.m,function(n){return[n]},[F.o]),l.qb(29,671744,null,0,u.r,[[2,u.c],[8,null],[8,null],[6,u.m]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l.Fb(2048,null,u.n,null,[u.r]),l.qb(31,16384,null,0,u.o,[[4,u.n]],null,null),(n()(),l.Ib(-1,0,[" Remember me "])),(n()(),l.ib(16777216,null,null,1,null,ne)),l.qb(34,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"],ngIfThen:[1,"ngIfThen"]},null),(n()(),l.ib(16777216,null,null,1,null,ee)),l.qb(36,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"],ngIfThen:[1,"ngIfThen"],ngIfElse:[2,"ngIfElse"]},null),(n()(),l.rb(37,0,null,null,7,"div",[["class","col-12 mt-4 signin__button-well signin-button-well-combo"]],null,null,null,null,null)),(n()(),l.ib(16777216,null,null,1,null,te)),l.qb(39,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"],ngIfThen:[1,"ngIfThen"]},null),(n()(),l.ib(16777216,null,null,1,null,le)),l.qb(41,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"],ngIfThen:[1,"ngIfThen"]},null),(n()(),l.ib(0,[["drawASeparation",2]],null,0,null,re)),(n()(),l.rb(43,0,null,null,1,"button",[["data-analytics","action_cl|enroll"],["data-analytics-login","enroll"],["data-test","si_enroll_btn"],["kdsButton","flat"]],[[8,"innerHTML",1],[2,"kds-button",null],[2,"kds-button--small",null],[2,"kds-button--block",null],[1,"disabled",0],[1,"type",0],[1,"tabIndex",0]],[[null,"click"]],function(n,e,t){var r=!0,i=n.component;return"click"===e&&(r=!1!==l.Bb(n,44).onClick(t)&&r),"click"===e&&(r=!1!==i.navigateToEnrollment()&&r),r},vn,dn)),l.qb(44,114688,null,0,cn.a,[l.k],{type:[0,"type"],block:[1,"block"]},null),(n()(),l.rb(45,0,null,null,1,"div",[["class","signin-block"]],[[8,"hidden",0]],null,null,null,null)),(n()(),l.rb(46,0,null,null,0,"div",[["class","signin-redirect-section"]],[[8,"innerHTML",1]],null,null,null,null))],function(n,e){var t=e.component;n(e,9,0,t.isKnownUser),n(e,11,0,!t.isKnownUser),n(e,13,0,"fingerprint"),n(e,16,0,!1),n(e,18,0,"password",t.user.pwd),n(e,22,0,"password","ibx-password-input",!1,"Enter your Password","password","none"),n(e,27,0,"rememberMe"),n(e,29,0,"rememberMe",t.user.isRemembered),n(e,34,0,t.isBindIdEnabled,l.Bb(e.parent,68)),n(e,36,0,t.isBindIdEnabled,l.Bb(e.parent,70),l.Bb(e.parent,69)),n(e,39,0,!t.isBindIdEnabled,l.Bb(e.parent,68)),n(e,41,0,!t.isBindIdEnabled,l.Bb(e,42)),n(e,44,0,"flat",!0)},function(n,e){var t=e.component;n(e,2,0,l.Bb(e,6).ngClassUntouched,l.Bb(e,6).ngClassTouched,l.Bb(e,6).ngClassPristine,l.Bb(e,6).ngClassDirty,l.Bb(e,6).ngClassValid,l.Bb(e,6).ngClassInvalid,l.Bb(e,6).ngClassPending),n(e,12,0,!(t.isFidoAvailable&&t.user.isRemembered),!0,!0,"button"),n(e,15,0,t.hidePassword,l.Bb(e,16).required?"":null,l.Bb(e,20).ngClassUntouched,l.Bb(e,20).ngClassTouched,l.Bb(e,20).ngClassPristine,l.Bb(e,20).ngClassDirty,l.Bb(e,20).ngClassValid,l.Bb(e,20).ngClassInvalid,l.Bb(e,20).ngClassPending),n(e,26,0,"Remember me",l.Bb(e,31).ngClassUntouched,l.Bb(e,31).ngClassTouched,l.Bb(e,31).ngClassPristine,l.Bb(e,31).ngClassDirty,l.Bb(e,31).ngClassValid,l.Bb(e,31).ngClassInvalid,l.Bb(e,31).ngClassPending),n(e,43,0,t.compMessagesAndLabels.enrollInOnlineBankingBtn,!0,"small"===l.Bb(e,44).size,l.Bb(e,44).block,!!l.Bb(e,44).disabled||null,l.Bb(e,44).buttonType,"a"===l.Bb(e,44).tagName&&l.Bb(e,44).disabled?-1:l.Bb(e,44).tabIndex),n(e,45,0,"REDIRECTING"!=t.currentStep),n(e,46,0,t.redirectMessage)})}function ue(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,4,"div",[["class","pull-right"]],null,null,null,null,null)),(n()(),l.rb(1,0,null,null,3,"button",[["data-analytics-login","problem"],["data-test","si_help_btn"],["kdsButton","flat"]],[[2,"kds-button",null],[2,"kds-button--small",null],[2,"kds-button--block",null],[1,"disabled",0],[1,"type",0],[1,"tabIndex",0]],[[null,"click"]],function(n,e,t){var r=!0,i=n.component;return"click"===e&&(r=!1!==l.Bb(n,2).onClick(t)&&r),"click"===e&&(r=!1!==l.Bb(n,3).onClick(l.Bb(n,3).event)&&r),"click"===e&&(r=!1!==i.onProblemModalButtonClick()&&r),r},vn,dn)),l.qb(2,114688,null,0,cn.a,[l.k],{type:[0,"type"],block:[1,"block"]},null),l.qb(3,16384,null,0,_n.g,[l.k],{modal:[0,"modal"]},null),(n()(),l.Ib(4,0,[""," "]))],function(n,e){n(e,2,0,"flat",!0),n(e,3,0,l.Bb(e.parent,72))},function(n,e){var t=e.component;n(e,1,0,!0,"small"===l.Bb(e,2).size,l.Bb(e,2).block,!!l.Bb(e,2).disabled||null,l.Bb(e,2).buttonType,"a"===l.Bb(e,2).tagName&&l.Bb(e,2).disabled?-1:l.Bb(e,2).tabIndex),n(e,4,0,t.compMessagesAndLabels.forgetUserIdPasswordLbl)})}function oe(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,2,"button",[["class","mt-3"],["data-test","log_sbt_btn"],["type","submit"]],[[2,"kds-button",null],[2,"kds-button--small",null],[2,"kds-button--block",null],[1,"disabled",0],[1,"type",0],[1,"tabIndex",0]],[[null,"click"]],function(n,e,t){var r=!0,i=n.component;return"click"===e&&(r=!1!==l.Bb(n,1).onClick(t)&&r),"click"===e&&(r=!1!==i.authenticate()&&r),r},vn,dn)),l.qb(1,114688,null,0,cn.a,[l.k],{type:[0,"type"],disabled:[1,"disabled"],block:[2,"block"]},null),(n()(),l.Ib(2,0,[""," "]))],function(n,e){n(e,1,0,"primary",e.component.authInProgress,!0)},function(n,e){var t=e.component;n(e,0,0,!0,"small"===l.Bb(e,1).size,l.Bb(e,1).block,!!l.Bb(e,1).disabled||null,l.Bb(e,1).buttonType,"a"===l.Bb(e,1).tagName&&l.Bb(e,1).disabled?-1:l.Bb(e,1).tabIndex),n(e,2,0,t.compMessagesAndLabels.loginBtn)})}function se(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,2,"button",[["class","mt-3 signon-bid-btn"],["data-test","log_sbt_btn"],["type","submit"]],[[2,"kds-button",null],[2,"kds-button--small",null],[2,"kds-button--block",null],[1,"disabled",0],[1,"type",0],[1,"tabIndex",0]],[[null,"click"]],function(n,e,t){var r=!0,i=n.component;return"click"===e&&(r=!1!==l.Bb(n,1).onClick(t)&&r),"click"===e&&(r=!1!==i.preparePrimaryAuth()&&r),r},vn,dn)),l.qb(1,114688,null,0,cn.a,[l.k],{type:[0,"type"],disabled:[1,"disabled"],block:[2,"block"]},null),(n()(),l.Ib(2,0,[""," "]))],function(n,e){n(e,1,0,"primary",e.component.authInProgress,!0)},function(n,e){var t=e.component;n(e,0,0,!0,"small"===l.Bb(e,1).size,l.Bb(e,1).block,!!l.Bb(e,1).disabled||null,l.Bb(e,1).buttonType,"a"===l.Bb(e,1).tagName&&l.Bb(e,1).disabled?-1:l.Bb(e,1).tabIndex),n(e,2,0,t.primaryAuthBtnType)})}function ae(n){return l.Kb(0,[(n()(),l.ib(16777216,null,null,1,null,se)),l.qb(1,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"]},null),(n()(),l.rb(2,0,null,null,2,"div",[["class","signon-divider-block"]],null,null,null,null,null)),(n()(),l.rb(3,0,null,null,1,"span",[["class","signon-divider-txt"]],null,null,null,null,null)),(n()(),l.Ib(-1,null,["Or"])),(n()(),l.rb(5,0,null,null,2,"button",[["class","mt-3 signon-bid-btn"],["data-test","log_sbt_btn"],["type","submit"]],[[2,"kds-button",null],[2,"kds-button--small",null],[2,"kds-button--block",null],[1,"disabled",0],[1,"type",0],[1,"tabIndex",0]],[[null,"click"]],function(n,e,t){var r=!0,i=n.component;return"click"===e&&(r=!1!==l.Bb(n,6).onClick(t)&&r),"click"===e&&(r=!1!==i.prepareSecondaryAuth()&&r),r},vn,dn)),l.qb(6,114688,null,0,cn.a,[l.k],{type:[0,"type"],disabled:[1,"disabled"],block:[2,"block"]},null),(n()(),l.Ib(7,0,[""," "]))],function(n,e){var t=e.component;n(e,1,0,t.isBindIdEnabled),n(e,6,0,"secondary",t.authInProgress,!0)},function(n,e){var t=e.component;n(e,5,0,!0,"small"===l.Bb(e,6).size,l.Bb(e,6).block,!!l.Bb(e,6).disabled||null,l.Bb(e,6).buttonType,"a"===l.Bb(e,6).tagName&&l.Bb(e,6).disabled?-1:l.Bb(e,6).tabIndex),n(e,7,0,t.secondaryAuthBtnType)})}function ce(n){return l.Kb(0,[l.Gb(671088640,1,{usernameEl:0}),l.Gb(671088640,2,{passwordEl:0}),l.Gb(402653184,3,{menuPopover:0}),(n()(),l.rb(3,0,null,null,81,"div",[["class","container app-container"]],null,null,null,null,null)),(n()(),l.rb(4,0,null,null,61,"div",[["class","row"]],null,null,null,null,null)),(n()(),l.rb(5,0,null,null,60,"div",[["class","col-12"]],null,null,null,null,null)),(n()(),l.rb(6,0,null,null,22,"div",[["class","signin-block-container d-flex justify-content-center flex-row flex-wrap"]],null,null,null,null,null)),(n()(),l.rb(7,0,null,null,1,"div",[["class","signin-msg-primary-mbl d-block d-md-none"]],null,null,null,null,null)),(n()(),l.rb(8,0,null,null,0,"div",[["id","msgMobPrimary"]],[[8,"hidden",0]],null,null,null,null)),(n()(),l.rb(9,0,null,null,14,"div",[["class","signin-container signin-combo"],["id","signInMain"]],[[8,"hidden",0]],null,null,null,null)),(n()(),l.rb(10,0,null,null,1,"sign-in-header",[],null,null,null,Sn,kn)),l.qb(11,4833280,null,0,yn,[],{showMsg:[0,"showMsg"]},null),(n()(),l.rb(12,0,null,null,9,"div",[["class","col-12 mt-3"]],[[8,"hidden",0]],null,null,null,null)),(n()(),l.rb(13,0,null,null,8,"div",[["class","kds-alert"]],null,null,null,null,null)),(n()(),l.rb(14,0,null,null,7,"div",[["class","kds-alert__content kds-alert__content--warning mb-0"]],null,null,null,null,null)),(n()(),l.rb(15,0,null,null,4,"div",[["class","kds-alert__cell kds-alert__cell--indicator"]],null,null,null,null,null)),(n()(),l.rb(16,0,null,null,3,":svg:svg",[["aria-hidden","true"],["aria-labelledby","login-app-waring"],["class","kds-icon kds-alert__indicator"],["role","img"]],null,null,null,null,null)),(n()(),l.rb(17,0,null,null,1,":svg:title",[["class","kds-screenreader-only"],["id","login-app-waring"]],null,null,null,null,null)),(n()(),l.Ib(-1,null,["Key Login warning icon"])),(n()(),l.rb(19,0,null,null,0,":svg:use",[[":xlink:href","images/kds.svg#alert"]],null,null,null,null,null)),(n()(),l.rb(20,0,null,null,1,"div",[["class","kds-alert__cell kds-alert__cell--body"]],null,null,null,null,null)),(n()(),l.rb(21,0,null,null,0,"p",[["class","kds-alert__description pb-0"],["data-test","si_error_msg"],["x-ms-format-detection","none"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),l.ib(16777216,null,null,1,null,ie)),l.qb(23,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"]},null),(n()(),l.rb(24,0,null,null,4,"div",[["class","signin-msg-container"]],[[8,"hidden",0]],null,null,null,null)),(n()(),l.rb(25,0,null,null,1,"div",[["class","signin-msg-primary d-none d-md-block d-lg-block d-xl-block"]],null,null,null,null,null)),(n()(),l.rb(26,0,null,null,0,"div",[["id","msgPrimary"]],null,null,null,null,null)),(n()(),l.rb(27,0,null,null,1,"div",[["class","signin-msg-secondary"]],null,null,null,null,null)),(n()(),l.rb(28,0,null,null,0,"div",[["id","msgSecondary"]],null,null,null,null,null)),(n()(),l.rb(29,0,null,null,36,"div",[["class","col-12 col-md-8 offset-md-2 col-xl-6 offset-xl-3"]],null,null,null,null,null)),(n()(),l.rb(30,0,null,null,1,"div",[],[[8,"hidden",0]],null,null,null,null)),(n()(),l.rb(31,0,null,null,0,"div",[["id","loginStepUpContainer"]],null,null,null,null,null)),(n()(),l.rb(32,0,null,null,0,"div",[["id","signInAmtContainer"]],[[8,"hidden",0]],null,null,null,null)),(n()(),l.rb(33,0,null,null,32,"div",[["class","signin-otac-72"],["id","signInAmtContainer"]],[[8,"hidden",0]],null,null,null,null)),(n()(),l.rb(34,0,null,null,0,"img",[["alt","otac"],["src","images/otac-72-hours.svg"]],null,null,null,null,null)),(n()(),l.rb(35,0,null,null,1,"h2",[],null,null,null,null,null)),(n()(),l.Ib(-1,null,[" Here's a new One-Time Access Code. "])),(n()(),l.rb(37,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),l.Ib(-1,null,[" It'll be active for the next 72 hours. Don't share it with anyone\u2014not even a representative of KeyBank."])),(n()(),l.rb(39,0,null,null,1,"h3",[["class","mt-4"]],null,null,null,null,null)),(n()(),l.Ib(-1,null,[" Your Access Code: "])),(n()(),l.rb(41,0,null,null,21,"div",[["class","otac-display"]],null,null,null,null,null)),(n()(),l.rb(42,0,[["otacCode",1]],null,6,"span",[],null,null,null,null,null)),(n()(),l.rb(43,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),l.Ib(44,null,["",""])),(n()(),l.rb(45,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),l.Ib(46,null,["",""])),(n()(),l.rb(47,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),l.Ib(48,null,["",""])),(n()(),l.rb(49,0,null,null,13,"kds-tooltip",[],null,null,null,Cn,Tn)),l.qb(50,1163264,[["otacTooltip",4]],1,En.a,[],{revealOn:[0,"revealOn"],controlled:[1,"controlled"]},null),l.Gb(335544320,6,{tooltipTrigger:0}),(n()(),l.rb(52,0,null,0,6,"button",[["kdsTooltipTrigger",""]],[[2,"kds-tooltip__target",null],[2,"kds-tooltip__target--help",null],[1,"aria-describedby",0],[2,"kds-button",null],[2,"kds-button--small",null],[2,"kds-button--block",null],[1,"disabled",0],[1,"type",0],[1,"tabIndex",0]],[[null,"copy"],[null,"click"]],function(n,e,t){var r=!0;return"click"===e&&(r=!1!==l.Bb(n,53).copyText(t)&&r),"click"===e&&(r=!1!==l.Bb(n,54).onClick(t)&&r),"click"===e&&(r=!1!==l.Bb(n,55).onClick(t)&&r),"copy"===e&&(r=!1!==("SUCCESS"===t&&l.Bb(n,50).toggle())&&r),r},vn,dn)),l.qb(53,16384,null,0,G.a,[],{snippet:[0,"snippet"]},{copy:"copy"}),l.qb(54,81920,[[6,4]],0,En.c,[],null,null),l.qb(55,114688,null,0,cn.a,[l.k],{type:[0,"type"],icon:[1,"icon"]},null),(n()(),l.Ib(-1,0,[" Copy "])),(n()(),l.rb(57,0,null,0,1,"span",[["class","kds-screenreader-only"]],null,null,null,null,null)),(n()(),l.Ib(-1,null,["otac number"])),(n()(),l.rb(59,0,null,1,3,null,null,null,null,null,null,null)),(n()(),l.Ib(-1,null,[" Copied "])),(n()(),l.rb(61,0,null,null,1,"span",[["class","kds-screenreader-only"]],null,null,null,null,null)),(n()(),l.Ib(-1,null,["text successfully"])),(n()(),l.rb(63,0,null,null,2,"button",[["class","mt-5"]],[[2,"kds-button",null],[2,"kds-button--small",null],[2,"kds-button--block",null],[1,"disabled",0],[1,"type",0],[1,"tabIndex",0]],[[null,"click"]],function(n,e,t){var r=!0,i=n.component;return"click"===e&&(r=!1!==l.Bb(n,64).onClick(t)&&r),"click"===e&&(r=!1!==i.proceedToDashboard()&&r),r},vn,dn)),l.qb(64,114688,null,0,cn.a,[l.k],{type:[0,"type"],block:[1,"block"]},null),(n()(),l.Ib(-1,0,[" Continue to Account Summary "])),(n()(),l.rb(66,0,null,null,1,"menu-popover",[],null,null,null,f,a)),l.qb(67,114688,[[3,4],["menuPopover",4]],0,s,[],null,null),(n()(),l.ib(0,[["problemSignOnContent",2]],null,0,null,ue)),(n()(),l.ib(0,[["noBindIdScreen",2]],null,0,null,oe)),(n()(),l.ib(0,[["bindIdScreen",2]],null,0,null,ae)),(n()(),l.rb(71,0,null,null,13,"kds-modal",[],null,[["document","keydown"]],function(n,e,t){var r=!0;return"document:keydown"===e&&(r=!1!==l.Bb(n,72).closeOnEsc(t)&&r),r},Nn,Un)),l.qb(72,4374528,[["showProblemSigningOn",4]],3,_n.c,[l.k,l.h,G.f],{heading:[0,"heading"],type:[1,"type"]},null),l.Gb(335544320,7,{projectedCloseButton:0}),l.Gb(603979776,8,{modalActions:1}),l.Gb(603979776,9,{modalChildren:1}),(n()(),l.rb(76,0,null,3,2,"button",[["class","mt-4"],["data-analytics-login","forgot user id"],["data-test","forgot_usr_btn"],["type","submit"]],[[2,"kds-button",null],[2,"kds-button--small",null],[2,"kds-button--block",null],[1,"disabled",0],[1,"type",0],[1,"tabIndex",0]],[[null,"click"]],function(n,e,t){var r=!0,i=n.component;return"click"===e&&(r=!1!==l.Bb(n,77).onClick(t)&&r),"click"===e&&(r=!1!==i.navigateToForgotUserId()&&r),r},vn,dn)),l.qb(77,114688,null,0,cn.a,[l.k],{type:[0,"type"],block:[1,"block"]},null),(n()(),l.Ib(78,0,[""," "])),(n()(),l.rb(79,0,null,3,2,"button",[["class","mt-4"],["data-analytics-login","forgot password"],["data-test","forgot_pass_btn"],["type","submit"]],[[2,"kds-button",null],[2,"kds-button--small",null],[2,"kds-button--block",null],[1,"disabled",0],[1,"type",0],[1,"tabIndex",0]],[[null,"click"]],function(n,e,t){var r=!0,i=n.component;return"click"===e&&(r=!1!==l.Bb(n,80).onClick(t)&&r),"click"===e&&(r=!1!==i.navigateToForgotPwd()&&r),r},vn,dn)),l.qb(80,114688,null,0,cn.a,[l.k],{type:[0,"type"],block:[1,"block"]},null),(n()(),l.Ib(81,0,[""," "])),(n()(),l.rb(82,0,null,3,2,"button",[["class","mt-4 mb-2"],["data-analytics-login","account locked"],["data-test","unlock_usr_btn"],["type","submit"]],[[2,"kds-button",null],[2,"kds-button--small",null],[2,"kds-button--block",null],[1,"disabled",0],[1,"type",0],[1,"tabIndex",0]],[[null,"click"]],function(n,e,t){var r=!0,i=n.component;return"click"===e&&(r=!1!==l.Bb(n,83).onClick(t)&&r),"click"===e&&(r=!1!==i.navigateToUnlockUser()&&r),r},vn,dn)),l.qb(83,114688,null,0,cn.a,[l.k],{type:[0,"type"],block:[1,"block"]},null),(n()(),l.Ib(84,0,[""," "]))],function(n,e){var t=e.component;n(e,11,0,t.hasMessageToDisplay&&"REDIRECTING"!=t.currentStep),n(e,23,0,"SIGN_ON_INIT"==t.currentStep),n(e,50,0,"click",!0),n(e,53,0,l.Bb(e,42)),n(e,54,0),n(e,55,0,"flat","copy"),n(e,64,0,"primary",!0),n(e,67,0),n(e,72,0,t.compMessagesAndLabels.forgetUserIdPasswordLbl,"modal"),n(e,77,0,"secondary",!0),n(e,80,0,"secondary",!0),n(e,83,0,"secondary",!0)},function(n,e){var t=e.component;n(e,8,0,!(t.hasMessageToDisplay&&"SIGN_ON_INIT"==t.currentStep)),n(e,9,0,"AMT"==t.currentStep||"STEP_UP"==t.currentStep||"POST_LOGIN_ACTION"==t.currentStep),n(e,12,0,!t.showErrorMsg),n(e,21,0,t.errorMessage),n(e,24,0,!(t.hasMessageToDisplay&&"SIGN_ON_INIT"==t.currentStep)),n(e,30,0,"STEP_UP"!=t.currentStep),n(e,32,0,"AMT"!=t.currentStep),n(e,33,0,"POST_LOGIN_ACTION"!=t.currentStep),n(e,44,0,t.otacCode0),n(e,46,0,t.otacCode1),n(e,48,0,t.otacCode2),n(e,52,0,!0,l.Bb(e,54).help,"default"===l.Bb(e,54).type?l.Bb(e,54).tooltipId:null,!0,"small"===l.Bb(e,55).size,l.Bb(e,55).block,!!l.Bb(e,55).disabled||null,l.Bb(e,55).buttonType,"a"===l.Bb(e,55).tagName&&l.Bb(e,55).disabled?-1:l.Bb(e,55).tabIndex),n(e,63,0,!0,"small"===l.Bb(e,64).size,l.Bb(e,64).block,!!l.Bb(e,64).disabled||null,l.Bb(e,64).buttonType,"a"===l.Bb(e,64).tagName&&l.Bb(e,64).disabled?-1:l.Bb(e,64).tabIndex),n(e,76,0,!0,"small"===l.Bb(e,77).size,l.Bb(e,77).block,!!l.Bb(e,77).disabled||null,l.Bb(e,77).buttonType,"a"===l.Bb(e,77).tagName&&l.Bb(e,77).disabled?-1:l.Bb(e,77).tabIndex),n(e,78,0,t.compMessagesAndLabels.forgotUserIdLnk),n(e,79,0,!0,"small"===l.Bb(e,80).size,l.Bb(e,80).block,!!l.Bb(e,80).disabled||null,l.Bb(e,80).buttonType,"a"===l.Bb(e,80).tagName&&l.Bb(e,80).disabled?-1:l.Bb(e,80).tabIndex),n(e,81,0,t.compMessagesAndLabels.forgotpwdLnk),n(e,82,0,!0,"small"===l.Bb(e,83).size,l.Bb(e,83).block,!!l.Bb(e,83).disabled||null,l.Bb(e,83).buttonType,"a"===l.Bb(e,83).tagName&&l.Bb(e,83).disabled?-1:l.Bb(e,83).tabIndex),n(e,84,0,t.compMessagesAndLabels.accountLockLnk)})}var de=function(){function n(n){this.contentService=n,this._window=window,this.mobileConfig={},this.signInScreen=new l.m,this.isBrandKey=!0,this.greetingImg="hand_wave",this.greetingTitle="Happy Holidays",this.greetingMsg="We look forward to seeing you again soon!",this.greetingSignInBtn="Sign In",this.commonMessagesAndLabels=this.contentService.appMessagesAndLabels}return n.prototype.ngOnInit=function(){console.log("Pre-Sign In Screen onInit"),this.isBrandKey=this._window.KeyCommonTkt.isBrandKey(),this.greetingScreens()},n.prototype.greetingScreens=function(){this.greetingImg="hand_wave",this.greetingTitle=this.commonMessagesAndLabels.goodByeTitle,this.greetingMsg=this.commonMessagesAndLabels.goodByeMsg,this.greetingSignInBtn=this.commonMessagesAndLabels.greetingSignInBtn},n.prototype.navigateToSignIn=function(){this.signInScreen.emit(!0)},n}(),fe=l.pb({encapsulation:2,styles:[],data:{}});function ge(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,0,"img",[["alt","LR Logo"],["class","pre_signin_screen--logo"],["src","images/logo-lrd.svg"]],null,null,null,null,null))],null,null)}function he(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,9,"div",[["class","container pre_signin_screen--container text-center"]],null,null,null,null,null)),(n()(),l.rb(1,0,null,null,2,"div",[["class","text-center pre_signin--logo"]],null,null,null,null,null)),(n()(),l.ib(16777216,null,null,1,null,ge)),l.qb(3,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"]},null),(n()(),l.rb(4,0,null,null,5,"div",[["class","pre_signin_screen--contents"]],null,null,null,null,null)),(n()(),l.rb(5,0,null,null,0,"img",[["alt","hand_wave"],["class","pre_signin_screen--img"]],[[8,"src",4]],null,null,null,null)),(n()(),l.rb(6,0,null,null,0,"h2",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),l.rb(7,0,null,null,0,"p",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),l.rb(8,0,null,null,1,"button",[["class","mt-1 w-50"]],[[8,"innerHTML",1],[2,"kds-button",null],[2,"kds-button--small",null],[2,"kds-button--block",null],[1,"disabled",0],[1,"type",0],[1,"tabIndex",0]],[[null,"click"]],function(n,e,t){var r=!0,i=n.component;return"click"===e&&(r=!1!==l.Bb(n,9).onClick(t)&&r),"click"===e&&(r=!1!==i.navigateToSignIn()&&r),r},vn,dn)),l.qb(9,114688,null,0,cn.a,[l.k],{type:[0,"type"]},null)],function(n,e){n(e,3,0,!e.component.isBrandKey),n(e,9,0,"primary")},function(n,e){var t=e.component;n(e,5,0,l.tb(1,"images/",t.greetingImg,".svg")),n(e,6,0,t.greetingTitle),n(e,7,0,t.greetingMsg),n(e,8,0,t.greetingSignInBtn,!0,"small"===l.Bb(e,9).size,l.Bb(e,9).block,!!l.Bb(e,9).disabled||null,l.Bb(e,9).buttonType,"a"===l.Bb(e,9).tagName&&l.Bb(e,9).disabled?-1:l.Bb(e,9).tabIndex)})}var pe=function(){function n(n){this.contentService=n,this.showHamburgerMenu=!1,this.navbarOpen=!1,this._window=window}return n.prototype.ngOnInit=function(){this.brandCode=this._window.KeyCommonTkt.getBrandIdentifier()},n.prototype.logoClicked=function(){this._window.open(this.contentService.appSettings.supportLinks.keyUrl,"_blank")},n.prototype.contactUsClicked=function(){this._window.open(this.contentService.appSettings.supportLinks.contactUsUrl,"_blank"),this.navbarOpen&&(this.navbarOpen=!1)},n.prototype.openNewAccountClicked=function(){this._window.open(this.contentService.appSettings.supportLinks.openNewAccountUrl,"_blank"),this.navbarOpen&&(this.navbarOpen=!1)},n.prototype.toggleNavbar=function(){this.navbarOpen=!this.navbarOpen},n}(),be=l.pb({encapsulation:2,styles:[],data:{}});function me(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,4,"a",[["data-analytics-login","logo"],["href","javascript:void(0);"],["id","nonSsoHeader"],["title","KeyBank"]],null,[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.logoClicked()&&l),l},null,null)),(n()(),l.rb(1,0,null,null,3,"h3",[["class","key-logo no-print"]],null,null,null,null,null)),(n()(),l.rb(2,0,null,null,1,"span",[["class","sr-only"]],null,null,null,null,null)),(n()(),l.Ib(-1,null,["KeyBank"])),(n()(),l.rb(4,0,null,null,0,"img",[["alt","KeyBank"],["src","images/key_white_logo.png"]],null,null,null,null,null))],null,null)}function ve(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,1,"a",[["href","javascript:void(0);"],["title","LaurelRoad"]],null,[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.logoClicked()&&l),l},null,null)),(n()(),l.rb(1,0,null,null,0,"img",[["class","ml-6 my-3 login-header__logo"],["src","images/logo-lrd.svg"]],null,null,null,null,null))],null,null)}function _e(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,26,"header",[["class","container-fluid"]],null,null,null,null,null)),(n()(),l.rb(1,0,null,null,25,"div",[["class","container"]],null,null,null,null,null)),(n()(),l.rb(2,0,null,null,24,"div",[["class","row"]],null,null,null,null,null)),(n()(),l.rb(3,0,null,null,23,"div",[["class","col-12"]],null,null,null,null,null)),(n()(),l.rb(4,0,null,null,22,"div",[["class","login_header d-flex align-items-center justify-content-between"]],null,null,null,null,null)),(n()(),l.ib(16777216,null,null,1,null,me)),l.qb(6,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"]},null),(n()(),l.rb(7,0,null,null,4,"a",[["class","d-none sso-header"],["data-analytics-login","logo"],["href","javascript:void(0);"],["id","ssoHeader"],["title","KeyBank"]],null,null,null,null,null)),(n()(),l.rb(8,0,null,null,3,"h3",[["class","key-logo no-print"]],null,null,null,null,null)),(n()(),l.rb(9,0,null,null,1,"span",[["class","sr-only"]],null,null,null,null,null)),(n()(),l.Ib(-1,null,["KeyBank"])),(n()(),l.rb(11,0,null,null,0,"img",[["alt","KeyBank"],["src","images/key_black_logo.png"]],null,null,null,null,null)),(n()(),l.ib(16777216,null,null,1,null,ve)),l.qb(13,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"]},null),(n()(),l.rb(14,0,null,null,12,"nav",[["class","navbar navbar-expand-lg navbar-dark bg-dark"]],null,null,null,null,null)),(n()(),l.rb(15,0,null,null,1,"button",[["class","navbar-toggler"],["type","button"]],null,[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.toggleNavbar()&&l),l},null,null)),(n()(),l.rb(16,0,null,null,0,"span",[["class","navbar-toggler-icon"]],null,null,null,null,null)),(n()(),l.rb(17,0,null,null,9,"div",[["class","collapse navbar-collapse navlink-wrapper"]],null,null,null,null,null)),l.qb(18,278528,null,0,o.j,[l.s,l.t,l.k,l.F],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l.Db(19,{show:0}),(n()(),l.rb(20,0,null,null,6,"ul",[["class","mb-0"]],null,null,null,null,null)),(n()(),l.rb(21,0,null,null,2,"li",[],null,null,null,null,null)),(n()(),l.rb(22,0,null,null,1,"a",[["data-analytics-login","contact us"],["data-test","cntushdrlnk"],["href","javascript:void(0);"],["title","Contact Us"]],null,[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.contactUsClicked()&&l),l},null,null)),(n()(),l.Ib(-1,null,["Contact Us"])),(n()(),l.rb(24,0,null,null,2,"li",[],null,null,null,null,null)),(n()(),l.rb(25,0,null,null,1,"a",[["data-analytics-login","open a new account"],["data-test","openewaccount"],["href","javascript:void(0);"],["title","Open a New Account"]],null,[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.openNewAccountClicked()&&l),l},null,null)),(n()(),l.Ib(-1,null,["Open a New Account"])),(n()(),l.rb(27,0,null,null,2,"div",[["class","navbg-blur collapse navbar-collapse"]],null,null,null,null,null)),l.qb(28,278528,null,0,o.j,[l.s,l.t,l.k,l.F],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l.Db(29,{show:0})],function(n,e){var t=e.component;n(e,6,0,t.brandCode==t._window.KeyCommonTkt.BRAND_KEY),n(e,13,0,t.brandCode==t._window.KeyCommonTkt.BRAND_LRD);var l=n(e,19,0,t.navbarOpen);n(e,18,0,"collapse navbar-collapse navlink-wrapper",l);var r=n(e,29,0,t.navbarOpen);n(e,28,0,"navbg-blur collapse navbar-collapse",r)},null)}var ye=function(){function n(n){this.capabilityService=n,this._window=window,this.isBrandKey=!0,this.showSignIn=!0,this.logger=this._window.KeyCommonTkt.logger.getInstance("LoginPageComponent"),this.capabilities=this.capabilityService.getAllCapabilities(),console.log(this.capabilities),this.logger.log("inside login page")}return n.prototype.ngOnInit=function(){this.isBrandKey=this._window.KeyCommonTkt.isBrandKey(),this.logger.log("login page initialized"),this.handlePreSignInScreen()},n.prototype.handlePreSignInScreen=function(){var n=this._window.KeyPlatformTkt.storageService.getSessionStorageItem(g.a.STORAGE_KEY_LOG_OUT_COMPLETE);this.isBrandKey||"true"!=n||(this.preSignInScreen=g.a.GOOD_BYE_SCREEN,this.showSignIn=!1),this._window.KeyPlatformTkt.storageService.deleteSessionStorageItem(g.a.STORAGE_KEY_LOG_OUT_COMPLETE)},n.prototype.navigateToSignIn=function(n){this.showSignIn=n},n}(),ke=l.pb({encapsulation:2,styles:[],data:{}});function we(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,1,"sign-in",[],null,null,null,N,C)),l.qb(1,4243456,null,0,T,[S,l.E,p.a,B.a,B.b,v.a,m.a,I.n,b.a,E,A.c,_.a],null,null)],null,null)}function Ie(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,1,"sign-in-core",[],null,null,null,ce,Zn)),l.qb(1,4833280,null,0,$n,[S,p.a,B.a,B.b,v.a,m.a,I.n,b.a,E,A.c,Vn,_.a],null,null)],function(n,e){n(e,1,0)},null)}function Se(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,1,"pre-signin-screen",[],null,[[null,"signInScreen"]],function(n,e,t){var l=!0;return"signInScreen"===e&&(l=!1!==n.component.navigateToSignIn(t)&&l),l},he,fe)),l.qb(1,114688,null,0,de,[p.a],{preSignInScreen:[0,"preSignInScreen"]},{signInScreen:"signInScreen"})],function(n,e){n(e,1,0,e.component.preSignInScreen)},null)}function Ee(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,8,"div",[["class","login"]],null,null,null,null,null)),(n()(),l.rb(1,0,null,null,1,"login-header",[],null,null,null,_e,be)),l.qb(2,114688,null,0,pe,[p.a],null,null),(n()(),l.ib(16777216,null,null,1,null,we)),l.qb(4,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"]},null),(n()(),l.ib(16777216,null,null,1,null,Ie)),l.qb(6,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"]},null),(n()(),l.ib(16777216,null,null,1,null,Se)),l.qb(8,16384,null,0,o.l,[l.Q,l.N],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,2,0),n(e,4,0,!t.capabilities.singleScreenSignon),n(e,6,0,t.capabilities.singleScreenSignon&&t.showSignIn),n(e,8,0,!t.showSignIn)},null)}function Te(n){return l.Kb(0,[(n()(),l.rb(0,0,null,null,1,"login-page",[],null,null,null,Ee,ke)),l.qb(1,114688,null,0,ye,[v.a],null,null)],function(n,e){n(e,1,0)},null)}var Be=l.nb("login-page",ye,Te,{},{},[]),Ae=t("6blF"),Ce=function(){function n(n,e,t,l,r){this.router=n,this.initService=e,this.deviceService=t,this.contentService=l,this.routerService=r,this._window=window,this.logger=this._window.KeyCommonTkt.logger.getInstance("AppGuardService")}return n.prototype.canActivate=function(n,e){var t=this;return void 0===n&&(n=!1),void 0===e&&(e=!1),new Ae.a(function(n){t.initService.initLogin().then(function(e){t.logger.log("router can be activated .. go ahead"),n.next(!0);var l=t.contentService.mainAppSettings.platformSupportSettings;t._window.KeyPlatformTkt.deviceService.checkForOSAndBrowserPlatformSupport(l).then(function(e){if(t.logger.log("platformCheck Result",e),t.deviceService.unsupportedPlatformInfo=e,t.deviceService.platformSupportWarned||!e||!e.status||"DENY"!=e.status&&"WARNING"!=e.status)n.complete();else{var r=t._window.KeyPlatformTkt.deviceService.getOSAndBrowserInfo(),i=t.getBrowserDisplayName(r.browserName,l);t.deviceService.unsupportedPlatformInfo.msgContent.title=t.deviceService.unsupportedPlatformInfo.msgContent.title.replace(new RegExp("{BROWSER_NAME}","g"),i),t.deviceService.unsupportedPlatformInfo.msgContent.warningMsg=t.deviceService.unsupportedPlatformInfo.msgContent.warningMsg.replace(new RegExp(r.browserName,"g"),i),t.deviceService.unsupportedPlatformInfo.msgContent.denyMsg=t.deviceService.unsupportedPlatformInfo.msgContent.denyMsg.replace(new RegExp(r.browserName,"g"),i),t.deviceService.platformSupportWarned=!0,t.logger.log("unsupported platform detected"),t.gotoErrorPage("platformsupportwarning")}})},function(e){t.logger.log("error in loading application",e),n.next(!0),t.gotoErrorPage()})})},n.prototype.gotoErrorPage=function(n){void 0===n&&(n="misc"),this.router.navigate(["/error",n],this.routerService.getAppQueryParamSettings())},n.prototype.getBrowserDisplayName=function(n,e){var t="";switch(n){case"BROWSER_FIREFOX":t=e.fireFoxDisplayName;break;case"BROWSER_IE":t=e.ieDisplayName;break;case"BROWSER_OPERA":t=e.operaDisplayName;break;case"BROWSER_MICROSOFT_EDGE":t=e.edgeDisplayName;break;case"BROWSER_CHROME":t=e.chromeDisplayName;break;case"BROWSER_SAFARI":t=e.safariDisplayName}return t},n.ngInjectableDef=l.U({factory:function(){return new n(l.Y(I.n),l.Y(S),l.Y(m.a),l.Y(p.a),l.Y(b.a))},token:n,providedIn:"root"}),n}(),Ue=function(){function n(n,e,t){this.appGuardService=n,this.router=e,this.routerService=t,this._window=window,this.logger=this._window.KeyCommonTkt.logger.getInstance("LoginPageGuard")}return n.prototype.canActivate=function(){var n=this;return new Ae.a(function(e){n.appGuardService.canActivate().subscribe(function(t){n.logger.log("login guard successful"),e.next(t),e.complete()},function(e){n.logger.log("login guard failed - ",e)})})},n.prototype.gotoErrorPage=function(){this.router.navigate(["/error"],this.routerService.getAppQueryParamSettings())},n}(),Me=t("jbW3"),Oe=t("SwHv"),Le=t("2R3X"),Re=function(){return function(){}}();t.d(e,"LoginModuleNgFactory",function(){return xe});var xe=l.ob(r,[],function(n){return l.yb([l.zb(512,l.j,l.db,[[8,[i.a,Be]],[3,l.j],l.x]),l.zb(4608,o.n,o.m,[l.u,[2,o.u]]),l.zb(4608,u.y,u.y,[]),l.zb(4608,u.f,u.f,[]),l.zb(4608,Ue,Ue,[Ce,I.n,b.a]),l.zb(1073742336,o.c,o.c,[]),l.zb(1073742336,u.w,u.w,[]),l.zb(1073742336,u.j,u.j,[]),l.zb(1073742336,I.o,I.o,[[2,I.u],[2,I.n]]),l.zb(1073742336,Me.a,Me.a,[]),l.zb(1073742336,D.j,D.j,[]),l.zb(1073742336,D.b,D.b,[]),l.zb(1073742336,G.k,G.k,[]),l.zb(1073742336,G.l,G.l,[]),l.zb(1073742336,G.e,G.e,[]),l.zb(1073742336,En.b,En.b,[]),l.zb(1073742336,Oe.a,Oe.a,[]),l.zb(1073742336,cn.b,cn.b,[]),l.zb(1073742336,_n.f,_n.f,[]),l.zb(1073742336,F.c,F.c,[]),l.zb(1073742336,F.b,F.b,[]),l.zb(1073742336,F.n,F.n,[]),l.zb(1073742336,u.t,u.t,[]),l.zb(1073742336,F.q,F.q,[]),l.zb(1073742336,F.v,F.v,[]),l.zb(1073742336,F.z,F.z,[]),l.zb(1073742336,F.C,F.C,[]),l.zb(1073742336,F.d,F.d,[]),l.zb(1073742336,F.a,F.a,[]),l.zb(1073742336,Le.a,Le.a,[]),l.zb(1073742336,Re,Re,[]),l.zb(1073742336,r,r,[]),l.zb(1024,I.l,function(){return[[{path:"",component:ye,canActivate:[Ue]}]]},[])])})},LvDl:function(n,e,t){(function(n){var l;(function(){var r,i=200,u="Expected a function",o="__lodash_placeholder__",s=1,a=2,c=4,d=1,f=2,g=1,h=2,p=4,b=8,m=16,v=32,_=64,y=128,k=256,w=512,I=800,S=16,E=1/0,T=9007199254740991,B=1.7976931348623157e308,A=NaN,C=4294967295,U=C-1,M=C>>>1,O=[["ary",y],["bind",g],["bindKey",h],["curry",b],["curryRight",m],["flip",w],["partial",v],["partialRight",_],["rearg",k]],L="[object Arguments]",R="[object Array]",x="[object AsyncFunction]",N="[object Boolean]",D="[object Date]",P="[object DOMException]",K="[object Error]",q="[object Function]",F="[object GeneratorFunction]",G="[object Map]",j="[object Number]",z="[object Null]",Y="[object Object]",Q="[object Proxy]",W="[object RegExp]",H="[object Set]",V="[object String]",$="[object Symbol]",Z="[object Undefined]",J="[object WeakMap]",X="[object ArrayBuffer]",nn="[object DataView]",en="[object Float32Array]",tn="[object Float64Array]",ln="[object Int8Array]",rn="[object Int16Array]",un="[object Int32Array]",on="[object Uint8Array]",sn="[object Uint8ClampedArray]",an="[object Uint16Array]",cn="[object Uint32Array]",dn=/\b__p \+= '';/g,fn=/\b(__p \+=) '' \+/g,gn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,hn=/&(?:amp|lt|gt|quot|#39);/g,pn=/[&<>"']/g,bn=RegExp(hn.source),mn=RegExp(pn.source),vn=/<%-([\s\S]+?)%>/g,_n=/<%([\s\S]+?)%>/g,yn=/<%=([\s\S]+?)%>/g,kn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,wn=/^\w*$/,In=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Sn=/[\\^$.*+?()[\]{}|]/g,En=RegExp(Sn.source),Tn=/^\s+/,Bn=/\s/,An=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Cn=/\{\n\/\* \[wrapped with (.+)\] \*/,Un=/,? & /,Mn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,On=/[()=,{}\[\]\/\s]/,Ln=/\\(\\)?/g,Rn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,xn=/\w*$/,Nn=/^[-+]0x[0-9a-f]+$/i,Dn=/^0b[01]+$/i,Pn=/^\[object .+?Constructor\]$/,Kn=/^0o[0-7]+$/i,qn=/^(?:0|[1-9]\d*)$/,Fn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Gn=/($^)/,jn=/['\n\r\u2028\u2029\\]/g,zn="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Yn="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Qn="["+Yn+"]",Wn="["+zn+"]",Hn="\\d+",Vn="[a-z\\xdf-\\xf6\\xf8-\\xff]",$n="[^\\ud800-\\udfff"+Yn+Hn+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",Zn="\\ud83c[\\udffb-\\udfff]",Jn="[^\\ud800-\\udfff]",Xn="(?:\\ud83c[\\udde6-\\uddff]){2}",ne="[\\ud800-\\udbff][\\udc00-\\udfff]",ee="[A-Z\\xc0-\\xd6\\xd8-\\xde]",te="(?:"+Vn+"|"+$n+")",le="(?:"+ee+"|"+$n+")",re="(?:"+Wn+"|"+Zn+")?",ie="[\\ufe0e\\ufe0f]?"+re+"(?:\\u200d(?:"+[Jn,Xn,ne].join("|")+")[\\ufe0e\\ufe0f]?"+re+")*",ue="(?:"+["[\\u2700-\\u27bf]",Xn,ne].join("|")+")"+ie,oe="(?:"+[Jn+Wn+"?",Wn,Xn,ne,"[\\ud800-\\udfff]"].join("|")+")",se=RegExp("['\u2019]","g"),ae=RegExp(Wn,"g"),ce=RegExp(Zn+"(?="+Zn+")|"+oe+ie,"g"),de=RegExp([ee+"?"+Vn+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?="+[Qn,ee,"$"].join("|")+")",le+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?="+[Qn,ee+te,"$"].join("|")+")",ee+"?"+te+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?",ee+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Hn,ue].join("|"),"g"),fe=RegExp("[\\u200d\\ud800-\\udfff"+zn+"\\ufe0e\\ufe0f]"),ge=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,he=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],pe=-1,be={};be[en]=be[tn]=be[ln]=be[rn]=be[un]=be[on]=be[sn]=be[an]=be[cn]=!0,be[L]=be[R]=be[X]=be[N]=be[nn]=be[D]=be[K]=be[q]=be[G]=be[j]=be[Y]=be[W]=be[H]=be[V]=be[J]=!1;var me={};me[L]=me[R]=me[X]=me[nn]=me[N]=me[D]=me[en]=me[tn]=me[ln]=me[rn]=me[un]=me[G]=me[j]=me[Y]=me[W]=me[H]=me[V]=me[$]=me[on]=me[sn]=me[an]=me[cn]=!0,me[K]=me[q]=me[J]=!1;var ve={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},_e=parseFloat,ye=parseInt,ke="object"==typeof global&&global&&global.Object===Object&&global,we="object"==typeof self&&self&&self.Object===Object&&self,Ie=ke||we||Function("return this")(),Se=e&&!e.nodeType&&e,Ee=Se&&"object"==typeof n&&n&&!n.nodeType&&n,Te=Ee&&Ee.exports===Se,Be=Te&&ke.process,Ae=function(){try{return Ee&&Ee.require&&Ee.require("util").types||Be&&Be.binding&&Be.binding("util")}catch(n){}}(),Ce=Ae&&Ae.isArrayBuffer,Ue=Ae&&Ae.isDate,Me=Ae&&Ae.isMap,Oe=Ae&&Ae.isRegExp,Le=Ae&&Ae.isSet,Re=Ae&&Ae.isTypedArray;function xe(n,e,t){switch(t.length){case 0:return n.call(e);case 1:return n.call(e,t[0]);case 2:return n.call(e,t[0],t[1]);case 3:return n.call(e,t[0],t[1],t[2])}return n.apply(e,t)}function Ne(n,e,t,l){for(var r=-1,i=null==n?0:n.length;++r<i;){var u=n[r];e(l,u,t(u),n)}return l}function De(n,e){for(var t=-1,l=null==n?0:n.length;++t<l&&!1!==e(n[t],t,n););return n}function Pe(n,e){for(var t=-1,l=null==n?0:n.length;++t<l;)if(!e(n[t],t,n))return!1;return!0}function Ke(n,e){for(var t=-1,l=null==n?0:n.length,r=0,i=[];++t<l;){var u=n[t];e(u,t,n)&&(i[r++]=u)}return i}function qe(n,e){return!(null==n||!n.length)&&$e(n,e,0)>-1}function Fe(n,e,t){for(var l=-1,r=null==n?0:n.length;++l<r;)if(t(e,n[l]))return!0;return!1}function Ge(n,e){for(var t=-1,l=null==n?0:n.length,r=Array(l);++t<l;)r[t]=e(n[t],t,n);return r}function je(n,e){for(var t=-1,l=e.length,r=n.length;++t<l;)n[r+t]=e[t];return n}function ze(n,e,t,l){var r=-1,i=null==n?0:n.length;for(l&&i&&(t=n[++r]);++r<i;)t=e(t,n[r],r,n);return t}function Ye(n,e,t,l){var r=null==n?0:n.length;for(l&&r&&(t=n[--r]);r--;)t=e(t,n[r],r,n);return t}function Qe(n,e){for(var t=-1,l=null==n?0:n.length;++t<l;)if(e(n[t],t,n))return!0;return!1}var We=nt("length");function He(n,e,t){var l;return t(n,function(n,t,r){if(e(n,t,r))return l=t,!1}),l}function Ve(n,e,t,l){for(var r=n.length,i=t+(l?1:-1);l?i--:++i<r;)if(e(n[i],i,n))return i;return-1}function $e(n,e,t){return e==e?function(n,e,t){for(var l=t-1,r=n.length;++l<r;)if(n[l]===e)return l;return-1}(n,e,t):Ve(n,Je,t)}function Ze(n,e,t,l){for(var r=t-1,i=n.length;++r<i;)if(l(n[r],e))return r;return-1}function Je(n){return n!=n}function Xe(n,e){var t=null==n?0:n.length;return t?lt(n,e)/t:A}function nt(n){return function(e){return null==e?r:e[n]}}function et(n){return function(e){return null==n?r:n[e]}}function tt(n,e,t,l,r){return r(n,function(n,r,i){t=l?(l=!1,n):e(t,n,r,i)}),t}function lt(n,e){for(var t,l=-1,i=n.length;++l<i;){var u=e(n[l]);u!==r&&(t=t===r?u:t+u)}return t}function rt(n,e){for(var t=-1,l=Array(n);++t<n;)l[t]=e(t);return l}function it(n){return n?n.slice(0,wt(n)+1).replace(Tn,""):n}function ut(n){return function(e){return n(e)}}function ot(n,e){return Ge(e,function(e){return n[e]})}function st(n,e){return n.has(e)}function at(n,e){for(var t=-1,l=n.length;++t<l&&$e(e,n[t],0)>-1;);return t}function ct(n,e){for(var t=n.length;t--&&$e(e,n[t],0)>-1;);return t}var dt=et({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),ft=et({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function gt(n){return"\\"+ve[n]}function ht(n){return fe.test(n)}function pt(n){var e=-1,t=Array(n.size);return n.forEach(function(n,l){t[++e]=[l,n]}),t}function bt(n,e){return function(t){return n(e(t))}}function mt(n,e){for(var t=-1,l=n.length,r=0,i=[];++t<l;){var u=n[t];u!==e&&u!==o||(n[t]=o,i[r++]=t)}return i}function vt(n){var e=-1,t=Array(n.size);return n.forEach(function(n){t[++e]=n}),t}function _t(n){var e=-1,t=Array(n.size);return n.forEach(function(n){t[++e]=[n,n]}),t}function yt(n){return ht(n)?function(n){for(var e=ce.lastIndex=0;ce.test(n);)++e;return e}(n):We(n)}function kt(n){return ht(n)?function(n){return n.match(ce)||[]}(n):function(n){return n.split("")}(n)}function wt(n){for(var e=n.length;e--&&Bn.test(n.charAt(e)););return e}var It=et({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),St=function n(e){var t,l=(e=null==e?Ie:St.defaults(Ie.Object(),e,St.pick(Ie,he))).Array,Bn=e.Date,zn=e.Error,Yn=e.Function,Qn=e.Math,Wn=e.Object,Hn=e.RegExp,Vn=e.String,$n=e.TypeError,Zn=l.prototype,Jn=Wn.prototype,Xn=e["__core-js_shared__"],ne=Yn.prototype.toString,ee=Jn.hasOwnProperty,te=0,le=(t=/[^.]+$/.exec(Xn&&Xn.keys&&Xn.keys.IE_PROTO||""))?"Symbol(src)_1."+t:"",re=Jn.toString,ie=ne.call(Wn),ue=Ie._,oe=Hn("^"+ne.call(ee).replace(Sn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ce=Te?e.Buffer:r,fe=e.Symbol,ve=e.Uint8Array,ke=ce?ce.allocUnsafe:r,we=bt(Wn.getPrototypeOf,Wn),Se=Wn.create,Ee=Jn.propertyIsEnumerable,Be=Zn.splice,Ae=fe?fe.isConcatSpreadable:r,We=fe?fe.iterator:r,et=fe?fe.toStringTag:r,Et=function(){try{var n=Ii(Wn,"defineProperty");return n({},"",{}),n}catch(e){}}(),Tt=e.clearTimeout!==Ie.clearTimeout&&e.clearTimeout,Bt=Bn&&Bn.now!==Ie.Date.now&&Bn.now,At=e.setTimeout!==Ie.setTimeout&&e.setTimeout,Ct=Qn.ceil,Ut=Qn.floor,Mt=Wn.getOwnPropertySymbols,Ot=ce?ce.isBuffer:r,Lt=e.isFinite,Rt=Zn.join,xt=bt(Wn.keys,Wn),Nt=Qn.max,Dt=Qn.min,Pt=Bn.now,Kt=e.parseInt,qt=Qn.random,Ft=Zn.reverse,Gt=Ii(e,"DataView"),jt=Ii(e,"Map"),zt=Ii(e,"Promise"),Yt=Ii(e,"Set"),Qt=Ii(e,"WeakMap"),Wt=Ii(Wn,"create"),Ht=Qt&&new Qt,Vt={},$t=Vi(Gt),Zt=Vi(jt),Jt=Vi(zt),Xt=Vi(Yt),nl=Vi(Qt),el=fe?fe.prototype:r,tl=el?el.valueOf:r,ll=el?el.toString:r;function rl(n){if(go(n)&&!eo(n)&&!(n instanceof sl)){if(n instanceof ol)return n;if(ee.call(n,"__wrapped__"))return $i(n)}return new ol(n)}var il=function(){function n(){}return function(e){if(!fo(e))return{};if(Se)return Se(e);n.prototype=e;var t=new n;return n.prototype=r,t}}();function ul(){}function ol(n,e){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=r}function sl(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=C,this.__views__=[]}function al(n){var e=-1,t=null==n?0:n.length;for(this.clear();++e<t;){var l=n[e];this.set(l[0],l[1])}}function cl(n){var e=-1,t=null==n?0:n.length;for(this.clear();++e<t;){var l=n[e];this.set(l[0],l[1])}}function dl(n){var e=-1,t=null==n?0:n.length;for(this.clear();++e<t;){var l=n[e];this.set(l[0],l[1])}}function fl(n){var e=-1,t=null==n?0:n.length;for(this.__data__=new dl;++e<t;)this.add(n[e])}function gl(n){var e=this.__data__=new cl(n);this.size=e.size}function hl(n,e){var t=eo(n),l=!t&&no(n),r=!t&&!l&&io(n),i=!t&&!l&&!r&&ko(n),u=t||l||r||i,o=u?rt(n.length,Vn):[],s=o.length;for(var a in n)!e&&!ee.call(n,a)||u&&("length"==a||r&&("offset"==a||"parent"==a)||i&&("buffer"==a||"byteLength"==a||"byteOffset"==a)||Ui(a,s))||o.push(a);return o}function pl(n){var e=n.length;return e?n[ar(0,e-1)]:r}function bl(n,e,t){(t===r||Zu(n[e],t))&&(t!==r||e in n)||kl(n,e,t)}function ml(n,e,t){var l=n[e];ee.call(n,e)&&Zu(l,t)&&(t!==r||e in n)||kl(n,e,t)}function vl(n,e){for(var t=n.length;t--;)if(Zu(n[t][0],e))return t;return-1}function _l(n,e,t,l){return Al(n,function(n,r,i){e(l,n,t(n),i)}),l}function yl(n,e){return n&&Gr(e,jo(e),n)}function kl(n,e,t){"__proto__"==e&&Et?Et(n,e,{configurable:!0,enumerable:!0,value:t,writable:!0}):n[e]=t}function wl(n,e){for(var t=-1,i=e.length,u=l(i),o=null==n;++t<i;)u[t]=o?r:Po(n,e[t]);return u}function Il(n,e,t){return n==n&&(t!==r&&(n=n<=t?n:t),e!==r&&(n=n>=e?n:e)),n}function Sl(n,e,t,l,i,u){var o,d=e&s,f=e&a,g=e&c;if(t&&(o=i?t(n,l,i,u):t(n)),o!==r)return o;if(!fo(n))return n;var h=eo(n);if(h){if(o=function(n){var e=n.length,t=new n.constructor(e);return e&&"string"==typeof n[0]&&ee.call(n,"index")&&(t.index=n.index,t.input=n.input),t}(n),!d)return Fr(n,o)}else{var p=Ti(n),b=p==q||p==F;if(io(n))return xr(n,d);if(p==Y||p==L||b&&!i){if(o=f||b?{}:Ai(n),!d)return f?function(n,e){return Gr(n,Ei(n),e)}(n,function(e,t){return e&&Gr(n,zo(n),e)}(o)):function(n,e){return Gr(n,Si(n),e)}(n,yl(o,n))}else{if(!me[p])return i?n:{};o=function(n,e,t){var l,r,i=n.constructor;switch(e){case X:return Nr(n);case N:case D:return new i(+n);case nn:return function(n,e){var t=e?Nr(n.buffer):n.buffer;return new n.constructor(t,n.byteOffset,n.byteLength)}(n,t);case en:case tn:case ln:case rn:case un:case on:case sn:case an:case cn:return Dr(n,t);case G:return new i;case j:case V:return new i(n);case W:return(r=new(l=n).constructor(l.source,xn.exec(l))).lastIndex=l.lastIndex,r;case H:return new i;case $:return tl?Wn(tl.call(n)):{}}}(n,p,d)}}u||(u=new gl);var m=u.get(n);if(m)return m;u.set(n,o),vo(n)?n.forEach(function(l){o.add(Sl(l,e,t,l,n,u))}):ho(n)&&n.forEach(function(l,r){o.set(r,Sl(l,e,t,r,n,u))});var v=h?r:(g?f?bi:pi:f?zo:jo)(n);return De(v||n,function(l,r){v&&(l=n[r=l]),ml(o,r,Sl(l,e,t,r,n,u))}),o}function El(n,e,t){var l=t.length;if(null==n)return!l;for(n=Wn(n);l--;){var i=t[l],u=n[i];if(u===r&&!(i in n)||!(0,e[i])(u))return!1}return!0}function Tl(n,e,t){if("function"!=typeof n)throw new $n(u);return Gi(function(){n.apply(r,t)},e)}function Bl(n,e,t,l){var r=-1,u=qe,o=!0,s=n.length,a=[],c=e.length;if(!s)return a;t&&(e=Ge(e,ut(t))),l?(u=Fe,o=!1):e.length>=i&&(u=st,o=!1,e=new fl(e));n:for(;++r<s;){var d=n[r],f=null==t?d:t(d);if(d=l||0!==d?d:0,o&&f==f){for(var g=c;g--;)if(e[g]===f)continue n;a.push(d)}else u(e,f,l)||a.push(d)}return a}rl.templateSettings={escape:vn,evaluate:_n,interpolate:yn,variable:"",imports:{_:rl}},(rl.prototype=ul.prototype).constructor=rl,(ol.prototype=il(ul.prototype)).constructor=ol,(sl.prototype=il(ul.prototype)).constructor=sl,al.prototype.clear=function(){this.__data__=Wt?Wt(null):{},this.size=0},al.prototype.delete=function(n){var e=this.has(n)&&delete this.__data__[n];return this.size-=e?1:0,e},al.prototype.get=function(n){var e=this.__data__;if(Wt){var t=e[n];return"__lodash_hash_undefined__"===t?r:t}return ee.call(e,n)?e[n]:r},al.prototype.has=function(n){var e=this.__data__;return Wt?e[n]!==r:ee.call(e,n)},al.prototype.set=function(n,e){var t=this.__data__;return this.size+=this.has(n)?0:1,t[n]=Wt&&e===r?"__lodash_hash_undefined__":e,this},cl.prototype.clear=function(){this.__data__=[],this.size=0},cl.prototype.delete=function(n){var e=this.__data__,t=vl(e,n);return!(t<0||(t==e.length-1?e.pop():Be.call(e,t,1),--this.size,0))},cl.prototype.get=function(n){var e=this.__data__,t=vl(e,n);return t<0?r:e[t][1]},cl.prototype.has=function(n){return vl(this.__data__,n)>-1},cl.prototype.set=function(n,e){var t=this.__data__,l=vl(t,n);return l<0?(++this.size,t.push([n,e])):t[l][1]=e,this},dl.prototype.clear=function(){this.size=0,this.__data__={hash:new al,map:new(jt||cl),string:new al}},dl.prototype.delete=function(n){var e=ki(this,n).delete(n);return this.size-=e?1:0,e},dl.prototype.get=function(n){return ki(this,n).get(n)},dl.prototype.has=function(n){return ki(this,n).has(n)},dl.prototype.set=function(n,e){var t=ki(this,n),l=t.size;return t.set(n,e),this.size+=t.size==l?0:1,this},fl.prototype.add=fl.prototype.push=function(n){return this.__data__.set(n,"__lodash_hash_undefined__"),this},fl.prototype.has=function(n){return this.__data__.has(n)},gl.prototype.clear=function(){this.__data__=new cl,this.size=0},gl.prototype.delete=function(n){var e=this.__data__,t=e.delete(n);return this.size=e.size,t},gl.prototype.get=function(n){return this.__data__.get(n)},gl.prototype.has=function(n){return this.__data__.has(n)},gl.prototype.set=function(n,e){var t=this.__data__;if(t instanceof cl){var l=t.__data__;if(!jt||l.length<i-1)return l.push([n,e]),this.size=++t.size,this;t=this.__data__=new dl(l)}return t.set(n,e),this.size=t.size,this};var Al=Yr(Nl),Cl=Yr(Dl,!0);function Ul(n,e){var t=!0;return Al(n,function(n,l,r){return t=!!e(n,l,r)}),t}function Ml(n,e,t){for(var l=-1,i=n.length;++l<i;){var u=n[l],o=e(u);if(null!=o&&(s===r?o==o&&!yo(o):t(o,s)))var s=o,a=u}return a}function Ol(n,e){var t=[];return Al(n,function(n,l,r){e(n,l,r)&&t.push(n)}),t}function Ll(n,e,t,l,r){var i=-1,u=n.length;for(t||(t=Ci),r||(r=[]);++i<u;){var o=n[i];e>0&&t(o)?e>1?Ll(o,e-1,t,l,r):je(r,o):l||(r[r.length]=o)}return r}var Rl=Qr(),xl=Qr(!0);function Nl(n,e){return n&&Rl(n,e,jo)}function Dl(n,e){return n&&xl(n,e,jo)}function Pl(n,e){return Ke(e,function(e){return so(n[e])})}function Kl(n,e){for(var t=0,l=(e=Mr(e,n)).length;null!=n&&t<l;)n=n[Hi(e[t++])];return t&&t==l?n:r}function ql(n,e,t){var l=e(n);return eo(n)?l:je(l,t(n))}function Fl(n){return null==n?n===r?Z:z:et&&et in Wn(n)?function(n){var e=ee.call(n,et),t=n[et];try{n[et]=r;var l=!0}catch(u){}var i=re.call(n);return l&&(e?n[et]=t:delete n[et]),i}(n):function(n){return re.call(n)}(n)}function Gl(n,e){return n>e}function jl(n,e){return null!=n&&ee.call(n,e)}function zl(n,e){return null!=n&&e in Wn(n)}function Yl(n,e,t){for(var i=t?Fe:qe,u=n[0].length,o=n.length,s=o,a=l(o),c=1/0,d=[];s--;){var f=n[s];s&&e&&(f=Ge(f,ut(e))),c=Dt(f.length,c),a[s]=!t&&(e||u>=120&&f.length>=120)?new fl(s&&f):r}f=n[0];var g=-1,h=a[0];n:for(;++g<u&&d.length<c;){var p=f[g],b=e?e(p):p;if(p=t||0!==p?p:0,!(h?st(h,b):i(d,b,t))){for(s=o;--s;){var m=a[s];if(!(m?st(m,b):i(n[s],b,t)))continue n}h&&h.push(b),d.push(p)}}return d}function Ql(n,e,t){var l=null==(n=Ki(n,e=Mr(e,n)))?n:n[Hi(ou(e))];return null==l?r:xe(l,n,t)}function Wl(n){return go(n)&&Fl(n)==L}function Hl(n,e,t,l,i){return n===e||(null==n||null==e||!go(n)&&!go(e)?n!=n&&e!=e:function(n,e,t,l,i,u){var o=eo(n),s=eo(e),a=o?R:Ti(n),c=s?R:Ti(e),g=(a=a==L?Y:a)==Y,h=(c=c==L?Y:c)==Y,p=a==c;if(p&&io(n)){if(!io(e))return!1;o=!0,g=!1}if(p&&!g)return u||(u=new gl),o||ko(n)?gi(n,e,t,l,i,u):function(n,e,t,l,r,i,u){switch(a){case nn:if(n.byteLength!=e.byteLength||n.byteOffset!=e.byteOffset)return!1;n=n.buffer,e=e.buffer;case X:return!(n.byteLength!=e.byteLength||!i(new ve(n),new ve(e)));case N:case D:case j:return Zu(+n,+e);case K:return n.name==e.name&&n.message==e.message;case W:case V:return n==e+"";case G:var o=pt;case H:if(o||(o=vt),n.size!=e.size&&!(l&d))return!1;var s=u.get(n);if(s)return s==e;l|=f,u.set(n,e);var c=gi(o(n),o(e),l,r,i,u);return u.delete(n),c;case $:if(tl)return tl.call(n)==tl.call(e)}return!1}(n,e,0,t,l,i,u);if(!(t&d)){var b=g&&ee.call(n,"__wrapped__"),m=h&&ee.call(e,"__wrapped__");if(b||m){var v=b?n.value():n,_=m?e.value():e;return u||(u=new gl),i(v,_,t,l,u)}}return!!p&&(u||(u=new gl),function(n,e,t,l,i,u){var o=t&d,s=pi(n),a=s.length;if(a!=pi(e).length&&!o)return!1;for(var c=a;c--;){var f=s[c];if(!(o?f in e:ee.call(e,f)))return!1}var g=u.get(n),h=u.get(e);if(g&&h)return g==e&&h==n;var p=!0;u.set(n,e),u.set(e,n);for(var b=o;++c<a;){var m=n[f=s[c]],v=e[f];if(l)var _=o?l(v,m,f,e,n,u):l(m,v,f,n,e,u);if(!(_===r?m===v||i(m,v,t,l,u):_)){p=!1;break}b||(b="constructor"==f)}if(p&&!b){var y=n.constructor,k=e.constructor;y!=k&&"constructor"in n&&"constructor"in e&&!("function"==typeof y&&y instanceof y&&"function"==typeof k&&k instanceof k)&&(p=!1)}return u.delete(n),u.delete(e),p}(n,e,t,l,i,u))}(n,e,t,l,Hl,i))}function Vl(n,e,t,l){var i=t.length,u=i,o=!l;if(null==n)return!u;for(n=Wn(n);i--;){var s=t[i];if(o&&s[2]?s[1]!==n[s[0]]:!(s[0]in n))return!1}for(;++i<u;){var a=(s=t[i])[0],c=n[a],g=s[1];if(o&&s[2]){if(c===r&&!(a in n))return!1}else{var h=new gl;if(l)var p=l(c,g,a,n,e,h);if(!(p===r?Hl(g,c,d|f,l,h):p))return!1}}return!0}function $l(n){return!(!fo(n)||(e=n,le&&le in e))&&(so(n)?oe:Pn).test(Vi(n));var e}function Zl(n){return"function"==typeof n?n:null==n?ps:"object"==typeof n?eo(n)?tr(n[0],n[1]):er(n):Ss(n)}function Jl(n){if(!xi(n))return xt(n);var e=[];for(var t in Wn(n))ee.call(n,t)&&"constructor"!=t&&e.push(t);return e}function Xl(n,e){return n<e}function nr(n,e){var t=-1,r=lo(n)?l(n.length):[];return Al(n,function(n,l,i){r[++t]=e(n,l,i)}),r}function er(n){var e=wi(n);return 1==e.length&&e[0][2]?Di(e[0][0],e[0][1]):function(t){return t===n||Vl(t,n,e)}}function tr(n,e){return Oi(n)&&Ni(e)?Di(Hi(n),e):function(t){var l=Po(t,n);return l===r&&l===e?Ko(t,n):Hl(e,l,d|f)}}function lr(n,e,t,l,i){n!==e&&Rl(e,function(u,o){if(i||(i=new gl),fo(u))!function(n,e,t,l,i,u,o){var s=qi(n,t),a=qi(e,t),c=o.get(a);if(c)bl(n,t,c);else{var d=u?u(s,a,t+"",n,e,o):r,f=d===r;if(f){var g=eo(a),h=!g&&io(a),p=!g&&!h&&ko(a);d=a,g||h||p?eo(s)?d=s:ro(s)?d=Fr(s):h?(f=!1,d=xr(a,!0)):p?(f=!1,d=Dr(a,!0)):d=[]:bo(a)||no(a)?(d=s,no(s)?d=Co(s):fo(s)&&!so(s)||(d=Ai(a))):f=!1}f&&(o.set(a,d),i(d,a,l,u,o),o.delete(a)),bl(n,t,d)}}(n,e,o,t,lr,l,i);else{var s=l?l(qi(n,o),u,o+"",n,e,i):r;s===r&&(s=u),bl(n,o,s)}},zo)}function rr(n,e){var t=n.length;if(t)return Ui(e+=e<0?t:0,t)?n[e]:r}function ir(n,e,t){e=e.length?Ge(e,function(n){return eo(n)?function(e){return Kl(e,1===n.length?n[0]:n)}:n}):[ps];var l=-1;return e=Ge(e,ut(yi())),function(n,e){var l=n.length;for(n.sort(function(n,e){return function(n,e,t){for(var l=-1,r=n.criteria,i=e.criteria,u=r.length,o=t.length;++l<u;){var s=Pr(r[l],i[l]);if(s)return l>=o?s:s*("desc"==t[l]?-1:1)}return n.index-e.index}(n,e,t)});l--;)n[l]=n[l].value;return n}(nr(n,function(n,t,r){return{criteria:Ge(e,function(e){return e(n)}),index:++l,value:n}}))}function ur(n,e,t){for(var l=-1,r=e.length,i={};++l<r;){var u=e[l],o=Kl(n,u);t(o,u)&&fr(i,Mr(u,n),o)}return i}function or(n,e,t,l){var r=l?Ze:$e,i=-1,u=e.length,o=n;for(n===e&&(e=Fr(e)),t&&(o=Ge(n,ut(t)));++i<u;)for(var s=0,a=e[i],c=t?t(a):a;(s=r(o,c,s,l))>-1;)o!==n&&Be.call(o,s,1),Be.call(n,s,1);return n}function sr(n,e){for(var t=n?e.length:0,l=t-1;t--;){var r=e[t];if(t==l||r!==i){var i=r;Ui(r)?Be.call(n,r,1):Ir(n,r)}}return n}function ar(n,e){return n+Ut(qt()*(e-n+1))}function cr(n,e){var t="";if(!n||e<1||e>T)return t;do{e%2&&(t+=n),(e=Ut(e/2))&&(n+=n)}while(e);return t}function dr(n,e){return ji(Pi(n,e,ps),n+"")}function fr(n,e,t,l){if(!fo(n))return n;for(var i=-1,u=(e=Mr(e,n)).length,o=u-1,s=n;null!=s&&++i<u;){var a=Hi(e[i]),c=t;if("__proto__"===a||"constructor"===a||"prototype"===a)return n;if(i!=o){var d=s[a];(c=l?l(d,a,s):r)===r&&(c=fo(d)?d:Ui(e[i+1])?[]:{})}ml(s,a,c),s=s[a]}return n}var gr=Ht?function(n,e){return Ht.set(n,e),n}:ps,hr=Et?function(n,e){return Et(n,"toString",{configurable:!0,enumerable:!1,value:fs(e),writable:!0})}:ps;function pr(n,e,t){var r=-1,i=n.length;e<0&&(e=-e>i?0:i+e),(t=t>i?i:t)<0&&(t+=i),i=e>t?0:t-e>>>0,e>>>=0;for(var u=l(i);++r<i;)u[r]=n[r+e];return u}function br(n,e){var t;return Al(n,function(n,l,r){return!(t=e(n,l,r))}),!!t}function mr(n,e,t){var l=0,r=null==n?l:n.length;if("number"==typeof e&&e==e&&r<=M){for(;l<r;){var i=l+r>>>1,u=n[i];null!==u&&!yo(u)&&(t?u<=e:u<e)?l=i+1:r=i}return r}return vr(n,e,ps,t)}function vr(n,e,t,l){var i=0,u=null==n?0:n.length;if(0===u)return 0;for(var o=(e=t(e))!=e,s=null===e,a=yo(e),c=e===r;i<u;){var d=Ut((i+u)/2),f=t(n[d]),g=f!==r,h=null===f,p=f==f,b=yo(f);if(o)var m=l||p;else m=c?p&&(l||g):s?p&&g&&(l||!h):a?p&&g&&!h&&(l||!b):!h&&!b&&(l?f<=e:f<e);m?i=d+1:u=d}return Dt(u,U)}function _r(n,e){for(var t=-1,l=n.length,r=0,i=[];++t<l;){var u=n[t],o=e?e(u):u;if(!t||!Zu(o,s)){var s=o;i[r++]=0===u?0:u}}return i}function yr(n){return"number"==typeof n?n:yo(n)?A:+n}function kr(n){if("string"==typeof n)return n;if(eo(n))return Ge(n,kr)+"";if(yo(n))return ll?ll.call(n):"";var e=n+"";return"0"==e&&1/n==-E?"-0":e}function wr(n,e,t){var l=-1,r=qe,u=n.length,o=!0,s=[],a=s;if(t)o=!1,r=Fe;else if(u>=i){var c=e?null:oi(n);if(c)return vt(c);o=!1,r=st,a=new fl}else a=e?[]:s;n:for(;++l<u;){var d=n[l],f=e?e(d):d;if(d=t||0!==d?d:0,o&&f==f){for(var g=a.length;g--;)if(a[g]===f)continue n;e&&a.push(f),s.push(d)}else r(a,f,t)||(a!==s&&a.push(f),s.push(d))}return s}function Ir(n,e){return null==(n=Ki(n,e=Mr(e,n)))||delete n[Hi(ou(e))]}function Sr(n,e,t,l){return fr(n,e,t(Kl(n,e)),l)}function Er(n,e,t,l){for(var r=n.length,i=l?r:-1;(l?i--:++i<r)&&e(n[i],i,n););return t?pr(n,l?0:i,l?i+1:r):pr(n,l?i+1:0,l?r:i)}function Tr(n,e){var t=n;return t instanceof sl&&(t=t.value()),ze(e,function(n,e){return e.func.apply(e.thisArg,je([n],e.args))},t)}function Br(n,e,t){var r=n.length;if(r<2)return r?wr(n[0]):[];for(var i=-1,u=l(r);++i<r;)for(var o=n[i],s=-1;++s<r;)s!=i&&(u[i]=Bl(u[i]||o,n[s],e,t));return wr(Ll(u,1),e,t)}function Ar(n,e,t){for(var l=-1,i=n.length,u=e.length,o={};++l<i;)t(o,n[l],l<u?e[l]:r);return o}function Cr(n){return ro(n)?n:[]}function Ur(n){return"function"==typeof n?n:ps}function Mr(n,e){return eo(n)?n:Oi(n,e)?[n]:Wi(Uo(n))}var Or=dr;function Lr(n,e,t){var l=n.length;return t=t===r?l:t,!e&&t>=l?n:pr(n,e,t)}var Rr=Tt||function(n){return Ie.clearTimeout(n)};function xr(n,e){if(e)return n.slice();var t=n.length,l=ke?ke(t):new n.constructor(t);return n.copy(l),l}function Nr(n){var e=new n.constructor(n.byteLength);return new ve(e).set(new ve(n)),e}function Dr(n,e){var t=e?Nr(n.buffer):n.buffer;return new n.constructor(t,n.byteOffset,n.length)}function Pr(n,e){if(n!==e){var t=n!==r,l=null===n,i=n==n,u=yo(n),o=e!==r,s=null===e,a=e==e,c=yo(e);if(!s&&!c&&!u&&n>e||u&&o&&a&&!s&&!c||l&&o&&a||!t&&a||!i)return 1;if(!l&&!u&&!c&&n<e||c&&t&&i&&!l&&!u||s&&t&&i||!o&&i||!a)return-1}return 0}function Kr(n,e,t,r){for(var i=-1,u=n.length,o=t.length,s=-1,a=e.length,c=Nt(u-o,0),d=l(a+c),f=!r;++s<a;)d[s]=e[s];for(;++i<o;)(f||i<u)&&(d[t[i]]=n[i]);for(;c--;)d[s++]=n[i++];return d}function qr(n,e,t,r){for(var i=-1,u=n.length,o=-1,s=t.length,a=-1,c=e.length,d=Nt(u-s,0),f=l(d+c),g=!r;++i<d;)f[i]=n[i];for(var h=i;++a<c;)f[h+a]=e[a];for(;++o<s;)(g||i<u)&&(f[h+t[o]]=n[i++]);return f}function Fr(n,e){var t=-1,r=n.length;for(e||(e=l(r));++t<r;)e[t]=n[t];return e}function Gr(n,e,t,l){var i=!t;t||(t={});for(var u=-1,o=e.length;++u<o;){var s=e[u],a=l?l(t[s],n[s],s,t,n):r;a===r&&(a=n[s]),i?kl(t,s,a):ml(t,s,a)}return t}function jr(n,e){return function(t,l){var r=eo(t)?Ne:_l,i=e?e():{};return r(t,n,yi(l,2),i)}}function zr(n){return dr(function(e,t){var l=-1,i=t.length,u=i>1?t[i-1]:r,o=i>2?t[2]:r;for(u=n.length>3&&"function"==typeof u?(i--,u):r,o&&Mi(t[0],t[1],o)&&(u=i<3?r:u,i=1),e=Wn(e);++l<i;){var s=t[l];s&&n(e,s,l,u)}return e})}function Yr(n,e){return function(t,l){if(null==t)return t;if(!lo(t))return n(t,l);for(var r=t.length,i=e?r:-1,u=Wn(t);(e?i--:++i<r)&&!1!==l(u[i],i,u););return t}}function Qr(n){return function(e,t,l){for(var r=-1,i=Wn(e),u=l(e),o=u.length;o--;){var s=u[n?o:++r];if(!1===t(i[s],s,i))break}return e}}function Wr(n){return function(e){var t=ht(e=Uo(e))?kt(e):r,l=t?t[0]:e.charAt(0),i=t?Lr(t,1).join(""):e.slice(1);return l[n]()+i}}function Hr(n){return function(e){return ze(as(es(e).replace(se,"")),n,"")}}function Vr(n){return function(){var e=arguments;switch(e.length){case 0:return new n;case 1:return new n(e[0]);case 2:return new n(e[0],e[1]);case 3:return new n(e[0],e[1],e[2]);case 4:return new n(e[0],e[1],e[2],e[3]);case 5:return new n(e[0],e[1],e[2],e[3],e[4]);case 6:return new n(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new n(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var t=il(n.prototype),l=n.apply(t,e);return fo(l)?l:t}}function $r(n){return function(e,t,l){var i=Wn(e);if(!lo(e)){var u=yi(t,3);e=jo(e),t=function(n){return u(i[n],n,i)}}var o=n(e,t,l);return o>-1?i[u?e[o]:o]:r}}function Zr(n){return hi(function(e){var t=e.length,l=t,i=ol.prototype.thru;for(n&&e.reverse();l--;){var o=e[l];if("function"!=typeof o)throw new $n(u);if(i&&!s&&"wrapper"==vi(o))var s=new ol([],!0)}for(l=s?l:t;++l<t;){var a=vi(o=e[l]),c="wrapper"==a?mi(o):r;s=c&&Li(c[0])&&c[1]==(y|b|v|k)&&!c[4].length&&1==c[9]?s[vi(c[0])].apply(s,c[3]):1==o.length&&Li(o)?s[a]():s.thru(o)}return function(){var n=arguments,l=n[0];if(s&&1==n.length&&eo(l))return s.plant(l).value();for(var r=0,i=t?e[r].apply(this,n):l;++r<t;)i=e[r].call(this,i);return i}})}function Jr(n,e,t,i,u,o,s,a,c,d){var f=e&y,p=e&g,v=e&h,_=e&(b|m),k=e&w,I=v?r:Vr(n);return function g(){for(var h=arguments.length,b=l(h),m=h;m--;)b[m]=arguments[m];if(_)var y=_i(g),w=function(n,e){for(var t=n.length,l=0;t--;)n[t]===e&&++l;return l}(b,y);if(i&&(b=Kr(b,i,u,_)),o&&(b=qr(b,o,s,_)),h-=w,_&&h<d){var S=mt(b,y);return ii(n,e,Jr,g.placeholder,t,b,S,a,c,d-h)}var E=p?t:this,T=v?E[n]:n;return h=b.length,a?b=function(n,e){for(var t=n.length,l=Dt(e.length,t),i=Fr(n);l--;){var u=e[l];n[l]=Ui(u,t)?i[u]:r}return n}(b,a):k&&h>1&&b.reverse(),f&&c<h&&(b.length=c),this&&this!==Ie&&this instanceof g&&(T=I||Vr(T)),T.apply(E,b)}}function Xr(n,e){return function(t,l){return function(n,e,t,l){return Nl(n,function(n,r,i){e(l,t(n),r,i)}),l}(t,n,e(l),{})}}function ni(n,e){return function(t,l){var i;if(t===r&&l===r)return e;if(t!==r&&(i=t),l!==r){if(i===r)return l;"string"==typeof t||"string"==typeof l?(t=kr(t),l=kr(l)):(t=yr(t),l=yr(l)),i=n(t,l)}return i}}function ei(n){return hi(function(e){return e=Ge(e,ut(yi())),dr(function(t){var l=this;return n(e,function(n){return xe(n,l,t)})})})}function ti(n,e){var t=(e=e===r?" ":kr(e)).length;if(t<2)return t?cr(e,n):e;var l=cr(e,Ct(n/yt(e)));return ht(e)?Lr(kt(l),0,n).join(""):l.slice(0,n)}function li(n){return function(e,t,i){return i&&"number"!=typeof i&&Mi(e,t,i)&&(t=i=r),e=Eo(e),t===r?(t=e,e=0):t=Eo(t),function(n,e,t,r){for(var i=-1,u=Nt(Ct((e-n)/(t||1)),0),o=l(u);u--;)o[r?u:++i]=n,n+=t;return o}(e,t,i=i===r?e<t?1:-1:Eo(i),n)}}function ri(n){return function(e,t){return"string"==typeof e&&"string"==typeof t||(e=Ao(e),t=Ao(t)),n(e,t)}}function ii(n,e,t,l,i,u,o,s,a,c){var d=e&b;e|=d?v:_,(e&=~(d?_:v))&p||(e&=~(g|h));var f=[n,e,i,d?u:r,d?o:r,d?r:u,d?r:o,s,a,c],m=t.apply(r,f);return Li(n)&&Fi(m,f),m.placeholder=l,zi(m,n,e)}function ui(n){var e=Qn[n];return function(n,t){if(n=Ao(n),(t=null==t?0:Dt(To(t),292))&&Lt(n)){var l=(Uo(n)+"e").split("e");return+((l=(Uo(e(l[0]+"e"+(+l[1]+t)))+"e").split("e"))[0]+"e"+(+l[1]-t))}return e(n)}}var oi=Yt&&1/vt(new Yt([,-0]))[1]==E?function(n){return new Yt(n)}:ys;function si(n){return function(e){var t=Ti(e);return t==G?pt(e):t==H?_t(e):function(n,e){return Ge(e,function(e){return[e,n[e]]})}(e,n(e))}}function ai(n,e,t,i,s,a,c,d){var f=e&h;if(!f&&"function"!=typeof n)throw new $n(u);var w=i?i.length:0;if(w||(e&=~(v|_),i=s=r),c=c===r?c:Nt(To(c),0),d=d===r?d:To(d),w-=s?s.length:0,e&_){var I=i,S=s;i=s=r}var E=f?r:mi(n),T=[n,e,t,i,s,I,S,a,c,d];if(E&&function(n,e){var t=n[1],l=e[1],r=t|l;if(!(r<(g|h|y)||l==y&&t==b||l==y&&t==k&&n[7].length<=e[8]||l==(y|k)&&e[7].length<=e[8]&&t==b))return n;l&g&&(n[2]=e[2],r|=t&g?0:p);var i=e[3];if(i){var u=n[3];n[3]=u?Kr(u,i,e[4]):i,n[4]=u?mt(n[3],o):e[4]}(i=e[5])&&(n[5]=(u=n[5])?qr(u,i,e[6]):i,n[6]=u?mt(n[5],o):e[6]),(i=e[7])&&(n[7]=i),l&y&&(n[8]=null==n[8]?e[8]:Dt(n[8],e[8])),null==n[9]&&(n[9]=e[9]),n[0]=e[0],n[1]=r}(T,E),n=T[0],e=T[1],t=T[2],i=T[3],s=T[4],!(d=T[9]=T[9]===r?f?0:n.length:Nt(T[9]-w,0))&&e&(b|m)&&(e&=~(b|m)),e&&e!=g)B=e==b||e==m?function(n,e,t){var i=Vr(n);return function u(){for(var o=arguments.length,s=l(o),a=o,c=_i(u);a--;)s[a]=arguments[a];var d=o<3&&s[0]!==c&&s[o-1]!==c?[]:mt(s,c);return(o-=d.length)<t?ii(n,e,Jr,u.placeholder,r,s,d,r,r,t-o):xe(this&&this!==Ie&&this instanceof u?i:n,this,s)}}(n,e,d):e!=v&&e!=(g|v)||s.length?Jr.apply(r,T):function(n,e,t,r){var i=e&g,u=Vr(n);return function e(){for(var o=-1,s=arguments.length,a=-1,c=r.length,d=l(c+s),f=this&&this!==Ie&&this instanceof e?u:n;++a<c;)d[a]=r[a];for(;s--;)d[a++]=arguments[++o];return xe(f,i?t:this,d)}}(n,e,t,i);else var B=function(n,e,t){var l=e&g,r=Vr(n);return function e(){return(this&&this!==Ie&&this instanceof e?r:n).apply(l?t:this,arguments)}}(n,e,t);return zi((E?gr:Fi)(B,T),n,e)}function ci(n,e,t,l){return n===r||Zu(n,Jn[t])&&!ee.call(l,t)?e:n}function di(n,e,t,l,i,u){return fo(n)&&fo(e)&&(u.set(e,n),lr(n,e,r,di,u),u.delete(e)),n}function fi(n){return bo(n)?r:n}function gi(n,e,t,l,i,u){var o=t&d,s=n.length,a=e.length;if(s!=a&&!(o&&a>s))return!1;var c=u.get(n),g=u.get(e);if(c&&g)return c==e&&g==n;var h=-1,p=!0,b=t&f?new fl:r;for(u.set(n,e),u.set(e,n);++h<s;){var m=n[h],v=e[h];if(l)var _=o?l(v,m,h,e,n,u):l(m,v,h,n,e,u);if(_!==r){if(_)continue;p=!1;break}if(b){if(!Qe(e,function(n,e){if(!st(b,e)&&(m===n||i(m,n,t,l,u)))return b.push(e)})){p=!1;break}}else if(m!==v&&!i(m,v,t,l,u)){p=!1;break}}return u.delete(n),u.delete(e),p}function hi(n){return ji(Pi(n,r,tu),n+"")}function pi(n){return ql(n,jo,Si)}function bi(n){return ql(n,zo,Ei)}var mi=Ht?function(n){return Ht.get(n)}:ys;function vi(n){for(var e=n.name+"",t=Vt[e],l=ee.call(Vt,e)?t.length:0;l--;){var r=t[l],i=r.func;if(null==i||i==n)return r.name}return e}function _i(n){return(ee.call(rl,"placeholder")?rl:n).placeholder}function yi(){var n=rl.iteratee||bs;return n=n===bs?Zl:n,arguments.length?n(arguments[0],arguments[1]):n}function ki(n,e){var t,l,r=n.__data__;return("string"==(l=typeof(t=e))||"number"==l||"symbol"==l||"boolean"==l?"__proto__"!==t:null===t)?r["string"==typeof e?"string":"hash"]:r.map}function wi(n){for(var e=jo(n),t=e.length;t--;){var l=e[t],r=n[l];e[t]=[l,r,Ni(r)]}return e}function Ii(n,e){var t=function(n,e){return null==n?r:n[e]}(n,e);return $l(t)?t:r}var Si=Mt?function(n){return null==n?[]:(n=Wn(n),Ke(Mt(n),function(e){return Ee.call(n,e)}))}:Bs,Ei=Mt?function(n){for(var e=[];n;)je(e,Si(n)),n=we(n);return e}:Bs,Ti=Fl;function Bi(n,e,t){for(var l=-1,r=(e=Mr(e,n)).length,i=!1;++l<r;){var u=Hi(e[l]);if(!(i=null!=n&&t(n,u)))break;n=n[u]}return i||++l!=r?i:!!(r=null==n?0:n.length)&&co(r)&&Ui(u,r)&&(eo(n)||no(n))}function Ai(n){return"function"!=typeof n.constructor||xi(n)?{}:il(we(n))}function Ci(n){return eo(n)||no(n)||!!(Ae&&n&&n[Ae])}function Ui(n,e){var t=typeof n;return!!(e=null==e?T:e)&&("number"==t||"symbol"!=t&&qn.test(n))&&n>-1&&n%1==0&&n<e}function Mi(n,e,t){if(!fo(t))return!1;var l=typeof e;return!!("number"==l?lo(t)&&Ui(e,t.length):"string"==l&&e in t)&&Zu(t[e],n)}function Oi(n,e){if(eo(n))return!1;var t=typeof n;return!("number"!=t&&"symbol"!=t&&"boolean"!=t&&null!=n&&!yo(n))||wn.test(n)||!kn.test(n)||null!=e&&n in Wn(e)}function Li(n){var e=vi(n),t=rl[e];if("function"!=typeof t||!(e in sl.prototype))return!1;if(n===t)return!0;var l=mi(t);return!!l&&n===l[0]}(Gt&&Ti(new Gt(new ArrayBuffer(1)))!=nn||jt&&Ti(new jt)!=G||zt&&"[object Promise]"!=Ti(zt.resolve())||Yt&&Ti(new Yt)!=H||Qt&&Ti(new Qt)!=J)&&(Ti=function(n){var e=Fl(n),t=e==Y?n.constructor:r,l=t?Vi(t):"";if(l)switch(l){case $t:return nn;case Zt:return G;case Jt:return"[object Promise]";case Xt:return H;case nl:return J}return e});var Ri=Xn?so:As;function xi(n){var e=n&&n.constructor;return n===("function"==typeof e&&e.prototype||Jn)}function Ni(n){return n==n&&!fo(n)}function Di(n,e){return function(t){return null!=t&&t[n]===e&&(e!==r||n in Wn(t))}}function Pi(n,e,t){return e=Nt(e===r?n.length-1:e,0),function(){for(var r=arguments,i=-1,u=Nt(r.length-e,0),o=l(u);++i<u;)o[i]=r[e+i];i=-1;for(var s=l(e+1);++i<e;)s[i]=r[i];return s[e]=t(o),xe(n,this,s)}}function Ki(n,e){return e.length<2?n:Kl(n,pr(e,0,-1))}function qi(n,e){if(("constructor"!==e||"function"!=typeof n[e])&&"__proto__"!=e)return n[e]}var Fi=Yi(gr),Gi=At||function(n,e){return Ie.setTimeout(n,e)},ji=Yi(hr);function zi(n,e,t){var l=e+"";return ji(n,function(n,e){var t=e.length;if(!t)return n;var l=t-1;return e[l]=(t>1?"& ":"")+e[l],e=e.join(t>2?", ":" "),n.replace(An,"{\n/* [wrapped with "+e+"] */\n")}(l,function(n,e){return De(O,function(t){var l="_."+t[0];e&t[1]&&!qe(n,l)&&n.push(l)}),n.sort()}(function(n){var e=n.match(Cn);return e?e[1].split(Un):[]}(l),t)))}function Yi(n){var e=0,t=0;return function(){var l=Pt(),i=S-(l-t);if(t=l,i>0){if(++e>=I)return arguments[0]}else e=0;return n.apply(r,arguments)}}function Qi(n,e){var t=-1,l=n.length,i=l-1;for(e=e===r?l:e;++t<e;){var u=ar(t,i),o=n[u];n[u]=n[t],n[t]=o}return n.length=e,n}var Wi=function(n){var e=Yu(function(n){var e=[];return 46===n.charCodeAt(0)&&e.push(""),n.replace(In,function(n,t,l,r){e.push(l?r.replace(Ln,"$1"):t||n)}),e},function(n){return 500===t.size&&t.clear(),n}),t=e.cache;return e}();function Hi(n){if("string"==typeof n||yo(n))return n;var e=n+"";return"0"==e&&1/n==-E?"-0":e}function Vi(n){if(null!=n){try{return ne.call(n)}catch(e){}try{return n+""}catch(e){}}return""}function $i(n){if(n instanceof sl)return n.clone();var e=new ol(n.__wrapped__,n.__chain__);return e.__actions__=Fr(n.__actions__),e.__index__=n.__index__,e.__values__=n.__values__,e}var Zi=dr(function(n,e){return ro(n)?Bl(n,Ll(e,1,ro,!0)):[]}),Ji=dr(function(n,e){var t=ou(e);return ro(t)&&(t=r),ro(n)?Bl(n,Ll(e,1,ro,!0),yi(t,2)):[]}),Xi=dr(function(n,e){var t=ou(e);return ro(t)&&(t=r),ro(n)?Bl(n,Ll(e,1,ro,!0),r,t):[]});function nu(n,e,t){var l=null==n?0:n.length;if(!l)return-1;var r=null==t?0:To(t);return r<0&&(r=Nt(l+r,0)),Ve(n,yi(e,3),r)}function eu(n,e,t){var l=null==n?0:n.length;if(!l)return-1;var i=l-1;return t!==r&&(i=To(t),i=t<0?Nt(l+i,0):Dt(i,l-1)),Ve(n,yi(e,3),i,!0)}function tu(n){return null!=n&&n.length?Ll(n,1):[]}function lu(n){return n&&n.length?n[0]:r}var ru=dr(function(n){var e=Ge(n,Cr);return e.length&&e[0]===n[0]?Yl(e):[]}),iu=dr(function(n){var e=ou(n),t=Ge(n,Cr);return e===ou(t)?e=r:t.pop(),t.length&&t[0]===n[0]?Yl(t,yi(e,2)):[]}),uu=dr(function(n){var e=ou(n),t=Ge(n,Cr);return(e="function"==typeof e?e:r)&&t.pop(),t.length&&t[0]===n[0]?Yl(t,r,e):[]});function ou(n){var e=null==n?0:n.length;return e?n[e-1]:r}var su=dr(au);function au(n,e){return n&&n.length&&e&&e.length?or(n,e):n}var cu=hi(function(n,e){var t=null==n?0:n.length,l=wl(n,e);return sr(n,Ge(e,function(n){return Ui(n,t)?+n:n}).sort(Pr)),l});function du(n){return null==n?n:Ft.call(n)}var fu=dr(function(n){return wr(Ll(n,1,ro,!0))}),gu=dr(function(n){var e=ou(n);return ro(e)&&(e=r),wr(Ll(n,1,ro,!0),yi(e,2))}),hu=dr(function(n){var e=ou(n);return e="function"==typeof e?e:r,wr(Ll(n,1,ro,!0),r,e)});function pu(n){if(!n||!n.length)return[];var e=0;return n=Ke(n,function(n){if(ro(n))return e=Nt(n.length,e),!0}),rt(e,function(e){return Ge(n,nt(e))})}function bu(n,e){if(!n||!n.length)return[];var t=pu(n);return null==e?t:Ge(t,function(n){return xe(e,r,n)})}var mu=dr(function(n,e){return ro(n)?Bl(n,e):[]}),vu=dr(function(n){return Br(Ke(n,ro))}),_u=dr(function(n){var e=ou(n);return ro(e)&&(e=r),Br(Ke(n,ro),yi(e,2))}),yu=dr(function(n){var e=ou(n);return e="function"==typeof e?e:r,Br(Ke(n,ro),r,e)}),ku=dr(pu),wu=dr(function(n){var e=n.length,t=e>1?n[e-1]:r;return t="function"==typeof t?(n.pop(),t):r,bu(n,t)});function Iu(n){var e=rl(n);return e.__chain__=!0,e}function Su(n,e){return e(n)}var Eu=hi(function(n){var e=n.length,t=e?n[0]:0,l=this.__wrapped__,i=function(e){return wl(e,n)};return!(e>1||this.__actions__.length)&&l instanceof sl&&Ui(t)?((l=l.slice(t,+t+(e?1:0))).__actions__.push({func:Su,args:[i],thisArg:r}),new ol(l,this.__chain__).thru(function(n){return e&&!n.length&&n.push(r),n})):this.thru(i)}),Tu=jr(function(n,e,t){ee.call(n,t)?++n[t]:kl(n,t,1)}),Bu=$r(nu),Au=$r(eu);function Cu(n,e){return(eo(n)?De:Al)(n,yi(e,3))}function Uu(n,e){return(eo(n)?function(n,e){for(var t=null==n?0:n.length;t--&&!1!==e(n[t],t,n););return n}:Cl)(n,yi(e,3))}var Mu=jr(function(n,e,t){ee.call(n,t)?n[t].push(e):kl(n,t,[e])}),Ou=dr(function(n,e,t){var r=-1,i="function"==typeof e,u=lo(n)?l(n.length):[];return Al(n,function(n){u[++r]=i?xe(e,n,t):Ql(n,e,t)}),u}),Lu=jr(function(n,e,t){kl(n,t,e)});function Ru(n,e){return(eo(n)?Ge:nr)(n,yi(e,3))}var xu=jr(function(n,e,t){n[t?0:1].push(e)},function(){return[[],[]]}),Nu=dr(function(n,e){if(null==n)return[];var t=e.length;return t>1&&Mi(n,e[0],e[1])?e=[]:t>2&&Mi(e[0],e[1],e[2])&&(e=[e[0]]),ir(n,Ll(e,1),[])}),Du=Bt||function(){return Ie.Date.now()};function Pu(n,e,t){return e=t?r:e,ai(n,y,r,r,r,r,e=n&&null==e?n.length:e)}function Ku(n,e){var t;if("function"!=typeof e)throw new $n(u);return n=To(n),function(){return--n>0&&(t=e.apply(this,arguments)),n<=1&&(e=r),t}}var qu=dr(function(n,e,t){var l=g;if(t.length){var r=mt(t,_i(qu));l|=v}return ai(n,l,e,t,r)}),Fu=dr(function(n,e,t){var l=g|h;if(t.length){var r=mt(t,_i(Fu));l|=v}return ai(e,l,n,t,r)});function Gu(n,e,t){var l,i,o,s,a,c,d=0,f=!1,g=!1,h=!0;if("function"!=typeof n)throw new $n(u);function p(e){var t=l,u=i;return l=i=r,d=e,s=n.apply(u,t)}function b(n){var t=n-c;return c===r||t>=e||t<0||g&&n-d>=o}function m(){var n=Du();if(b(n))return v(n);a=Gi(m,function(n){var t=e-(n-c);return g?Dt(t,o-(n-d)):t}(n))}function v(n){return a=r,h&&l?p(n):(l=i=r,s)}function _(){var n=Du(),t=b(n);if(l=arguments,i=this,c=n,t){if(a===r)return function(n){return d=n,a=Gi(m,e),f?p(n):s}(c);if(g)return Rr(a),a=Gi(m,e),p(c)}return a===r&&(a=Gi(m,e)),s}return e=Ao(e)||0,fo(t)&&(f=!!t.leading,o=(g="maxWait"in t)?Nt(Ao(t.maxWait)||0,e):o,h="trailing"in t?!!t.trailing:h),_.cancel=function(){a!==r&&Rr(a),d=0,l=c=i=a=r},_.flush=function(){return a===r?s:v(Du())},_}var ju=dr(function(n,e){return Tl(n,1,e)}),zu=dr(function(n,e,t){return Tl(n,Ao(e)||0,t)});function Yu(n,e){if("function"!=typeof n||null!=e&&"function"!=typeof e)throw new $n(u);var t=function(){var l=arguments,r=e?e.apply(this,l):l[0],i=t.cache;if(i.has(r))return i.get(r);var u=n.apply(this,l);return t.cache=i.set(r,u)||i,u};return t.cache=new(Yu.Cache||dl),t}function Qu(n){if("function"!=typeof n)throw new $n(u);return function(){var e=arguments;switch(e.length){case 0:return!n.call(this);case 1:return!n.call(this,e[0]);case 2:return!n.call(this,e[0],e[1]);case 3:return!n.call(this,e[0],e[1],e[2])}return!n.apply(this,e)}}Yu.Cache=dl;var Wu=Or(function(n,e){var t=(e=1==e.length&&eo(e[0])?Ge(e[0],ut(yi())):Ge(Ll(e,1),ut(yi()))).length;return dr(function(l){for(var r=-1,i=Dt(l.length,t);++r<i;)l[r]=e[r].call(this,l[r]);return xe(n,this,l)})}),Hu=dr(function(n,e){var t=mt(e,_i(Hu));return ai(n,v,r,e,t)}),Vu=dr(function(n,e){var t=mt(e,_i(Vu));return ai(n,_,r,e,t)}),$u=hi(function(n,e){return ai(n,k,r,r,r,e)});function Zu(n,e){return n===e||n!=n&&e!=e}var Ju=ri(Gl),Xu=ri(function(n,e){return n>=e}),no=Wl(function(){return arguments}())?Wl:function(n){return go(n)&&ee.call(n,"callee")&&!Ee.call(n,"callee")},eo=l.isArray,to=Ce?ut(Ce):function(n){return go(n)&&Fl(n)==X};function lo(n){return null!=n&&co(n.length)&&!so(n)}function ro(n){return go(n)&&lo(n)}var io=Ot||As,uo=Ue?ut(Ue):function(n){return go(n)&&Fl(n)==D};function oo(n){if(!go(n))return!1;var e=Fl(n);return e==K||e==P||"string"==typeof n.message&&"string"==typeof n.name&&!bo(n)}function so(n){if(!fo(n))return!1;var e=Fl(n);return e==q||e==F||e==x||e==Q}function ao(n){return"number"==typeof n&&n==To(n)}function co(n){return"number"==typeof n&&n>-1&&n%1==0&&n<=T}function fo(n){var e=typeof n;return null!=n&&("object"==e||"function"==e)}function go(n){return null!=n&&"object"==typeof n}var ho=Me?ut(Me):function(n){return go(n)&&Ti(n)==G};function po(n){return"number"==typeof n||go(n)&&Fl(n)==j}function bo(n){if(!go(n)||Fl(n)!=Y)return!1;var e=we(n);if(null===e)return!0;var t=ee.call(e,"constructor")&&e.constructor;return"function"==typeof t&&t instanceof t&&ne.call(t)==ie}var mo=Oe?ut(Oe):function(n){return go(n)&&Fl(n)==W},vo=Le?ut(Le):function(n){return go(n)&&Ti(n)==H};function _o(n){return"string"==typeof n||!eo(n)&&go(n)&&Fl(n)==V}function yo(n){return"symbol"==typeof n||go(n)&&Fl(n)==$}var ko=Re?ut(Re):function(n){return go(n)&&co(n.length)&&!!be[Fl(n)]},wo=ri(Xl),Io=ri(function(n,e){return n<=e});function So(n){if(!n)return[];if(lo(n))return _o(n)?kt(n):Fr(n);if(We&&n[We])return function(n){for(var e,t=[];!(e=n.next()).done;)t.push(e.value);return t}(n[We]());var e=Ti(n);return(e==G?pt:e==H?vt:Jo)(n)}function Eo(n){return n?(n=Ao(n))===E||n===-E?(n<0?-1:1)*B:n==n?n:0:0===n?n:0}function To(n){var e=Eo(n),t=e%1;return e==e?t?e-t:e:0}function Bo(n){return n?Il(To(n),0,C):0}function Ao(n){if("number"==typeof n)return n;if(yo(n))return A;if(fo(n)){var e="function"==typeof n.valueOf?n.valueOf():n;n=fo(e)?e+"":e}if("string"!=typeof n)return 0===n?n:+n;n=it(n);var t=Dn.test(n);return t||Kn.test(n)?ye(n.slice(2),t?2:8):Nn.test(n)?A:+n}function Co(n){return Gr(n,zo(n))}function Uo(n){return null==n?"":kr(n)}var Mo=zr(function(n,e){if(xi(e)||lo(e))Gr(e,jo(e),n);else for(var t in e)ee.call(e,t)&&ml(n,t,e[t])}),Oo=zr(function(n,e){Gr(e,zo(e),n)}),Lo=zr(function(n,e,t,l){Gr(e,zo(e),n,l)}),Ro=zr(function(n,e,t,l){Gr(e,jo(e),n,l)}),xo=hi(wl),No=dr(function(n,e){n=Wn(n);var t=-1,l=e.length,i=l>2?e[2]:r;for(i&&Mi(e[0],e[1],i)&&(l=1);++t<l;)for(var u=e[t],o=zo(u),s=-1,a=o.length;++s<a;){var c=o[s],d=n[c];(d===r||Zu(d,Jn[c])&&!ee.call(n,c))&&(n[c]=u[c])}return n}),Do=dr(function(n){return n.push(r,di),xe(Qo,r,n)});function Po(n,e,t){var l=null==n?r:Kl(n,e);return l===r?t:l}function Ko(n,e){return null!=n&&Bi(n,e,zl)}var qo=Xr(function(n,e,t){null!=e&&"function"!=typeof e.toString&&(e=re.call(e)),n[e]=t},fs(ps)),Fo=Xr(function(n,e,t){null!=e&&"function"!=typeof e.toString&&(e=re.call(e)),ee.call(n,e)?n[e].push(t):n[e]=[t]},yi),Go=dr(Ql);function jo(n){return lo(n)?hl(n):Jl(n)}function zo(n){return lo(n)?hl(n,!0):function(n){if(!fo(n))return function(n){var e=[];if(null!=n)for(var t in Wn(n))e.push(t);return e}(n);var e=xi(n),t=[];for(var l in n)("constructor"!=l||!e&&ee.call(n,l))&&t.push(l);return t}(n)}var Yo=zr(function(n,e,t){lr(n,e,t)}),Qo=zr(function(n,e,t,l){lr(n,e,t,l)}),Wo=hi(function(n,e){var t={};if(null==n)return t;var l=!1;e=Ge(e,function(e){return e=Mr(e,n),l||(l=e.length>1),e}),Gr(n,bi(n),t),l&&(t=Sl(t,s|a|c,fi));for(var r=e.length;r--;)Ir(t,e[r]);return t}),Ho=hi(function(n,e){return null==n?{}:function(n,e){return ur(n,e,function(e,t){return Ko(n,t)})}(n,e)});function Vo(n,e){if(null==n)return{};var t=Ge(bi(n),function(n){return[n]});return e=yi(e),ur(n,t,function(n,t){return e(n,t[0])})}var $o=si(jo),Zo=si(zo);function Jo(n){return null==n?[]:ot(n,jo(n))}var Xo=Hr(function(n,e,t){return e=e.toLowerCase(),n+(t?ns(e):e)});function ns(n){return ss(Uo(n).toLowerCase())}function es(n){return(n=Uo(n))&&n.replace(Fn,dt).replace(ae,"")}var ts=Hr(function(n,e,t){return n+(t?"-":"")+e.toLowerCase()}),ls=Hr(function(n,e,t){return n+(t?" ":"")+e.toLowerCase()}),rs=Wr("toLowerCase"),is=Hr(function(n,e,t){return n+(t?"_":"")+e.toLowerCase()}),us=Hr(function(n,e,t){return n+(t?" ":"")+ss(e)}),os=Hr(function(n,e,t){return n+(t?" ":"")+e.toUpperCase()}),ss=Wr("toUpperCase");function as(n,e,t){return n=Uo(n),(e=t?r:e)===r?function(n){return ge.test(n)}(n)?function(n){return n.match(de)||[]}(n):function(n){return n.match(Mn)||[]}(n):n.match(e)||[]}var cs=dr(function(n,e){try{return xe(n,r,e)}catch(t){return oo(t)?t:new zn(t)}}),ds=hi(function(n,e){return De(e,function(e){e=Hi(e),kl(n,e,qu(n[e],n))}),n});function fs(n){return function(){return n}}var gs=Zr(),hs=Zr(!0);function ps(n){return n}function bs(n){return Zl("function"==typeof n?n:Sl(n,s))}var ms=dr(function(n,e){return function(t){return Ql(t,n,e)}}),vs=dr(function(n,e){return function(t){return Ql(n,t,e)}});function _s(n,e,t){var l=jo(e),r=Pl(e,l);null!=t||fo(e)&&(r.length||!l.length)||(t=e,e=n,n=this,r=Pl(e,jo(e)));var i=!(fo(t)&&"chain"in t&&!t.chain),u=so(n);return De(r,function(t){var l=e[t];n[t]=l,u&&(n.prototype[t]=function(){var e=this.__chain__;if(i||e){var t=n(this.__wrapped__);return(t.__actions__=Fr(this.__actions__)).push({func:l,args:arguments,thisArg:n}),t.__chain__=e,t}return l.apply(n,je([this.value()],arguments))})}),n}function ys(){}var ks=ei(Ge),ws=ei(Pe),Is=ei(Qe);function Ss(n){return Oi(n)?nt(Hi(n)):function(n){return function(e){return Kl(e,n)}}(n)}var Es=li(),Ts=li(!0);function Bs(){return[]}function As(){return!1}var Cs,Us=ni(function(n,e){return n+e},0),Ms=ui("ceil"),Os=ni(function(n,e){return n/e},1),Ls=ui("floor"),Rs=ni(function(n,e){return n*e},1),xs=ui("round"),Ns=ni(function(n,e){return n-e},0);return rl.after=function(n,e){if("function"!=typeof e)throw new $n(u);return n=To(n),function(){if(--n<1)return e.apply(this,arguments)}},rl.ary=Pu,rl.assign=Mo,rl.assignIn=Oo,rl.assignInWith=Lo,rl.assignWith=Ro,rl.at=xo,rl.before=Ku,rl.bind=qu,rl.bindAll=ds,rl.bindKey=Fu,rl.castArray=function(){if(!arguments.length)return[];var n=arguments[0];return eo(n)?n:[n]},rl.chain=Iu,rl.chunk=function(n,e,t){e=(t?Mi(n,e,t):e===r)?1:Nt(To(e),0);var i=null==n?0:n.length;if(!i||e<1)return[];for(var u=0,o=0,s=l(Ct(i/e));u<i;)s[o++]=pr(n,u,u+=e);return s},rl.compact=function(n){for(var e=-1,t=null==n?0:n.length,l=0,r=[];++e<t;){var i=n[e];i&&(r[l++]=i)}return r},rl.concat=function(){var n=arguments.length;if(!n)return[];for(var e=l(n-1),t=arguments[0],r=n;r--;)e[r-1]=arguments[r];return je(eo(t)?Fr(t):[t],Ll(e,1))},rl.cond=function(n){var e=null==n?0:n.length,t=yi();return n=e?Ge(n,function(n){if("function"!=typeof n[1])throw new $n(u);return[t(n[0]),n[1]]}):[],dr(function(t){for(var l=-1;++l<e;){var r=n[l];if(xe(r[0],this,t))return xe(r[1],this,t)}})},rl.conforms=function(n){return function(n){var e=jo(n);return function(t){return El(t,n,e)}}(Sl(n,s))},rl.constant=fs,rl.countBy=Tu,rl.create=function(n,e){var t=il(n);return null==e?t:yl(t,e)},rl.curry=function n(e,t,l){var i=ai(e,b,r,r,r,r,r,t=l?r:t);return i.placeholder=n.placeholder,i},rl.curryRight=function n(e,t,l){var i=ai(e,m,r,r,r,r,r,t=l?r:t);return i.placeholder=n.placeholder,i},rl.debounce=Gu,rl.defaults=No,rl.defaultsDeep=Do,rl.defer=ju,rl.delay=zu,rl.difference=Zi,rl.differenceBy=Ji,rl.differenceWith=Xi,rl.drop=function(n,e,t){var l=null==n?0:n.length;return l?pr(n,(e=t||e===r?1:To(e))<0?0:e,l):[]},rl.dropRight=function(n,e,t){var l=null==n?0:n.length;return l?pr(n,0,(e=l-(e=t||e===r?1:To(e)))<0?0:e):[]},rl.dropRightWhile=function(n,e){return n&&n.length?Er(n,yi(e,3),!0,!0):[]},rl.dropWhile=function(n,e){return n&&n.length?Er(n,yi(e,3),!0):[]},rl.fill=function(n,e,t,l){var i=null==n?0:n.length;return i?(t&&"number"!=typeof t&&Mi(n,e,t)&&(t=0,l=i),function(n,e,t,l){var i=n.length;for((t=To(t))<0&&(t=-t>i?0:i+t),(l=l===r||l>i?i:To(l))<0&&(l+=i),l=t>l?0:Bo(l);t<l;)n[t++]=e;return n}(n,e,t,l)):[]},rl.filter=function(n,e){return(eo(n)?Ke:Ol)(n,yi(e,3))},rl.flatMap=function(n,e){return Ll(Ru(n,e),1)},rl.flatMapDeep=function(n,e){return Ll(Ru(n,e),E)},rl.flatMapDepth=function(n,e,t){return t=t===r?1:To(t),Ll(Ru(n,e),t)},rl.flatten=tu,rl.flattenDeep=function(n){return null!=n&&n.length?Ll(n,E):[]},rl.flattenDepth=function(n,e){return null!=n&&n.length?Ll(n,e=e===r?1:To(e)):[]},rl.flip=function(n){return ai(n,w)},rl.flow=gs,rl.flowRight=hs,rl.fromPairs=function(n){for(var e=-1,t=null==n?0:n.length,l={};++e<t;){var r=n[e];l[r[0]]=r[1]}return l},rl.functions=function(n){return null==n?[]:Pl(n,jo(n))},rl.functionsIn=function(n){return null==n?[]:Pl(n,zo(n))},rl.groupBy=Mu,rl.initial=function(n){return null!=n&&n.length?pr(n,0,-1):[]},rl.intersection=ru,rl.intersectionBy=iu,rl.intersectionWith=uu,rl.invert=qo,rl.invertBy=Fo,rl.invokeMap=Ou,rl.iteratee=bs,rl.keyBy=Lu,rl.keys=jo,rl.keysIn=zo,rl.map=Ru,rl.mapKeys=function(n,e){var t={};return e=yi(e,3),Nl(n,function(n,l,r){kl(t,e(n,l,r),n)}),t},rl.mapValues=function(n,e){var t={};return e=yi(e,3),Nl(n,function(n,l,r){kl(t,l,e(n,l,r))}),t},rl.matches=function(n){return er(Sl(n,s))},rl.matchesProperty=function(n,e){return tr(n,Sl(e,s))},rl.memoize=Yu,rl.merge=Yo,rl.mergeWith=Qo,rl.method=ms,rl.methodOf=vs,rl.mixin=_s,rl.negate=Qu,rl.nthArg=function(n){return n=To(n),dr(function(e){return rr(e,n)})},rl.omit=Wo,rl.omitBy=function(n,e){return Vo(n,Qu(yi(e)))},rl.once=function(n){return Ku(2,n)},rl.orderBy=function(n,e,t,l){return null==n?[]:(eo(e)||(e=null==e?[]:[e]),eo(t=l?r:t)||(t=null==t?[]:[t]),ir(n,e,t))},rl.over=ks,rl.overArgs=Wu,rl.overEvery=ws,rl.overSome=Is,rl.partial=Hu,rl.partialRight=Vu,rl.partition=xu,rl.pick=Ho,rl.pickBy=Vo,rl.property=Ss,rl.propertyOf=function(n){return function(e){return null==n?r:Kl(n,e)}},rl.pull=su,rl.pullAll=au,rl.pullAllBy=function(n,e,t){return n&&n.length&&e&&e.length?or(n,e,yi(t,2)):n},rl.pullAllWith=function(n,e,t){return n&&n.length&&e&&e.length?or(n,e,r,t):n},rl.pullAt=cu,rl.range=Es,rl.rangeRight=Ts,rl.rearg=$u,rl.reject=function(n,e){return(eo(n)?Ke:Ol)(n,Qu(yi(e,3)))},rl.remove=function(n,e){var t=[];if(!n||!n.length)return t;var l=-1,r=[],i=n.length;for(e=yi(e,3);++l<i;){var u=n[l];e(u,l,n)&&(t.push(u),r.push(l))}return sr(n,r),t},rl.rest=function(n,e){if("function"!=typeof n)throw new $n(u);return dr(n,e=e===r?e:To(e))},rl.reverse=du,rl.sampleSize=function(n,e,t){return e=(t?Mi(n,e,t):e===r)?1:To(e),(eo(n)?function(n,e){return Qi(Fr(n),Il(e,0,n.length))}:function(n,e){var t=Jo(n);return Qi(t,Il(e,0,t.length))})(n,e)},rl.set=function(n,e,t){return null==n?n:fr(n,e,t)},rl.setWith=function(n,e,t,l){return l="function"==typeof l?l:r,null==n?n:fr(n,e,t,l)},rl.shuffle=function(n){return(eo(n)?function(n){return Qi(Fr(n))}:function(n){return Qi(Jo(n))})(n)},rl.slice=function(n,e,t){var l=null==n?0:n.length;return l?(t&&"number"!=typeof t&&Mi(n,e,t)?(e=0,t=l):(e=null==e?0:To(e),t=t===r?l:To(t)),pr(n,e,t)):[]},rl.sortBy=Nu,rl.sortedUniq=function(n){return n&&n.length?_r(n):[]},rl.sortedUniqBy=function(n,e){return n&&n.length?_r(n,yi(e,2)):[]},rl.split=function(n,e,t){return t&&"number"!=typeof t&&Mi(n,e,t)&&(e=t=r),(t=t===r?C:t>>>0)?(n=Uo(n))&&("string"==typeof e||null!=e&&!mo(e))&&!(e=kr(e))&&ht(n)?Lr(kt(n),0,t):n.split(e,t):[]},rl.spread=function(n,e){if("function"!=typeof n)throw new $n(u);return e=null==e?0:Nt(To(e),0),dr(function(t){var l=t[e],r=Lr(t,0,e);return l&&je(r,l),xe(n,this,r)})},rl.tail=function(n){var e=null==n?0:n.length;return e?pr(n,1,e):[]},rl.take=function(n,e,t){return n&&n.length?pr(n,0,(e=t||e===r?1:To(e))<0?0:e):[]},rl.takeRight=function(n,e,t){var l=null==n?0:n.length;return l?pr(n,(e=l-(e=t||e===r?1:To(e)))<0?0:e,l):[]},rl.takeRightWhile=function(n,e){return n&&n.length?Er(n,yi(e,3),!1,!0):[]},rl.takeWhile=function(n,e){return n&&n.length?Er(n,yi(e,3)):[]},rl.tap=function(n,e){return e(n),n},rl.throttle=function(n,e,t){var l=!0,r=!0;if("function"!=typeof n)throw new $n(u);return fo(t)&&(l="leading"in t?!!t.leading:l,r="trailing"in t?!!t.trailing:r),Gu(n,e,{leading:l,maxWait:e,trailing:r})},rl.thru=Su,rl.toArray=So,rl.toPairs=$o,rl.toPairsIn=Zo,rl.toPath=function(n){return eo(n)?Ge(n,Hi):yo(n)?[n]:Fr(Wi(Uo(n)))},rl.toPlainObject=Co,rl.transform=function(n,e,t){var l=eo(n),r=l||io(n)||ko(n);if(e=yi(e,4),null==t){var i=n&&n.constructor;t=r?l?new i:[]:fo(n)&&so(i)?il(we(n)):{}}return(r?De:Nl)(n,function(n,l,r){return e(t,n,l,r)}),t},rl.unary=function(n){return Pu(n,1)},rl.union=fu,rl.unionBy=gu,rl.unionWith=hu,rl.uniq=function(n){return n&&n.length?wr(n):[]},rl.uniqBy=function(n,e){return n&&n.length?wr(n,yi(e,2)):[]},rl.uniqWith=function(n,e){return e="function"==typeof e?e:r,n&&n.length?wr(n,r,e):[]},rl.unset=function(n,e){return null==n||Ir(n,e)},rl.unzip=pu,rl.unzipWith=bu,rl.update=function(n,e,t){return null==n?n:Sr(n,e,Ur(t))},rl.updateWith=function(n,e,t,l){return l="function"==typeof l?l:r,null==n?n:Sr(n,e,Ur(t),l)},rl.values=Jo,rl.valuesIn=function(n){return null==n?[]:ot(n,zo(n))},rl.without=mu,rl.words=as,rl.wrap=function(n,e){return Hu(Ur(e),n)},rl.xor=vu,rl.xorBy=_u,rl.xorWith=yu,rl.zip=ku,rl.zipObject=function(n,e){return Ar(n||[],e||[],ml)},rl.zipObjectDeep=function(n,e){return Ar(n||[],e||[],fr)},rl.zipWith=wu,rl.entries=$o,rl.entriesIn=Zo,rl.extend=Oo,rl.extendWith=Lo,_s(rl,rl),rl.add=Us,rl.attempt=cs,rl.camelCase=Xo,rl.capitalize=ns,rl.ceil=Ms,rl.clamp=function(n,e,t){return t===r&&(t=e,e=r),t!==r&&(t=(t=Ao(t))==t?t:0),e!==r&&(e=(e=Ao(e))==e?e:0),Il(Ao(n),e,t)},rl.clone=function(n){return Sl(n,c)},rl.cloneDeep=function(n){return Sl(n,s|c)},rl.cloneDeepWith=function(n,e){return Sl(n,s|c,e="function"==typeof e?e:r)},rl.cloneWith=function(n,e){return Sl(n,c,e="function"==typeof e?e:r)},rl.conformsTo=function(n,e){return null==e||El(n,e,jo(e))},rl.deburr=es,rl.defaultTo=function(n,e){return null==n||n!=n?e:n},rl.divide=Os,rl.endsWith=function(n,e,t){n=Uo(n),e=kr(e);var l=n.length,i=t=t===r?l:Il(To(t),0,l);return(t-=e.length)>=0&&n.slice(t,i)==e},rl.eq=Zu,rl.escape=function(n){return(n=Uo(n))&&mn.test(n)?n.replace(pn,ft):n},rl.escapeRegExp=function(n){return(n=Uo(n))&&En.test(n)?n.replace(Sn,"\\$&"):n},rl.every=function(n,e,t){var l=eo(n)?Pe:Ul;return t&&Mi(n,e,t)&&(e=r),l(n,yi(e,3))},rl.find=Bu,rl.findIndex=nu,rl.findKey=function(n,e){return He(n,yi(e,3),Nl)},rl.findLast=Au,rl.findLastIndex=eu,rl.findLastKey=function(n,e){return He(n,yi(e,3),Dl)},rl.floor=Ls,rl.forEach=Cu,rl.forEachRight=Uu,rl.forIn=function(n,e){return null==n?n:Rl(n,yi(e,3),zo)},rl.forInRight=function(n,e){return null==n?n:xl(n,yi(e,3),zo)},rl.forOwn=function(n,e){return n&&Nl(n,yi(e,3))},rl.forOwnRight=function(n,e){return n&&Dl(n,yi(e,3))},rl.get=Po,rl.gt=Ju,rl.gte=Xu,rl.has=function(n,e){return null!=n&&Bi(n,e,jl)},rl.hasIn=Ko,rl.head=lu,rl.identity=ps,rl.includes=function(n,e,t,l){n=lo(n)?n:Jo(n),t=t&&!l?To(t):0;var r=n.length;return t<0&&(t=Nt(r+t,0)),_o(n)?t<=r&&n.indexOf(e,t)>-1:!!r&&$e(n,e,t)>-1},rl.indexOf=function(n,e,t){var l=null==n?0:n.length;if(!l)return-1;var r=null==t?0:To(t);return r<0&&(r=Nt(l+r,0)),$e(n,e,r)},rl.inRange=function(n,e,t){return e=Eo(e),t===r?(t=e,e=0):t=Eo(t),function(n,e,t){return n>=Dt(e,t)&&n<Nt(e,t)}(n=Ao(n),e,t)},rl.invoke=Go,rl.isArguments=no,rl.isArray=eo,rl.isArrayBuffer=to,rl.isArrayLike=lo,rl.isArrayLikeObject=ro,rl.isBoolean=function(n){return!0===n||!1===n||go(n)&&Fl(n)==N},rl.isBuffer=io,rl.isDate=uo,rl.isElement=function(n){return go(n)&&1===n.nodeType&&!bo(n)},rl.isEmpty=function(n){if(null==n)return!0;if(lo(n)&&(eo(n)||"string"==typeof n||"function"==typeof n.splice||io(n)||ko(n)||no(n)))return!n.length;var e=Ti(n);if(e==G||e==H)return!n.size;if(xi(n))return!Jl(n).length;for(var t in n)if(ee.call(n,t))return!1;return!0},rl.isEqual=function(n,e){return Hl(n,e)},rl.isEqualWith=function(n,e,t){var l=(t="function"==typeof t?t:r)?t(n,e):r;return l===r?Hl(n,e,r,t):!!l},rl.isError=oo,rl.isFinite=function(n){return"number"==typeof n&&Lt(n)},rl.isFunction=so,rl.isInteger=ao,rl.isLength=co,rl.isMap=ho,rl.isMatch=function(n,e){return n===e||Vl(n,e,wi(e))},rl.isMatchWith=function(n,e,t){return t="function"==typeof t?t:r,Vl(n,e,wi(e),t)},rl.isNaN=function(n){return po(n)&&n!=+n},rl.isNative=function(n){if(Ri(n))throw new zn("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return $l(n)},rl.isNil=function(n){return null==n},rl.isNull=function(n){return null===n},rl.isNumber=po,rl.isObject=fo,rl.isObjectLike=go,rl.isPlainObject=bo,rl.isRegExp=mo,rl.isSafeInteger=function(n){return ao(n)&&n>=-T&&n<=T},rl.isSet=vo,rl.isString=_o,rl.isSymbol=yo,rl.isTypedArray=ko,rl.isUndefined=function(n){return n===r},rl.isWeakMap=function(n){return go(n)&&Ti(n)==J},rl.isWeakSet=function(n){return go(n)&&"[object WeakSet]"==Fl(n)},rl.join=function(n,e){return null==n?"":Rt.call(n,e)},rl.kebabCase=ts,rl.last=ou,rl.lastIndexOf=function(n,e,t){var l=null==n?0:n.length;if(!l)return-1;var i=l;return t!==r&&(i=(i=To(t))<0?Nt(l+i,0):Dt(i,l-1)),e==e?function(n,e,t){for(var l=t+1;l--;)if(n[l]===e)return l;return l}(n,e,i):Ve(n,Je,i,!0)},rl.lowerCase=ls,rl.lowerFirst=rs,rl.lt=wo,rl.lte=Io,rl.max=function(n){return n&&n.length?Ml(n,ps,Gl):r},rl.maxBy=function(n,e){return n&&n.length?Ml(n,yi(e,2),Gl):r},rl.mean=function(n){return Xe(n,ps)},rl.meanBy=function(n,e){return Xe(n,yi(e,2))},rl.min=function(n){return n&&n.length?Ml(n,ps,Xl):r},rl.minBy=function(n,e){return n&&n.length?Ml(n,yi(e,2),Xl):r},rl.stubArray=Bs,rl.stubFalse=As,rl.stubObject=function(){return{}},rl.stubString=function(){return""},rl.stubTrue=function(){return!0},rl.multiply=Rs,rl.nth=function(n,e){return n&&n.length?rr(n,To(e)):r},rl.noConflict=function(){return Ie._===this&&(Ie._=ue),this},rl.noop=ys,rl.now=Du,rl.pad=function(n,e,t){n=Uo(n);var l=(e=To(e))?yt(n):0;if(!e||l>=e)return n;var r=(e-l)/2;return ti(Ut(r),t)+n+ti(Ct(r),t)},rl.padEnd=function(n,e,t){n=Uo(n);var l=(e=To(e))?yt(n):0;return e&&l<e?n+ti(e-l,t):n},rl.padStart=function(n,e,t){n=Uo(n);var l=(e=To(e))?yt(n):0;return e&&l<e?ti(e-l,t)+n:n},rl.parseInt=function(n,e,t){return t||null==e?e=0:e&&(e=+e),Kt(Uo(n).replace(Tn,""),e||0)},rl.random=function(n,e,t){if(t&&"boolean"!=typeof t&&Mi(n,e,t)&&(e=t=r),t===r&&("boolean"==typeof e?(t=e,e=r):"boolean"==typeof n&&(t=n,n=r)),n===r&&e===r?(n=0,e=1):(n=Eo(n),e===r?(e=n,n=0):e=Eo(e)),n>e){var l=n;n=e,e=l}if(t||n%1||e%1){var i=qt();return Dt(n+i*(e-n+_e("1e-"+((i+"").length-1))),e)}return ar(n,e)},rl.reduce=function(n,e,t){var l=eo(n)?ze:tt,r=arguments.length<3;return l(n,yi(e,4),t,r,Al)},rl.reduceRight=function(n,e,t){var l=eo(n)?Ye:tt,r=arguments.length<3;return l(n,yi(e,4),t,r,Cl)},rl.repeat=function(n,e,t){return e=(t?Mi(n,e,t):e===r)?1:To(e),cr(Uo(n),e)},rl.replace=function(){var n=arguments,e=Uo(n[0]);return n.length<3?e:e.replace(n[1],n[2])},rl.result=function(n,e,t){var l=-1,i=(e=Mr(e,n)).length;for(i||(i=1,n=r);++l<i;){var u=null==n?r:n[Hi(e[l])];u===r&&(l=i,u=t),n=so(u)?u.call(n):u}return n},rl.round=xs,rl.runInContext=n,rl.sample=function(n){return(eo(n)?pl:function(n){return pl(Jo(n))})(n)},rl.size=function(n){if(null==n)return 0;if(lo(n))return _o(n)?yt(n):n.length;var e=Ti(n);return e==G||e==H?n.size:Jl(n).length},rl.snakeCase=is,rl.some=function(n,e,t){var l=eo(n)?Qe:br;return t&&Mi(n,e,t)&&(e=r),l(n,yi(e,3))},rl.sortedIndex=function(n,e){return mr(n,e)},rl.sortedIndexBy=function(n,e,t){return vr(n,e,yi(t,2))},rl.sortedIndexOf=function(n,e){var t=null==n?0:n.length;if(t){var l=mr(n,e);if(l<t&&Zu(n[l],e))return l}return-1},rl.sortedLastIndex=function(n,e){return mr(n,e,!0)},rl.sortedLastIndexBy=function(n,e,t){return vr(n,e,yi(t,2),!0)},rl.sortedLastIndexOf=function(n,e){if(null!=n&&n.length){var t=mr(n,e,!0)-1;if(Zu(n[t],e))return t}return-1},rl.startCase=us,rl.startsWith=function(n,e,t){return n=Uo(n),t=null==t?0:Il(To(t),0,n.length),e=kr(e),n.slice(t,t+e.length)==e},rl.subtract=Ns,rl.sum=function(n){return n&&n.length?lt(n,ps):0},rl.sumBy=function(n,e){return n&&n.length?lt(n,yi(e,2)):0},rl.template=function(n,e,t){var l=rl.templateSettings;t&&Mi(n,e,t)&&(e=r),n=Uo(n),e=Lo({},e,l,ci);var i,u,o=Lo({},e.imports,l.imports,ci),s=jo(o),a=ot(o,s),c=0,d=e.interpolate||Gn,f="__p += '",g=Hn((e.escape||Gn).source+"|"+d.source+"|"+(d===yn?Rn:Gn).source+"|"+(e.evaluate||Gn).source+"|$","g"),h="//# sourceURL="+(ee.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++pe+"]")+"\n";n.replace(g,function(e,t,l,r,o,s){return l||(l=r),f+=n.slice(c,s).replace(jn,gt),t&&(i=!0,f+="' +\n__e("+t+") +\n'"),o&&(u=!0,f+="';\n"+o+";\n__p += '"),l&&(f+="' +\n((__t = ("+l+")) == null ? '' : __t) +\n'"),c=s+e.length,e}),f+="';\n";var p=ee.call(e,"variable")&&e.variable;if(p){if(On.test(p))throw new zn("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(u?f.replace(dn,""):f).replace(fn,"$1").replace(gn,"$1;"),f="function("+(p||"obj")+") {\n"+(p?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(u?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var b=cs(function(){return Yn(s,h+"return "+f).apply(r,a)});if(b.source=f,oo(b))throw b;return b},rl.times=function(n,e){if((n=To(n))<1||n>T)return[];var t=C,l=Dt(n,C);e=yi(e),n-=C;for(var r=rt(l,e);++t<n;)e(t);return r},rl.toFinite=Eo,rl.toInteger=To,rl.toLength=Bo,rl.toLower=function(n){return Uo(n).toLowerCase()},rl.toNumber=Ao,rl.toSafeInteger=function(n){return n?Il(To(n),-T,T):0===n?n:0},rl.toString=Uo,rl.toUpper=function(n){return Uo(n).toUpperCase()},rl.trim=function(n,e,t){if((n=Uo(n))&&(t||e===r))return it(n);if(!n||!(e=kr(e)))return n;var l=kt(n),i=kt(e);return Lr(l,at(l,i),ct(l,i)+1).join("")},rl.trimEnd=function(n,e,t){if((n=Uo(n))&&(t||e===r))return n.slice(0,wt(n)+1);if(!n||!(e=kr(e)))return n;var l=kt(n);return Lr(l,0,ct(l,kt(e))+1).join("")},rl.trimStart=function(n,e,t){if((n=Uo(n))&&(t||e===r))return n.replace(Tn,"");if(!n||!(e=kr(e)))return n;var l=kt(n);return Lr(l,at(l,kt(e))).join("")},rl.truncate=function(n,e){var t=30,l="...";if(fo(e)){var i="separator"in e?e.separator:i;t="length"in e?To(e.length):t,l="omission"in e?kr(e.omission):l}var u=(n=Uo(n)).length;if(ht(n)){var o=kt(n);u=o.length}if(t>=u)return n;var s=t-yt(l);if(s<1)return l;var a=o?Lr(o,0,s).join(""):n.slice(0,s);if(i===r)return a+l;if(o&&(s+=a.length-s),mo(i)){if(n.slice(s).search(i)){var c,d=a;for(i.global||(i=Hn(i.source,Uo(xn.exec(i))+"g")),i.lastIndex=0;c=i.exec(d);)var f=c.index;a=a.slice(0,f===r?s:f)}}else if(n.indexOf(kr(i),s)!=s){var g=a.lastIndexOf(i);g>-1&&(a=a.slice(0,g))}return a+l},rl.unescape=function(n){return(n=Uo(n))&&bn.test(n)?n.replace(hn,It):n},rl.uniqueId=function(n){var e=++te;return Uo(n)+e},rl.upperCase=os,rl.upperFirst=ss,rl.each=Cu,rl.eachRight=Uu,rl.first=lu,_s(rl,(Cs={},Nl(rl,function(n,e){ee.call(rl.prototype,e)||(Cs[e]=n)}),Cs),{chain:!1}),rl.VERSION="4.17.21",De(["bind","bindKey","curry","curryRight","partial","partialRight"],function(n){rl[n].placeholder=rl}),De(["drop","take"],function(n,e){sl.prototype[n]=function(t){t=t===r?1:Nt(To(t),0);var l=this.__filtered__&&!e?new sl(this):this.clone();return l.__filtered__?l.__takeCount__=Dt(t,l.__takeCount__):l.__views__.push({size:Dt(t,C),type:n+(l.__dir__<0?"Right":"")}),l},sl.prototype[n+"Right"]=function(e){return this.reverse()[n](e).reverse()}}),De(["filter","map","takeWhile"],function(n,e){var t=e+1,l=1==t||3==t;sl.prototype[n]=function(n){var e=this.clone();return e.__iteratees__.push({iteratee:yi(n,3),type:t}),e.__filtered__=e.__filtered__||l,e}}),De(["head","last"],function(n,e){var t="take"+(e?"Right":"");sl.prototype[n]=function(){return this[t](1).value()[0]}}),De(["initial","tail"],function(n,e){var t="drop"+(e?"":"Right");sl.prototype[n]=function(){return this.__filtered__?new sl(this):this[t](1)}}),sl.prototype.compact=function(){return this.filter(ps)},sl.prototype.find=function(n){return this.filter(n).head()},sl.prototype.findLast=function(n){return this.reverse().find(n)},sl.prototype.invokeMap=dr(function(n,e){return"function"==typeof n?new sl(this):this.map(function(t){return Ql(t,n,e)})}),sl.prototype.reject=function(n){return this.filter(Qu(yi(n)))},sl.prototype.slice=function(n,e){n=To(n);var t=this;return t.__filtered__&&(n>0||e<0)?new sl(t):(n<0?t=t.takeRight(-n):n&&(t=t.drop(n)),e!==r&&(t=(e=To(e))<0?t.dropRight(-e):t.take(e-n)),t)},sl.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},sl.prototype.toArray=function(){return this.take(C)},Nl(sl.prototype,function(n,e){var t=/^(?:filter|find|map|reject)|While$/.test(e),l=/^(?:head|last)$/.test(e),i=rl[l?"take"+("last"==e?"Right":""):e],u=l||/^find/.test(e);i&&(rl.prototype[e]=function(){var e=this.__wrapped__,o=l?[1]:arguments,s=e instanceof sl,a=o[0],c=s||eo(e),d=function(n){var e=i.apply(rl,je([n],o));return l&&f?e[0]:e};c&&t&&"function"==typeof a&&1!=a.length&&(s=c=!1);var f=this.__chain__,g=u&&!f,h=s&&!this.__actions__.length;if(!u&&c){e=h?e:new sl(this);var p=n.apply(e,o);return p.__actions__.push({func:Su,args:[d],thisArg:r}),new ol(p,f)}return g&&h?n.apply(this,o):(p=this.thru(d),g?l?p.value()[0]:p.value():p)})}),De(["pop","push","shift","sort","splice","unshift"],function(n){var e=Zn[n],t=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",l=/^(?:pop|shift)$/.test(n);rl.prototype[n]=function(){var n=arguments;if(l&&!this.__chain__){var r=this.value();return e.apply(eo(r)?r:[],n)}return this[t](function(t){return e.apply(eo(t)?t:[],n)})}}),Nl(sl.prototype,function(n,e){var t=rl[e];if(t){var l=t.name+"";ee.call(Vt,l)||(Vt[l]=[]),Vt[l].push({name:e,func:t})}}),Vt[Jr(r,h).name]=[{name:"wrapper",func:r}],sl.prototype.clone=function(){var n=new sl(this.__wrapped__);return n.__actions__=Fr(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=Fr(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=Fr(this.__views__),n},sl.prototype.reverse=function(){if(this.__filtered__){var n=new sl(this);n.__dir__=-1,n.__filtered__=!0}else(n=this.clone()).__dir__*=-1;return n},sl.prototype.value=function(){var n=this.__wrapped__.value(),e=this.__dir__,t=eo(n),l=e<0,r=t?n.length:0,i=function(n,e,t){for(var l=-1,r=t.length;++l<r;){var i=t[l],u=i.size;switch(i.type){case"drop":n+=u;break;case"dropRight":e-=u;break;case"take":e=Dt(e,n+u);break;case"takeRight":n=Nt(n,e-u)}}return{start:n,end:e}}(0,r,this.__views__),u=i.start,o=i.end,s=o-u,a=l?o:u-1,c=this.__iteratees__,d=c.length,f=0,g=Dt(s,this.__takeCount__);if(!t||!l&&r==s&&g==s)return Tr(n,this.__actions__);var h=[];n:for(;s--&&f<g;){for(var p=-1,b=n[a+=e];++p<d;){var m=c[p],v=m.type,_=(0,m.iteratee)(b);if(2==v)b=_;else if(!_){if(1==v)continue n;break n}}h[f++]=b}return h},rl.prototype.at=Eu,rl.prototype.chain=function(){return Iu(this)},rl.prototype.commit=function(){return new ol(this.value(),this.__chain__)},rl.prototype.next=function(){this.__values__===r&&(this.__values__=So(this.value()));var n=this.__index__>=this.__values__.length;return{done:n,value:n?r:this.__values__[this.__index__++]}},rl.prototype.plant=function(n){for(var e,t=this;t instanceof ul;){var l=$i(t);l.__index__=0,l.__values__=r,e?i.__wrapped__=l:e=l;var i=l;t=t.__wrapped__}return i.__wrapped__=n,e},rl.prototype.reverse=function(){var n=this.__wrapped__;if(n instanceof sl){var e=n;return this.__actions__.length&&(e=new sl(this)),(e=e.reverse()).__actions__.push({func:Su,args:[du],thisArg:r}),new ol(e,this.__chain__)}return this.thru(du)},rl.prototype.toJSON=rl.prototype.valueOf=rl.prototype.value=function(){return Tr(this.__wrapped__,this.__actions__)},rl.prototype.first=rl.prototype.head,We&&(rl.prototype[We]=function(){return this}),rl}();Ie._=St,(l=(function(){return St}).call(e,t,e,n))===r||(n.exports=l)}).call(this)}).call(this,t("YuTi")(n))},YuTi:function(n,e){n.exports=function(n){return n.webpackPolyfill||(n.deprecate=function(){},n.paths=[],n.children||(n.children=[]),Object.defineProperty(n,"loaded",{enumerable:!0,get:function(){return n.l}}),Object.defineProperty(n,"id",{enumerable:!0,get:function(){return n.i}}),n.webpackPolyfill=1),n}}}]);

Zerion Mini Shell 1.0