PageSourceSearch

https://absenceresources.com/fmlaNg/main.e128d4e970b51901.js

js absenceresources.com collected 2026-10-08 12:30:53 UTC 2,924,508 bytes, 1 lines download raw bytes

1(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[792],{8077:(We,Q,I)=>{"use strict";I.d(Q,{z:()=>e});var l=I(6483);let e=(()=>{class m{static{this.assetPath="./assets/"}static getBaseResourcePath(){return this.assetPath+"baseResources"}static getDomainResourcePath(y){return null==y||""===y?this.getBaseResourcePath():this.assetPath+y}static getDominFolder(y){switch(y){case l.WU.fmlaSourse:return"fmlaSource";case l.WU.absenceResources:return l.WU.absenceResources;case l.WU.principal:return"principal";case l.WU.absencepro:return"moo";case l.WU.dearborn:return"dearborngroupams";case l.WU.voya:return"voya";case l.WU.sunlife:return"sunlife";case l.WU.bcbsil:return"bcbsil";case l.WU.bcbstx:return"bcbstx";default:return l.WU.absenceResources}}static isDomainBlockedFromRedesignUpdates(){return this.isPartnerHost()}static isPartnerHost(){const y=window.location.hostname.toLowerCase();return l.YM.PARTNER_NAMES.some(S=>y.includes(S))}}return m})()},7710:(We,Q,I)=>{"use strict";I.d(Q,{o:()=>m});var l=I(6888),e=I(4438);let m=(()=>{class b extends l.dn{fromModel(S){if(!S)return null;const[p,M,$]=S.split("-").map(Number);return{year:p,month:M,day:$}}toModel(S){if(!S)return null;const p=("0"+S.month).slice(-2),M=("0"+S.day).slice(-2);return`${S.year}-${p}-${M}`}static{this.\u0275fac=(()=>{let S;return function(M){return(S||(S=e.xGo(b)))(M||b)}})()}static{this.\u0275prov=e.jDH({token:b,factory:b.\u0275fac})}}return b})()},1609:(We,Q,I)=>{"use strict";I.d(Q,{H:()=>e});var l=I(6483);class e{static getTranslateByLocaleId(b){return b==l.YM.SPANISH_LOCALE_ID?l.YM.SPANISH_US_LOCALE:l.YM.ENGLISH_US_LOCALE}static getLocaleDispByLocaleId(b){return b==l.YM.SPANISH_LOCALE_ID?l.YM.ENGLISH_DISP:l.YM.SPANISH_DISP}}},1691:(We,Q,I)=>{"use strict";I.d(Q,{X:()=>l});let l=(()=>{class e{static{this.DEFAULT={webView:!1,inactive:!1,showChangeUser:!1,deleteAccount:!1}}static build(b){return{...this.DEFAULT,...b}}}return e})()},3857:(We,Q,I)=>{"use strict";I.d(Q,{T:()=>G});var l=I(6483),e=I(2106),m=I(3005),b=I(658),y=I(6697),S=I(983),p=I(8141),M=I(5558),$=I(950),B=I(1691);let G=(()=>{class Y{static{this.LR_SUBMISSION_RESULT_KEY="lr-wizard-submission-result"}static{this.beforeLogoutHooks=[]}static beforeLogout(ee){this.beforeLogoutHooks.push(ee)}static processBeforeGoToHome(ee,oe,se){this.confirmExitIfNeeded(ee,se,()=>this.goToHome(ee,oe))||this.goToHome(ee,oe)}static goToHome(ee,oe){const se=JSON.parse(sessionStorage.getItem(l.YM.USER_INFO));se?oe.portalPermission$.pipe((0,y.s)(1),(0,M.n)(xe=>{const Le=!!xe,ie=()=>ee.navigate(["workOnBehalf"],{queryParams:{incidentalAbsence:!1}});return Le&&!se.wob?(ie(),S.w):se.wob?oe.endWob().pipe((0,M.n)(L=>L?oe.getUserInfo():S.w),(0,p.M)(L=>{L&&(sessionStorage.setItem(l.YM.USER_INFO,JSON.stringify(L)),oe.isWob.next(!1),Le?ie():ee.navigateByUrl("mgr-dashboard"))})):(ee.navigateByUrl(se.userPrivilege?.mgrOrHR?"mgr-dashboard":se.userPrivilege?.showLeadershipDashboard&&!se.wob?"ec-dashboard":"absences"),S.w)})).subscribe():ee.navigateByUrl("login")}static processBeforeLogout(ee,oe,se,xe,Le){const ie=B.X.build(Le);this.confirmExitIfNeeded(ee,oe,()=>this.logout(ee,se,ie,xe))||this.logout(ee,se,ie,xe)}static confirmExitIfNeeded(ee,oe,se){let xe;return ee.url.includes("createLeaveRequest")&&!sessionStorage.getItem(this.LR_SUBMISSION_RESULT_KEY)?xe=oe.open(m.H,{ariaLabelledBy:"exit-leave-request-modal-title",backdrop:"static"}):ee.url.includes("createRequest")&&Number(sessionStorage.getItem("step"))!==b.Y.SUCCESS_STEP&&(xe=oe.open(e.A)),!!xe&&(sessionStorage.setItem("isExitModalOpen","true"),xe.result.then(Le=>{Le?se():sessionStorage.removeItem("isExitModalOpen")}).catch(()=>{sessionStorage.removeItem("isExitModalOpen")}),!0)}static logout(ee,oe,se,xe){this.beforeLogoutHooks.forEach(Le=>Le()),localStorage.clear(),sessionStorage.clear(),xe.reset(),oe.logout().subscribe({next:Le=>{if(se.webView)this.reLoadBootstrapInstance(l.YM.WEBVIEW_ERROR);else if(Le.ssoSession)Le.ssoLogoutUrl?window.location.href=Le.ssoLogoutUrl:this.reLoadBootstrapInstance(l.YM.SSO_LOGOUT);else if(se.inactive)this.reLoadBootstrapInstance(l.YM.SESSION_EXPIRED);else{const ie=[];se.showChangeUser&&ie.push("showChangeUser=true"),se.deleteAccount&&ie.push("deleteAccount=true");const L=ie.length?"?"+ie.join("&"):"";this.reLoadBootstrapInstance(l.YM.FMLA_LOGIN+L)}}})}static reLoadBootstrapInstance(ee){$._E.instance.loadBootstrapAfterLogout(ee)}
1}return Y})()},4776:(We,Q,I)=>{"use strict";I.d(Q,{b:()=>b});var l=I(4438),e=I(6483),m=I(1609);class b{static homeRouteForUser(S){return S&&S.userPrivilege?null!=S.userPrivilege.portalPermission?"workOnBehalf":S.userPrivilege.mgrOrHR?"mgr-dashboard":S.userPrivilege.showLeadershipDashboard&&!S.wob?"ec-dashboard":"absences":"login"}static hashRoute(S){const p=S.indexOf("#");return-1===p?"":S.substring(p+1).replace(/^\/+/,"")}static firstRouteSegment(S){return b.hashRoute(S).split(/[/?;]/,1)[0]}static resolveStartRoute(S,p){const M=b.firstRouteSegment(S);return""===M||M===e.YM.LOGIN?b.homeRouteForUser(p):b.hashRoute(S)}static setupEmp(S){(0,l.naY)()&&console.trace("[setupEmp] called");const p=JSON.parse(sessionStorage.getItem(e.YM.USER_INFO));return S.use(m.H.getTranslateByLocaleId(null!=p?p.localeId:e.YM.ENGLISH_LOCALE_ID)),b.resolveStartRoute(window.location.href,p)}}},3285:(We,Q,I)=>{"use strict";I.d(Q,{a:()=>Y});var l=I(4776),e=I(6483),m=I(950),b=I(6753),y=I(4735),S=I(4438),p=I(4550),M=I(3955);const $=(q,ee)=>({portalViewOnly:q,portalViewClickThru:ee});function B(q,ee){if(1&q){const oe=S.RV6();S.j41(0,"app-abi-opener-button",9),S.bIt("open",function(xe){S.eBV(oe);const Le=S.XpG();return S.Njj(Le.abiChat.open(xe))}),S.k0s()}}function G(q,ee){if(1&q){const oe=S.RV6();S.j41(0,"app-abi-chat",10),S.nI1(1,"async"),S.bIt("closed",function(){S.eBV(oe);const xe=S.XpG();return S.Njj(xe.abiChat.close())}),S.k0s()}if(2&q){const oe=S.XpG();S.Y8G("open",!!S.bMT(1,1,oe.abiChat.open$))}}let Y=(()=>{class q{constructor(oe,se,xe,Le,ie){this.router=oe,this.translate=se,this.userService=xe,this.abiChat=Le,this.abiVisibility=ie,this.isWob=!1,this.PortalPermission=e.A$}ngOnInit(){this.userInfo=JSON.parse(sessionStorage.getItem(e.YM.USER_INFO)),this.abiVisibility.initializeStaticVisibility(),this.userInfo&&this.userInfo.userPrivilege&&(this.userService.setPortalPermissionsFromUser(this.userInfo.userPrivilege),this.router.navigateByUrl(l.b.setupEmp(this.translate)))}static{this.\u0275fac=function(se){return new(se||q)(S.rXU(p.Ix),S.rXU(M.c$),S.rXU(m.DL),S.rXU(b.a),S.rXU(y.k))}}static{this.\u0275cmp=S.VBU({type:q,selectors:[["app-emp-bootstap"]],decls:19,vars:27,consts:[[3,"headerLogo"],["id","bodyContainer",1,"container",3,"ngClass"],["id","mainContent"],["id","content"],["id","main","tabindex","0",1,"main"],[1,"offScreen"],[3,"publicFAQ"],[3,"open",4,"ngIf"],[3,"open","closed",4,"ngIf"],[3,"open"],[3,"closed","open"]],template:function(se,xe){1&se&&(S.nrm(0,"app-header",0),S.j41(1,"div",1),S.nI1(2,"async"),S.nI1(3,"async"),S.nI1(4,"async"),S.nI1(5,"async"),S.j41(6,"main",2)(7,"div",3),S.nrm(8,"app-session-timeout"),S.j41(9,"div",4)(10,"h1",5),S.EFF(11),S.nI1(12,"translate"),S.k0s(),S.nrm(13,"router-outlet"),S.k0s()()()(),S.nrm(14,"app-footer",6),S.nI1(15,"async"),S.nI1(16,"async"),S.DNE(17,B,1,0,"app-abi-opener-button",7)(18,G,2,3,"app-abi-chat",8)),2&se&&(S.Y8G("headerLogo",null==xe.userInfo?null:xe.userInfo.domainFolder),S.R7$(),S.Y8G("ngClass",S.l_i(24,$,S.bMT(2,10,xe.userService.portalPermission$)===xe.PortalPermission.ViewOnly,S.bMT(3,12,xe.userService.portalPermission$)===xe.PortalPermission.ClickThru)),S.BMQ("aria-hidden",S.bMT(4,14,xe.userService.isMenuOpen))("inert",S.bMT(5,16,xe.userService.isMenuOpen)?"":null),S.R7$(10),S.JRh(S.bMT(12,18,"myDashboard.title")),S.R7$(3),S.Y8G("publicFAQ",!1),S.BMQ("aria-hidden",S.bMT(15,20,xe.userService.isMenuOpen))("inert",S.bMT(16,22,xe.userService.isMenuOpen)?"":null),S.R7$(3),S.Y8G("ngIf",xe.abiVisibility.isStartingButtonVisible()),S.R7$(),S.Y8G("ngIf",xe.abiVisibility.isChatRendered()))},encapsulation:2})}}return q})()},6657:(We,Q,I)=>{"use strict";I.d(Q,{M:()=>Y});var l=I(4438),e=I(4550),m=I(6483),b=I(4776),y=I(950),S=I(6753),p=I(4735),M=I(3955);const $=(q,ee)=>({portalViewOnly:q,portalViewClickThru:ee});function B(q,ee){if(1&q){const oe=l.RV6();l.j41(0,"app-abi-opener-button",9),l.bIt("open",function(xe){l.eBV(oe);const Le=l.XpG();return l.Njj(Le.abiChat.open(xe))}),l.k0s()}}function G(q,ee){if(1&q){const oe=l.RV6();l.j41(0,"app-abi-chat",10),l.nI1(1,"async"),l.bIt("closed",function(){l.eBV(oe);const xe=l.XpG();return l.Njj(xe.abiChat.close())}),l.k0s()}if(2&q){const oe=l.XpG();l.Y8G("open",!!l.bMT(1,1,oe.abiChat.open$))}}let Y=(()=>{class q{constructor(oe,se,xe,Le,ie){this.router=oe,this.translate=se,this.userService=xe,this.abiChat=Le,this.abiVisibility=ie,this.PortalPermission=m.A$}
1ngOnInit(){(0,l.naY)()&&this.router.events.subscribe(oe=>{(oe instanceof e.Z||oe instanceof e.wF||oe instanceof e.j5||oe instanceof e.L6)&&console.log("[Router]",oe.constructor.name,oe.url,oe.reason||"")}),this.userInfo=JSON.parse(sessionStorage.getItem(m.YM.USER_INFO)),this.abiVisibility.initializeStaticVisibility(),this.router.navigateByUrl(b.b.setupEmp(this.translate)),this.userService.setPortalPermissionsFromUser(this.userInfo.userPrivilege)}static{this.\u0275fac=function(se){return new(se||q)(l.rXU(e.Ix),l.rXU(M.c$),l.rXU(y.DL),l.rXU(S.a),l.rXU(p.k))}}static{this.\u0275cmp=l.VBU({type:q,selectors:[["app-mgr-bootstap"]],decls:19,vars:27,consts:[[3,"headerLogo"],["id","bodyContainer",1,"container",3,"ngClass"],["id","mainContent"],["id","content"],["id","main","tabindex","0",1,"main"],[1,"offScreen"],[3,"publicFAQ"],[3,"open",4,"ngIf"],[3,"open","closed",4,"ngIf"],[3,"open"],[3,"closed","open"]],template:function(se,xe){1&se&&(l.nrm(0,"app-header",0),l.j41(1,"div",1),l.nI1(2,"async"),l.nI1(3,"async"),l.nI1(4,"async"),l.nI1(5,"async"),l.j41(6,"main",2)(7,"div",3),l.nrm(8,"app-session-timeout"),l.j41(9,"div",4)(10,"h1",5),l.EFF(11),l.nI1(12,"translate"),l.k0s(),l.nrm(13,"router-outlet"),l.k0s()()()(),l.nrm(14,"app-footer",6),l.nI1(15,"async"),l.nI1(16,"async"),l.DNE(17,B,1,0,"app-abi-opener-button",7)(18,G,2,3,"app-abi-chat",8)),2&se&&(l.Y8G("headerLogo",null==xe.userInfo?null:xe.userInfo.domainFolder),l.R7$(),l.Y8G("ngClass",l.l_i(24,$,l.bMT(2,10,xe.userService.portalPermission$)===xe.PortalPermission.ViewOnly,l.bMT(3,12,xe.userService.portalPermission$)===xe.PortalPermission.ClickThru)),l.BMQ("aria-hidden",l.bMT(4,14,xe.userService.isMenuOpen))("inert",l.bMT(5,16,xe.userService.isMenuOpen)?"":null),l.R7$(10),l.JRh(l.bMT(12,18,"myDashboard.title")),l.R7$(3),l.Y8G("publicFAQ",!1),l.BMQ("aria-hidden",l.bMT(15,20,xe.userService.isMenuOpen))("inert",l.bMT(16,22,xe.userService.isMenuOpen)?"":null),l.R7$(3),l.Y8G("ngIf",xe.abiVisibility.isStartingButtonVisible()),l.R7$(),l.Y8G("ngIf",xe.abiVisibility.isChatRendered()))},encapsulation:2})}}return q})()},93:(We,Q,I)=>{"use strict";I.d(Q,{V:()=>G});var l=I(6483),e=I(8077),m=I(1609),b=I(4538),y=I(950),S=I(4438),p=I(4550),M=I(3955);function $(Y,q){if(1&Y&&(S.qex(0),S.nrm(1,"app-header",2),S.j41(2,"div",3),S.nI1(3,"async"),S.nI1(4,"async"),S.j41(5,"main",4)(6,"div",5),S.nrm(7,"app-session-timeout"),S.j41(8,"div",6),S.nrm(9,"router-outlet"),S.k0s()()()(),S.nrm(10,"app-footer",7),S.nI1(11,"async"),S.nI1(12,"async"),S.bVm()),2&Y){const ee=S.XpG();S.R7$(),S.Y8G("headerLogo",ee.domainFolder)("publicFAQ",ee.publicFAQ),S.R7$(),S.BMQ("aria-hidden",S.bMT(3,7,ee.userService.isMenuOpen))("inert",S.bMT(4,9,ee.userService.isMenuOpen)?"":null),S.R7$(8),S.Y8G("publicFAQ",ee.publicFAQ),S.BMQ("aria-hidden",S.bMT(11,11,ee.userService.isMenuOpen))("inert",S.bMT(12,13,ee.userService.isMenuOpen)?"":null)}}function B(Y,q){1&Y&&S.nrm(0,"router-outlet")}let G=(()=>{class Y{constructor(ee,oe,se,xe,Le,ie){this.router=ee,this.win=oe,this.translate=se,this.activatedRoute=xe,this.domainConfigService=Le,this.userService=ie}ngOnInit(){this.domainInfo=JSON.parse(sessionStorage.getItem(l.YM.DOMAIN_INFO)),this.activatedRoute.params.subscribe(ee=>{this.handleRouting()})}handleRouting(){let ee=window.location.href;ee.includes(l.YM.HEALTH_STATUS)?(this.publicFAQ=!1,this.router.navigateByUrl(l.YM.HEALTH_STATUS)):ee.includes(l.YM.PUBLIC_FAQs)?(this.setupPublicPage(ee),this.router.navigateByUrl(l.YM.PUBLIC_FAQs+"?localeId="+this.localeId+"&appName="+this.appName)):ee.includes(l.YM.PUBLIC_CONTACT_US)?(this.setupPublicPage(ee),this.router.navigateByUrl(l.YM.PUBLIC_CONTACT_US+"/"+this.appName+"/"+this.localeId)):ee.includes(l.YM.FORGOT_USERNAME)?(this.setupPublicPage(ee),this.router.navigateByUrl(l.YM.FORGOT_USERNAME+"?localeId="+this.localeId+"&appName="+this.appName)):ee.includes(l.YM.FORGOT_PASSWORD)?(this.setupPublicPage(ee),this.router.navigateByUrl(l.YM.FORGOT_PASSWORD+"?localeId="+this.localeId+"&appName="+this.appName)):ee.includes(l.YM.TERMS_USE)?(this.setupPublicPage(ee),this.router.navigateByUrl(l.YM.TERMS_USE+"?localeId="+this.localeId+"&appName="+this.appName)):ee.includes(l.YM.FORCE_CHANGE_PASSWORD)?(this.setupPublicPage(ee),this.router.navigateByUrl(l.YM.FORCE_CHANGE_PASSWORD+"?localeId="+this.localeId+"&appName="+this.appName)):ee.includes(l.YM.LOGIN)?(this.setupPublicPage(ee),this.router.navigateByUrl(l.YM.LOGIN)):ee.includes(l.YM.SESSION_EXPIRED)?(this.setupPublicPage(ee),this.router.navigateByUrl(l.YM.SESSION_EXPIRED)):ee.includes(l.YM.ERROR_PAGE
1)?(this.setupPublicPage(ee),this.router.navigateByUrl(l.YM.ERROR_PAGE)):ee.includes(l.YM.SUPPORTED_BROWSERS)?(this.setupPublicPage(ee),this.router.navigateByUrl(l.YM.SUPPORTED_BROWSERS)):ee.includes(l.YM.FORCE_UPDATE_SECURITY_QUESTIONS)?(this.setupPublicPage(ee),this.router.navigateByUrl(l.YM.FORCE_UPDATE_SECURITY_QUESTIONS)):ee.includes(l.YM.REGISTRATION)?(this.setupPublicPage(ee),this.router.navigateByUrl(l.YM.REGISTRATION+"?localeId="+this.localeId+"&appName="+this.appName)):ee.includes(l.YM.SSO_ERROR)?(this.setupPublicPage(ee),this.router.navigateByUrl(l.YM.SSO_ERROR)):ee.includes(l.YM.SSO_LOGOUT)?(this.setupPublicPage(ee),this.router.navigateByUrl(l.YM.SSO_LOGOUT)):this.win.location.href=l.YM.FMLA_LOGIN_PAGE_URL}setupPublicPage(ee){const oe=ee.split("?")[1],se=this.domainConfigService.getLocaleId(),xe=new URLSearchParams(oe);this.appName=xe.get("appName")||this.domainInfo.pageElementsNg.folderName,this.localeId=se||l.YM.ENGLISH_LOCALE_ID,this.domainFolder=e.z.getDominFolder(this.appName),this.publicFAQ=!0,this.translate.use(m.H.getTranslateByLocaleId(this.localeId))}static{this.\u0275fac=function(oe){return new(oe||Y)(S.rXU(p.Ix),S.rXU(b.s7),S.rXU(M.c$),S.rXU(p.nX),S.rXU(y.K1),S.rXU(y.DL))}}static{this.\u0275cmp=S.VBU({type:Y,selectors:[["app-public-bootstap"]],decls:3,vars:2,consts:[["healthCheck",""],[4,"ngIf","ngIfElse"],[3,"headerLogo","publicFAQ"],["id","bodyContainer",1,"container"],["id","mainContent"],["id","content"],["id","main","tabindex","0",1,"main"],[3,"publicFAQ"]],template:function(oe,se){if(1&oe&&S.DNE(0,$,13,15,"ng-container",1)(1,B,1,0,"ng-template",null,0,S.C5r),2&oe){const xe=S.sdS(2);S.Y8G("ngIf",!0===se.publicFAQ)("ngIfElse",xe)}},encapsulation:2})}}return Y})()},1948:(We,Q,I)=>{"use strict";I.d(Q,{GR:()=>e,HY:()=>$,Rh:()=>y,V8:()=>p,Yn:()=>b,aX:()=>m});var l=I(773);const e={reducedScheduleTypeCodeId:null,reducedHoursPerDay:null,sundayLeaveHours:null,mondayLeaveHours:null,tuesdayLeaveHours:null,wednesdayLeaveHours:null,thursdayLeaveHours:null,fridayLeaveHours:null,saturdayLeaveHours:null},m={DATE:325,NUMBER:326,BOOLEAN:327,TEXT:328,TEXT_AREA:329,PHONE:111882,SSN:111881},b=new l.pV({street1:"",street2:"",city:"",stateAbbreviation:"",zipCode:""}),y={leaveReason:"",leaveReasonId:null,conditionId:null,condition:"",relationshipId:null,relationshipAnswered:!1,conditionRelationshipId:null,leaveTakenForName:"",leaveTakenForOtherRelationship:"",childDateOfBirth:"",dateOfPassing:"",anticipatedLastDateWorked:"",leaveBeginDate:"",leaveEndDate:"",notifiedDate:"",frequencyType:"",frequencyTypeId:null,intermittentFrequencyTypeId:null,surgeryInd:null,surgeryDate:"",surgeryType:"",surgeryAnticipatedConfirmedCtgId:null,hospitalStayInd:null,hospitalFromDate:"",hospitalToDate:"",hospitalAnticipatedConfirmedCtgId:null,motorVehicleAccident:null,recurringCondition:null,conditionStartDate:"",firstAppointmentDate:"",nextAppointmentDate:"",workersComp:null,workersCompEmployerNotified:null,workersCompClaimFiled:null,workersCompBenefitsReceivedCodeId:"",workersCompDecisionAppealCodeId:"",deliveryDate:"",anticipatedDeliveryMthdId:null,bedRestNeeded:!1,bedRestStartDate:"",usePaidTimeOff:null,partnerConsentInd:null,planApplyPaidBenefitsInd:null,eligibilityFlags:null,healthCareProvider:null,hcpSkipped:!1,reducedSchedule:{...e},medCertRequired:!1,parentalLeaveTypeCodeId:null,connectedPersonName:"",connectedPersonDOB:"",dateOfBirth:"",ssn:"",previousStepId:"",leaveReasonStepId:""},S=["anticipatedLastDateWorked","leaveBeginDate","leaveEndDate","reducedSchedule","surgeryInd","surgeryAnticipatedConfirmedCtgId","surgeryDate","surgeryType","hospitalStayInd","hospitalAnticipatedConfirmedCtgId","hospitalFromDate","hospitalToDate","motorVehicleAccident","firstAppointmentDate","nextAppointmentDate","recurringCondition","conditionStartDate","planApplyPaidBenefitsInd","partnerConsentInd","dateOfBirth","ssn"];function p(){const B={};for(const G of S)B[G]="reducedSchedule"===G?{...e}:y[G];return B}const M=["frequencyTypeId","frequencyType","intermittentFrequencyTypeId","usePaidTimeOff"];function $(){const B={};for(const G of M)B[G]=y[G];return B}},1808:(We,Q,I)=>{"use strict";I.d(Q,{R:()=>xe});var l=I(7898),e=I(1948),m=I(4438);const b="lr-wizard-partner-questions",y="lr-wizard-partner-question-context",S="lr-wizard-step-data",p="lr-wizard-submission-result",M="lr-wizard-review-back-url",$="lr-wizard-confirmation-back-url",B="lr-wizard-pto-back-url",G="lr-wizard-partner-questions-back-url",Y="lr-wizard-pfml-demographics-back-url",q="lr-wizard-draft",ee=Object,oe=["leaveReasonId","conditionId","relationshipId","conditionRelationshipId","frequencyTypeId","intermittentFrequencyTypeId","surgeryAnticipatedConfirmedCtgId","hospitalAnticipatedConfirmedCtgId","anticipatedDeliveryMthdId","parentalLeaveTypeCodeId"],se=["leaveReasonId","frequencyTypeId","conditionId","relationshipId","workersComp","parentalLeaveTypeCodeId","leaveBeginDate"];let xe=(()=>{class Le extends l.IE{constructor(){super(),this.ptoLeaveReasonCodeIds=[],this.transientDateOfBirth="",this.transientSsn="";const L=null!=sessionStorage.getItem(q);this.initialize(q,e.Rh),L&&this.persistSanitizedDraft(this.coerceNumericIds(this.draft))}saveDraft(L){const K=this.coerceNumericIds(L),_e=se.some(Te=>ee.hasOwn(K,Te)&&K[Te]!==this.draft[Te]);this.captureSensitiveDraftFields(K),this.persistSanitizedDraft(K),_e&&this.hasPartnerQuestionState()&&this.clearPartnerQuestionState(),_e&&(this.pfmlDemographicsBackUrl=null)}coerceNumericIds(L){let K=null;for(const _e of oe){if(!ee.hasOwn(L,_e))continue;const Te=L[_e];if("string"!=typeof Te||""===Te.trim())continue;const ct=Number(Te);Number.isNaN(ct)||(K=K??{...L},K[_e]=ct)}return K??L}get partnerQuestions(){const L=sessionStorage.getItem(b);return L?JSON.parse(L):[]}set partnerQuestions(L){L&&L.length>0?sessionStorage.setItem(b,JSON.stringify(L)):sessionStorage.removeItem(b)}reconcilePartnerQuestions(L=[]){const K=JSON.stringify({leaveReasonId:this.draft.leaveReasonId,frequencyTypeId:this.draft.frequencyTypeId,conditionId:this.draft.conditionId,relationshipId:this.draft.relationshipId,workersComp:this.draft.workersComp,parentalLeaveTypeCodeId:this.draft.parentalLeaveTypeCodeId,leaveBeginDate:this.draft.leaveBeginDate}),Te=sessionStorage.getItem(y)!==K,ct=new Set(L.map(ft=>ft.questionId||ft.id)),Se=Te?[]:this.draft.partnerQuestionAnswers||[],X=Object.fromEntries(Object.entries(Te?{}:this.draft._pqInputMap||{}).filter(([ft])=>ct.has(Number(ft)))),Ne=Se.filter(ft=>ct.has(ft.questionId||ft.id));this.partnerQuestions=L,this.saveDraft({_pqInputMap:X,partnerQuestionAnswers:Ne}),L.length>0?sessionStorage.setItem(y,K):sessionStorage.removeItem(y)}hasPartnerQuestionState(){return this.partnerQuestions.length>0||Object.keys(this.draft._pqInputMap||{}).length>0||(this.draft.partnerQuestionAnswers||[]).length>0||null!=sessionStorage.getItem(y)}clearPartnerQuestionState(){this.partnerQuestions=[],sessionStorage.removeItem(y),this.persistSanitizedDraft({_pqInputMap:{},partnerQuestionAnswers:[]})}captureSensitiveDraftFields(L){ee.hasOwn(L,"dateOfBirth")&&(this.transientDateOfBirth=L.dateOfBirth||""),ee.hasOwn(L,"ssn")&&(this.transientSsn=L.ssn||"")}persistSanitizedDraft(L){super.saveDraft({...L,dateOfBirth:"",ssn:""}),this.draft={...this.draft,dateOfBirth:this.transientDateOfBirth,ssn:this.transientSsn}}get stepData(){const L=sessionStorage.getItem(S);return L?JSON.parse(L):null}set stepData(L){L?sessionStorage.setItem(S,JSON.stringify(L)):sessionStorage.removeItem(S)}get submissionResult(){const L=sessionStorage.getItem(p);return L?JSON.parse(L):null}set submissionResult(L){L?sessionStorage.setItem(p,JSON.stringify(L)):sessionStorage.removeItem(p)}get reviewBackUrl(){return sessionStorage.getItem(M)}set reviewBackUrl(L){L?sessionStorage.setItem(M,L):sessionStorage.removeItem(M)}get confirmationBackUrl(){return sessionStorage.getItem($)}set confirmationBackUrl(L){L?sessionStorage.setItem($,L):sessionStorage.removeItem($)}get ptoBackUrl(){return sessionStorage.getItem(B)}set ptoBackUrl(L){L?sessionStorage.setItem(B,L):sessionStorage.removeItem(B)}get partnerQuestionsBackUrl(){return sessionStorage.getItem(G)}set partnerQuestionsBackUrl(L){L?sessionStorage.setItem(G,L):sessionStorage.removeItem(G)}get pfmlDemographicsBackUrl(){return sessionStorage.getItem(Y)}set pfmlDemographicsBackUrl(L){L?sessionStorage.setItem(Y,L):sessionStorage.removeItem(Y)}resetIfStale(){null==sessionStorage.getItem(q)&&!this.submissionResult&&this.reset(e.Rh)}reset(L){this.transientDateOfBirth="",this.transientSsn="",this.ptoLeaveReasonCodeIds=[],super.reset(L),sessionStorage.removeItem(b),sessionStorage.removeItem(y),sessionStorage.removeItem(S),sessionStorage.removeItem(p),sessionStorage.removeItem(M),sessionStorage.removeItem($),sessionStorage.removeItem(B),sessionStorage.removeItem(G),sessionStorage.removeItem(Y)}static{this.\u0275fac=function(K){return new(K||Le)}}static{this.\u0275prov=m.jDH({token:Le,factory:Le.\u0275fac,providedIn:"root"})}}return Le})()},8522:(We,Q,I)=>{"use strict";function l(y){const S=y.value;return null==S||""===String(S).trim()||b(e(S))?null:{phoneDigits:!0}}function e(y){return null==y?"":String(y).replace(/^\+?1+(?!$)/,"")}function m(y){return!!y.phoneNumber?.trim()&&y.phoneNumber.length>6}function b(y){if(!y)return null;const S=y.split(/\D/).join(""),p=11===S.length&&S.startsWith("1")?S.substring(1):S;return 10===p.length?p:null}I.d(Q,{$j:()=>l,KF:()=>b,cY:()=>e,my:()=>m})},3005:(We,Q,I)=>{"use strict";I.d(Q,{H:()=>b});var l=I(4438),e=I(6888),m=I(3955);let b=(()=>{class y{constructor(p){this.activeModal=p}onContinue(){this.activeModal.dismiss(!1)}onExit(){this.activeModal.close(!0)}static{this.\u0275fac=function(M){return new(M||y)(l.rXU(e.Lw))}}static{this.\u0275cmp=l.VBU({type:y,selectors:[["compsych-exit-leave-request-modal"]],decls:23,vars:18,consts:[["role","document",1,"rf-pp-cntr","confirmModal","absenceConfirmModal",2,"border-radius","5px","position","relative","width","90% !important"],["type","button",1,"close-button",3,"click"],["src","assets/baseResources/gfx/redesignIcons/exit.svg","alt",""],[2,"margin","25px"],["id","exit-leave-request-modal-title",1,"exit-leave-request-modal__title"],[1,"modal-hr"],[1,"centered","exit-leave-request-modal__message"],[1,"exit-leave-request-modal__attention"],[1,"d-flex","flex-column","flex-sm-row","justify-content-center","twoSecondaryButtons","exit-leave-request-modal__actions"],["type","button","id","continueToLinkBtn",1,"submit","secondaryBtn","px-2","secondaryBack",3,"click"],["type","button","id","returnToLeaveRequestBtn","ngbAutofocus","",1,"submit","secondaryBtn","px-2","secondaryBack",3,"click"]],template:function(M,$){1&M&&(l.j41(0,"div",0)(1,"button",1),l.nI1(2,"translate"),l.bIt("click",function(){return $.onContinue()}),l.nrm(3,"img",2),l.k0s(),l.j41(4,"div",3)(5,"h2",4),l.EFF(6),l.nI1(7,"translate"),l.k0s(),l.nrm(8,"hr",5),l.j41(9,"p",6)(10,"strong",7),l.EFF(11),l.nI1(12,"translate"),l.k0s(),l.EFF(13),l.nI1(14,"translate"),l.k0s(),l.nrm(15,"hr",5),l.j41(16,"div",8)(17,"button",9),l.bIt("click",function(){return $.onExit()}),l.EFF(18),l.nI1(19,"translate"),l.k0s(),l.j41(20,"button",10),l.bIt("click",function(){return $.onContinue()}),l.EFF(21),l.nI1(22,"translate"),l.k0s()()()()),2&M&&(l.R7$(),l.BMQ("aria-label",l.bMT(2,6,"leaveWizard.exitModal.close")),l.R7$(5),l.SpI(" ",l.bMT(7,8,"leaveWizard.exitModal.title")," "),l.R7$(5),l.JRh(l.bMT(12,10,"leaveWizard.exitModal.attention")),l.R7$(2),l.SpI("",l.bMT(14,12,"leaveWizard.exitModal.warning")," "),l.R7$(5),l.SpI(" ",l.bMT(19,14,"leaveWizard.exitModal.exit")," "),l.R7$(3),l.SpI(" ",l.bMT(22,16,"leaveWizard.exitModal.continue")," "))},dependencies:[m.D9],styles:[".modal-dialog[_ngcontent-%COMP%]{min-width:600px!important}.absenceConfirmModal[_ngcontent-%COMP%]{border-radius:30px!important;display:flex;flex-direction:column;max-width:750px!important;width:auto!important;hr{display:none}h2,#titleId{font: 35px/36px Aptos,sans-serif!important;text-align:center;color:#070f36!important;padding-bottom:20px}img{width:25px;height:25px;align-self:end}img:hover{cursor:pointer}span,#timeoutBody{font: 22px/36px Aptos,sans-serif!important;color:#070f36!important;word-break:normal!important}input.primaryLongContinue{border:none!important}.centered{text-align:center}.modal-header{padding-top:40px;justify-content:center}.exitCreateRequestModalTitle{color:#070f36!important;font-weight:400!important;padding-top:20px}.rf-pp-cnt{margin:20px 30px!important;display:flex;flex-direction:column}.dataGroupTitle{font: 25px/31px Aptos,sans-serif!important;padding:16px 0 4px}span.centered.dataGroupTitle{padding:30px 30px 10px}.restyledLabel{font: 22px/36px Aptos,sans-serif!important;color:#070f36!important;width:45%!important;margin-right:0;display:inline-block;margin-bottom:8px;text-align:left!important}.lighterLabel{font:lighter 22px/36px Aptos Light,sans-serif!important;color:#070f36!important;width:70%!important;margin-right:0;display:inline-block;text-align:left!important}.restyledValue{font: 22px/36px Aptos,sans-serif!important;color:#070f36!important;margin-right:0;display:inline-block;margin-bottom:8px;text-align:start!important}.lighterValue{font:lighter 22px/36px Aptos Light,sans-serif!important;color:#070f36!important;width:40%!important;margin-right:0;display:inline-block;text-align:start!important}.restyledSmBtns{flex-direction:row-reverse;justify-content:center;align-self:center;width:90%;margin-top:0;input{height:54px!important;width:50%!important;max-width:unset!important;padding:0 10px!important}}button.secondaryBtn:hover{background:transparent!important}.close-button{align-self:end;width:35px;height:35px}.secondaryLongBackButton,.twoSecondaryButtons{text-align:center;align-items:center;height:103px;input,button{height:54px!important;padding:0 10px!important;border-radius:30px!important;background:transparent!important;border:1px solid #070f36!important}}.twoSecondaryButtons input{width:50%!important;max-width:unset!important;margin:0}.secondaryLongBackButton{width:50%;button{width:100%}button:hover{color:#070f36!important}}.secondaryBack{color:#070f36!important}.confirmModal.textAsLabel{width:55%}.confirmModal.boxText{align-items:center}.modal-footer{border:none!important;padding-bottom:20px}.boxText{margin-left:8%}}@media (max-width: 850px){.absenceConfirmModal[_ngcontent-%COMP%]{.rf-pp-cnt{margin:20px 10px!important}.restyledLabel{width:100%!important}.restyledValue,.lighterValue,.lighterLabel{width:100%!important;max-width:unset!important}.lighterValue,.lighterLabel{margin-bottom:0!important}.restyledSmBtns{flex-direction:column!important;input{width:100%!important}.secondaryBack{margin:0!important}}.twoSecondaryButtons{flex-direction:column!important;input{width:100%!important;height:40px!important;margin:8px 0!important}}.indent{padding-left:0}.dataGroupTitle{padding:16px 0 0}.boxText{flex-direction:column;margin-left:8%}}}",".exit-leave-request-modal__title[_ngcontent-%COMP%]{color:#070f36!important;font: 35px/46px Aptos,sans-serif!important}.exit-leave-request-modal__message[_ngcontent-%COMP%]{font: 22px/36px Aptos,sans-serif!important}.exit-leave-request-modal__attention[_ngcontent-%COMP%]{font-weight:700!important}"]})}}return y})()},6753:(We,Q,I)=>{"use strict";I.d(Q,{a:()=>b});var l=I(4412),e=I(3482),m=I(4438);let b=(()=>
1{class y{constructor(p){this.abiEvents=p,this.openSubject=new l.t(!1),this.open$=this.openSubject.asObservable(),this.shouldRestoreFocus=!1}open(p){this.openSubject.value||this.abiEvents.chatOpened(),this.focusOrigin=p,this.shouldRestoreFocus=!1,this.openSubject.next(!0)}reopen(){this.openSubject.next(!0)}close(){this.openSubject.value&&(this.shouldRestoreFocus=!0),this.openSubject.next(!1)}takeFocusRestoreTarget(p){if(!this.shouldRestoreFocus)return;const M=this.focusOrigin?.isConnected?this.focusOrigin:p;return this.shouldRestoreFocus=!1,this.focusOrigin=void 0,M}static{this.\u0275fac=function(M){return new(M||y)(m.KVO(e.K))}}static{this.\u0275prov=m.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}}return y})()},3482:(We,Q,I)=>{"use strict";I.d(Q,{K:()=>y});var l=I(950),e=I(6483),m=I(3794),b=I(4438);class y{static{this.NAVIGATE_FLOW="navigate"}static{this.OFF_TOPIC_FLOW="off_topic"}static{this.MATCH_EVENTS={faq:{id:e.sb.ABSENCE_CHAT_FAQ_MATCH_SURFACED,text:e.sb.ABSENCE_CHAT_FAQ_MATCH_SURFACED_TEXT},resources:{id:e.sb.ABSENCE_CHAT_RESOURCE_SURFACED,text:e.sb.ABSENCE_CHAT_RESOURCE_SURFACED_TEXT}}}constructor(p){this.eventService=p,this.noneOfTheseJustSelected=!1}conversationStarted(){this.lastFlowValue=void 0,this.lastCandidates=void 0,this.escalationOrigin=void 0,this.noneOfTheseJustSelected=!1}chatOpened(){this.eventService.logEvent(e.sb.ABSENCE_CHAT_OPENED,e.sb.ABSENCE_CHAT_OPENED_TEXT)}sessionRated(p){this.eventService.logEvent(e.sb.ABSENCE_CHAT_STAR_RATING,e.sb.ABSENCE_CHAT_STAR_RATING_TEXT+p,String(p))}resourceOpened(p){this.eventService.logEvent(e.sb.ABSENCE_CHAT_RESOURCE_OPENED,e.sb.ABSENCE_CHAT_RESOURCE_OPENED_TEXT+p.label,null==p.document_id?void 0:String(p.document_id))}noneOfTheseSelected(){if(this.noneOfTheseJustSelected=!0,!this.lastCandidates)return;const{flow:p,count:M}=this.lastCandidates;this.eventService.logEvent(e.sb.ABSENCE_CHAT_NONE_OF_THESE_SELECTED,e.sb.ABSENCE_CHAT_NONE_OF_THESE_SELECTED_TEXT+p,String(M))}messageRated(p,M){this.eventService.logEvent(e.sb.ABSENCE_CHAT_MESSAGE_RATED,e.sb.ABSENCE_CHAT_MESSAGE_RATED_TEXT+p,M)}messageContext(p){return this.resolveFlow(p)?.value}selfServiceOutcome(p,M){this.eventService.logEvent(e.sb.ABSENCE_CHAT_SELF_SERVICE_OUTCOME,`${e.sb.ABSENCE_CHAT_SELF_SERVICE_OUTCOME_TEXT}${M}: ${p}`,p)}escalationInitiated(p){this.eventService.logEvent(e.sb.ABSENCE_CHAT_ESCALATION_INITIATED,e.sb.ABSENCE_CHAT_ESCALATION_INITIATED_TEXT+p,this.escalationOrigin)}responseReceived(p){this.logFlowEntered(p),this.logMatchesSurfaced(p),this.logNoMatch(p),this.rememberCandidates(p),this.rememberEscalationOrigin(p)}rememberEscalationOrigin(p){this.escalationOrigin=this.noneOfTheseJustSelected?"none_of_these":this.messageContext(p),this.noneOfTheseJustSelected=!1}rememberCandidates(p){const M=(p.matches??[]).filter($=>"candidate"===$.match_type).length;this.lastCandidates=M&&p.flow?{flow:p.flow,count:M}:void 0}logFlowEntered(p){const M=this.resolveFlow(p);!M||M.value===this.lastFlowValue||(this.lastFlowValue=M.value,this.eventService.logEvent(e.sb.ABSENCE_CHAT_FLOW_ENTERED,e.sb.ABSENCE_CHAT_FLOW_ENTERED_TEXT+M.name,M.value))}logMatchesSurfaced(p){const M=p.flow?y.MATCH_EVENTS[p.flow]:void 0;M&&(p.matches??[]).forEach($=>this.eventService.logEvent(M.id,`${M.text} (${$.match_type}): ${$.title}`,String($.id)))}logNoMatch(p){const M=p.flow;!p.no_match||!M||!y.MATCH_EVENTS[M]||this.eventService.logEvent(e.sb.ABSENCE_CHAT_NLP_NO_MATCH,e.sb.ABSENCE_CHAT_NLP_NO_MATCH_TEXT+M,M)}resolveFlow(p){const M=p.flow?.trim();if(!M)return null;if(p.off_topic)return{name:y.OFF_TOPIC_FLOW,value:y.OFF_TOPIC_FLOW};if(M!==y.NAVIGATE_FLOW)return{name:M,value:M};const $=p.cta?.find(G=>"navigation"===G?.type)?.content,B=$?m.s7[$]?.action:void 0;return B?{name:B,value:B}:{name:M,value:$??M}}static{this.\u0275fac=function(M){return new(M||y)(b.KVO(l.US))}}static{this.\u0275prov=b.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}}},3794:(We,Q,I)=>{"use strict";I.d(Q,{BV:()=>l,_F:()=>e,s7:()=>m});const l={dashboard:"/absences",reportTime:"/reportTime",updatePlacementDelivery:"/updatePlacementDelivery",updateDecisionEndDate:"/updateDecisionEndDate"};function e(b){return b.leaveReason?`${b.leaveReason} (#${b.leaveID})`:`leave request #${b.leaveID}`}const m={checkStatus:{action:"leave_status",path:l.dashboard},addTime:{action:"time_entry",path:l.reportTime},reportRTW:{action:"return_to_work",path:l.updateDecisionEndDate},reportDOD:{action:"date_of_delivery",path:l.updatePlacementDelivery}}},4735:(We,Q,I)=>{"use strict";I.d(Q,{k:()=>M});var l=I(6483),e=I(1413),m=I(950),b=I(6753),y=I(4438),S=I(4550),p=I(3955);let M=(()=>{class ${static{this.WOB_RETENTION_KEY="abiChatKeptDuringWob"}constructor(G,Y,q,ee){this.router=G,this.userService=Y,this.abiChat=q,this.translate=ee,this.chatOpen=!1,this.inWob=!1,this.keepChatRenderedDuringWob=!1,this.staticVisibility={enabledAccount:!1,eligibleUser:!1,loginLanguageSupported:!1},this.dynamicVisibility={languageSupported:!1},this.availabilityChanges=new e.B,this.chatAvailabilityChanges$=this.availabilityChanges.asObservable(),this.initializeStaticVisibility(),this.abiChat.open$.subscribe(oe=>this.chatOpen=oe),this.userService.isWob.subscribe(()=>this.syncWobState()),this.translate.onLangChange.subscribe(oe=>this.syncDynamicLanguageVisibility(oe.lang))}initializeStaticVisibility(){const G=this.getUserInfo(),Y=this.isSupportedLocaleId(G?.localeId);this.abiChat.close(),this.chatOpen=!1,this.staticVisibility={enabledAccount:this.isEnabled(G),eligibleUser:this.isNotPartnerContact(G),loginLanguageSupported:Y},this.dynamicVisibility={languageSupported:this.staticVisibility.loginLanguageSupported},this.inWob=!this.isNotInWob(G),this.setKeepChatRenderedDuringWob(this.inWob&&"true"===sessionStorage.getItem($.WOB_RET
1ENTION_KEY))}isStartingTileVisible(){return this.canStartChat()&&this.isEmployeeDashboard()}isStartingButtonVisible(){return this.canStartChat()&&!this.chatOpen&&!this.isManagerDashboard()}isChatRendered(){return this.inWob?this.keepChatRenderedDuringWob:this.hasStaticVisibilityAccess()}areChatControlsDisabled(){return this.inWob}canStartChat(){const G=this.getUserInfo();return this.hasStaticVisibilityAccess()&&this.hasDynamicVisibilityAccess(G)}hasStaticVisibilityAccess(){return this.staticVisibility.enabledAccount&&this.staticVisibility.eligibleUser}hasDynamicVisibilityAccess(G){return this.dynamicVisibility.languageSupported&&this.isNotInWob(G)}syncDynamicLanguageVisibility(G){this.dynamicVisibility={languageSupported:this.isSupportedLanguage(G)}}syncWobState(){const G=!this.isNotInWob(this.getUserInfo());if(G===this.inWob)return;if(G)return this.setKeepChatRenderedDuringWob(this.chatOpen),this.inWob=!0,void(this.keepChatRenderedDuringWob&&this.availabilityChanges.next({disabled:!0,message:"Chat is disabled during work on behalf session"}));const Y=this.keepChatRenderedDuringWob;this.inWob=!1,this.setKeepChatRenderedDuringWob(!1),Y&&this.availabilityChanges.next({disabled:!1,message:"Chat is enabled, you can continue asking questions"})}setKeepChatRenderedDuringWob(G){this.keepChatRenderedDuringWob=G,G?sessionStorage.setItem($.WOB_RETENTION_KEY,"true"):sessionStorage.removeItem($.WOB_RETENTION_KEY)}getUserInfo(){return JSON.parse(sessionStorage.getItem(l.YM.USER_INFO)||"null")}isEnabled(G){return!!G?.userPrivilege?.showChatbotOnEmployeeDashboard}isNotInWob(G){return!G?.wob}isNotPartnerContact(G){return null==G?.userPrivilege?.portalPermission}isSupportedLocaleId(G){return(G??l.YM.ENGLISH_LOCALE_ID)===l.YM.ENGLISH_LOCALE_ID}isSupportedLanguage(G){return G===l.YM.ENGLISH_US_LOCALE}isEmployeeDashboard(){return"/absences"===this.currentPath()}isManagerDashboard(){return"/mgr-dashboard"===this.currentPath()}currentPath(){return this.router.url.split(/[?#]/)[0]}static{this.\u0275fac=function(Y){return new(Y||$)(y.KVO(S.Ix),y.KVO(m.DL),y.KVO(b.a),y.KVO(p.c$))}}static{this.\u0275prov=y.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}}return $})()},2106:(We,Q,I)=>{"use strict";I.d(Q,{A:()=>b});var l=I(4438),e=I(6888),m=I(3955);let b=(()=>{class y{constructor(p){this.activeModal=p}onConfirm(){this.activeModal.close(!0)}onCancel(){this.activeModal.dismiss(!1)}static{this.\u0275fac=function(M){return new(M||y)(l.rXU(e.Lw))}}static{this.\u0275cmp=l.VBU({type:y,selectors:[["app-confirm-dialog"]],decls:21,vars:15,consts:[[1,"rf-pp-cntr","confirmModal","absenceConfirmModal",2,"border-radius","5px","position","relative","width","90% !important"],[1,"close-button",3,"click"],["src","assets/baseResources/gfx/redesignIcons/exit.svg","alt","Close"],[2,"margin","25px"],[1,"exitCreateRequestModalTitle",2,"white-space","nowrap"],[1,"modal-hr"],[1,"centered"],[2,"font-weight","bold !important"],[1,"d-flex","flex-column","flex-sm-row","justify-content-center","twoSecondaryButtons"],["type","submit","id","confirmBtn",1,"submit","secondaryBtn","px-2","secondaryBack",3,"click","value"],["type","button","id","cancelBtn",1,"submit","secondaryBtn","px-2","wpaModalCancelButton","secondaryBack",3,"click","value"]],template:function(M,$){1&M&&(l.j41(0,"div",0)(1,"button",1),l.bIt("click",function(){return $.onCancel()}),l.nrm(2,"img",2),l.k0s(),l.j41(3,"div",3)(4,"h2",4),l.EFF(5),l.nI1(6,"translate"),l.k0s(),l.nrm(7,"hr",5),l.j41(8,"div",6)(9,"span",7),l.EFF(10),l.nI1(11,"translate"),l.k0s(),l.j41(12,"span"),l.EFF(13),l.nI1(14,"translate"),l.k0s()(),l.nrm(15,"hr",5),l.j41(16,"div",8)(17,"input",9),l.nI1(18,"translate"),l.bIt("click",function(){return $.onConfirm()}),l.k0s(),l.j41(19,"input",10),l.nI1(20,"translate"),l.bIt("click",function(){return $.onCancel()}),l.k0s()()()()),2&M&&(l.R7$(5),l.JRh(l.bMT(6,5,"wpa.modal.title")),l.R7$(5),l.JRh(l.bMT(11,7,"wpa.modal.attention")),l.R7$(3),l.JRh(l.bMT(14,9,"wpa.modal.warning")),l.R7$(4),l.FS9("value",l.bMT(18,11,"wpa.modal.continue")),l.R7$(2),l.FS9("value",l.bMT(20,13,"wpa.modal.return")))},dependencies:[m.D9],styles:[".modal-dialog[_ngcontent-%COMP%]{min-width:600px!important}.absenceConfirmModal[_ngcontent-%COMP%]{border-radius:30px!important;display:flex;flex-direction:column;max-width:750px!important;width:auto!important;hr{display:none}h2,#titleId{font: 35px/36px Aptos,sans-serif!important;text-align:center;color:#070f36!important;padding-bottom:20px}img{width:25px;height:25px;align-self:end}img:hover{cursor:pointer}span,#timeoutBody{font: 22px/36px Aptos,sans-serif!important;color:#070f36!important;word-break:normal!important}input.primaryLongContinue{border:none!important}.centered{text-align:center}.modal-header{padding-top:40px;justify-content:center}.exitCreateRequestModalTitle{color:#070f36!important;font-weight:400!important;padding-top:20px}.rf-pp-cnt{margin:20px 30px!important;display:flex;flex-direction:column}.dataGroupTitle{font: 25px/31px Aptos,sans-serif!important;padding:16px 0 4px}span.centered.dataGroupTitle{padding:30px 30px 10px}.restyledLabel{font: 22px/36px Aptos,sans-serif!important;color:#070f36!important;width:45%!important;margin-right:0;display:inline-block;margin-bottom:8px;text-align:left!important}.lighterLabel{font:lighter 22px/36px Aptos Light,sans-serif!important;color:#070f36!important;width:70%!important;margin-right:0;display:inline-block;text-align:left!important}.restyledValue{font: 22px/36px Aptos,sans-serif!important;color:#070f36!important;margin-right:0;display:inline-block;margin-bottom:8px;text-align:start!important}.lighterValue{font:lighter 22px/36px Aptos Light,sans-serif!important;color:#070f36!important;width:40%!important;margin-right:0;display:inline-block;text-align:start!important}.restyledSmBtns{flex-direction:row-reverse;justify-content:center;align-self:center;width:90%;margin-top:0;input{height:54px!important;width:50%!important;max-width:unset!important;padding:0 10px!important}}button.secondaryBtn:hover{background:transparent!important}.close-button{align-self:end;width:35px;height:35px}.secondaryLongBackButton,.twoSecondaryButtons{text-align:center;align-items:center;height:103px;input,button{height:54px!important;padding:0 10px!important;border-radius:30px!important;background:transparent!important;border:1px solid #070f36!important}}.twoSecondaryButtons input{width:50%!important;max-width:unset!important;margin:0}.secondaryLongBackButton{width:50%;button{width:100%}button:hover{color:#070f36!important}}.secondaryBack{color:#070f36!important}.confirmModal.textAsLabel{width:55%}.confirmModal.boxText{align-items:center}.modal-footer{border:none!important;padding-bottom:20px}.boxText{margin-left:8%}}@media (max-width: 850px){.absenceConfirmModal[_ngcontent-%COMP%]{.rf-pp-cnt{margin:20px 10px!important}.restyledLabel{width:100%!important}.restyledValue,.lighterValue,.lighterLabel{width:100%!important;max-width:unset!important}.lighterValue,.lighterLabel{margin-bottom:0!important}.restyledSmBtns{flex-direction:column!important;input{width:100%!important}.secondaryBack{margin:0!important}}.twoSecondaryButtons{flex-direction:column!important;input{width:100%!important;height:40px!important;margin:8px 0!important}}.indent{padding-left:0}.dataGroupTitle{padding:16px 0 0}.boxText{flex-direction:column;margin-left:8%}}}"]})}}return y})()},4019:(We,Q,I)=>{"use strict";var l=I(345),e=I(4438),m=I(4538),b=I(9151);let y=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=e.$C({type:n})}static{this.\u0275inj=e.G2t({imports:[b.mJ]})}}return n})();var S=I(7898),p=I(6483),M=I(950),$=I(1691),B=I(3857),G=I(6888),Y=I(3955),q=I(4550);let ee=(()=>{class n{constructor(t){this.activeModal=t}onConfirm(){this.activeModal.close()}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(G.Lw))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["ngbd-modal-content"]],decls:13,vars:12,consts:[["role","dialog","aria-labelledby","titleId",1,"absenceConfirmModal"],[1,"modal-header"],["id","titleId"],[1,"modal-body","centered"],["id","timeoutBody"],[1,"modal-footer"],["id","timeoutOk","type","submit",1,"submit","primaryBtn","primaryLongContinue",3,"click","value"]],template:function(i,r){1&i&&(e.j41(0,"div",0)(1,"div",1)(2,"span",2),e.EFF(3),e.nI1(4,"translate"),e.k0s()(),e.j41(5,"div",3)(6,"span",4),e.EFF(7),e.nI1(8,"translate"),e.k0s()(),e.j41(9,"div",5)(10,"input",6),e.nI1(11,"translate"),e.nI1(12,"translate"),e.bIt("click",function(){return r.onConfirm()}),e.k0s()()()),2&i&&(e.R7$(3),e.JRh(e.bMT(4,4,"timeout.title")),e.R7$(4),e.JRh(e.bMT(8,6,"timeout.body")),e.R7$(3),e.FS9("value",e.bMT(11,8,"timeout.ok")),e.BMQ("aria-label",e.bMT(12,10,"timeout.ok")))},dependencies:[Y.D9],styles:[".modal-dialog[_ngcontent-%COMP%]{min-width:600px!important}.absenceConfirmModal[_ngcontent-%COMP%]{border-radius:30px!important;display:flex;flex-direction:column;max-width:750px!important;width:auto!important;hr{display:none}h2,#titleId{font: 35px/36px Aptos,sans-serif!important;text-align:center;color:#070f36!important;padding-bottom:20px}img{width:25px;height:25px;align-self:end}img:hover{cursor:pointer}span,#timeoutBody{font: 22px/36px Aptos,sans-serif!important;color:#070f36!important;word-break:normal!important}input.primaryLongContinue{border:none!important}.centered{text-align:center}.modal-header{padding-top:40px;justify-content:center}.exitCreateRequestModalTitle{color:#070f36!important;font-weight:400!important;padding-top:20px}.rf-pp-cnt{margin:20px 30px!important;display:flex;flex-direction:column}.dataGroupTitle{font: 25px/31px Aptos,sans-serif!important;padding:16px 0 4px}span.centered.dataGroupTitle{padding:30px 30px 10px}.restyledLabel{font: 22px/36px Aptos,sans-serif!important;color:#070f36!important;width:45%!important;margin-right:0;display:inline-block;margin-bottom:8px;text-align:left!important}.lighterLabel{font:lighter 22px/36px Aptos Light,sans-serif!important;color:#070f36!important;width:70%!important;margin-right:0;display:inline-block;text-align:left!important}.restyledValue{font: 22px/36px Aptos,sans-serif!important;color:#070f36!important;margin-right:0;display:inline-block;margin-bottom:8px;text-align:start!important}.lighterValue{font:lighter 22px/36px Aptos Light,sans-serif!important;color:#070f36!important;width:40%!important;margin-right:0;display:inline-block;text-align:start!important}.restyledSmBtns{flex-direction:row-reverse;justify-content:center;align-self:center;width:90%;margin-top:0;input{height:54px!important;width:50%!important;max-width:unset!important;padding:0 10px!important}}button.secondaryBtn:hover{background:transparent!important}.close-button{align-self:end;width:35px;height:35px}.secondaryLongBackButton,.twoSecondaryButtons{text-align:center;align-items:center;height:103px;input,button{height:54px!important;padding:0 10px!important;border-radius:30px!important;background:transparent!important;border:1px solid #070f36!important}}.twoSecondaryButtons input{width:50%!important;max-width:unset!important;margin:0}.secondaryLongBackButton{width:50%;button{width:100%}button:hover{color:#070f36!important}}.secondaryBack{color:#070f36!important}.confirmModal.textAsLabel{width:55%}.confirmModal.boxText{align-items:center}.modal-footer{border:none!important;padding-bottom:20px}.boxText{margin-left:8%}}@media (max-width: 850px){.absenceConfirmModal[_ngcontent-%COMP%]{.rf-pp-cnt{margin:20px 10px!important}.restyledLabel{width:100%!important}.restyledValue,.lighterValue,.lighterLabel{width:100%!important;max-width:unset!important}.lighterValue,.lighterLabel{margin-bottom:0!important}.restyledSmBtns{flex-direction:column!important;input{width:100%!important}.secondaryBack{margin:0!important}}.twoSecondaryButtons{flex-direction:column!important;input{width:100%!important;height:40px!important;margin:8px 0!important}}.indent{padding-left:0}.dataGroupTitle{padding:16px 0 0}.boxText{flex-direction:column;margin-left:8%}}}"]})}}return n})(),oe=(()=>{class n{constructor(t,i,r,u,v,V,Ce){this.win=t,this.idleTimeoutService=i,this.modalService=r,this.sessionService=u,this.logoutService=v,this.userService=V,this.router=Ce,this.sessionWarning=!0}ngOnInit(){const t=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO));t&&(this.idleTimeoutService.updateTimerByTimeOut(t.userPrivilege.superUser?p.YM.SUPER_USER_TIMEOUT:t.userPrivilege.mgrOrHR?p.YM.MGR_TIMEOUT:p.YM.EMPLOYEE_TIMEOUT),this.idleTimerSubscription=this.idleTimeoutService.timeoutExpired.subscribe(i=>{i===this.idleTimeoutService.timeoutSeconds?(this.sessionWarning=!1,this.logout()):this.confirm()}))}confirm(){this.modalRef=this.modalService.open(ee,{centered:!0,backdrop:"static"}),this.modalRef.result.then(()=>{JSON.parse(sessionStorage.getItem(p.YM.USER_INFO))&&(this.idleTimeoutService.startTimer(),this.sessionService.keepAlive())})}resetTimer(){this.idleTimeoutService.stopTimer(),this.idleTimeoutService.startTimer()}logout(){this.idleTimeoutService.stopTimer(),this.modalRef&&this.modalRef.close(),this.loginRedirect()}loginRedirect(){B.T.logout(this.router,this.logoutService,$.X.build({inactive:!0}),this.userService)}ngOnDestroy(){this.idleTimeoutService.stopTimer(),this.idleTimerSubscription&&this.idleTimerSubscription.unsubscribe()}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(m.s7),e.rXU(m.xm),e.rXU(G.Bq),e.rXU(m.Qo),e.rXU(M.k4),e.rXU(M.DL),e.rXU(q.Ix))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-session-timeout"]],decls:1,vars:0,template:function(i,r){1&i&&e.nrm(0,"div")},encapsulation:2})}}return n})();var se=I(8077),xe=I(3852),Le=I(4412),ie=I(177),L=I(4484);const K=["menu"],_e=["toggleBtn"],Te=n=>({"redesign-side-nav":n});let ct=(()=>{class n{constructor(t,i,r,u,v,V,Ce){this.userService=t,this.win=i,this.logoutService=r,this.router=u,this.translateService=v,this.domainConfigService=V,this.modalService=Ce,this.sideNavItems=new Le.t([]),this.isWob=!1,this.menuKeydownListener=null}ngOnInit(){this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)),this.subscribeToPortalPermissions(),this.userService.isWob.subscribe(t=>{this.isWob=t,setTimeout(()=>{this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)),this.isWob&&(this.onBehalfFirstName=this.userInfo.onBehalfFirstName,this.onBehalfLastName=this.userInfo.onBehalfLastName),this.initSideNav()},1e3)}),this.domainResourcePath=se.z.getBaseResourcePath()}toggleMenu(t){this.menu.toggle(t),this.userService.isMenuOpen.next(this.menu.visible)}onMenuShow(){this.bindMenuKeydown(),this.focusFirstItem()}onMenuHide(){this.unbindMenuKeydown(),this.userService.isMenuOpen.next(!1)}focusFirstItem(){if(this.menu&&this.menu.containerViewChild){const t=this.getFocusableElements();t.length>0&&t[0].focus()}}getFocusableElements(){if(!this.menu||!this.menu.containerViewChild)return[];const i=this.menu.containerViewChild.nativeElement.querySelectorAll('a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not
1([tabindex="-1"])');return Array.from(i)}bindMenuKeydown(){if(this.unbindMenuKeydown(),this.menu&&this.menu.containerViewChild){const t=this.menu.containerViewChild.nativeElement;this.menuKeydownListener=i=>{if("Tab"===i.key){const r=this.getFocusableElements();if(0===r.length)return void i.preventDefault();const u=r[0],v=r[r.length-1];i.shiftKey?(document.activeElement===u||!t.contains(document.activeElement))&&(i.preventDefault(),v.focus()):(document.activeElement===v||!t.contains(document.activeElement))&&(i.preventDefault(),u.focus())}else"Escape"===i.key&&(this.menu.hide(),this.userService.isMenuOpen.next(!1),this.toggleBtn&&this.toggleBtn.nativeElement&&this.toggleBtn.nativeElement.focus())},t.addEventListener("keydown",this.menuKeydownListener)}}unbindMenuKeydown(){this.menuKeydownListener&&this.menu&&this.menu.containerViewChild&&this.menu.containerViewChild.nativeElement.removeEventListener("keydown",this.menuKeydownListener),this.menuKeydownListener=null}getFontColor(){return this.isBaseDomain?"redesignFont":this.isWob?"blackFont":""}getHamburgerClass(){return this.isBaseDomain?"sidemenu-toggle-black-redesign":this.isWob?"sidemenu-toggle-black":"sidemenu-toggle-white"}getLetterStyleClass(){return this.isWob?"inactive":this.getNewLetterStyleClass()}getStyleClass(){return this.isWob?"inactive":""}getNewLetterStyleClass(){return this.userInfo?.hasNewLetters||this.userInfo?.hasNewDocuments?"userActiveLetter":""}subscribeToPortalPermissions(){this.portalPermissionSub=this.userService.portalPermission$.subscribe(t=>{this.portalPermission=t,this.initSideNav()})}initSideNav(){let t=[],i=[];this.isWob&&(t=this.buildWobItems()),i=this.buildSideMenu();const r=t.concat(i);this.sideNavItems.next(r)}buildSideMenu(){let t;const i=[];return t={styleClass:"side-nav-back-margin",icon:"back-icon-side-nav"},this.isBaseDomain&&!this.isWob&&i.push(t),t={label:this.translateService.instant("nav.mainMenu"),styleClass:"sideNavHeader menuLabel"},i.push(t),t={label:this.translateService.instant("nav.myAccountHome"),icon:this.isBaseDomain?"home-icon-side-nav":"glyphicon glyphicon-home",command:()=>{this.goToHome()},title:this.userInfo?.wob?this.translateService.instant("nav.myAccountHome"):null},i.push(t),t={label:this.translateService.instant("viewLetters.title"),routerLink:"/viewLetters",styleClass:this.getLetterStyleClass(),icon:this.isBaseDomain?"inactive"===this.getStyleClass()?"letters-disabled-icon-side-nav":this.hasNewLetterDocument()?"letters-new-icon-side-nav":"letters-icon-side-nav":!this.isWob&&this.hasNewLetterDocument()?"glyphicon glyphicon-envelope userActiveLetter":"glyphicon glyphicon-envelope"},null===this.portalPermission&&i.push(t),t={label:this.translateService.instant("more.profile"),routerLink:"/profile",queryParams:{mapTypes:["CountriesMap,StatesMap,DistributionPreferencesMap"]},styleClass:this.getStyleClass(),icon:this.isBaseDomain?this.isWob?"profile-disabled-icon-side-nav":"profile-icon-side-nav":"glyphicon glyphicon-cog"},i.push(t),t={label:this.translateService.instant("more.logout"),icon:this.isBaseDomain?"logout-icon-side-nav":"glyphicon glyphicon-log-out",styleClass:this.isBaseDomain?"custom-line":"",command:()=>{this.logout()}},i.push(t),null==this.portalPermission&&(t={label:this.translateService.instant("resources"),styleClass:"sideNavHeader menuLabel"+(this.isBaseDomain?" custom-line-top":"")},i.push(t),t={label:this.translateService.instant("footer.FAQ"),routerLink:"/faqs",icon:this.isBaseDomain?"faqs-icon-side-nav":"glyphicon glyphicon-question-sign"},i.push(t),t={label:this.translateService.instant("more.emailUs"),routerLink:"/contactUs",styleClass:this.isBaseDomain?"custom-line":"",icon:this.isBaseDomain?"email-us-icon-side-nav":"glyphicon glyphicon-send"},i.push(t)),i}buildWobItems(){let t;const i=[];return t={styleClass:"side-nav-back-margin",icon:"back-icon-side-nav"},this.isBaseDomain&&i.push(t),t={label:this.translateService.instant("nav.menu",{value:this.onBehalfFirstName+" "+this.onBehalfLastName}),styleClass:"sideNavHeader menuLabel"},i.push(t),t={label:this.translateService.instant("nav.newUser"),routerLink:"/workOnBehalf",icon:this.isBaseDomain?"search-size-side-nav":"wobDashIcon",title:this.translateService.instant("nav.newUser")},null===this.portalPermission&&i.push(t),t={label:this.translateService.instant("nav.dashboard",{value:this.onBehalfFirstName+" "+this.onBehalfLastName}),routerLink:"/absences",icon:this.isBaseDomain?"home-icon-side-nav":"wobDashIcon",title:this.onBehalfFirstName+" "+this.onBehalfLastName+this.translateService.instant("nav.dashboard")},i.push(t),t={label:this.translateService.instant("nav.letters",{value:this.onBehalfFirstName+" "+this.onBehalfLastName}),routerLink:"/viewLetters",icon:this.isBaseDomain?this.hasNewLetterDocument()?"letters-new-icon-side-nav":"letters-icon-side-nav":this.hasNewLetterDocument()?"wobYellowLetterIcon":"wobLetterIcon",styleClass:this.isBaseDomain?"":this.getNewLetterStyleClass(),title:this.onBehalfFirstName+" "+this.onBehalfLastName+this.translateService.instant("nav.letters")},i.push(t),t={label:this.translateService.instant("nav.accountSettings",{value:this.onBehalfFirstName+" "+this.onBehalfLastName}),routerLink:"/profile",queryParams:{mapTypes:["CountriesMap,StatesMap,DistributionPreferencesMap"]},icon:this.isBaseDomain?"profile-icon-side-nav":"wobProfIcon",title:this.onBehalfFirstName+" "+this.onBehalfLastName+this.translateService.instant("nav.accountSettings")},i.push(t),t={label:this.translateService.instant("nav.endSession"),styleClass:this.isBaseDomain?"custom-line-wob":"",icon:this.isBaseDomain?"exit-wob-icon-side-nav":"wobEndIcon",command:()=>{this.goToHome()},title:this.translateService.instant("nav.endSession")},i.push(t),i}goToHome(){B.T.processBeforeGoToHome(this.router,this.userService,this.modalService)}logout(){B.T.processBeforeLogout(this.router,this.modalService,this.logoutService,this.userService)}isBaseDomain(){return this.domainConfigService.isBaseDomain}hasNewLetterDocument(){return this.userInfo?.hasNewLetters||this.userInfo?.hasNewDocuments}ngOnDestroy(){this.unbindMenuKeydown(),this.portalPermissionSub&&this.portalPermissionSub.unsubscribe()}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(M.DL),e.rXU(m.s7),e.rXU(M.k4),e.rXU(q.Ix),e.rXU(Y.c$),e.rXU(xe.K),e.rXU(G.Bq))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-side-nav"]],viewQuery:function(i,r){if(1&i&&(e.GBs(K,5),e.GBs(_e,5)),2&i){let u;e.mGM(u=e.lsd())&&(r.menu=u.first),e.mGM(u=e.lsd())&&(r.toggleBtn=u.first)}},decls:15,vars:21,consts:[["menu",""],["toggleBtn",""],["xmlns","http://www.w3.org/1999/html",3,"onShow","onHide","model","popup","ngClass"],["
1id","sideMenuBtn"],["type","button",1,"sidemenu-toggle",3,"click","ngClass"],[1,"offScreen"],["id","greetignMsg",1,"clicker","sideGreeting",3,"ngClass"],[1,"mobileUsernameDisplay"]],template:function(i,r){if(1&i){const u=e.RV6();e.j41(0,"p-slideMenu",2,0),e.nI1(2,"async"),e.bIt("onShow",function(){return e.eBV(u),e.Njj(r.onMenuShow())})("onHide",function(){return e.eBV(u),e.Njj(r.onMenuHide())}),e.k0s(),e.j41(3,"div",3)(4,"button",4,1),e.nI1(6,"translate"),e.bIt("click",function(V){return e.eBV(u),e.Njj(r.toggleMenu(V))}),e.j41(7,"span",5),e.EFF(8),e.nI1(9,"translate"),e.k0s()(),e.j41(10,"div",6),e.EFF(11),e.nI1(12,"translate"),e.j41(13,"span",7),e.EFF(14),e.k0s()()()}if(2&i){const u=e.sdS(1);e.Y8G("model",e.bMT(2,11,r.sideNavItems))("popup",!0)("ngClass",e.eq3(19,Te,r.isBaseDomain())),e.R7$(4),e.Y8G("ngClass",r.getHamburgerClass()),e.BMQ("aria-label",e.bMT(6,13,"nav.openMenu"))("aria-expanded",u.visible),e.R7$(4),e.JRh(e.bMT(9,15,"nav.openMenu")),e.R7$(2),e.Y8G("ngClass",r.getFontColor()),e.BMQ("aria-hidden",u.visible),e.R7$(),e.SpI(" ",e.bMT(12,17,"nav.hello")," "),e.R7$(3),e.JRh(null==r.userInfo?null:r.userInfo.firstName)}},dependencies:[ie.YU,L.VA,ie.Jj,Y.D9],styles:[".mobileUsernameDisplay[_ngcontent-%COMP%]{font-weight:bolder}.sidemenu-toggle[_ngcontent-%COMP%]{border:none!important;outline:none!important;box-shadow:none!important;background-color:transparent}.sidemenu-toggle[_ngcontent-%COMP%]:focus, .sidemenu-toggle[_ngcontent-%COMP%]:focus-visible, .sidemenu-toggle[_ngcontent-%COMP%]:active{outline:none!important;box-shadow:none!important}#sideMenuBtn[_ngcontent-%COMP%]{outline:none!important}[_nghost-%COMP%]     .p-slidemenu, [_nghost-%COMP%]     .p-slidemenu-wrapper, [_nghost-%COMP%]     .p-slidemenu-content, [_nghost-%COMP%]     .p-menuitem-link, [_nghost-%COMP%]     .p-menuitem-link:focus, [_nghost-%COMP%]     .p-menuitem-link:focus-visible{outline:none!important}"]})}}return n})();var ye=I(5964),Se=I(9172);const X=(n,d)=>[n,d],Ne=()=>({mapTypes:"CountriesMap,StatesMap,DistributionPreferencesMap"}),ft=n=>({impCCenter:n});function _t(n,d){if(1&n&&e.nrm(0,"img",36),2&n){const t=e.XpG(4);e.Y8G("src",t.wobSearchImgSource,e.B4B)}}function Gt(n,d){if(1&n&&(e.j41(0,"li",33)(1,"a",34),e.nI1(2,"translate"),e.DNE(3,_t,1,1,"img",35),e.k0s()()),2&n){const t=e.XpG(3);e.R7$(),e.BMQ("aria-label",e.bMT(2,2,"nav.newUser")),e.R7$(2),e.Y8G("ngIf",t.areIconSourcesSet)}}function Rt(n,d){if(1&n&&e.nrm(0,"img",37),2&n){const t=e.XpG(3);e.Y8G("src",t.wobHomeImgSource,e.B4B)}}function dt(n,d){if(1&n&&e.nrm(0,"img",43),2&n){const t=e.XpG(4);e.Y8G("src",t.wobLettersImgSource,e.B4B)}}function et(n,d){if(1&n&&e.nrm(0,"img",44),2&n){const t=e.XpG(4);e.Mz_("src","",t.domainResourcePath,"/gfx/navIcons/new-documents-badge.svg",e.B4B)}}function Ie(n,d){if(1&n){const t=e.RV6();e.j41(0,"li",38)(1,"a",39),e.nI1(2,"translate"),e.bIt("mouseover",function(){e.eBV(t);const r=e.XpG(3);return e.Njj(r.toggleHoverIcon(!0,"letters_wob"))})("mouseout",function(){e.eBV(t);const r=e.XpG(3);return e.Njj(r.toggleHoverIcon(!1,"letters_wob"))}),e.j41(3,"span",40),e.DNE(4,dt,1,1,"img",41)(5,et,1,2,"img",42),e.k0s()()()}if(2&n){const t=e.XpG(3);e.R7$(),e.BMQ("aria-label",e.bMT(2,3,"viewLetters.title")),e.R7$(3),e.Y8G("ngIf",t.areIconSourcesSet),e.R7$(),e.Y8G("ngIf",t.areIconSourcesSet&&t.hasNewLetterDocument())}}function ot(n,d){if(1&n&&e.nrm(0,"img",47),2&n){const t=e.XpG(4);e.Y8G("src",t.wobProfileImgSource,e.B4B)}}function vt(n,d){if(1&n){const t=e.RV6();e.j41(0,"li",38)(1,"a",45),e.nI1(2,"translate"),e.bIt("mouseover",function(){e.eBV(t);const r=e.XpG(3);return e.Njj(r.toggleHoverIcon(!0,"profile_wob"))})("mouseout",function(){e.eBV(t);const r=e.XpG(3);return e.Njj(r.toggleHoverIcon(!1,"profile_wob"))}),e.DNE(3,ot,1,1,"img",46),e.k0s()()}if(2&n){const t=e.XpG(3);e.R7$(),e.Y8G("queryParams",e.lJ4(5,Ne)),e.BMQ("aria-label",e.bMT(2,3,"more.profile")),e.R7$(2),e.Y8G("ngIf",t.areIconSourcesSet)}}function je(n,d){if(1&n&&e.nrm(0,"img",48),2&n){const t=e.XpG(3);e.Y8G("src",t.exitWobImgSource,e.B4B)}}function He(n,d){if(1&n){const t=e.RV6();e.qex(0),e.nrm(1,"li",22),e.j41(2,"li",23)(3,"p",24),e.EFF(4),e.nI1(5,"translate"),e.k0s()(),e.DNE(6,Gt,4,4,"li",25),e.nI1(7,"async"),e.j41(8,"li",26),e.nI1(9,"async"),e.j41(10,"a",27),e.nI1(11,"translate"),e.bIt("mouseover",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.toggleHoverIcon(!0,"home_wob"))})("mouseout",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.toggleHoverIcon(!1,"home_wob"))}),e.DNE(12,Rt,1,1,"img",28),e.k0s()(),e.DNE(13,Ie,6,5,"li",29),e.nI1(14,"async"),e.DNE(15,vt,4,6,"li",29),e.nI1(16,"async"),e.j41(17,"li",30)(18,"a",31),e.nI1(19,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.goToHome())})("keydown.enter",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.goToHome())}),e.DNE(20,je,1,1,"img",32),e.k0s()(),e.bVm()}if(2&n){const t=e.XpG(2);e.R7$(4),e.SpI("",e.bMT(5,9,"myAbsences.workOnBehalf"),":"),e.R7$(2),e.Y8G("ngIf",null===e.bMT(7,11,t.userService.portalPermission$)),e.R7$(2),e.Y8G("ngClass",e.eq3(23,ft,null!==e.bMT(9,13,t.userService.portalPermission$))),e.R7$(2),e.BMQ("aria-label",e.bMT(11,15,"nav.mainDashboard")),e.R7$(2),e.Y8G("ngIf",t.areIconSourcesSet),e.R7$(),e.Y8G("ngIf",t.showWobLetters||null!==e.bMT(14,17,t.userService.portalPermission$)),e.R7$(2),e.Y8G("ngIf",t.showWobProfileLink||null!==e.bMT(16,19,t.userService.portalPermission$)),e.R7$(3),e.BMQ("aria-label",e.bMT(19,21,"nav.endSession")),e.R7$(2),e.Y8G("ngIf",t.areIconSourcesSet)}}function Ve(n,d){if(1&n&&(e.nrm(0,"img",49),e.nI1(1,"translate")),2&n){const t=e.XpG(2);e.Y8G("src",t.homeImgSource,e.B4B),e.BMQ("aria-label",e.bMT(1,2,"nav.mainDashboard"))}}function at(n,d){if(1&n&&(e.nrm(0,"img",53),e.nI1(1,"translate")),2&n){const t=e.XpG(3);e.Y8G("src",t.lettersImgSource,e.B4B),e.BMQ("aria-label",e.bMT(1,2,"viewLetters.title"))}}function Tt(n,d){if(1&n&&e.nrm(0,"img",44),2&n){const t=e.XpG(3);e.Mz_("src","",t.domainResourcePath,"/gfx/navIcons/new-documents-badge.svg",e.B4B)}}function wt(n,d){if(1&n){const t=e.RV6();e.j41(0,"li",15)(1,"a",50),e.nI1(2,"translate"),e.bIt("mouseover",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.toggleHoverIcon(!0,"letters"))})("mouseout",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.toggleHoverIcon(!1,"letters"))}),e.j41(3,"span",40),e.DNE(4,at,2,4,"img",51)(5,Tt,1,2,"img",42),e.k0s(),e.j41(6,"span",52),e.EFF(7),e.nI1(8,"translate"),e.k0s()()()}if(2&n){const t=e.XpG(2);e.Y8G("ngClass",t.getStyleClass()),e.R7$(),e.FS9("tabindex","inactive"===t.getStyleClass()?-1:0),e.FS9("title",e.bMT(2,7,"header.letter.title")),e.Y8G("ngClass",t.getStyleClass()),e.R7$(3),e.Y8G("ngIf",t.areIconSourcesSet),e.R7$(),e.Y8G("ngIf",t.areIconSourcesSet&&!t.isWob&&t.hasNewLetterDocument()),e.R7$(2),e.JRh(e.bMT(8,9,"viewLetters.title"))}}function jt(n,d){if(1&n&&(e.nrm(0,"img",54),e.nI1(1,"translate")),2&n){const t=e.XpG(2);e.Y8G("src",t.profileImgSource,e.B4B),e.BMQ("aria-label",e.bMT(1,2,"more.profile"))}}function Tn(n,d){if(1&n&&(e.nrm(0,"img",58),e.nI1(1,"translate")),2&n){const t=e.XpG(3);e.Y8G("src",t.faqsImgSource,e.B4B),e.BMQ("aria-label",e.bMT(1,2,"footer.FAQ"))}}function Ln(n,d){if(1&n){const t=e.RV6();e.j41(0,"li")(1,"a",55),e.nI1(2,"translate"),e.bIt("mouseover",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.toggleHoverIcon(!0,"faqs"))})("mouseout",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.toggleHoverIcon(!1,"faqs"))}),e.DNE(3,Tn,2,4,"img",56),e.j41(4,"span",57),e.EFF(5),e.nI1(6,"translate"),e.k0s()()()}if(2&n){const t=e.XpG(2);e.R7$(),e.FS9("title",e.bMT(2,3,"header.faq.title")),e.R7$(2),e.Y8G("ngIf",t.areIconSourcesSet),e.R7$(2),e.JRh(e.bMT(6,5,"footer.FAQ"))}}function re(n,d){if(1&n&&(e.nrm(0,"img",62),e.nI1(1,"translate")),2&n){const t=e.XpG(3);e.Y8G("src",t.emailUsImgSource,e.B4B),e.BMQ("aria-label",e.bMT(1,2,"login.emailUs"))}}function mt(n,d){if(1&n){const t=e.RV6();e.j41(0,"li")(1,"a",59),e.bIt("mouseover",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.toggleHoverIcon(!0,"email_us"))})("mouseout",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.toggleHoverIcon(!1,"email_us"))}
1),e.DNE(2,re,2,4,"img",60),e.j41(3,"span",61),e.EFF(4),e.nI1(5,"translate"),e.k0s()()()}if(2&n){const t=e.XpG(2);e.R7$(2),e.Y8G("ngIf",t.areIconSourcesSet),e.R7$(2),e.JRh(e.bMT(5,2,"login.emailUs"))}}function Ke(n,d){if(1&n&&(e.nrm(0,"img",63),e.nI1(1,"translate")),2&n){const t=e.XpG(2);e.Y8G("src",t.logoutImgSource,e.B4B),e.BMQ("aria-label",e.bMT(1,2,"more.logout"))}}function Ge(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",3)(1,"div",4)(2,"ul",5)(3,"li",6)(4,"div",7),e.EFF(5),e.nI1(6,"translate"),e.j41(7,"p",8),e.EFF(8),e.k0s()()(),e.DNE(9,He,21,25,"ng-container",9),e.k0s()(),e.j41(10,"div",10)(11,"ul",5)(12,"li")(13,"a",11),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.goToHome())})("keydown.enter",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.goToHome())})("mouseover",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.toggleHoverIcon(!0,"home"))})("mouseout",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.toggleHoverIcon(!1,"home"))}),e.DNE(14,Ve,2,4,"img",12),e.j41(15,"span",13),e.EFF(16),e.nI1(17,"translate"),e.k0s()()(),e.DNE(18,wt,9,11,"li",14),e.nI1(19,"async"),e.j41(20,"li",15)(21,"a",16),e.nI1(22,"translate"),e.bIt("mouseover",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.toggleHoverIcon(!0,"profile"))})("mouseout",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.toggleHoverIcon(!1,"profile"))}),e.DNE(23,jt,2,4,"img",17),e.j41(24,"span",18),e.EFF(25),e.nI1(26,"translate"),e.k0s()()(),e.DNE(27,Ln,7,7,"li",9),e.nI1(28,"async"),e.DNE(29,mt,6,4,"li",9),e.nI1(30,"async"),e.j41(31,"li")(32,"a",19),e.bIt("keydown.enter",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.logout())})("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.logout())}),e.DNE(33,Ke,2,4,"img",20),e.j41(34,"span",21),e.EFF(35),e.nI1(36,"translate"),e.k0s()()()()()()}if(2&n){const t=e.XpG();e.R7$(5),e.SpI(" ",e.bMT(6,16,"nav.hello")," "),e.R7$(3),e.JRh(null==t.userInfo?null:t.userInfo.firstName),e.R7$(),e.Y8G("ngIf",t.isWob&&t.areIconSourcesSet),e.R7$(5),e.Y8G("ngIf",t.areIconSourcesSet),e.R7$(2),e.JRh(e.bMT(17,18,"nav.mainDashboard")),e.R7$(2),e.Y8G("ngIf",null===e.bMT(19,20,t.userService.portalPermission$)),e.R7$(2),e.Y8G("ngClass",t.getStyleClass()),e.R7$(),e.FS9("title",e.bMT(22,22,"header.profile.title")),e.FS9("tabindex","inactive"===t.getStyleClass()?-1:0),e.Y8G("queryParams",e.lJ4(32,Ne)),e.R7$(2),e.Y8G("ngIf",t.areIconSourcesSet),e.R7$(2),e.JRh(e.bMT(26,24,"more.profile")),e.R7$(2),e.Y8G("ngIf",null===e.bMT(28,26,t.userService.portalPermission$)),e.R7$(2),e.Y8G("ngIf",null===e.bMT(30,28,t.userService.portalPermission$)),e.R7$(4),e.Y8G("ngIf",t.areIconSourcesSet),e.R7$(2),e.JRh(e.bMT(36,30,"more.logout"))}}function Ee(n,d){if(1&n){const t=e.RV6();e.j41(0,"li",6)(1,"a",66),e.nI1(2,"translate"),e.bIt("keydown.enter",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.navigateToLoginPage())})("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.navigateToLoginPage())}),e.EFF(3),e.nI1(4,"translate"),e.k0s()()}2&n&&(e.R7$(),e.FS9("title",e.bMT(2,2,"goToLogin")),e.R7$(2),e.SpI(" ",e.bMT(4,4,"log.in")," "))}function qe(n,d){if(1&n&&(e.j41(0,"div",64)(1,"div",4)(2,"ul",5),e.DNE(3,Ee,5,6,"li",65),e.k0s()()()),2&n){const t=e.XpG();e.R7$(3),e.Y8G("ngIf",!t.isOnLoginPage)}}let bt=(()=>{class n{constructor(t,i,r,u,v,V){this.router=t,this.userService=i,this.logoutService=r,this.translate=u,this.domainConfigService=v,this.modalService=V}ngOnInit(){this.userService.isWob.subscribe(t=>{this.isWob=t,this.isWob?(this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)),this.onBehalfFirstName=this.userInfo.onBehalfFirstName,this.onBehalfLastName=this.userInfo.onBehalfLastName,this.showWobProfileLink=this.userInfo.userPrivilege.superUser||this.userInfo.webEmployerContact&&(this.userInfo.userPrivilege.allowMgrViewEmployeeProfileInfoOnBhfEmp||this.userInfo.userPrivilege.allowMgrEditEmployeeContactInfoOnBhfEmp),this.showWobLetters=this.userInfo.userPrivilege.superUser||this.userInfo.webEmployerContact&&this.userInfo.userPrivilege.allowLoggedUserViewLetterAttachments,"en_US"!==this.translate.currentLang&&(this.isSpanish=!0),this.setWobLettersIconSrc()):this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO))}),this.domainResourcePath=se.z.getBaseResourcePath(),this.areIconSourcesSet=!1,this.navigationSubscription=this.router.events.pipe((0,ye.p)(t=>t instanceof q.wF),(0,Se.Z)(new q.wF(0,this.router.url,this.router.url))).subscribe(t=>{this.setIcons(),this.areIconSourcesSet=!0,this.isOnLoginPage="/login"===t.urlAfterRedirects.split("?")[0]})}ngOnDestroy(){this.navigationSubscription&&this.navigationSubscription.unsubscribe()}setIcons(){this.homeImgSource=this.domainResourcePath+"/gfx/navIcons/home.svg",this.faqsImgSource=this.domainResourcePath+"/gfx/navIcons/faqs.svg",this.emailUsImgSource=this.domainResourcePath+"/gfx/navIcons/email_us.svg",this.logoutImgSource=this.domainResourcePath+"/gfx/navIcons/logout.svg",this.setLettersIconSrc(),this.setProfileIconSrc(),this.wobSearchImgSource=this.domainResourcePath+"/gfx/navIcons/search.svg",this.wobHomeImgSource=this.domainResourcePath+"/gfx/navIcons/home.svg",this.setWobLettersIconSrc(),this.wobProfileImgSource=this.domainResourcePath+"/gfx/navIcons/profile.svg",this.exitWobImgSource=this.domainResourcePath+"/gfx/navIcons/exit.svg"}toggleHoverIcon(t,i){"home"===i?this.homeImgSource=t?this.domainResourcePath+"/gfx/navIcons/home_hover.svg":this.domainResourcePath+"/gfx/navIcons/home.svg":"letters"===i?t?this.lettersImgSource=this.domainResourcePath+"/gfx/navIcons/letters_hover.svg":this.setLettersIconSrc():"profile"===i?t?this.profileImgSource=this.domainResourcePath+"/gfx/navIcons/profile_hover.svg":this.setProfileIconSrc():"faqs"===i?this.faqsImgSource=t?this.domainResourcePath+"/gfx/navIcons/faqs_hover.svg":this.domainResourcePath+"/gfx/navIcons/faqs.svg":"email_us"===i?this.emailUsImgSource=t?this.domainResourcePath+"/gfx/navIcons/email_us_hover.svg":this.domainResourcePath+"/gfx/navIcons/email_us.svg":"home_wob"===i?this.wobHomeImgSource=t?this.domainResourcePath+"/gfx/navIcons/home_hover.svg":this.domainResourcePath+"/gfx/navIcons/home.svg":"letters_wob"===i?t?this.wobLettersImgSource=this.domainResourcePath+"/gfx/navIcons/letters_hover.svg":this.setWobLettersIconSrc():"profile_wob"===i&&(this.wobProfileImgSource=t?this.domainResourcePath+"/gfx/navIcons/profile_hover.svg":this.domainResourcePath+"/gfx/navIcons/profile.svg")}setLettersIconSrc(){this.lettersImgSource="inactive"===this.getStyleClass()?this.domainResourcePath+"/gfx/navIcons/letters_disabled.svg":this.domainResourcePath+"/gfx/navIcons/letters.svg"}setProfileIconSrc(){this.profileImgSource="inactive"===this.getStyleClass()?this.domainResourcePath+"/gfx/navIcons/profile_disabled.svg":this.domainResourcePath+"/gfx/navIcons/profile.svg"}setWobLettersIconSrc(){this.isWob&&(this.wobLettersImgSource=this.domainResourcePath+"/gfx/navIcons/letters.svg")}onScroll(){this.navbarFixed=window.scrollY>100}logout(){B.T.processBeforeLogout(this.router,this.modalService,this.logoutService,this.userService)}goToHome(){B.T.processBeforeGoToHome(this.router,this.userService,this.modalService)}getStyleClass(){return 1==this.isWob?"inactive":this.getNewLetterStyleClass()}getNewLetterStyleClass(){return this.hasNewLetterDocument()?"userActiveLetter":""}getBkGrndStyleClass(){return 1==this.isWob?"topNavBehalfOf":""}hasNewLetterDocument(){const t=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO));return t?.hasNewLetters||t?.hasNewDocuments}getWobLetterIcon(){return this.hasNewLetterDocument()?this.domainResourcePath+"/gfx/noti_imp_icon_g.png":this.domainResourcePath+"/gfx/noti_imp_icon_bk.png"}getTitleByFeature(t){return"dashboard"===t?this.translate.instant("nav.dashboard",{value:this.onBehalfFirstName+" "+this.onBehalfLastName}):"letters"===t?this.translate.instant("nav.letters",{value:this.onBehalfFirstName+" "+this.onBehalfLastName}):"profile"===t?this.translate.instant("nav.accountSettings",{value:this.onBehalfFirstName+" "+this.onBehalfLastName}):void 0}getNavBarClass(){return this.navbarFixed?"navBarFixed":"navBarNotFixed"}isBaseDomain(){return this.domainConfigService.isBaseDomain}navigateToLoginPage(){this.userInfo?this.logout():this.router.navigate(["login"])}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(q.Ix),e.rXU(M.DL),e.rXU(M.k4),e.rXU(Y.c$),e.rXU(xe.K),e.rXU(G.Bq))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-navigation"]],hostBindings:function(i,r){1&i&&e.bIt("scroll",function(v){return r.onScroll(v)},!1,e.tSv)},inputs:{publicFAQ:"publicFAQ"},decls:5,vars:9,consts:[["loginNavigationTemplate",""],["id","topNav","role","navigation",1,"customHover",3,"ngClass"],["class","container","id","navItem",4,"ngIf","ngIfElse"],["id","navItem",1,"container"],[1,"leftMenu"],["id","navMe
1nu"],[1,"noHover"],["id","greetignMsg",1,"clicker","redesignFont"],[1,"usernameDisplay"],[4,"ngIf"],[1,"rightMenu"],["role","button","tabindex","0","id","accHomeLink",3,"click","keydown.enter","mouseover","mouseout"],["id","baseSiteHomeIcon","alt","","class","icon-size",3,"src",4,"ngIf"],["id","accHomeText",1,"offScreen"],[3,"ngClass",4,"ngIf"],[3,"ngClass"],["role","button","routerLink","/profile","id","headerProfileLink",3,"mouseover","mouseout","queryParams","title","tabindex"],["id","baseSiteProfileIcon","alt","","class","icon-size",3,"src",4,"ngIf"],["id","profileText",1,"offScreen"],["role","button","tabindex","0","id","headerLogoutLink",3,"keydown.enter","click"],["id","baseSiteLogoutIcon","alt","","class","icon-size",3,"src",4,"ngIf"],["id","logoutText",1,"offScreen"],[1,"impSpacer"],["id","wobLabel",1,"impContainer","impCLeft","noHover","wob-label-redesign"],[1,"wob-label"],["class","impContainer noHover impContainerRedesign impCCenter",4,"ngIf"],[1,"impContainer","noHover","impContainerRedesign",3,"ngClass"],["routerLink","/absences","id","wobDashboardLink",3,"mouseover","mouseout"],["id","baseSiteWobHomeIcon","alt","","class","icon-size wob-icons",3,"src",4,"ngIf"],["class","impContainer impCCenter noHover impContainerRedesign",4,"ngIf"],[1,"impContainer","impCRight","noHover","impContainerRedesign"],["tabindex","0","id","wobEndLink",3,"click","keydown.enter"],["id","baseSiteExitWobIcon","alt","","class","exit-wob-icon-size wob-icons",3,"src",4,"ngIf"],[1,"impContainer","noHover","impContainerRedesign","impCCenter"],["routerLink","/workOnBehalf","id","wobnewUserLink"],["id","baseSiteWobSearchIcon","alt","","class","icon-size wob-icons",3,"src",4,"ngIf"],["id","baseSiteWobSearchIcon","alt","",1,"icon-size","wob-icons",3,"src"],["id","baseSiteWobHomeIcon","alt","",1,"icon-size","wob-icons",3,"src"],[1,"impContainer","impCCenter","noHover","impContainerRedesign"],["routerLink","/viewLetters","id","wobLettersLink",3,"mouseover","mouseout"],[1,"letter-icon-wrap"],["id","baseSiteWobLettersIcon","alt","","class","icon-size wob-icons",3,"src",4,"ngIf"],["class","new-letter-badge","alt","",3,"src",4,"ngIf"],["id","baseSiteWobLettersIcon","alt","",1,"icon-size","wob-icons",3,"src"],["alt","",1,"new-letter-badge",3,"src"],["role","button","routerLink","/profile","id","wobProfileLink",3,"mouseover","mouseout","queryParams"],["id","baseSiteWobProfileIcon","alt","","class","icon-size wob-icons",3,"src",4,"ngIf"],["id","baseSiteWobProfileIcon","alt","",1,"icon-size","wob-icons",3,"src"],["id","baseSiteExitWobIcon","alt","",1,"exit-wob-icon-size","wob-icons",3,"src"],["id","baseSiteHomeIcon","alt","",1,"icon-size",3,"src"],["role","button","routerLink","/viewLetters","id","headerLettersLink",3,"mouseover","mouseout","ngClass","tabindex","title"],["id","baseSiteLettersIcon","alt","","class","icon-size",3,"src",4,"ngIf"],["id","lettersText",1,"offScreen"],["id","baseSiteLettersIcon","alt","",1,"icon-size",3,"src"],["id","baseSiteProfileIcon","alt","",1,"icon-size",3,"src"],["role","button","routerLink","/faqs","id","headerFaqLink",3,"mouseover","mouseout","title"],["id","baseSiteFaqsIcon","alt","","class","icon-size",3,"src",4,"ngIf"],["id","faqText",1,"offScreen"],["id","baseSiteFaqsIcon","alt","",1,"icon-size",3,"src"],["role","button","routerLink","/contactUs","id","headerEmailUsLink",3,"mouseover","mouseout"],["id","baseSiteEmailUsIcon","alt","","class","icon-size",3,"src",4,"ngIf"],["id","emailUsText",1,"offScreen"],["id","baseSiteEmailUsIcon","alt","",1,"icon-size",3,"src"],["id","baseSiteLogoutIcon","alt","",1,"icon-size",3,"src"],["id","navItem",1,"container","plainRestyled"],["class","noHover",4,"ngIf"],["tabindex","0",1,"redesignFont",3,"keydown.enter","click","title"]],template:function(i,r){if(1&i&&(e.j41(0,"nav",1),e.nI1(1,"translate"),e.DNE(2,Ge,37,33,"div",2)(3,qe,4,1,"ng-template",null,0,e.C5r),e.k0s()),2&i){const u=e.sdS(4);e.Y8G("ngClass",e.l_i(6,X,r.getBkGrndStyleClass(),r.getNavBarClass())),e.BMQ("aria-label",e.bMT(1,4,"nav.primaryMenu")),e.R7$(2),e.Y8G("ngIf",!r.publicFAQ&&(null==r.userInfo?null:r.userInfo.completelyLoggedIn))("ngIfElse",u)}},dependencies:[ie.YU,ie.bT,q.Wk,ie.Jj,Y.D9],styles:[".usernameDisplay[_ngcontent-%COMP%]{font-weight:bolder}
1#wobLabel[_ngcontent-%COMP%]{font: lighter 17px/25px Aptos Light,sans-serif;text-align:center;width:auto}.plainRestyled[_ngcontent-%COMP%]{padding:0 17px!important;ul#navMenu li>a{color:#070f36!important;font:lighter 12px/18px Aptos Light,sans-serif!important}nav ul#actions li a,nav ul#navMenu li .clicker,nav ul#navMenu li>a{color:#fff!important;height:52px!important}}.letter-icon-wrap[_ngcontent-%COMP%]{position:relative;display:inline-block;line-height:0}.new-letter-badge[_ngcontent-%COMP%]{position:absolute;top:0;right:0;transform:translate(35%,-35%);width:14px;height:14px;pointer-events:none}"]})}}return n})();const Je=(n,d)=>[n,d];function pt(n,d){if(1&n&&e.nrm(0,"img",15),2&n){const t=e.XpG(2);e.FCK("src","",t.domainResourcePath,"/",t.headerLogo,"",e.B4B)}}function Ft(n,d){if(1&n&&e.nrm(0,"img",16),2&n){const t=e.XpG(2);e.Mz_("src","",t.domainResourcePath,"/156310fmlaSource.png",e.B4B)}}function qt(n,d){if(1&n&&(e.qex(0),e.j41(1,"p",19)(2,"span",19),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.EFF(5),e.j41(6,"sup"),e.EFF(7,"\xae"),e.k0s()(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(3),e.JRh(e.bMT(4,2,"headerFooter.poweredBy")),e.R7$(2),e.SpI(" ",t.Constants.FMLASOURCE," ")}}function Wt(n,d){if(1&n&&(e.j41(0,"div",17),e.EFF(1),e.nrm(2,"div",18),e.DNE(3,qt,8,4,"ng-container",14),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",null==t.domainInfo||null==t.domainInfo.pageElementsNg?null:t.domainInfo.pageElementsNg.productName," "),e.R7$(2),e.Y8G("ngIf",4!==(null==t.domainInfo?null:t.domainInfo.domainId))}}function En(n,d){if(1&n&&(e.j41(0,"div",20),e.nrm(1,"img",21),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Mz_("src","",t.domainResourcePath,"/156310.png",e.B4B)}}function Sn(n,d){if(1&n&&(e.qex(0),e.nrm(1,"app-navigation",22),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("publicFAQ",t.publicFAQ)}}function Zt(n,d){if(1&n){const t=e.RV6();e.j41(0,"header",2)(1,"div",3)(2,"div",4)(3,"div",5)(4,"a",6),e.EFF(5,"Skip to Main Content"),e.k0s()(),e.j41(6,"div",7)(7,"div",8)(8,"a",9),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.goToHome())})("keydown.enter",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.goToHome())}),e.DNE(9,pt,1,3,"img",10)(10,Ft,1,2,"img",11),e.k0s()(),e.DNE(11,Wt,4,2,"div",12)(12,En,2,2,"div",13),e.k0s()()(),e.DNE(13,Sn,2,1,"ng-container",14),e.k0s()}if(2&n){const t=e.XpG();e.BMQ("aria-hidden",null==t.sideNav||null==t.sideNav.menu?null:t.sideNav.menu.visible)("inert",null!=t.sideNav&&null!=t.sideNav.menu&&t.sideNav.menu.visible?"":null),e.R7$(9),e.Y8G("ngIf",!t.isAdventHealth),e.R7$(),e.Y8G("ngIf",t.isAdventHealth),e.R7$(),e.Y8G("ngIf",(null==t.domainInfo||null==t.domainInfo.pageElementsNg?null:t.domainInfo.pageElementsNg.productName)!==t.Constants.ABSENCE_RESOURCES&&0===(null==t.domainInfo?null:t.domainInfo.customHeader)),e.R7$(),e.Y8G("ngIf",t.isAdventHealth),e.R7$(),e.Y8G("ngIf",!t.sectionDisplayForMultiplePages(e.l_i(7,Je,t.Constants.SSO_LOGOUT,t.Constants.SESSION_EXPIRED)))}}function An(n,d){if(1&n&&(e.j41(0,"div",23),e.nrm(1,"app-side-nav"),e.k0s()),2&n){const t=e.XpG();e.Y8G("ngClass",e.l_i(1,Je,t.getBkGrndStyleClass(),t.getNavBarClass()))}}let fi=(()=>{class n{constructor(t,i,r){this.router=t,this.userService=i,this.modalService=r,this.Constants=p.YM}ngOnInit(){this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)),this.isMobileApp=this.userInfo?.mobileAp
1p,this.isMobileApp||(this.domainResourcePath=se.z.getDomainResourcePath(this.headerLogo),this.headerLogo==p.YM.ABSENCE_RESOURCES?this.headerLogo="absenceResources.svg":this.headerLogo+=".png",this.userInfo?.wob&&this.userService.isWob.next(this.userInfo.wob),this.userService.isWob.subscribe(t=>{this.isWob=t}),this.domainInfo=JSON.parse(sessionStorage.getItem(p.YM.DOMAIN_INFO)),this.isAdventHealth=156310==this.userInfo?.accountId)}sectionDisplayFlag(t){const i=this.router.url;return t===p.YM.LOGIN?i.includes(p.YM.LOGIN)&&this.domainInfo?.pageElementsNg?.folderName===p.YM.ABSENCE_RESOURCES:i.includes(t)}sectionDisplayForMultiplePages(t){return t.some(i=>this.router.url.includes(i))}ngAfterViewInit(){this.isMobileApp||document.getElementById("skipLink").addEventListener("click",function(t){t.preventDefault();const i=document.getElementById("main");i.scrollTo({behavior:"smooth"}),i.focus()})}onScroll(){this.isMobileApp||(this.navbarFixed=window.scrollY>100)}getBkGrndStyleClass(){return 1==this.isWob?"topNavBehalfOf":""}goToHome(){B.T.processBeforeGoToHome(this.router,this.userService,this.modalService)}getNavBarClass(){return this.navbarFixed?"navBarFixed":"navBarNotFixed"}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(q.Ix),e.rXU(M.DL),e.rXU(G.Bq))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-header"]],viewQuery:function(i,r){if(1&i&&e.GBs(ct,5),2&i){let u;e.mGM(u=e.lsd())&&(r.sideNav=u.first)}},hostBindings:function(i,r){1&i&&e.bIt("scroll",function(v){return r.onScroll(v)},!1,e.tSv)},inputs:{headerLogo:"headerLogo",publicFAQ:"publicFAQ"},decls:2,vars:2,consts:[["class","Fixed","id","headerItem",4,"ngIf"],["id","mobileNav",3,"ngClass",4,"ngIf"],["id","headerItem",1,"Fixed"],[1,"container"],["id","banner"],["id","skiptocontent"],["href","#","id","skipLink"],[1,"row","partnerLogoRow"],[1,"col-lg-5","col-md-5","col-sm-5","col-xs-9","fmlaLogo"],["tabindex","0","id","logoLink","aria-label","Link to go back to home page",3,"click","keydown.enter"],["alt","","id","logoImg",3,"src",4,"ngIf"],["alt","","id","adventLogoImg",3,"src",4,"ngIf"],["class","col-lg-5 col-md-5 col-sm-5 headerCoBrand",4,"ngIf"],["class","col-lg-7 col-md-7 col-sm-7 hidden-xs adventistLogo",4,"ngIf"],[4,"ngIf"],["alt","","id","logoImg",3,"src"],["alt","","id","adventLogoImg",3,"src"],[1,"col-lg-5","col-md-5","col-sm-5","headerCoBrand"],[1,"clearFix"],[1,"poweredByText"],[1,"col-lg-7","col-md-7","col-sm-7","hidden-xs","adventistLogo"],["alt","Advent Health Logo",1,"adventistImg",3,"src"],[3,"publicFAQ"],["id","mobileNav",3,"ngClass"]],template:function(i,r){1&i&&e.DNE(0,Zt,14,10,"header",0)(1,An,2,4,"div",1),2&i&&(e.Y8G("ngIf",!r.sectionDisplayFlag(r.Constants.LOGIN)&&!r.isMobileApp),e.R7$(),e.Y8G("ngIf",!r.isMobileApp&&!r.publicFAQ&&!r.sectionDisplayFlag(r.Constants.SSO_LOGOUT)))},dependencies:[ie.YU,ie.bT,bt,ct,Y.D9],styles:["@media (forced-colors: active){#logoImg[_ngcontent-%COMP%], #adventLogoImg[_ngcontent-%COMP%], .adventistImg[_ngcontent-%COMP%]{filter:brightness(0) invert(1)!important}}#headerItem[_ngcontent-%COMP%]   #banner[_ngcontent-%COMP%]{height:auto;overflow:visible;padding:.5em 0;display:flex;flex-direction:column;justify-content:center}#headerItem[_ngcontent-%COMP%]     #topNav{border-top:0}"]})}}return n})();var Yt=I(773),Oi=I(9223),Yn=I(1626);let vi=(()=>{class n{constructor(t,i){this.http=t,this.codeCache=i}getUserSession(){return this.http.get(`${p.hP.userSession}`)}getCodeMap(t){return this.codeCache.getCodeMap(t)}getWpaConditions(){return this.http.get(`${p.hP.wpaConditions}`)}postIncompleteWpaRequestForm(t){return this.http.post(`${p.hP.saveIncompleteWpaRequestForm}`,t,{responseType:"text"})}getIncompleteWpaRequestForm(){return this.http.get(`${p.hP.getIncompleteWpaRequestForm}`)}postCompleteWpaRequestForm(t){return this.http.post(`${p.hP.workplaceAccommodation}`,t)}deleteWpaRequestForm(){return this.http.delete(`${p.hP.deleteWpaRequestForm}`)}downloadCopyOfRequest(t){return this.http.post(`${p.hP.downloadRequestPdfCopy}`,t,{responseType:"blob"})}updateCorrespondence(t){return this.http.put(`${p.hP.updateCorrespondence}`,t,{responseType:"text"})}updatePhoneNumbers(t,i){return this.http.put(`${p.hP.updatePhoneNumbers}/${i}`,t,{responseType:"text"})}updateAddress(t){return this.http.put(`${p.hP.updateAddress}`,t,{responseType:"text"})}updateEmailAddress(t){return this.http.put(`${p.hP.updateEmailAddress}`,t,{responseType:"text"})}clearSessionStorage(){sessionStorage.removeItem("step"),sessionStorage.removeItem("personalInfoDisclaimer"),sessionStorage.removeItem("updateType"),sessionStorage.removeItem("distributionPreferenceId"),sessionStorage.removeItem("hcpSkipped"),sessionStorage.removeItem("addFeatureEvent"),sessionStorage.removeItem("personalInfoLogged"),sessionStorage.removeItem("personalInfoChangeType"),sessionStorage.removeItem("isExitModalOpen"),this.deleteWpaRequestForm(
1).subscribe(null)}static{this.\u0275fac=function(i){return new(i||n)(e.KVO(Yn.Qq),e.KVO(Oi.r))}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var yi=I(6354),Dn=I(5786);const hs=n=>({portalPermission:n}),Pn=()=>({portalPermission:null}),mn=()=>({mapTypes:"CountriesMap,StatesMap,DistributionPreferencesMap"}),ji=()=>["/supportedBrowsers"],ti=()=>["/feedback"];function _n(n,d){1&n&&e.eu8(0)}function Bi(n,d){if(1&n&&(e.qex(0),e.DNE(1,_n,1,0,"ng-container",7),e.bVm()),2&n){const t=d.ngIf;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(2,hs,t))}}function Ai(n,d){1&n&&e.eu8(0)}function Yi(n,d){if(1&n&&e.DNE(0,Ai,1,0,"ng-container",7),2&n){e.XpG(2);const t=e.sdS(2);e.Y8G("ngTemplateOutlet",t)("ngTemplateOutletContext",e.lJ4(2,Pn))}}function Me(n,d){if(1&n&&(e.j41(0,"footer",5),e.DNE(1,Bi,2,4,"ng-container",6),e.nI1(2,"async"),e.DNE(3,Yi,1,3,"ng-template",null,1,e.C5r),e.k0s()),2&n){const t=e.sdS(4),i=e.XpG();e.R7$(),e.Y8G("ngIf",e.bMT(2,2,i.userService.portalPermission$))("ngIfElse",t)}}function Fe(n,d){if(1&n&&(e.qex(0),e.j41(1,"p"),e.EFF(2),e.nI1(3,"translate"),e.j41(4,"sup"),e.EFF(5,"\xae"),e.k0s()(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(2),e.E5c(" ",null==t.domainInfo||null==t.domainInfo.pageElementsNg?null:t.domainInfo.pageElementsNg.productName," - ",e.bMT(3,3,"headerFooter.poweredBy")," ",t.Constants.FMLASOURCE," ")}}function C(n,d){if(1&n&&(e.j41(0,"li")(1,"a",18)(2,"span",19),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"span",20),e.EFF(6),e.nI1(7,"translate"),e.k0s()()()),2&n){const t=e.XpG(3);e.R7$(),e.FS9("tabindex","inactiveLink"===t.getStyleClass()?-1:0),e.Y8G("ngClass",t.getStyleClass()),e.R7$(2),e.JRh(e.bMT(4,4,"footer.myNotification")),e.R7$(3),e.JRh(e.bMT(7,6,"viewLetters.title"))}}function U(n,d){1&n&&(e.j41(0,"li")(1,"a",21)(2,"span"),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"span",22),e.EFF(6),e.nI1(7,"translate"),e.k0s()()()),2&n&&(e.R7$(3),e.JRh(e.bMT(4,2,"footer.FAQ")),e.R7$(3),e.JRh(e.bMT(7,4,"footer.FAQ")))}function he(n,d){1&n&&(e.j41(0,"li")(1,"a",23)(2,"span"),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"span",24),e.EFF(6),e.nI1(7,"translate"),e.k0s()()()),2&n&&(e.R7$(3),e.JRh(e.bMT(4,2,"more.emailUs")),e.R7$(3),e.JRh(e.bMT(7,4,"more.emailUs")))}function Ue(n,d){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"ul",12)(2,"li")(3,"a",13),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.goToHome())})("keydown.enter",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.goToHome())}),e.EFF(4),e.nI1(5,"translate"),e.k0s()(),e.DNE(6,C,8,8,"li",8),e.j41(7,"li")(8,"a",14)(9,"span"),e.EFF(10),e.nI1(11,"translate"),e.k0s(),e.j41(12,"span",15),e.EFF(13),e.nI1(14,"translate"),e.k0s()()(),e.DNE(15,U,8,6,"li",8)(16,he,8,6,"li",8),e.j41(17,"li")(18,"a",16),e.nI1(19,"translate"),e.bIt("keydown.enter",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.logout())})("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.logout())}),e.j41(20,"span"),e.EFF(21),e.nI1(22,"translate"),e.k0s(),e.j41(23,"span",17),e.EFF(24),e.nI1(25,"translate"),e.k0s()()()(),e.bVm()}if(2&n){const t=e.XpG().portalPermission,i=e.XpG();e.R7$(4),e.SpI(" ",e.bMT(5,12,"myDashboard.title")," "),e.R7$(2),e.Y8G("ngIf",null===t),e.R7$(2),e.FS9("tabindex","inactiveLink"===i.getStyleClass()?-1:0),e.Y8G("queryParams",e.lJ4(24,mn))("ngClass",i.getStyleClass()),e.R7$(2),e.JRh(e.bMT(11,14,"footer.myProfile")),e.R7$(3),e.JRh(e.bMT(14,16,"more.profile")),e.R7$(2),e.Y8G("ngIf",null===t),e.R7$(),e.Y8G("ngIf",null===t),e.R7$(2),e.FS9("title",e.bMT(19,18,"more.logout")),e.R7$(3),e.JRh(e.bMT(22,20,"more.logout")),e.R7$(3),e.JRh(e.bMT(25,22,"more.logout"))}}function ht(n,d){1&n&&(e.j41(0,"li")(1,"a",28),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(),e.Y8G("routerLink",e.lJ4(4,ti)),e.R7$(),e.SpI(" ",e.bMT(3,2,"footer.feedback")," "))}function $t(n,d){if(1&n&&(e.j41(0,"ul",25),e.DNE(1,ht,4,5,"li",8),e.j41(2,"li")(3,"a",26),e.EFF(4),e.nI1(5,"translate"),e.k0s()(),e.j41(6,"li")(7,"a",27),e.EFF(8),e.nI1(9,"translate"),e.k0s()()()),2&n){const t=e.XpG().portalPermission,i=e.XpG();e.R7$(),e.Y8G("ngIf",!i.publicFAQ&&null===t),e.R7$(2),e.Y8G("routerLink",e.lJ4(8,ji)),e.R7$(),e.SpI(" ",e.bMT(5,4,"footer.supportedBrowsers")," "),e.R7$(4),e.SpI(" ",e.bMT(9,6,"login.termsOfUse")," ")}}function un(n,d){1&n&&e.nrm(0,"br")}function me(n,d){if(1&n&&(e.nrm(0,"p",30),e.nI1(1,"safeHtml")),2&n){const t=e.XpG(3);e.Y8G("innerHTML",e.bMT(1,1,null==t.domainInfo||null==t.domainInfo.pageElementsNg?null:t.domainInfo.pageElementsNg.footerText),e.npT)}}function jn(n,d){if(1&n&&(e.nrm(0,"p",32),e.nI1(1,"safeHtml")),2&n){const t=e.XpG(4);e.Y8G("innerHTML",e.bMT(1,1,null==t.domainInfo||null==t.domainInfo.pageElementsNg?null:t.domainInfo.pageElementsNg.footerText),e.npT)}}function pe(n,d){if(1&n&&e.DNE(0,jn,2,3,"p",31),2&n){const t=e.XpG(3);e.Y8G("ngIf",1===(null==t.domainInfo?null:t.domainInfo.customFooter))}}function Ye(n,d){if(1&n&&(e.qex(0),e.DNE(1,me,2,3,"p",29)(2,pe,1,1,"ng-template",null,3,e.C5r),e.bVm()),2&n){const t=e.sdS(3),i=e.XpG(2);e.R7$(),e.Y8G("ngIf",(null==i.domainInfo||null==i.domainInfo.pageElementsNg?null:i.domainInfo.pageElementsNg.productName)===i.Constants.ABSENCE_RESOURCES||0===(null==i.domainInfo?null:i.domainInfo.customFooter))("ngIfElse",t)}}function Vt(n,d){if(1&n&&(e.qex(0),e.nrm(1,"span",33),e.nI1(2,"safeHtml"),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("innerHTML",e.bMT(2,1,null==t.domainInfo||null==t.domainInfo.pageElementsNg?null:t.domainInfo.pageElementsNg.footerText),e.npT)}}function Xt(n,d){if(1&n&&e.DNE(0,Vt,3,3,"ng-container",8),2&n){const t=e.XpG(2);e.Y8G("ngIf",(null==t.domainInfo||null==t.domainInfo.pageElementsNg?null:t.domainInfo.pageElementsNg.productName)!==t.Constants.ABSENCE_RESOURCES||1===(null==t.domainInfo?null:t.domainInfo.customFooter))}}function Nn(n,d){if(1&n&&(e.DNE(0,Fe,6,5,"ng-container",8)(1,Ue,26,25,"ng-container",8),e.j41(2,"p",9),e.EFF(3),e.j41(4,"span"),e.EFF(5),e.nI1(6,"translate"),e.k0s()(),e.nrm(7,"div",10),e.DNE(8,$t,10,9,"ul",11),e.nI1(9,"async"),e.nrm(10,"div",10),e.DNE(11,un,1,0,"br",8)(12,Ye,4,2,"ng-container",6)(13,Xt,1,1,"ng-template",null,2,e.C5r)),2&n){const t=e.sdS(14),i=e.XpG();e.Y8G("ngIf","Sun Life Absence Management Services"==(null==i.domainInfo||null==i.domainInfo.pageElementsNg?null:i.domainInfo.pageElementsNg.productName)),e.R7$(),e.Y8G("ngIf",!i.publicFAQ),e.R7$(2),e.Lme(" Copyright \xa9 ",i.year," ",i.copyrightText,". "),e.R7$(2),e.JRh(e.bMT(6,9,"login.allRights")),e.R7$(3),e.Y8G("ngIf",!e.bMT(9,11,i.enableAdditionalFooterLinks$)),e.R7$(3),e.Y8G("ngIf",!i.publicFAQ),e.R7$(),e.Y8G("ngIf",!i.publicFAQ)("ngIfElse",t)}}let zt=(()=>{class n{constructor(t,i,r,u,v){this.router=t,this.modalService=i,this.logoutService=r,this.createRequestService=u,this.userService=v,this.Constants=p.YM}ngOnInit(){this.enableAdditionalFooterLinks$=this.router.events.pipe((0,ye.p)(t=>t instanceof q.wF),(0,yi.T)(t=>this.userService.enableAdditionalFooterLinks(t.urlAfterRedirects)),(0,Se.Z)(this.userService.enableAdditionalFooterLinks(this.router.url))),this.year=(new Date).getFullYear().toString(),this.copyrightText=p.YM.COPYRIGHT_TEXT,this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)),this.isMobileApp=this.userInfo?.mobileAp
1p,this.isMobileApp||(this.year=(new Date).getFullYear().toString(),this.copyrightText=p.YM.COPYRIGHT_TEXT,this.isAbsenceResourcesDomain=!se.z.isDomainBlockedFromRedesignUpdates(),this.publicFAQ||(this.userService.isWob.subscribe(t=>{this.isWob=t}),this.dashboard=this.userInfo?.userPrivilege?.mgrOrHR?"/mgr-dashboard":"/absences")),this.domainInfo=JSON.parse(sessionStorage.getItem(p.YM.DOMAIN_INFO))}getStyleClass(){return 1==this.isWob?"inactiveLink":""}get isAbsenceResourcesProduct(){return this.domainInfo?.pageElementsNg?.productName===p.YM.ABSENCE_RESOURCES}goToHome(){B.T.processBeforeGoToHome(this.router,this.userService,this.modalService)}logout(){B.T.processBeforeLogout(this.router,this.modalService,this.logoutService,this.userService)}navigateByPath(t){const i=()=>{this.router.url.includes("createRequest")&&this.createRequestService.clearSessionStorage(),window.location.href=t};B.T.confirmExitIfNeeded(this.router,this.modalService,i)||i()}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(q.Ix),e.rXU(G.Bq),e.rXU(M.k4),e.rXU(vi),e.rXU(M.DL))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-footer"]],inputs:{publicFAQ:"publicFAQ"},decls:3,vars:1,consts:[["footerContent",""],["noPortalPermission",""],["publicFAQFooter",""],["nonAbsenceResources",""],["id","footer",4,"ngIf"],["id","footer"],[4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngIf"],["id","copyrightTextFooter"],[1,"clearFix"],["class","bottomLinks",4,"ngIf"],["id","footMenuId",1,"footMenu"],["role","link","tabindex","0","id","dashboardLink",3,"click","keydown.enter"],["routerLink","/profile","id","footerProfileLink",3,"queryParams","ngClass","tabindex"],["id","footerProfileText",1,"offScreen"],["role","button","tabindex","0","id","footerLogoutLink",3,"keydown.enter","click","title"],["id","footerLogoutText",1,"offScreen"],["routerLink","/viewLetters","id","myNotificationLink",3,"ngClass","tabindex"],["id","navLetter","id","myNotificationText"],["id","footerLettersText",1,"offScreen"],["routerLink","/faqs","id","footerFaqLink"],["id","footerFaqText",1,"offScreen"],["routerLink","/contactUs","id","footerEmailUsLink"],["id","footerEmailUsText",1,"offScreen"],[1,"bottomLinks"],["id","footerBrowserLink",3,"routerLink"],["id","footerTermsLink","routerLink","/termsUse"],["id","footerFeedbackLink",3,"routerLink"],["id","companyFooterText",3,"innerHTML",4,"ngIf","ngIfElse"],["id","companyFooterText",3,"innerHTML"],[3,"innerHTML",4,"ngIf"],[3,"innerHTML"],[1,"customised-footer",3,"innerHTML"]],template:function(i,r){1&i&&e.DNE(0,Me,5,4,"footer",4)(1,Nn,15,13,"ng-template",null,0,e.C5r),2&i&&e.Y8G("ngIf",!r.isMobileApp)},dependencies:[ie.YU,ie.bT,ie.T3,q.Wk,ie.Jj,Y.D9,Dn.$]})}}return n})();var rn=I(4523),ni=I(7247),ss=I(2578),on=I(7586),ge=I(1798);const $n=(n,d)=>({"requestId-filter-label-eng":n,"requestId-filter-label-spn":d}),Dr=(n,d)=>({"requestId-filter-select":n,"requestId-filter-select-spn":d}),ar=n=>({"disabled-download-button":n}),to=n=>({"type-filter":n}),Eo=(n,d)=>({documentTypeName:n,documentName:d}),Ci=n=>({documentName:n});function Fs(n,d){if(1&n&&(e.j41(0,"h1")(1,"span",28),e.EFF(2),e.nI1(3,"translate"),e.j41(4,"span",29),e.EFF(5),e.k0s()()()),2&n){const t=e.XpG();e.R7$(2),e.SpI(" ",e.bMT(3,4,"workingAs")," "),e.R7$(3),e.E5c(" ",t.userInfo.onBehalfFirstName," ",t.userInfo.onBehalfLastName," (",t.userInfo.onBehalfEmplNumber,") ")}}function Cr(n,d){1&n&&(e.j41(0,"h1",30),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"viewDocumentation.title")," "))}function Be(n,d){1&n&&(e.j41(0,"h1",31),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"viewLetters.title")," "))}function Qe(n,d){1&n&&(e.qex(0),e.j41(1,"span",32),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"a",33),e.EFF(5),e.nI1(6,"translate"),e.k0s(),e.j41(7,"span",34),e.EFF(8),e.nI1(9,"translate"),e.k0s(),e.bVm()),2&n&&(e.R7$(2),e.SpI("",e.bMT(3,3,"viewDocumentation.disclaimer1")," "),e.R7$(3),e.JRh(e.bMT(6,5,"viewDocumentation.disclaimer2")),e.R7$(3),e.SpI(" ",e.bMT(9,7,"viewDocumentation.disclaimer3"),""))}function tt(n,d){1&n&&(e.j41(0,"span",35),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.JRh(e.bMT(2,1,"viewLetters.disclaimer")))}function Nt(n,d){1&n&&(e.j41(0,"div",36)(1,"div",37),e.EFF(2,"\u24d8"),e.k0s(),e.j41(3,"div",38),e.EFF(4),e.nI1(5,"translate"),e.k0s()()),2&n&&(e.R7$(4),e.SpI(" ",e.bMT(5,1,"viewDocumentation.redaction.importantNoteText")," "))}function Mt(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",39),e.EFF(1),e.nI1(2,"translate"),e.j41(3,"button",40),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.redactionMessage=null)}),e.EFF(4,"\xd7"),e.k0s()()}if(2&n){const t=e.XpG();e.HbH("success"===t.redactionMessage.type?"redaction-success-message":"redaction-error-message"),e.Y8G("id","success"===t.redactionMessage.type?"redactionSuccess":"redactionError"),e.R7$(),e.SpI(" ",e.bMT(2,4,t.redactionMessage.text)," ")}}function nn(n,d){if(1&n){const t=e.RV6();e.j41(0,"td",41)(1,"button",42),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.isWob?r.downloadDocumentsWob():r.downloadDocuments())}),e.EFF(2),e.nI1(3,"translate"),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(),e.Y8G("disabled",0===t.getCheckedSize())("ngClass",e.eq3(6,ar,0===t.getCheckedSize())),e.R7$(),e.Lme("",e.bMT(3,4,"viewLetters.downloadSelectedRows"),"",t.getCheckedSize(),")")}}function sn(n,d){if(1&n){const t=e.RV6();e.j41(0,"td",43)(1,"label",44),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"select",45),e.mxI("ngModelChange",function(r){e.eBV(t);const u=e.XpG();return e.DH7(u.typeFilter,r)||(u.typeFilter=r),e.Njj(r)}),e.bIt("change",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.filterResults())}),e.j41(5,"option",25),e.EFF(6),e.nI1(7,"translate"),e.k0s(),e.j41(8,"option",25),e.EFF(9),e.nI1(10,"translate"),e.k0s(),e.j41(11,"option",25),e.EFF(12),e.nI1(13,"translate"),e.k0s()()()}if(2&n){const t=e.XpG();e.Y8G("ngClass",e.eq3(17,to,0===t.localeId)),e.R7$(2),e.JRh(e.bMT(3,9,"viewLetters.filterByType")),e.R7$(2),e.R50("ngModel",t.typeFilter),e.R7$(),e.Y8G("value",t.constants.SHOW_ALL),e.R7$(),e.JRh(e.bMT(7,11,"all")),e.R7$(2),e.Y8G("value",t.constants.DOCUMENTATION_TYPE),e.R7$(),e.JRh(e.bMT(10,13,"viewDocumentation.documentation")),e.R7$(2),e.Y8G("value",t.constants.LETTER_TYPE),e.R7$(),e.JRh(e.bMT(13,15,"viewDocumentation.letterTitle"))}}function Wn(n,d){if(1&n&&(e.j41(0,"option",25),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n){const t=e.XpG();e.Y8G("value",t.constants.SHOW_NONE),e.R7$(),e.JRh(e.bMT(2,2,"none"))}}function Cn(n,d){if(1&n&&(e.j41(0,"option",25),e.EFF(1),e.k0s()),2&n){const t=d.$implicit;e.Y8G("value",t.value),e.R7$(),e.JRh(t.value)}}function mi(n,d){if(1&n){const t=e.RV6();e.j41(0,"th",57)(1,"input",58),e.nI1(2,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.setAreAllCheckboxesSelected())}),e.k0s(),e.EFF(3),e.nI1(4,"translate"),e.k0s()}if(2&n){const t=e.XpG(2);e.R7$(),e.Y8G("checked",t.areAllCheckboxesSelected),e.BMQ("aria-label",e.bMT(2,3,"ariaLabel.selectAllLettersAndDocs")),e.R7$(2),e.SpI(" ",e.bMT(4,5,"selectAll")," ")}}function Es(n,d){1&n&&(e.j41(0,"th",59),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.JRh(e.bMT(2,1,"viewDocumentation.readyForDownload")))}function bi(n,d){if(1&n){const t=e.RV6();e.j41(0,"td",70)(1,"input",71),e.nI1(2,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2).$implicit,u=e.XpG(3);return e.Njj(u.toggleSingleCheckbox(r))}),e.k0s()()}if(2&n){const t=e.XpG(2).$implicit,i=e.XpG(3);e.R7$(),e.Mz_("id","checkbox-",t.documentId,""),e.Y8G("checked",t.isChecked)("disabled",!i.isCheckboxEnabled(t)),e.BMQ("aria-label",e.i5U(2,5,"ariaLabel.select",e.l_i(8,Eo,t.documentTypeName,t.documentName)))}}function rs(n,d){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.documentName," ")}}function zs(n,d){if(1&n&&(e.j41(0,"a",72),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2).$implicit,i=e.XpG(3);e.Y8G("href",i.getLetterPdfUrl(t.documentId,!1),e.B4B),e.R7$(),e.SpI(" ",t.documentName," ")}}function us(n,d){if(1&n&&(e.j41(0,"a",77),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n){const t=e.XpG(4).$implicit,i=e.XpG(3);e.Y8G("href",i.getRedactedPreviewUrl(t),e.B4B),e.R7$(),e.SpI(" ",e.bMT(2,2,"viewDocumentation.redaction.download")," ")}}function Hn(n,d){1&n&&e.nrm(0,"span",80)}function gn(n,d){if(1&n){const t=e.RV6();e.j41(0,"button",78),e.bIt("click",function(){e.eBV(t);const r=e.XpG(4).$implicit,u=e.XpG(3);
1return e.Njj(u.processForDownload(r))}),e.DNE(1,Hn,1,0,"span",79),e.EFF(2),e.nI1(3,"translate"),e.k0s()}if(2&n){const t=e.XpG(4).$implicit;e.Y8G("disabled",t.redactionProcessing),e.R7$(),e.Y8G("ngIf",t.redactionProcessing),e.R7$(),e.SpI(" ",e.bMT(3,3,"viewDocumentation.redaction.processForDownload")," ")}}function xi(n,d){1&n&&(e.j41(0,"span",81),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"viewDocumentation.redaction.temporarilyUnavailable")," "))}function ps(n,d){if(1&n&&(e.qex(0),e.DNE(1,us,3,4,"a",74)(2,gn,4,5,"button",75)(3,xi,3,3,"span",76),e.bVm()),2&n){const t=e.XpG(3).$implicit,i=e.XpG(3);e.R7$(),e.Y8G("ngIf",i.isDownloadReady(t)),e.R7$(),e.Y8G("ngIf",i.needsProcessing(t)||t.redactionProcessing),e.R7$(),e.Y8G("ngIf",i.isLowConfidence(t))}}function Mi(n,d){if(1&n&&(e.j41(0,"td",73),e.DNE(1,ps,4,3,"ng-container",4),e.k0s()),2&n){const t=e.XpG(2).$implicit,i=e.XpG(3);e.R7$(),e.Y8G("ngIf",i.isDocumentationType(t))}}function Ni(n,d){if(1&n&&(e.j41(0,"span")(1,"a",72),e.EFF(2),e.k0s(),e.nrm(3,"br"),e.k0s()),2&n){const t=e.XpG().$implicit,i=e.XpG(5);e.R7$(),e.Y8G("href",i.getLetterPdfUrl(t.documentId,!0),e.B4B),e.R7$(),e.SpI(" ",t.documentName," ")}}function Ds(n,d){if(1&n&&(e.qex(0),e.DNE(1,Ni,4,2,"span",4),e.bVm()),2&n){const t=d.$implicit,i=e.XpG(5);e.R7$(),e.Y8G("ngIf",!t.employeeDistributionOnly||t.employeeDistributionOnly&&!i.isWob)}}function Gi(n,d){if(1&n&&(e.j41(0,"tr",62),e.DNE(1,bi,3,11,"td",63),e.j41(2,"td",64),e.EFF(3),e.nI1(4,"date"),e.k0s(),e.j41(5,"td",65),e.EFF(6),e.k0s(),e.j41(7,"td",66),e.EFF(8),e.k0s(),e.j41(9,"td",67),e.DNE(10,rs,2,1,"ng-container",12)(11,zs,2,2,"ng-template",null,3,e.C5r),e.k0s(),e.DNE(13,Mi,2,1,"td",68),e.j41(14,"td",69),e.DNE(15,Ds,2,1,"ng-container",60),e.k0s()()),2&n){const t=e.sdS(12),i=e.XpG().$implicit,r=e.XpG(3);e.R7$(),e.Y8G("ngIf",!r.isMobileContext),e.R7$(2),e.JRh(e.i5U(4,8,i.dateGenerated,"MM/dd/yyyy")),e.R7$(3),e.JRh(i.leaveRequestId?i.leaveRequestId:i.wpaId?i.wpaId:""),e.R7$(2),e.JRh(i.documentTypeName),e.R7$(2),e.Y8G("ngIf",r.isWob&&r.viewLetters.redactionRequired&&r.isDocumentationType(i))("ngIfElse",t),e.R7$(3),e.Y8G("ngIf",r.isWob&&r.viewLetters.redactionRequired),e.R7$(2),e.Y8G("ngForOf",i.attachments)}}function On(n,d){if(1&n&&(e.qex(0),e.DNE(1,Gi,16,11,"tr",61),e.bVm()),2&n){const t=d.$implicit;e.R7$(),e.Y8G("ngIf",t.includeInFilteredResults)}}function Xn(n,d){if(1&n&&(e.j41(0,"tbody"),e.DNE(1,On,2,1,"ng-container",60),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngForOf",t.lettersDisp)}}function ya(n,d){if(1&n&&(e.j41(0,"tr",84)(1,"td",85)(2,"span",86)(3,"strong"),e.EFF(4),e.nI1(5,"translate"),e.k0s()()()()),2&n){const t=e.XpG(3);e.R7$(),e.BMQ("colspan",(t.isWob&&t.viewLetters.redactionRequired?7:6)-(t.isMobileContext?1:0)),e.R7$(3),e.JRh(e.bMT(5,2,"viewDocumentation.noLetters"))}}function Zs(n,d){if(1&n&&(e.j41(0,"tfoot",82),e.DNE(1,ya,6,4,"tr",83),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",0==t.lettersDisp.length)}}function To(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",87)(1,"ngb-pagination",88),e.nI1(2,"translate"),e.mxI("pageChange",function(r){e.eBV(t);const u=e.XpG(2);return e.DH7(u.page,r)||(u.page=r),e.Njj(r)}),e.bIt("pageChange",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.refreshLetters(!1))}),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(),e.Y8G("collectionSize",t.getFilteredResultSize()),e.R50("page",t.page),e.Y8G("pageSize",t.pageSize)("maxSize",5)("rotate",!0)("ellipses",!1)("boundaryLinks",!0),e.BMQ("aria-label",e.bMT(2,8,"ariaLabel.documentsPagination"))}}function Io(n,d){if(1&n&&(e.qex(0),e.j41(1,"div",46)(2,"table",47)(3,"thead")(4,"tr",48),e.DNE(
15,mi,5,7,"th",49),e.j41(6,"th",50),e.EFF(7),e.nI1(8,"translate"),e.k0s(),e.j41(9,"th",51),e.EFF(10),e.nI1(11,"translate"),e.k0s(),e.j41(12,"th",52),e.EFF(13),e.nI1(14,"translate"),e.k0s(),e.j41(15,"th",53),e.EFF(16),e.nI1(17,"translate"),e.k0s(),e.DNE(18,Es,3,3,"th",54),e.j41(19,"th",55),e.EFF(20),e.nI1(21,"translate"),e.k0s()()(),e.DNE(22,Xn,2,1,"tbody",12)(23,Zs,2,1,"ng-template",null,2,e.C5r),e.k0s()(),e.DNE(25,To,3,10,"div",56),e.bVm()),2&n){const t=e.sdS(24),i=e.XpG();e.R7$(5),e.Y8G("ngIf",!i.isMobileContext),e.R7$(2),e.JRh(e.bMT(8,10,"viewDocumentation.date")),e.R7$(3),e.SpI(" ",e.bMT(11,12,"viewDocumentation.requestId")," "),e.R7$(3),e.JRh(e.bMT(14,14,"viewDocumentation.type")),e.R7$(3),e.JRh(e.bMT(17,16,"viewDocumentation.docTitle")),e.R7$(2),e.Y8G("ngIf",i.isWob&&i.viewLetters.redactionRequired),e.R7$(2),e.SpI("",e.bMT(21,18,"viewDocumentation.attachments")," "),e.R7$(2),e.Y8G("ngIf",i.lettersDisp.length>0)("ngIfElse",t),e.R7$(3),e.Y8G("ngIf",i.getFilteredResultSize()>i.pageSize)}}function Ea(n,d){if(1&n){const t=e.RV6();e.j41(0,"th",94)(1,"input",95),e.nI1(2,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.setAreAllCheckboxesSelected())}),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(),e.Y8G("checked",t.areAllCheckboxesSelected),e.BMQ("aria-label",e.bMT(2,2,"ariaLabel.selectAllLetters"))}}function Do(n,d){if(1&n){const t=e.RV6();e.j41(0,"td",101)(1,"input",102),e.nI1(2,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2).$implicit,u=e.XpG(3);return e.Njj(u.toggleSingleCheckbox(r))}),e.k0s()()}if(2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Mz_("id","checkbox-",t.documentId,""),e.Y8G("checked",t.isChecked),e.BMQ("aria-label",e.i5U(2,4,"ariaLabel.selectLetter",e.eq3(7,Ci,t.documentName)))}}function oi(n,d){if(1&n&&(e.j41(0,"span")(1,"a",72),e.EFF(2),e.k0s(),e.nrm(3,"br"),e.k0s()),2&n){const t=e.XpG().$implicit,i=e.XpG(5);e.R7$(),e.Y8G("href",i.getLetterPdfUrl(t.documentId,!0),e.B4B),e.R7$(),e.SpI(" ",t.documentName," ")}}function Yr(n,d){if(1&n&&(e.qex(0),e.DNE(1,oi,4,2,"span",4),e.bVm()),2&n){const t=d.$implicit,i=e.XpG(5);e.R7$(),e.Y8G("ngIf",!t.employeeDistributionOnly||t.employeeDistributionOnly&&!i.isWob)}}function $r(n,d){if(1&n&&(e.j41(0,"tr"),e.DNE(1,Do,3,9,"td",96),e.j41(2,"td",97),e.EFF(3),e.nI1(4,"date"),e.k0s(),e.j41(5,"td",98),e.EFF(6),e.k0s(),e.j41(7,"td",99)(8,"a",72),e.EFF(9),e.k0s()(),e.j41(10,"td",100),e.DNE(11,Yr,2,1,"ng-container",60),e.k0s()()),2&n){const t=e.XpG().$implicit,i=e.XpG(3);e.R7$(),e.Y8G("ngIf",!i.isMobileContext),e.R7$(2),e.JRh(e.i5U(4,6,t.dateGenerated,"MM/dd/yyyy")),e.R7$(3),e.JRh(t.leaveRequestId),e.R7$(2),e.Y8G("href",i.getLetterPdfUrl(t.documentId,!1),e.B4B),e.R7$(),e.SpI(" ",t.documentName," "),e.R7$(2),e.Y8G("ngForOf",t.attachments)}}function ks(n,d){if(1&n&&(e.qex(0),e.DNE(1,$r,12,9,"tr",4),e.bVm()),2&n){const t=d.$implicit;e.R7$(),e.Y8G("ngIf",t.includeInFilteredResults)}}function Ta(n,d){if(1&n&&(e.j41(0,"tbody"),e.DNE(1,ks,2,1,"ng-container",60),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngForOf",t.lettersDisp)}}function Bo(n,d){if(1&n&&(e.j41(0,"tr",84)(1,"td",85)(2,"span",86)(3,"strong"),e.EFF(4),e.nI1(5,"translate"),e.k0s()()()()),2&n){const t=e.XpG(3);e.R7$(),e.BMQ("colspan",t.isMobileContext?4:5),e.R7$(3),e.JRh(e.bMT(5,2,"viewLetters.noLetters"))}}function Yo(n,d){if(1&n&&(e.j41(0,"tfoot",82),e.DNE(1,Bo,6,4,"tr",83),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",0==t.lettersDisp.length)}}function gr(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",87)(1,"ngb-pagination",103),e.nI1(2,"translate"),e.mxI("pageChange",function(r){e.eBV(t);const u=e.XpG(2);return e.DH7(u.page,r)||(u.page=r),e.Njj(r)}),e.bIt("pageChange",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.refreshLetters(!1))}),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(),e.Y8G("collectionSize",t.getFilteredResultSize()),e.R50("page",t.page),e.Y8G("pageSize",t.pageSize)("maxSize",5)("rotate",!0)("ellipses",!1)("boundaryLinks",!0),e.BMQ("aria-label",e.bMT(2,8,"ariaLabel.documentsPagination"))}}function Co(n,d){if(1&n&&(e.j41(0,"table",47)(1,"thead")(2,"tr",48),e.DNE(3,Ea,3,4,"th",89),e.j41(4,"th",90),e.EFF(5),e.nI1(6,"translate"),e.k0s(),e.j41(7,"th",91),e.EFF(8),e.nI1(9,"translate"),e.k0s(),e.j41(10,"th",92),e.EFF(11),e.nI1(12,"translate"),e.k0s(),e.j41(13,"th",93),e.EFF(14),e.nI1(15,"translate"),e.k0s()()(),e.DNE(16,Ta,2,1,"tbody",12)(17,Yo,2,1,"ng-template",null,2,e.C5r),e.k0s(),e.DNE(19,gr,3,10,"div",56)),2&n){const t=e.sdS(18),i=e.XpG();e.R7$(3),e.Y8G("ngIf",!i.isMobileContext),e.R7$(2),e.JRh(e.bMT(6,8,"viewLetters.date")),e.R7$(3),e.JRh(e.bMT(9,10,"viewLetters.requestId")),e.R7$(3),e.JRh(e.bMT(12,12,"viewLetters.letterTitle")),e.R7$(3),e.JRh(e.bMT(15,14,"viewLetters.attachments")),e.R7$(2),e.Y8G("ngIf",i.lettersDisp.length>0)("ngIfElse",t),e.R7$(3),e.Y8G("ngIf",i.getFilteredResultSize()>i.pageSize)}}let Nr=(()=>{class n{constructor(t,i,r,u,v){this.activatedRoute=t,this.eventService=i,this.userService=r,this.letterService=u,this.windowService=v,this.typeFilter=p.YM.SHOW_ALL,this.requestIdFilter=p.YM.SHOW_ALL,this.page=1,this.pageSize=10,this.areAllCheckboxesSelected=!1,this.constants=p.YM,this.redactionMessage=null,this.webViewToken=null}
1get isMobileContext(){return!!this.userInfo?.mobileApp||this.windowService.isMobileDevice}ngOnInit(){this.viewLetters=this.activatedRoute.snapshot.data.viewLetters,this.clearFilters(),this.userService.isWob.subscribe(t=>this.isWob=t),this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)),this.isMobileContext&&this.letterService.getWebViewToken().subscribe({next:t=>this.webViewToken=t?.token??null,error:()=>this.webViewToken=null}),this.isWob?(this.eventService.logEvent(p.sb.VIEW_LETTERS_PAGE,"Manager viewing Letters page for employee",this.userInfo.onBehalfEmplNumber),setTimeout(()=>{},20)):this.eventService.logEvent(p.sb.VIEW_LETTERS_PAGE,"User viewing Letters page for employee",null),this.localeId=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)).localeId,this.preFilterAdaFactSummaryDocuments(),this.activatedRoute.snapshot.queryParams.requestIdFilter&&(this.activatedRoute.queryParams.subscribe(t=>{this.requestIdFilter=Number(t.requestIdFilter)}),this.filterResults()),this.refreshLetters(!0)}refreshLetters(t){let i,r;t?(i=0,r=10,this.page=1):(i=(this.page-1)*this.pageSize,r=(this.page-1)*this.pageSize+this.pageSize),this.lettersDisp=[],this.viewLetters.letters&&(this.lettersDisp=this.viewLetters.letters.filter(u=>u.includeInFilteredResults).map((u,v)=>({leaveRequestId:v+1,...u})).slice(i,r))}sortLettersByRequestIdDescOrder(){const t=[];return this.viewLetters.letters.forEach(i=>{i.leaveRequestId&&!t.includes(i.leaveRequestId)?t.push(i.leaveRequestId):i.wpaId&&!t.includes(i.wpaId)&&t.push(i.wpaId)}),t.sort(function(i,r){return i-r}).reverse(),t}filterResults(){this.clearFilters(),this.requestIdFilter==p.YM.SHOW_ALL&&this.typeFilter==p.YM.SHOW_ALL?this.viewLetters.letters.forEach(t=>{t.includeInFilteredResults=!0}):this.requestIdFilter==p.YM.SHOW_ALL&&this.typeFilter!=p.YM.SHOW_ALL?this.viewLetters.letters.forEach(t=>{t.includeInFilteredResults=this.typeFilter==t.documentType}):this.requestIdFilter==p.YM.SHOW_NONE&&this.typeFilter==p.YM.SHOW_ALL?this.viewLetters.letters.forEach(t=>{t.includeInFilteredResults=!t.leaveRequestId&&!t.wpaId}):this.requestIdFilter==p.YM.SHOW_NONE&&this.typeFilter!=p.YM.SHOW_ALL?this.viewLetters.letters.forEach(t=>{t.includeInFilteredResults=!t.leaveRequestId&&!t.wpaId&&this.typeFilter==t.documentType}):this.requestIdFilter!=p.YM.SHOW_NONE&&this.requestIdFilter!=p.YM.SHOW_ALL&&this.typeFilter==p.YM.SHOW_ALL?this.viewLetters.letters.forEach(t=>{t.includeInFilteredResults=this.requestIdFilter==t.leaveRequestId||this.requestIdFilter==t.wpaId}):this.requestIdFilter!=p.YM.SHOW_NONE&&this.requestIdFilter!=p.YM.SHOW_ALL&&this.typeFilter!=p.YM.SHOW_ALL&&this.viewLetters.letters.forEach(t=>{t.includeInFilteredResults=(this.requestIdFilter==t.leaveRequestId||this.requestIdFilter==t.wpaId)&&this.typeFilter==t.documentType}),this.areAllCheckboxesSelected=!1,this.toggleEveryCheckbox(this.areAllCheckboxesSelected,!0)}getFilteredResultSize(){return this.viewLetters.letters.filter(t=>t.includeInFilteredResults).length}getCheckedSize(){return this.viewLetters.letters.filter(t=>t.isChecked).length}clearFilters(){this.viewLetters.letters.forEach(t=>{t.includeInFilteredResults=!0,t.isChecked=!1})}setAreAllCheckboxesSelected(){this.areAllCheckboxesSelected?(this.areAllCheckboxesSelected=!1,this.toggleEveryCheckbox(this.areAllCheckboxesSelected,!1)):(this.areAllCheckboxesSelected=!0,this.toggleEveryCheckbox(this.areAllCheckboxesSelected,!1))}toggleEveryCheckbox(t,i){this.viewLetters.letters.forEach(r=>{r.isChecked=!(!r.includeInFilteredResults||!this.isCheckboxEnabled(r))&&t}),this.refreshLetters(i)}toggleSingleCheckbox(t){t.isChecked=!t.isChecked,this.viewLetters.letters.find(i=>i.documentId==t.documentId).isChecked=t.isChecked,this.updateAreAllCheckboxesSelected()}updateAreAllCheckboxesSelected(){let t=0,i=0;this.viewLetters.letters.forEach(r=>{r.isChecked&&t++,r.includeInFilteredResults&&i++}),this.areAllCheckboxesSelected=t==i}doLettersWithNoRequestIdExist(){for(const t of this.viewLetters.letters)if(0==t.leaveRequestId&&0==t.wpaId)return!0;return!1}downloadDocuments(){var t=this;return(0,rn.A)(function*(){const i=[];
1if(t.viewLetters.letters.forEach(r=>{r.isChecked&&i.push(r.relativeFileLocation)}),!(i.length<1))if(1==i.length){const u=t.getFilePathAndName(i[0]);t.letterService.downloadAttachment(u.fileName,u.path,!0)}else if(i.length>1){const r=new ni;for(const u of i){const v=t.getFilePathAndName(u),V=yield t.letterService.getDownloadFilePromise(v.fileName,v.path,!0),Ce=new Blob([V],{type:V.type});r.file(v.fileName,Ce)}r.generateAsync({type:"blob"}).then(u=>(0,ss.saveAs)(u,"documents.zip"))}})()}getFilePathAndName(t){let i=-1;for(let r=t.length-1;r>=0;r--)if("/"===t.at(r)){i=r;break}return{path:t.slice(0,i+1),fileName:t.slice(i+1,t.length)}}preFilterAdaFactSummaryDocuments(){const t=[];if(this.isWob&&this.userInfo.userPrivilege.allowViewFactSummary){const i=new Map,r=new Set;for(const u of this.viewLetters.letters)u.documentationType==p.YM.ACCOMMODATIONS_FACT_SUMMARY_DOCUMENT_ID&&(r.add(u.leaveRequestId),i.has(u.leaveRequestId)?i.get(u.leaveRequestId).push(u):i.set(u.leaveRequestId,[u]));if(!i||!r)return;this.removeNewestFactSummaryDocFromEachKey(r,i),this.setPreFilteredDocs(i,t),this.viewLetters.letters=t}}removeNewestFactSummaryDocFromEachKey(t,i){for(const r of t){let u=null;for(const v of i.get(r))(!u||on(v.dateGenerated).isAfter(u.dateGenerated))&&(u=v);i.set(r,i.get(r).filter(v=>v.documentId!=u.documentId))}}setPreFilteredDocs(t,i){const r=[];for(const[u,v]of t.entries())for(const V of v)r.push(V.documentId);for(const u of this.viewLetters.letters)r.includes(u.documentId)||i.push(u)}isDocumentationType(t){return t.documentType==p.YM.DOCUMENTATION_TYPE}isCheckboxEnabled(t){return!this.viewLetters.redactionRequired||!this.isDocumentationType(t)||t.redacted&&t.redactionConfidence===p.YM.REDACTION_CONFIDENCE_HIGH}isDownloadReady(t){return t.redacted&&t.redactionConfidence===p.YM.REDACTION_CONFIDENCE_HIGH}isLowConfidence(t){return t.redacted&&(t.redactionConfidence===p.YM.REDACTION_CONFIDENCE_LOW||t.redactionConfidence===p.YM.REDACTION_CONFIDENCE_MEDIUM)}needsProcessing(t){return!t.redacted&&!t.redactionProcessing}processForDownload(t){t.redactionProcessing=!0,this.redactionMessage=null,this.letterService.redactDocument(t.relativeFileLocation).subscribe({next:i=>{if(t.redactionProcessing=!1,i.success){const r=i.confidenceLabel||p.YM.REDACTION_CONFIDENCE_LOW;this.applyRedactionResult(t,i.outputPath,r),this.updateHasUnredactedDocuments(),this.redactionMessage=r===p.YM.REDACTION_CONFIDENCE_HIGH?{text:"viewDocumentation.redaction.successMessage",type:"success"}:{text:"viewDocumentation.redaction.preparingDocument",type:"error"}}else this.redactionMessage={text:"viewDocumentation.redaction.processingError",type:"error"}},error:()=>{t.redactionProcessing=!1,this.redactionMessage={text:"viewDocumentation.redaction.processingError",type:"error"}}})}applyRedactionResult(t,i,r){t.redacted=!0,t.redactionConfidence=r,t.redactedFilePath=i;const u=this.viewLetters.letters.find(v=>v.documentId===t.documentId);u&&(u.redacted=!0,u.redactionConfidence=r,u.redactedFilePath=i)}getRedactedPreviewUrl(t){const i=encodeURIComponent(t.relativeFileLocation),r=`${p.hP.downloadRedactedDocument}?relativePath=${i}`;return this.isMobileContext&&this.webViewToken?`${r}&TOKEN_COOKIE=${encodeURIComponent(this.webViewToken)}`:r}getLetterPdfUrl(t,i){const r=`/FMLAWeb/letterPdf?documentId=${t}&flag=${i}`;return this.isMobileContext&&this.webViewToken?`${r}&TOKEN_COOKIE=${encodeURIComponent(this.webViewToken)}`:r}updateHasUnredactedDocuments(){this.viewLetters.letters&&(this.viewLetters.hasUnredactedDocuments=this.viewLetters.letters.filter(t=>this.isDocumentationType(t)).some(t=>!t.redacted||t.redactionConfidence!==p.YM.REDACTION_CONFIDENCE_HIGH))}downloadDocumentsWob(){var t=this;return(0,rn.A)(function*(){const i=t.viewLetters.letters.filter(r=>r.isChecked);if(!(i.length<1))if(1===i.length){const r=i[0];if(t.isDocumentationType(r)&&t.isDownloadReady(r)){const u=t.getFilePathAndName(r.relativeFileLocation);t.letterService.downloadRedactedAttachmentAsFile(r.relativeFileLocation,u.fileName)}else{const u=t.getFilePathAndName(r.relativeFileLocation);t.letterService.downloadAttachment(u.fileName,u.path,!0)}}else{const r=new ni;for(const u of i){const v=t.getFilePathAndName(u.relativeFileLocation);if(t.isDocumentationType(u)&&t.isDownloadReady(u)){const V=yield t.letterService.getDownloadRedactedFilePromise(u.relativeFileLocation),Ce=new Blob([V],{type:V.type});r.file(v.fileName,Ce)}else{const V=yield t.letterService.getDownloadFilePromise(v.fileName,v.path,!0),Ce=new Blob([V],{type:V.type});r.file(v.fileName,Ce)}}r.generateAsync({type:"blob"}).then(u=>(0,ss.saveAs)(u,"documents.zip"))}})()}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(q.nX),e.rXU(M.US),e.rXU(M.DL),e.rXU(M.Zb),e.rXU(m.s7))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-view-letters"]],decls:39,vars:40,consts:[["viewLetterDiscl",""],["viewLettersTable",""],["noLetter",""],["normalDocLink",""],[4,"ngIf"],[1,"card"],[1,"row"],[1,"col-lg-6","col-md-6","col-sm-6","h1Row"],["id","docTitle","class","pageTitle",4,"ngIf"],["id","lettersTitle","class","pageTitle",4,"ngIf"],[1,"header"],[1,"introText","resetMargin","letters-header"],[4,"ngIf","ngIfElse"],["routerLink","/notificationHistory","id","viewNotificationHistLink",1,"underlineText"],["class","redaction-notice","id","redactionNotice",4,"ngIf"],[3,"class","id",4,"ngIf"],["id","downloadButtonAndFilters",1,"letter-filter-margin"],[1,"lettersTable"],[1,"mobileFilters"],["class","td-vertical-align-bottom",4,"ngIf"],[1,"absenceRequestFilters"],["class","filters",3,"ngClass",4,"ngIf"],["id","absenceResourceRequestIdFilter",1,"filters"],["for","requestIdFilterLettersAndDocs",1,"absence-filter-label",3,"ngClass"],["
1id","requestIdFilterLettersAndDocs",1,"absence-filter-select",3,"ngModelChange","change","ngClass","ngModel"],[3,"value"],[3,"value",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[1,"font-italic"],[1,"user-info-header"],["id","docTitle",1,"pageTitle"],["id","lettersTitle",1,"pageTitle"],["id","docDisclaimer1"],["id","docDisclaimer2","routerLink","/contactUs",1,"underlineText"],["id","docDisclaimer3"],["id","letterDisclaimer"],["id","redactionNotice",1,"redaction-notice"],[1,"redaction-notice-icon"],[1,"redaction-notice-text"],[3,"id"],[1,"redaction-dismiss-btn",3,"click"],[1,"td-vertical-align-bottom"],["id","downloadFilesButton",1,"download-rows","blueBtn","selectedRowsBtn",3,"click","disabled","ngClass"],[1,"filters",3,"ngClass"],["for","typeFilterForLettersAndDocs",1,"type-filter-label","absence-filter-label"],["id","typeFilterForLettersAndDocs",1,"type-filter-select","absence-filter-select",3,"ngModelChange","change","ngModel"],[1,"tableContainer"],[1,"rf-dt","dataTable"],[1,"rf-dt-shdr"],["scope","col","class","rf-dt-shdr-c table-background","id","letterAndDocSelectALlCheckbox",4,"ngIf"],["scope","col","id","letterDocDate",1,"rf-dt-shdr-c","table-background"],["scope","col","id","letterDocRequestId",1,"rf-dt-shdr-c","table-background"],["scope","col","id","letterDocType",1,"rf-dt-shdr-c","table-background"],["scope","col","id","letterDocTitle",1,"rf-dt-shdr-c","table-background"],["scope","col","class","rf-dt-shdr-c table-background","id","letterDocReadyForDownload",4,"ngIf"],["scope","col","id","letterDocAttachment",1,"rf-dt-shdr-c","table-background"],["class","d-flex justify-content-between p-2",4,"ngIf"],["scope","col","id","letterAndDocSelectALlCheckbox",1,"rf-dt-shdr-c","table-background"],["type","checkbox","value","","id","checkAllLettersAndDocs",1,"table-checkbox","table-checkbox-select-all",3,"click","checked"],["scope","col","id","letterDocReadyForDownload",1,"rf-dt-shdr-c","table-background"],[4,"ngFor","ngForOf"],["class","table-alternating-rows",4,"ngIf"],[1,"table-alternating-rows"],["id","letterAndDocCheckbox",4,"ngIf"],["id","lDocDate",1,"rf-dt-c"],["id","lDocRequestId",1,"rf-dt-c"],["id","lDocTypeName",1,"rf-dt-c"],["id","lDocName",1,"rf-dt-c"],["class","rf-dt-c","id","lDocReadyForDownload",4,"ngIf"],["id","lDocAttachment",1,"rf-dt-c"],["id","letterAndDocCheckbox"],["type","checkbox","value","",1,"table-checkbox",3,"click","checked","disabled","id"],["target","_blank",1,"table-link",3,"href"],["id","lDocReadyForDownload",1,"rf-dt-c"],["class","redaction-download-btn","target","_blank",3,"href",4,"ngIf"],["class","redaction-process-btn",3,"disabled","click",4,"ngIf"],["class","redaction-unavailable",4,"ngIf"],["target","_blank",1,"redaction-download-btn",3,"href"],[1,"redaction-process-btn",3,"click","disabled"],["class","spinner-border spinner-border-sm","role","status","aria-hidden","true",4,"ngIf"],["role","status","aria-hidden","true",1,"spinner-border","spinner-border-sm"],[1,"redaction-unavailable"],[1,"rf-dt-tft"],["class","rf-dt-ftr",4,"ngIf"],[1,"rf-dt-ftr"],[1,"rf-dt-ftr-c"],[1,"noTableText"],[1,"d-flex","justify-content-between","p-2"],["id","pageNumber",1,"letters-and-docs-pagination",3,"pageChange","collectionSize","page","pageSize","maxSize","rotate","ellipses","boundaryLinks"],["scope","col","id","letterSelectAllCheckbox",4,"ngIf"],["scope","col","id","letterDate",1,"rf-dt-shdr-c"],["scope","col","id","letterRequestId",1,"rf-dt-shdr-c"],["scope","col","id","letterType",1,"rf-dt-shdr-c"],["scope","col","id","letterAttachment",1,"rf-dt-shdr-c"],["scope","col","id","letterSelectAllCheckbox"],["type","checkbox","value","","id","checkAllLetters",1,"table-checkbox",3,"click","checked"],["id","letterCheckbox",4,"ngIf"],["id","lDate",1,"rf-dt-c"],["id","lRequestId",1,"rf-dt-c"],["id","docName",1,"rf-dt-c"],["id","attachment",1,"rf-dt-c"],["id","letterCheckbox"],["type","checkbox","value","",1,"table-checkbox",3,"click","checked","id"],["id","pageNum",3,"pageChange","collectionSize","page","pageSize","maxSize","rotate","ellipses","boundaryLinks"]],template:function(i,r){if(1&i){const u=e.RV6();e.DNE(0,Fs,6,6,"h1",4),e.j41(1,"div",5)(2,"div",6)(3,"div",7),e.DNE(4,Cr,3,3,"h1",8)(5,Be,3,3,"h1",9),e.k0s()(),e.j41(6,"div",10)(7,"div",11),e.DNE(8,Qe,10,9,"ng-container",12)(9,tt,3,3,"ng-template",null,0,e.C5r),e.EFF(11),e.nI1(12,"translate"),e.j41(13,"a",13),e.nI1(14,"translate"),e.EFF(15),e.nI1(16,"translate"),e.k0s()(),e.DNE(17,Nt,6,3,"div",14)(18,Mt,5,6,"div",15),e.j41(19,"div",16)(20,"table",17)(21,"tr",18),e.DNE(22,nn,4,8,"td",19),e.j41(23,"div",20),e.DNE(24,sn,14,19,"td",21),e.j41(25,"td",22)(26,"label",23),e.
1EFF(27),e.nI1(28,"translate"),e.k0s(),e.j41(29,"select",24),e.mxI("ngModelChange",function(V){return e.eBV(u),e.DH7(r.requestIdFilter,V)||(r.requestIdFilter=V),e.Njj(V)}),e.bIt("change",function(){return e.eBV(u),e.Njj(r.filterResults())}),e.j41(30,"option",25),e.EFF(31),e.nI1(32,"translate"),e.k0s(),e.DNE(33,Wn,3,4,"option",26)(34,Cn,2,2,"option",27),e.nI1(35,"keyvalue"),e.k0s()()()()()(),e.DNE(36,Io,26,20,"ng-container",12)(37,Co,20,16,"ng-template",null,1,e.C5r),e.k0s()()}if(2&i){const u=e.sdS(10),v=e.sdS(38);e.Y8G("ngIf",r.isWob),e.R7$(4),e.Y8G("ngIf",r.viewLetters.viewDocumentation),e.R7$(),e.Y8G("ngIf",!r.viewLetters.viewDocumentation),e.R7$(3),e.Y8G("ngIf",r.viewLetters.viewDocumentation)("ngIfElse",u),e.R7$(3),e.SpI(" ",e.bMT(12,22,"notificationHistory.viewNotificationLink")," "),e.R7$(2),e.BMQ("aria-label",e.bMT(14,24,"ariaLabel.notificationHistory")),e.R7$(2),e.SpI(" ",e.bMT(16,26,"pleaseClickHere")," "),e.R7$(2),e.Y8G("ngIf",r.isWob&&r.viewLetters.redactionRequired&&r.viewLetters.hasUnredactedDocuments&&r.viewLetters.viewDocumentation),e.R7$(),e.Y8G("ngIf",r.redactionMessage),e.R7$(4),e.Y8G("ngIf",!r.isMobileContext),e.R7$(2),e.Y8G("ngIf",r.viewLetters.viewDocumentation),e.R7$(2),e.Y8G("ngClass",e.l_i(34,$n,0===r.localeId,1===r.localeId)),e.R7$(),e.JRh(e.bMT(28,28,"viewLetters.filterByRequestId")),e.R7$(2),e.Y8G("ngClass",e.l_i(37,Dr,0===r.localeId,1===r.localeId)),e.R50("ngModel",r.requestIdFilter),e.R7$(),e.Y8G("value",r.constants.SHOW_ALL),e.R7$(),e.JRh(e.bMT(32,30,"all")),e.R7$(2),e.Y8G("ngIf",r.doLettersWithNoRequestIdExist()),e.R7$(),e.Y8G("ngForOf",e.bMT(35,32,r.sortLettersByRequestIdDescOrder())),e.R7$(2),e.Y8G("ngIf",r.viewLetters.viewDocumentation)("ngIfElse",v)}},dependencies:[ie.YU,ie.Sq,ie.bT,q.Wk,ge.xH,ge.y7,ge.wz,ge.BC,ge.vS,G.s5,ie.vh,ie.lG,Y.D9],styles:[".mobileFilters[_ngcontent-%COMP%]:hover{background-color:transparent!important}.absenceRequestFilters[_ngcontent-%COMP%]{display:flex;flex-grow:1;justify-content:end}.lettersTable[_ngcontent-%COMP%]{width:100%}@media (max-width: 850px){.lettersTable[_ngcontent-%COMP%]{width:100%}.absence-filter-select[_ngcontent-%COMP%]{width:60%!important}.absenceRequestFilters[_ngcontent-%COMP%]{display:flex;flex-direction:column}.mobileFilters[_ngcontent-%COMP%]{display:flex;flex-direction:column-reverse}}@media (max-width: 565px){.absence-filter-select[_ngcontent-%COMP%]{width:100%!important}.mobileFilters[_ngcontent-%COMP%]{width:80%}.type-filter[_ngcontent-%COMP%]{margin-right:0}}.redaction-notice[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:10px;background-color:#f8f9fa;border:1px solid #dee2e6;border-radius:6px;padding:12px 16px;margin:12px 0}.redaction-notice-icon[_ngcontent-%COMP%]{font-size:20px;color:#495057;flex-shrink:0}.redaction-notice-text[_ngcontent-%COMP%]{font-size:14px;color:#495057;font-style:italic}.redaction-success-message[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;background-color:#d4edda;border:1px solid #c3e6cb;color:#155724;border-radius:4px;padding:10px 16px;margin:8px 0;font-size:14px}.redaction-error-message[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;background-color:#f8d7da;border:1px solid #f5c6cb;color:#721c24;border-radius:4px;padding:10px 16px;margin:8px 0;font-size:14px}.redaction-dismiss-btn[_ngcontent-%COMP%]{background:none;border:none;font-size:18px;cursor:pointer;padding:0 4px;color:inherit}.redaction-download-btn[_ngcontent-%COMP%]{background-color:#5a7a2e;color:#fff!important;border:none;border-radius:4px;padding:6px 16px;font-size:13px;cursor:pointer;white-space:nowrap}.redaction-download-btn[_ngcontent-%COMP%]:hover{background-color:#4a6a1e}.redaction-process-btn[_ngcontent-%COMP%]{background-color:#fff;color:#333;border:1px solid #999;border-radius:4px;padding:6px 16px;font-size:13px;cursor:pointer;white-space:nowrap}.redaction-process-btn[_ngcontent-%COMP%]:hover{background-color:#f0f0f0}.redaction-processing[_ngcontent-%COMP%]{color:#666;font-style:italic;font-size:13px}.redaction-unavailable[_ngcontent-%COMP%]{color:#666;font-size:12px;line-height:1.4;display:block;max-width:250px}"]})}}return n})();const fo=()=>["/absences"],no=()=>["/mgr-dashboard"],Mo=()=>["/login"];
1function $o(n,d){1&n&&(e.j41(0,"a",3),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.Y8G("routerLink",e.lJ4(4,fo)),e.R7$(),e.SpI(" ",e.bMT(2,2,"error.message.backToPreviosPage")," "))}function ms(n,d){1&n&&(e.j41(0,"a",3),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.Y8G("routerLink",e.lJ4(4,no)),e.R7$(),e.SpI(" ",e.bMT(2,2,"error.message.backToPreviosPage")," "))}function Ur(n,d){if(1&n&&(e.j41(0,"div"),e.DNE(1,$o,3,5,"a",2)(2,ms,3,5,"a",2),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",!t.userInfo.userPrivilege.mgrOrHR),e.R7$(),e.Y8G("ngIf",t.userInfo.userPrivilege.mgrOrHR)}}function lr(n,d){1&n&&(e.j41(0,"div")(1,"a",3),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(),e.Y8G("routerLink",e.lJ4(4,Mo)),e.R7$(),e.SpI(" ",e.bMT(3,2,"error.message.returnToLogin")," "))}let Uo=(()=>{class n{constructor(){}ngOnInit(){this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO))}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-error-page"]],decls:6,vars:5,consts:[[1,"plain"],[4,"ngIf"],[3,"routerLink",4,"ngIf"],[3,"routerLink"]],template:function(i,r){1&i&&(e.j41(0,"div",0)(1,"h1"),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.DNE(4,Ur,3,2,"div",1)(5,lr,4,5,"div",1),e.k0s()),2&i&&(e.R7$(2),e.JRh(e.bMT(3,3,"error.message.errorOccurred")),e.R7$(2),e.Y8G("ngIf",r.userInfo),e.R7$(),e.Y8G("ngIf",!r.userInfo))},dependencies:[ie.bT,q.Wk,Y.D9]})}}return n})();const os=n=>({fHighlight:n}),Ks=n=>({"rf-cp-hdr-exp":n});function Vn(n,d){if(1&n){const t=e.RV6();e.j41(0,"li",17)(1,"a",18),e.bIt("click",function(){const r=e.eBV(t),u=r.$implicit,v=r.index,V=e.XpG();return e.Njj(V.scrollTo(u.subCategoryId,v))}),e.EFF(2),e.k0s()()}if(2&n){const t=d.$implicit,i=d.index,r=e.XpG();e.Y8G("ngClass",e.eq3(7,os,r.selectedTopicIndex===i)),e.R7$(),e.FS9("fragment",t.subCategoryId),e.Mz_("id","faqcategory-",t.subCategoryId,""),e.Y8G("routerLink","."),e.BMQ("aria-current",r.selectedTopicIndex===i?"true":null),e.R7$(),e.SpI(" ",0==r.localeId?t.subCategory:t.subCategoryEsp," ")}}function Gr(n,d){if(1&n&&(e.j41(0,"li",33),e.EFF(1),e.k0s()),2&n){const t=d.$implicit,i=e.XpG(6);e.R7$(),e.SpI(" ",0==i.localeId?t.subAnswer:t.subAnswerEsp," ")}}function So(n,d){if(1&n&&(e.j41(0,"ul",31),e.DNE(1,Gr,2,1,"li",32),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngForOf",t.subAnswers)}}function $s(n,d){if(1&n&&(e.qex(0),e.j41(1,"div",28)(2,"div",29),e.EFF(3),e.DNE(4,So,2,1,"ul",30),e.k0s()(),e.bVm()),2&n){const t=d.$implicit,i=d.index,r=e.XpG().$implicit,u=e.XpG(3);e.R7$(),e.FCK("id","answerBox-",r.questionId,"-",i,""),e.Y8G("ngbCollapse",u.checkCollapseStatus(r.questionId)),e.R7$(2),e.SpI(" ",0==u.localeId?t.answer:t.answerEsp," "),e.R7$(),e.Y8G("ngIf",t.subAnswers)}}function io(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",34)(1,"div",35)(2,"span",36),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"a",37),e.bIt("click",function(){e.eBV(t);const r=e.XpG().$implicit,u=e.XpG(3);return e.Njj(u.submitFeedback(r.questionId,!0))})("keydown.enter",function(){e.eBV(t);const r=e.XpG().$implicit,u=e.XpG(3);return e.Njj(u.submitFeedback(r.questionId,!0))}),e.EFF(6),e.nI1(7,"translate"),e.k0s(),e.j41(8,"span",38),e.EFF(9,"|"),e.k0s(),e.j41(10,"a",37),e.bIt("click",function(){e.eBV(t);const r=e.XpG().$implicit,u=e.XpG(3);return e.Njj(u.submitFeedback(r.questionId,!1))})("keydown.enter",function(){e.eBV(t);const r=e.XpG().$implicit,u=e.XpG(3);return e.Njj(u.submitFeedback(r.questionId,!1))}),e.EFF(11),e.nI1(12,"translate"),e.k0s()()()}if(2&n){const t=e.XpG().$implicit,i=e.XpG(3);e.Y8G("ngbCollapse",i.checkCollapseStatus(t.questionId)),e.R7$(3),e.JRh(e.bMT(4,8,"feedback.wasThisHelpful")),e.R7$(2),e.Mz_("id","yesLink-",t.questionId,""),e.R7$(),e.SpI(" ",e.bMT(7,10,"yes")," "),e.R7$(4),e.Mz_("id","noLink-",t.questionId,""),e.R7$(),e.SpI(" ",e.bMT(12,12,"no")," ")}}function Or(n,d){if(1&n&&(e.j41(0,"div",40)(1,"h3"),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n){const t=e.XpG(2).$implicit,i=e.XpG(3);e.Mz_("id","yesPanel-",t.questionId,""),e.Y8G("ngbCollapse",i.checkCollapseStatus(t.questionId)),e.R7$(2),e.JRh(e.bMT(3,4,"feedback.thanks"))}}function so(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",41)(1,"h3"),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"label",42),e.EFF(5),e.nI1(6,"translate"),e.k0s(),e.nrm(7,"textarea",43,2)(9,"div",27),e.j41(10,"button",44),e.bIt("click",function(){e.eBV(t);const r=e.sdS(8),u=e.XpG(2).$implicit,v=e.XpG(3);return e.Njj(v.submitNoTA(u.questionId,!0,r.value))}),e.j41(11,"span",45),e.EFF(12),e.nI1(13,"translate"),e.k0s()()()}if(2&n){const t=e.XpG(2).$implicit,i=e.XpG(3);e.Mz_("id","noPanel-",t.questionId,""),e.Y8G("ngbCollapse",i.checkCollapseStatus(t.questionId)),e.R7$(2),e.JRh(e.bMT(3,11,"feedback.thanksSuggestion")),e.R7$(2),e.BMQ("for","feedbackNoTextarea-"+t.questionId),e.R7$(),e.SpI(" ",e.bMT(6,13,"feedback.thanksSuggestion")," "),e.R7$(2),e.Mz_("id","feedbackNoTextarea-",t.questionId,""),e.R7$(3),e.Mz_("id","submitNoBtn-",t.questionId,""),e.R7$(2),e.SpI(" ",e.bMT(13,15,"feedback.no.submit")," ")}}function Ro(n,d){if(1&n&&e.DNE(0,Or,4,6,"div",39)(1,so,14,17,"ng-template",null,1,e.C5r),2&n){const t=e.sdS(2),i=e.XpG().$implicit,r=e.XpG(3);e.Y8G("ngIf",r.isAnswerHelpful(i.questionId))("ngIfElse",t)}}function _i(n,d){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"div",21)(2,"div",22)(3,"div",23)(4,"a",24),e.bIt("click",function(){const r=e.eBV(t).$implicit,u=e.XpG(3);return e.Njj(u.openOrCloseBox(r.questionId))})("keydown.enter",function(){const r=e.eBV(t).$implicit,u=e.XpG(3);return e.Njj(u.openOrCloseBox(r.questionId))})("keydown.space",function(r){const u=e.eBV(t).$implicit,v=e.XpG(3);return r.preventDefault(),e.Njj(v.openOrCloseBox(u.questionId))}),e.EFF(5),e.k0s(),e.j41(6,"div",25),e.DNE(7,$s,5,6,"ng-container",12)(8,io,13,14,"div",26)(9,Ro,3,2,"ng-template",null,0,e.C5r),e.k0s(),e.nrm(11,"div",27),e.k0s()()(),e.bVm()}if(2&n){const t=d.$implicit,i=e.sdS(10),r=e.XpG(3);e.R7$(),e.BMQ("aria-labelledby","faq-btn-"+t.questionId),e.R7$(),e.Y8G("ngClass",e.eq3(11,Ks,!r.checkCollapseStatus(t.questionId))),e.R7$(2),e.Mz_("id","faq-btn-",t.questionId,""),e.BMQ("aria-expanded",!r.checkCollapseStatus(t.questionId))("aria-controls","faq-panel-"+t.questionId),e.R7$(),e.SpI(" ",0==r.localeId?t.question:t.questionEsp," "),e.R7$(),e.Y8G("id","faq-panel-"+t.questionId),e.R7$(),e.Y8G("ngForOf",t.answers
1),e.R7$(),e.Y8G("ngIf",!r.showFeedbackBox(t.questionId))("ngIfElse",i)}}function Mr(n,d){if(1&n&&(e.qex(0),e.j41(1,"div",19)(2,"h2",20),e.EFF(3),e.k0s(),e.DNE(4,_i,12,13,"ng-container",12),e.k0s(),e.bVm()),2&n){const t=d.$implicit,i=e.XpG(2);e.R7$(2),e.FS9("id",t.subCategoryId),e.R7$(),e.SpI(" ",0==i.localeId?t.subCategory:t.subCategoryEsp," "),e.R7$(),e.Y8G("ngForOf",t.questions)}}function ur(n,d){if(1&n&&(e.qex(0),e.DNE(1,Mr,5,3,"ng-container",12),e.bVm()),2&n){const t=d.$implicit;e.R7$(),e.Y8G("ngForOf",t.subCategories)}}function Ia(n,d){1&n&&(e.j41(0,"p"),e.EFF(1),e.nI1(2,"translate"),e.j41(3,"a",46)(4,"span"),e.EFF(5),e.nI1(6,"translate"),e.k0s()()()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,2,"contact.eap.link")," "),e.R7$(4),e.JRh(e.bMT(6,4,"clickHere")))}let er=(()=>{class n{constructor(t,i,r){this.activatedRoute=t,this.service=i,this.eventService=r,this.flatSubCategories=[],this.localeId=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)).localeId,this.collapsableBoxMap=new Map,this.showFeedbackMap=new Map,this.isCollapsed=!0,this.selectedTopicIndex=0,this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO))}ngOnInit(){this.eventService.logEvent(p.sb.FAQ_PAGE,"User viewing FAQ page",null),this.faqsResponse=this.activatedRoute.snapshot.data.faqs,this.flatSubCategories=this.faqsResponse?this.faqsResponse.faqs.reduce((i,r)=>i.concat(r.subCategories),[]):[];let t=JSON.parse(sessionStorage.getItem("faqFeedbackMap"));if(t){let i=new Map(t);i&&(this.showFeedbackMap=i)}for(let i=0;i<this.faqsResponse.faqs.length;i++)for(let r=0;r<this.faqsResponse.faqs[i].subCategories.length;r++)for(let u=0;u<this.faqsResponse.faqs[i].subCategories[r].questions.length;u++)this.collapsableBoxMap.set(this.faqsResponse.faqs[i].subCategories[r].questions[u].questionId,!0)}scrollTo(t,i){this.selectedTopicIndex=i,document.getElementById(t).scrollIntoView()}openOrCloseBox(t){this.collapsableBoxMap.get(t)?this.collapsableBoxMap.set(t,!1):this.collapsableBoxMap.set(t,!0)}checkCollapseStatus(t){return this.collapsableBoxMap.get(t)}showFeedbackBox(t){return this.showFeedbackMap.has(String(t))}isAnswerHelpful(t){return 0==this.showFeedbackMap.get(String(t))}submitFeedback(t,i){let r=new Yt.aO;r.helpful=i,r.questionId=t,this.service.submitYesNoFeedback(r).subscribe(u=>{this.showFeedbackMap.set(String(t),i?0:u);let v=JSON.stringify(Array.from(this.showFeedbackMap.entries()));sessionStorage.setItem("faqFeedbackMap",v),this.eventService.logEvent(i?p.sb.LEAVE_REQUEST_FEEDBACK_ADD_YES:p.sb.LEAVE_REQUEST_FEEDBACK_ADD_NO,"Adding Feedback for content with id",String(t))})}submitNoTA(t,i,r){let u=new Yt.aO;u.helpful=i,u.questionId=t,u.comment=r,u.feedbackId=this.showFeedbackMap.get(String(t)),this.service.submitNoTA(u),this.showFeedbackMap.set(String(t),0);let v=JSON.stringify(Array.from(this.showFeedbackMap.entries()));sessionStorage.setItem("faqFeedbackMap",v),this.eventService.logEvent(p.sb.LEAVE_REQUEST_FEEDBACK_UPDATE,"Upd
1ating Feedback for content with id",String(t))}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(q.nX),e.rXU(M.LQ),e.rXU(M.US))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["ng-component"]],decls:20,vars:12,consts:[["feedbackAnswerBox",""],["notHelpful",""],["feedbackNoTA",""],[1,"card"],[1,"row"],[1,""],["id","faqTitle",1,"pageTitle"],[1,"content"],[1,"faqPage"],[1,"faqTopicLinks","faqTopicsList"],["class","redesignColor",3,"ngClass",4,"ngFor","ngForOf"],[1,"faqTopics","faqTopicStyles"],[4,"ngFor","ngForOf"],[1,"contactInner"],[1,"subtitleGrey"],["routerLink","/contactUs","id","emailUsLink",1,"bold"],[4,"ngIf"],[1,"redesignColor",3,"ngClass"],["role","link",3,"click","routerLink","fragment","id"],[1,"fTopic"],[1,"faqSubLabel",3,"id"],["role","region",1,"rf-cp","rf-tgp","colPanel"],[1,"rf-cp-hdr","rf-cp-hdr-colps",3,"ngClass"],[1,"rf-cp-gr"],["role","button","tabindex","0",1,"rf-cp-lbl","redesignColor","bodyText",3,"click","keydown.enter","keydown.space","id"],[3,"id"],["class","panel",3,"ngbCollapse",4,"ngIf","ngIfElse"],[1,"clearFix"],[1,"rf-cp-b",3,"id","ngbCollapse"],[1,"faqAnswer"],["class","subFaqList",4,"ngIf"],[1,"subFaqList"],["class","subFaqItem",4,"ngFor","ngForOf"],[1,"subFaqItem"],[1,"panel",3,"ngbCollapse"],[1,"feedbackLinks"],[1,"feedbackQ"],["role","link","tabindex","0",1,"ui-commandlink","ui-widget",3,"click","keydown.enter","id"],[1,"pipe"],["class","yesPanel linksFeedbackBox",3,"id","ngbCollapse",4,"ngIf","ngIfElse"],[1,"yesPanel","linksFeedbackBox",3,"id","ngbCollapse"],[1,"noPanel","linksFeedbackBox",3,"id","ngbCollapse"],[1,"visuallyHidden"],["maxlength","450",3,"id"],["type","submit","aria-disabled","false",1,"ui-button","ui-widget","ui-state-default","ui-corner-all","ui-button-text-only","submit","primaryBtn",3,"click","id"],[1,"ui-button-text","ui-c",2,"color","#fff !important","font-weight","bold"],["routerLink","/eapPage","id","eapPage",1,"bold"]],template:function(i,r){1&i&&(e.j41(0,"div",3)(1,"div",4)(2,"div",5)(3,"h1",6),e.EFF(4),e.nI1(5,"translate"),e.k0s()()(),e.j41(6,"div",7)(7,"div",8)(8,"ul",9),e.DNE(9,Vn,3,9,"li",10),e.k0s(),e.j41(10,"div",11),e.DNE(11,ur,2,1,"ng-container",12),e.j41(12,"div",13)(13,"p",14),e.EFF(14),e.nI1(15,"translate"),e.j41(16,"a",15),e.EFF(17),e.nI1(18,"translate"),e.k0s()(),e.DNE(19,Ia,7,6,"p",16),e.k0s()()()()()),2&i&&(e.R7$(4),e.JRh(e.bMT(5,6,"faq.header")),e.R7$(5),e.Y8G("ngForOf",r.flatSubCategories),e.R7$(2),e.Y8G("ngForOf",r.faqsResponse.faqs),e.R7$(3),e.SpI(" ",e.bMT(15,8,"contact.faq.email")," "),e.R7$(3),e.SpI("",e.bMT(18,10,"login.emailUs"),"!"),e.R7$(2),e.Y8G("ngIf",r.userInfo.userPrivilege.dispEapInfo))},dependencies:[ie.YU,ie.Sq,ie.bT,q.Wk,G.$G,Y.D9],encapsulation:2})}}return n})();const ro=n=>({fieldError:n}),Cs=n=>({disabled:n}),As=n=>({value:n});function Vr(n,d){1&n&&(e.j41(0,"span",30)(1,"span",31)(2,"span",32),e.EFF(3),e.nI1(4,"translate"),e.k0s()()()),2&n&&(e.R7$(3),e.JRh(e.bMT(4,1,"contact.successMessage")))}function Ls(n,d){if(1&n&&(e.j41(0,"div")(1,"h3")(2,"span",33),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"span",34),e.EFF(6),e.nI1(7,"translate"),e.k0s()()()),2&n){const t=e.XpG();e.R7$(3),e.SpI(" ",e.i5U(4,2,"contact.leaveRequest.text1",e.eq3(7,As,t.userInfo.wob?t.userInfo.workEmail:t.userInfo.primaryEmail))," "),e.R7$(3),e.JRh(e.bMT(7,5,"contact.leaveRequest.text2"))}}function as(n,d){1&n&&(e.j41(0,"option",16),e.nI1(1,"translate"),e.EFF(2),e.nI1(3,"translate"),e.k0s()),2&n&&(e.FS9("value",e.bMT(1,2,"contact.questionType.disabilityClaim")),e.R7$(2),e.SpI(" ",e.bMT(3,4,"contact.questionType.disabilityClaim")," "))}function ea(n,d){if(1&n&&(e.j41(0,"option",35),e.nI1(1,"translate"),e.EFF(2),e.nI1(3,"translate"),e.k0s()),2&n){const t=e.XpG();e.FS9("value",e.bMT(1,3,"contact.questionType.partiallyApproveDeny")),e.Y8G("selected",t.selectPartialApprvDeny),e.R7$(2),e.SpI(" ",e.bMT(3,5,"contact.questionType.partiallyApproveDeny")," ")}}function Hr(n,d){if(1&n&&(e.j41(0,"option",35),e.nI1(1,"translate"),e.EFF(2),e.nI1(3,"translate"),e.k0s()),2&n){const t=e.XpG();e.FS9("value",e.bMT(1,3,"contact.questionType.partiallyApproveDenyWPA")),e.Y8G("selected",t.selectPartialApprvDeny),e.R7$(2),e.SpI(" ",e.bMT(3,5,"contact.questionType.partiallyApproveDenyWPA")," ")}}function Go(n,d){if(1&n&&(e.j41(0,"option",35),e.nI1(1,"translate"),e.EFF(2),e.nI1(3,"translate"),e.k0s()),2&n){const t=e.XpG();e.FS9("value",e.bMT(1,3,"contact.questionType.adjustAccommodationType")),e.Y8G("selected",t.selectAdjustAccommodationType),e.R7$(2),e.SpI(" ",e.bMT(3,5,"contact.questionType.adjustAccommodationType")," ")}}function Vo(n,d){1&n&&(e.j41(0,"div",36)(1,"span"),e.EFF(2),e.nI1(3,"translate"),e.nI1(4,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.Lme(" ",e.bMT(3,2,"contact.documentationQuestion.disclaimer")," ",e.bMT(4,4,"contact.leaveRequest.text2"),". "))}function tr(n,d){1&n&&(e.j41(0,"div",36)(1,"span"),e.EFF(2),e.nI1(3,"translate"),e.nI1(4,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.Lme(" ",e.bMT(3,2,"contact.questionType.partailLeaveInfo")," ",e.bMT(4,4,"partailLeaveInfo.disclaimer")," "))}function br(n,d){1&n&&(e.j41(0,"div",36)(1,"span"),e.EFF(2),e.nI1(3,"translate"),e.nI1(4,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.Lme(" ",e.bMT(3,2,"contact.questionType.partialWpaInfo")," ",e.bMT(4,4,"partialWpaInfo.disclaimer")," "))}function vr(n,d){1&n&&(e.j41(0,"div",37)(1,"span",38),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"questionType.selectQuestionType")," "))}function wo(n,d){1&n&&(e.j41(0,"div",37)(1,"span",39),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"feedback.comment.required")," "))}function ta(n,d){if(1&n){const t=e.RV6();e.j41(0,"p"),e.EFF(1),e.nI1(2,"translate"),e.j41(3,"a",40),e.bIt("keydown.enter",function(r){return e.eBV(t),r.preventDefault(),e.Njj(r.target.click())}),e.j41(4,"span"),e.EFF(5),e.nI1(6,"translate"),e.k0s()()()}2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,2,"contact.eap.text")," "),e.R7$(4),e.JRh(e.bMT(6,4,"clickHere")))}let pr=(()=>{class n{constructor(t,i,r,u,v){this.translate=t,this.service=i,this.eventService=r,this.activatedRoute=u,this.formBuilder=v,this.requestBody=new Yt.Id}ngOnInit(){this.userSession=this.activatedRoute.snapshot.data.userSession,this.hasADAComprehensiveProduct=this.isAccountADAComprehensive(this.userSession.fmlaSourceProductIds),this.createForm(),this.eventService.logEvent(p.sb.CONTACT_PAGE,"User viewing contact page",null),this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)),this.selectPartialApprvDeny=!1,this.selectAdjustAccommodationType=!1,this.showPartialApproveDeny=this.userInfo.userPrivilege.allowLoggedUserApproveDenyCoachingProcessLeaves||this.userInfo.userPrivilege.allowLoggedUserApproveDenyHrReviewNeededLeaves,this.activatedRoute.queryParams.subscribe(t=>{t.submitDecisionRequestType===p.YM.LEAVE?(this.emailUSForm.get("selectedQuestionTypeIndex").patchValue(this.translate.instant("contact.questionType.partiallyApproveDeny")),this.requestId=t.requestId,this.dateRange=t.dateRange,this.showPartiallyApproveDenyDisclaimerLeave=!0,this.selectPartialApprvDeny=!0,this.translate.get("contact.questionType.partiallyApproveDeny").subscribe(i=>{this.selectedType=i})):t.submitDecisionRequestType===p.YM.WPA?(this.emailUSForm.get("selectedQuestionTypeIndex").patchValue(this.translate.instant("contact.questionType.partiallyApproveDenyWPA")),this.requestId=t.requestId,this.dateRange=t.dateRange,this.showPartiallyApproveDenyDisclaimerWPA=!0,this.selectPartialApprvDeny=!0,this.translate.get("contact.questionType.partiallyApproveDenyWPA").subscribe(i=>{this.selectedType=i})):"true"===t.isAdjustAccommodationType&&(this.emailUSForm.get("selectedQuestionTypeIndex").patchValue(this.translate.instant("contact.questionType.adjustAccommodationType")),this.requestId=t.requestId,this.showAdjustAccommodationType=!0,this.selectAdjustAccommodationType=!0,this.translate.get("contact.questionType.adjustAccommodationType").subscribe(i=>{this.selectedType=i}))}),this.showHelpText=!this.showPartiallyApproveDenyDisclaimerLeave&&!this.showPartiallyApproveDenyDisclaimerWPA&&!this.showAdjustAccommodationType}createForm(){this.emailUSForm=this.formBuilder.group({comments:["",ge.k0.required],selectedQuestionTypeIndex:["",ge.k0.required]})}onQuestionTypeChange(t){this.selectedType=t;const i=this.translate.instant("contact.questionType.documentationQuestions");this.showDocDisclamer=t===i,this.errorMsg="",this.showSuccessMsg=!1;const r=this.translate.instant("contact.questionType.partiallyApproveDeny");this.showPartiallyApproveDenyDisclaimerLeave=t===r;const u=this.translate.instant("contact.questionType.partiallyApproveDenyWPA");this.showPartiallyApproveDenyDisclaimerWPA=t===u;const v=this.translate.instant("contact.questionType.adjustAccommodationType");this.showAdjustAccommodationType=t===v,this.showHelpText=!this.showPartiallyApproveDenyDisclaimerLeave&&!this.showPartiallyApproveDenyDisclaimerWPA&&!this.showAdjustAccommodationType}fieldsValidated(){let t=!0,i="";
1if(Object.keys(this.emailUSForm.controls).forEach(r=>{this.emailUSForm.controls[r].markAsTouched(),this.emailUSForm.controls[r].errors&&(t=!1,i||("selectedQuestionTypeIndex"===r?i="questionType":"comments"===r&&(i="comments")))}),i){const r=document.getElementById(i);r&&r.focus()}return t}submitComment(){this.errorMsg="",this.showSuccessMsg=!1,this.fieldsValidated()&&(this.selectPartialApprvDeny?(this.requestBody.requestId=this.requestId,this.requestBody.dateRange=this.dateRange):this.selectAdjustAccommodationType&&(this.requestBody.requestId=this.requestId),this.requestBody.wpa=this.showPartiallyApproveDenyDisclaimerWPA||this.showAdjustAccommodationType,this.requestBody.comments=this.emailUSForm.get("comments").value,this.requestBody.displayQuestionType=this.selectedType,this.hideSubmitBtn=!0,this.service.submitContactUsComment(this.requestBody).subscribe(t=>{this.emailUSForm.reset({comments:"",selectedQuestionTypeIndex:""}),this.hideSubmitBtn=!1,-1==t?this.errorMsg=this.translate.instant("contact.errorMessage"):(this.showSuccessMsg=!0,this.eventService.logEvent(p.sb.CONTACT_PAGE,"User submitted contact form",this.selectedType))}))}get f(){return this.emailUSForm.controls}isAccountADAComprehensive(t){return t.includes(p.YM.FMLA_SOURCE_ADA_COMPREHENSIVE_PRODUCT)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(Y.c$),e.rXU(M._1),e.rXU(M.US),e.rXU(q.nX),e.rXU(ge.ok))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-contact-us"]],decls:71,vars:83,consts:[[1,"card"],[1,"row"],[1,"col-lg-6","col-md-6","col-sm-6","h1Row"],["id","contactUsTitle",1,"pageTitle"],["class","rf-msgs","id","globalMessages","style","display: inline-block",4,"ngIf"],["id","emailUSFormId","name","","method","post",1,"behalfForm","contactUsStyles",3,"ngSubmit","keydown.enter","formGroup"],[1,"mandatoryFieldsNote"],[1,"callout","contactUsFormat","contactUsStyles"],["id","hereToHelp",1,"contactUsStyles"],[4,"ngIf"],[1,"headRow","contactContent"],["id","emailUs",1,"boxText"],["id","qType","for","questionType",1,"subLabel","textAsLabel","qTypeLabel"],["id","emailUsQuestionType",1,"readonlyDataCol","selectDropdown"],["formControlName","selectedQuestionTypeIndex","id","questionType","aria-required","true","size","1",1,"form-select",3,"change","ngClass"],["value","","disabled",""],[3,"value"],[3,"value",4,"ngIf"],[3,"selected","value",4,"ngIf"],["class","docDisclaimer stepThirdCol",4,"ngIf"],["class","rf-msgs-err","role","alert",4,"ngIf"],[1,"form-inline","boxText"],["id","commentLabel","for","comments",1,"subLabel","textAsLabel"],["id","comments","rows","6","formControlName","comments","required","",1,"form-control",3,"ngClass"],[1,"registerBtns"],[1,"textAsLabel","labelSpacer"],["id","submitBtn","type","submit",1,"submit","primaryBtn","blueBtn","emailUsBtn",3,"value","ngClass"],[1,"contactInner",2,"margin-top","20px"],["id","faqsText"],["routerLink","/faqs","id","headerFaqLink",1,"text-decoration-underline",3,"keydown.enter"],["id","globalMessages",1,"rf-msgs",2,"display","inline-block"],["id","globalMessages:",1,"rf-msgs-inf"],[1,"rf-msgs-sum"],["id","introText",1,"introText","resetMargin","contactUsStyles"],["id","introText1",1,"introText","resetMargin","contactUsStyles"],[3,"selected","value"],[1,"docDisclaimer","stepThirdCol"],["role","alert",1,"rf-msgs-err"],["id","errQuestionType",1,"rf-msgs-sum"],["id","errComments",1,"rf-msgs-sum"],["routerLink","/eapPage","id","eapPage",1,"bold",3,"keydown.enter"]],template:function(i,r){1&i&&(e.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3),e.EFF(4),e.nI1(5,"translate"),e.k0s()()(),e.DNE(6,Vr,5,3,"span",4),e.j41(7,"form",5),e.bIt("ngSubmit",function(){return r.submitComment()})("keydown.enter",function(v){return v.preventDefault()}),e.j41(8,"p",6),e.EFF(9),e.nI1(10,"translate"),e.k0s(),e.j41(11,"div",7)(12,"h2",8),e.EFF(13),e.nI1(14,"translate"),e.k0s(),e.DNE(15,Ls,8,9,"div",9),e.k0s(),e.j41(16,"div",10)(17,"div",11)(18,"label",12),e.EFF(19),e.nI1(20,"translate"),e.k0s(),e.j41(21,"div",13)(22,"select",14),e.bIt("change",function(v){return r.onQuestionTypeChange(v.target.value)}),e.j41(23,"option",15),e.EFF(24),e.nI1(25,"translate"),e.k0s(),e.j41(26,"option",16),e.nI1(27,"translate"),e.EFF(28),e.nI1(29,"translate"),e.k0s(),e.j41(30,"option",16),e.nI1(31,"translate"),e.EFF(32),e.nI1(33,"translate"),e.k0s(),e.DNE(34,as,4,6,"option",17),e.j41(35,"option",16),e.nI1(36,"translate"),e.EFF(37),e.nI1(38,"translate"),e.k0s(),e.j41(39,"option",16),e.nI1(40,"translate"),e.EFF(41),e.nI1(42,"translate"),e.k0s(),e.DNE(43,ea,4,7,"option",18)(44,Hr,4,7,"option",18)(45,Go,4,7,"option",18),e.k0s()(),e.DNE(46,Vo,5,6,"div",19)(47,tr,5,6,"div",19)(48,br,5,6,"div",19),e.k0s(),e.DNE(49,vr,4,3,"div",20),e.j41(50,"div",21)(51,"label",22),e.EFF(52),e.nI1(53,"translate"),e.k0s(),e.nrm(54,"textarea",23),e.k0s(),e.DNE(55,wo,4,3,"div",20),e.j41(56,"div",24),e.nrm(57,"span",25)(58,"input",26),e.nI1(59,"translate"),e.nI1(60,"translate"),e.k0s(),e.j41(61,"div",27)(62,"p",28),e.EFF(63),e.nI1(64,"translate"),e.j41(65,"a",29),e.bIt("keydown.enter",function(v){return v.preventDefault(),v.target.click()}),e.EFF(66),e.nI1(67,"translate"),e.k0s(),e.EFF(68),e.nI1(69,"translate"),e.k0s(),e.DNE(70,ta,7,6,"p",9),e.k0s()()()()),2&i&&(e.R7$(4),e.JRh(e.bMT(5,39,"contact.email")),e.R7$(2),e.Y8G("ngIf",r.showSuccessMsg),e.R7$(),e.Y8G("formGroup",r.emailUSForm),e.R7$(2),e.JRh(e.bMT(10,41,"common.mandatoryFieldsNote")),e.R7$(4),e.JRh(e.bMT(14,43,"contact.hereToHelp")),e.R7$(2),e.Y8G("ngIf",r.showHelpText),e.R7$(4),e.SpI("* ",e.bMT(20,45,"contact.question.type")," "),e.R7$(3),e.Y8G("ngClass",e.eq3(77,ro,r.f.selectedQuestionTypeIndex.touched&&r.f.selectedQuestionTypeIndex.errors&&r.f.selectedQuestionTypeIndex.errors.required)),e.BMQ("aria-describedby",r.f.selectedQuestionTypeIndex.touched&&r.f.selectedQuestionTypeIndex.errors&&r.f.selectedQuestionTypeIndex.errors.required?"errQuestionType":null)("aria-invalid",r.f.selectedQuestionTypeIndex.touched&&r.f.selectedQuestionTypeIndex.errors&&r.f.selectedQuestionTypeIndex.errors.required),e.R7$(2),e.SpI(" ",e.bMT(25,47,"contact.questionType.pleaseSelect")," "),e.R7$(2),e.FS9("value",e.bMT(27,49,"contact.questionType.websiteQuestions")),e.R7$(2),e.SpI(" ",e.bMT(29,51,"contact.questionType.websiteQuestions")," "),e.R7$(2),e.FS9("value",e.bMT(31,53,"contact.questionType.documentationQuestions")),e.R7$(2),e.SpI(" ",e.bMT(33,55,"contact.questionType.documentationQuestions")," "),e.R7$(2),e.Y8G("ngIf",r.userInfo.userPrivilege.dispDisabilityClaim),e.R7$(),e.FS9("value",e.bMT(36,57,"contact.questionType.adjustLeaveFrequency")),e.R7$(2),e.SpI(" ",e.bMT(38,59,"contact.questionType.adjustLeaveFrequency")," "),e.R7$(2),e.FS9("value",e.bMT(40,61,"contact.questionType.other")),e.R7$(2),e.SpI(" ",e.bMT(42,63,"contact.questionType.other")," "),e.R7$(2),e.Y8G("ngIf",r.showPartialApproveDeny&&r.userInfo.wob),e.R7$(),e.Y8G("ngIf",r.showPartialApproveDeny&&r.userInfo.wob&&r.hasADAComprehensiveProduct),e.R7$(),e.Y8G("ngIf",r.hasADAComprehensiveProduct),e.R7$(),e.Y8G("ngIf",r.showDocDisclamer),e.R7$(),e.Y8G("ngIf",r.showPartiallyApproveDenyDisclaimerLeave),e.R7$(),e.Y8G("ngIf",r.showPartiallyApproveDenyDisclaimerWPA),e.R7$(),e.Y8G("ngIf",r.f.selectedQuestionTypeIndex.touched&&r.f.selectedQuestionTypeIndex.errors&&r.f.selectedQuestionTypeIndex.errors.required),e.R7$(3),e.SpI(" * ",e.bMT(53,65,"contact.question.comments")," "),e.R7$(2),e.Y8G("ngClass",e.eq3(79,ro,r.f.comments.touched&&r.f.comments.errors)),e.BMQ("aria-describedby",r.f.comments.touched&&r.f.comments.errors&&r.f.comments.errors.required?"errComments":null)("aria-invalid",r.f.comments.touched&&r.f.comments.errors&&r.f.comments.errors.required),e.R7$(),e.Y8G("ngIf",r.f.comments.touched&&r.f.comments.errors&&r.f.comments.errors.required),e.R7$(3),e.FS9("value",e.bMT(59,67,"login.forgotUsername.emailFormat.submit")),e.Y8G("ngClass",e.eq3(81,Cs,r.hideSubmitBtn)),e.BMQ("aria-label",e.bMT(60,69,"login.forgotUsername.emailFormat.submit")),e.R7$(5),e.SpI(" ",e.bMT(64,71,"contact.faq.textlink1")," "),e.R7$(3),e.JRh(e.bMT(67,73,"contact.faq.textlink2")),e.R7$(2),e.SpI(" ",e.bMT(69,75,"contact.faq.textlink3")," "),e.R7$(2),e.Y8G("ngIf",r.userInfo.userPrivilege.dispEapInfo))},dependencies:[ie.YU,ie.bT,q.Wk,ge.qT,ge.xH,ge.y7,ge.me,ge.wz,ge.BC,ge.cb,ge.YS,ge.j4,ge.JD,Y.D9],encapsulation:2})}}return n})();const ii=n=>({fieldError:n}),oo=(n,d)=>({localeId:n,appName:d});function Da(n,d){1&n&&(e.j41(0,"span",37)(1,"span",38)(2,"span",39),e.EFF(3),e.nI1(4,"translate"),e.k0s()()()),2&n&&(e.R7$(3),e.JRh(e.bMT(4,1,"contact.successMessage")))}function cr(n,d){if(1&n&&(e.j41(0,"span",40)(1,"span",41)(2,"span",39),e.EFF(3),e.k0s()()()),2&n){const t=e.XpG();e.R7$(3),e.JRh(t.errorMsg)}}function Wr(n,d){1&n&&(e.j41(0,"div",42)(1,"span",43),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"feedback.name.required")," "))}function Fr(n,d){1&n&&(e.j41(0,"div",42)(1,"span",44),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"feedback.company.required")," "))}function qr(n,d){1&n&&(e.j41(0,"span",47),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"feedback.email.required")," "))}function ao(n,d){1&n&&(e.j41(0,"span",48),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"feedback.email.format")," "))}function lo(n,d){if(1&n&&(e.j41(0,"div",42),e.DNE(1,qr,3,3,"span",45)(2,ao,3,3,"span",46),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.f.contactEmail.errors.required),e.R7$(),e.Y8G("ngIf",t.f.contactEmail.errors.email)}}function ko(n,d){1&n&&(e.j41(0,"div",42)(1,"span",49),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"feedback.empNum.required")," "))}function de(n,d){1&n&&(e.j41(0,"option",26),e.nI1(1,"translate"),e.EFF(2),e.nI1(3,"translate"),e.k0s()),2&n&&(e.Mz_("value","",e.bMT(1,3,"contact.questionType.disabilityClaim")," "),e.R7$(2),e.SpI(" ",e.bMT(3,5,"contact.questionType.disabilityClaim")," "))}function fe(n,d){1&n&&(e.j41(0,"div",50)(1,"span"),e.EFF(2),e.nI1(3,"translate"),e.nI1(4,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.Lme(" ",e.bMT(3,2,"contact.documentationQuestion.disclaimer")," ",e.bMT(4,4,"contact.leaveRequest.text2")," "))}function z(n,d){1&n&&(e.j41(0,"div",42)(1,"span",51),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"feedback.comment.required")," "))}let Ae=(()=>{class n{constructor(t,i,r,u){this.activatedRoute=t,this.translate=i,this.service=r,this.formBuilder=u,this.requestBody=new Yt.Id,this.Constants=p.YM}ngOnInit(){this.translate.get("contact.questionType.trackingTime").subscribe(t=>{this.selectedType=t}),this.appName=this.activatedRoute.snapshot.paramMap.get("appName"),this.localeId=this.activatedRoute.snapshot.paramMap.get("localeId"),this.requestBody.appName=this.appName,this.createForm()}createForm(){this.submitContactUsForm=this.formBuilder.group({contactName:["",ge.k0.required],contactCompany:["",ge.k0.required],contactEmail:["",[ge.k0.required,ge.k0.email]],contactEmpNo:["",ge.k0.required],contactComment:["",ge.k0.required]})}onQuestionTypeChange(t){this.selectedType=t,this.showDocDisclamer="Documentation questions"===t}get f(){return this.submitContactUsForm.controls}fieldsValidated(){let t=!0,i="";
1if(Object.keys(this.submitContactUsForm.controls).forEach(r=>{this.submitContactUsForm.controls[r].markAsTouched(),this.submitContactUsForm.controls[r].errors&&(t=!1,i||("contactName"===r?i="contactNameF":"contactCompany"===r?i="contactCompany":"contactEmail"===r?i="contactEmail":"contactEmpNo"===r?i="contactEumNo":"contactComment"===r&&(i="comments")))}),i){const r=document.getElementById(i);r&&r.focus()}return t}submitComment(){this.errorMsg="",this.showSuccessMsg=!1,this.fieldsValidated()&&(this.clicked=!0,this.requestBody.userName=this.submitContactUsForm.get("contactName").value,this.requestBody.company=this.submitContactUsForm.get("contactCompany").value,this.requestBody.emailAddress=this.submitContactUsForm.get("contactEmail").value,this.requestBody.employeeNumber=this.submitContactUsForm.get("contactEmpNo").value,this.requestBody.comments=this.submitContactUsForm.get("contactComment").value,this.requestBody.displayQuestionType=this.selectedType,this.service.submitPreLoginContactUsComment(this.requestBody).subscribe(t=>{-1==t?this.errorMsg=this.translate.instant("contact.errorMessage"):(this.showSuccessMsg=!0,this.createForm()),this.clicked=!1}))}cleanMsg(){}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(q.nX),e.rXU(Y.c$),e.rXU(M._1),e.rXU(ge.ok))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-public-contact-us"]],decls:102,vars:123,consts:[[1,"row"],[1,"col-lg-6","col-md-6","col-sm-6","h1Row"],["id","contactUsTitle"],["class","rf-msgs","id","globalMessages","style","display: inline-block",4,"ngIf"],["class","rf-msgs","id","globalMessages",4,"ngIf"],[1,"contactPage"],[1,"callout"],["id","hereToHelp"],["id","introText",1,"introText"],["id","submitContactUs","name","","novalidate","novalidate",3,"ngSubmit","keydown.enter","formGroup"],[1,"headRow","contactContent"],[1,"form-inline","boxText"],["id","contactNameLabel","for","contactNameF",1,"subLabel","textAsLabel"],[1,"userInfo"],["formControlName","contactName","id","contactNameF","type","text","maxlength","64","size","35",3,"change","ngClass"],["class","rf-msgs-err","role","alert",4,"ngIf"],["id","contactCompanyLebal","for","contactCompany",1,"subLabel","textAsLabel"],["formControlName","contactCompany","id","contactCompany","type","text","maxlength","64","size","35",3,"change","ngClass"],["id","contactEmailLabel","for","contactEmail",1,"subLabel","textAsLabel"],["id","contactEmail","type","text","maxlength","64","size","35","formControlName","contactEmail",3,"change","ngClass"],["id","contactEumNoLabel","for","contactEumNo",1,"subLabel","textAsLabel"],["id","contactEumNo","type","text","maxlength","64","size","35","formControlName","contactEmpNo",3,"change","ngClass"],["id","questionType","for","questionType",1,"subLabel","textAsLabel"],[1,"readonlyDataCol"],["id","questionType","size","1",1,"form-control",3,"change"],["selected","",3,"value"],[3,"value"],[3,"value",4,"ngIf"],["class","docDisclaimer stepThirdCol",4,"ngIf"],["id","commentLabel","for","comments",1,"subLabel","textAsLabel"],["formControlName","contactComment","id","comments","rows","6",1,"form-control",3,"change","ngClass"],[1,"registerBtns"],[1,"textAsLabel","labelSpacer"],["id","submitBtn","type","submit",1,"submit","primaryBtn",3,"value"],[1,"contactInner",2,"margin-top","20px"],["id","faqsText"],["routerLink","/publicFaqs","id","headerFaqLink",1,"bold",3,"queryParams"],["id","globalMessages",1,"rf-msgs",2,"display","inline-block"],["id","globalMessages:",1,"rf-msgs-inf"],[1,"rf-msgs-sum"],["id","globalMessages",1,"rf-msgs"],["id","globalMessages",1,"rf-msgs-err",2,"font-size","1em","height","auto"],["role","alert",1,"rf-msgs-err"],["id","errAbsenceReasonReqName",1,"rf-msgs-sum"],["id","errAbsenceReasonReqCompany",1,"rf-msgs-sum"],["id","errAbsenceReasonReqEmail","class","rf-msgs-sum",4,"ngIf"],["id","errAbsenceReasonReqEmailFormat","class","rf-msgs-sum",4,"ngIf"],["id","errAbsenceReasonReqEmail",1,"rf-msgs-sum"],["id","errAbsenceReasonReqEmailFormat",1,"rf-msgs-sum"],["id","errAbsenceReasonReqEmpNo",1,"rf-msgs-sum"],[1,"docDisclaimer","stepThirdCol"],["id","errAbsenceReasonReqComment",1,"rf-msgs-sum"]],template:function(i,r){1&i&&(e.j41(0,"div",0)(1,"div",1)(2,"h1",2),e.EFF(3),e.nI1(4,"translate"),e.k0s()()(),e.DNE(5,Da,5,3,"span",3)(6,cr,4,1,"span",4),e.j41(7,"div",5)(8,"div",6)(9,"h2",7),e.EFF(10),e.nI1(11,"translate"),e.k0s(),e.j41(12,"h3")(13,"span",8),e.EFF(14),e.nI1(15,"translate"),e.k0s()()(),e.j41(16,"form",9),e.bIt("ngSubmit",function(){return r.submitComment()})("keydown.enter",function(v){return v.preventDefault()}
1),e.j41(17,"div",10)(18,"div",11)(19,"label",12),e.EFF(20),e.nI1(21,"translate"),e.k0s(),e.j41(22,"div",13)(23,"input",14),e.bIt("change",function(){return r.cleanMsg()}),e.k0s()()(),e.DNE(24,Wr,4,3,"div",15),e.j41(25,"div",11)(26,"label",16),e.EFF(27),e.nI1(28,"translate"),e.k0s(),e.j41(29,"div",13)(30,"input",17),e.bIt("change",function(){return r.cleanMsg()}),e.k0s()()(),e.DNE(31,Fr,4,3,"div",15),e.j41(32,"div",11)(33,"label",18),e.EFF(34),e.nI1(35,"translate"),e.k0s(),e.j41(36,"div",13)(37,"input",19),e.bIt("change",function(){return r.cleanMsg()}),e.k0s()()(),e.DNE(38,lo,3,2,"div",15),e.j41(39,"div",11)(40,"label",20),e.EFF(41),e.nI1(42,"translate"),e.k0s(),e.j41(43,"div",13)(44,"input",21),e.bIt("change",function(){return r.cleanMsg()}),e.k0s()()(),e.DNE(45,ko,4,3,"div",15),e.j41(46,"div",11)(47,"label",22),e.EFF(48),e.nI1(49,"translate"),e.k0s(),e.j41(50,"div",23)(51,"select",24),e.bIt("change",function(v){return r.onQuestionTypeChange(v.target.value)}),e.j41(52,"option",25),e.nI1(53,"translate"),e.EFF(54),e.nI1(55,"translate"),e.k0s(),e.j41(56,"option",26),e.nI1(57,"translate"),e.EFF(58),e.nI1(59,"translate"),e.k0s(),e.j41(60,"option",26),e.nI1(61,"translate"),e.EFF(62),e.nI1(63,"translate"),e.k0s(),e.DNE(64,de,4,7,"option",27),e.j41(65,"option",26),e.nI1(66,"translate"),e.EFF(67),e.nI1(68,"translate"),e.k0s(),e.j41(69,"option",26),e.nI1(70,"translate"),e.EFF(71),e.nI1(72,"translate"),e.k0s(),e.j41(73,"option",26),e.nI1(74,"translate"),e.EFF(75),e.nI1(76,"translate"),e.k0s(),e.j41(77,"option",26),e.nI1(78,"translate"),e.EFF(79),e.nI1(80,"translate"),e.k0s()()(),e.DNE(81,fe,5,6,"div",28),e.k0s(),e.j41(82,"div",11)(83,"label",29),e.EFF(84),e.nI1(85,"translate"),e.k0s(),e.j41(86,"textarea",30),e.bIt("change",function(){return r.cleanMsg()}),e.k0s()(),e.DNE(87,z,4,3,"div",15),e.j41(88,"div",31),e.nrm(89,"span",32)(90,"input",33),e.nI1(91,"translate"),e.nI1(92,"translate"),e.k0s(),e.j41(93,"div",34)(94,"p",35),e.EFF(95),e.nI1(96,"translate"),e.j41(97,"a",36),e.EFF(98),e.nI1(99,"translate"),e.k0s(),e.EFF(100),e.nI1(101,"translate"),e.k0s()()()()()),2&i&&(e.R7$(3),e.JRh(e.bMT(4,54,"contact.email")),e.R7$(2),e.Y8G("ngIf",r.showSuccessMsg),e.R7$(),e.Y8G("ngIf",r.errorMsg),e.R7$(4),e.JRh(e.bMT(11,56,"contact.hereToHelp")),e.R7$(4),e.JRh(e.bMT(15,58,"contact.text1")),e.R7$(2),e.Y8G("formGroup",r.submitContactUsForm),e.R7$(4),e.SpI(" ",e.bMT(21,60,"contact.question.name")," "),e.R7$(3),e.Y8G("ngClass",e.eq3(110,ii,r.f.contactName.touched&&r.f.contactName.errors&&r.f.contactName.errors.required)),e.BMQ("aria-describedby",r.f.contactName.touched&&r.f.contactName.errors&&r.f.contactName.errors.required?"errAbsenceReasonReqName":null)("aria-invalid",r.f.contactName.touched&&r.f.contactName.errors&&r.f.contactName.errors.required),e.R7$(),e.Y8G("ngIf",r.f.contactName.touched&&r.f.contactName.errors&&r.f.contactName.errors.required),e.R7$(3),e.SpI(" ",e.bMT(28,62,"contact.question.company")," "),e.R7$(3),e.Y8G("ngClass",e.eq3(112,ii,r.f.contactCompany.touched&&r.f.contactCompany.errors&&r.f.contactCompany.errors.required)),e.BMQ("aria-describedby",r.f.contactCompany.touched&&r.f.contactCompany.errors&&r.f.contactCompany.errors.required?"errAbsenceReasonReqCompany":null)("aria-invalid",r.f.contactCompany.touched&&r.f.contactCompany.errors&&r.f.contactCompany.errors.required),e.R7$(),e.Y8G("ngIf",r.f.contactCompany.touched&&r.f.contactCompany.errors&&r.f.contactCompany.errors.required),e.R7$(3),e.SpI(" ",e.bMT(35,64,"contact.question.emailAddr")," "),e.R7$(3),e.Y8G("ngClass",e.eq3(114,ii,r.f.contactEmail.touched&&r.f.contactEmail.errors)),e.BMQ("aria-describedby",r.f.contactEmail.touched&&r.f.contactEmail.errors?r.f.contactEmail.errors.required?"errAbsenceReasonReqEmail":r.f.contactEmail.errors.email?"errAbsenceReasonReqEmailFormat":null:null)("aria-invalid",r.f.contactEmail.touched&&r.f.contactEmail.errors),e.R7$(),e.Y8G("ngIf",r.f.contactEmail.touched&&r.f.contactEmail.errors),e.R7$(3),e.SpI(" ",e.bMT(42,66,"contact.question.employeeNumber")," "),e.R7$(3),e.Y8G("ngClass",e.eq3(116,ii,r.f.contactEmpNo.touched&&r.f.contactEmpNo.errors)),e.BMQ("aria-describedby",r.f.contactEmpNo.touched&&r.f.contactEmpNo.errors&&r.f.contactEmpNo.errors.required?"errAbsenceReasonReqEmpNo":null)("aria-invalid",r.f.contactEmpNo.touched&&r.f.contactEmpNo.errors&&r.f.contactEmpNo.errors.required),e.R7$(),e.Y8G("ngIf",r.f.contactEmpNo.touched&&r.f.contactEmpNo.errors&&r.f.contactEmpNo.errors.required),e.R7$(3),e.SpI(" ",e.bMT(49,68,"contact.question.type")," "),e.R7$(4),e.FS9("value",e.bMT(53,70,"contact.questionType.trackingTime")),e.R7$(2),e.SpI(" ",e.bMT(55,72,"contact.questionType.trackingTime")," "),e.R7$(2),e.FS9("value",e.bMT(57,74,"contact.questionType.leaveAdjustments")),e.R7$(2),e.SpI(" ",e.bMT(59,76,"contact.questionType.leaveAdjustments")," "),e.R7$(2),e.FS9("value",e.bMT(61,78,"contact.questionType.openLeave")),e.R7$(2),e.SpI(" ",e.bMT(63,80,"contact.questionType.openLeave")," "),e.R7$(2),e.Y8G("ngIf",r.appName!==r.Constants.FMLASOURCE&&r.appName!==r.Constants.ABSENCE_RESOURCES),e.R7$(),e.FS9("value",e.bMT(66,82,"contact.questionType.documentationQuestions")),e.R7$(2),e.SpI(" ",e.bMT(68,84,"contact.questionType.documentationQuestions")," "),e.R7$(2),e.FS9("value",e.bMT(70,86,"contact.questionType.websiteQuestions")),e.R7$(2),e.SpI(" ",e.bMT(72,88,"contact.questionType.websiteQuestions")," "),e.R7$(2),e.FS9("value",e.bMT(74,90,"contact.questionType.familyFirstLeaves")),e.R7$(2),e.SpI(" ",e.bMT(76,92,"contact.questionType.familyFirstLeaves")," "),e.R7$(2),e.FS9("value",e.bMT(78,94,"contact.questionType.other")),e.R7$(2),e.SpI(" ",e.bMT(80,96,"contact.questionType.other")," "),e.R7$(2),e.Y8G("ngIf",r.showDocDisclamer),e.R7$(3),e.SpI(" ",e.bMT(85,98,"contact.question.comments")," "),e.R7$(2),e.Y8G("ngClass",e.eq3(118,ii,r.f.contactComment.touched&&r.f.contactComment.errors&&r.f.contactComment.errors.required)),e.BMQ("aria-describedby",r.f.contactComment.touched&&r.f.contactComment.errors&&r.f.contactComment.errors.required?"errAbsenceReasonReqComment":null)("aria-invalid",r.f.contactComment.touched&&r.f.contactComment.errors&&r.f.contactComment.errors.required),e.R7$(),e.Y8G("ngIf",r.f.contactComment.touched&&r.f.contactComment.errors&&r.f.contactComment.errors.required),e.R7$(3),e.FS9("value",e.bMT(91,100,"login.forgotUsername.emailFormat.submit")),e.BMQ("aria-label",e.bMT(92,102,"login.forgotUsername.emailFormat.submit")),e.R7$(5),e.SpI(" ",e.bMT(96,104,"contact.faq.textlink1")," "),e.R7$(2),e.Y8G("queryParams",e.l_i(120,oo,r.localeId,r.appName)),e.R7$(),e.JRh(e.bMT(99,106,"contact.faq.textlink2")),e.R7$(2),e.SpI(" ",e.bMT(101,108,"contact.faq.textlink3")," "))},dependencies:[ie.YU,ie.bT,q.Wk,ge.qT,ge.xH,ge.y7,ge.me,ge.BC,ge.cb,ge.tU,ge.j4,ge.JD,Y.D9],encapsulation:2})}}return n})();var Ze=I(9830);const In=n=>({"edit-info-inline-block":n}),Jn=n=>({"edit-info-table":n}),Ms=n=>({fieldError:n}),Lr=n=>({disabled:n});function nr(n,d){if(1&n&&(e.j41(0,"h1",33)(1,"span",34),e.EFF(2),e.nI1(3,"translate"),e.j41(4,"span",35),e.EFF(5),e.k0s()()()),2&n){const t=e.XpG();e.R7$(2),e.SpI(" ",e.bMT(3,4,"workingAs")," "),e.R7$(3),e.E5c(" ",t.userInfo.onBehalfFirstName," ",t.userInfo.onBehalfLastName," 
1(",t.userInfo.onBehalfEmplNumber,") ")}}function ls(n,d){if(1&n&&e.nrm(0,"div",44),2&n){const t=e.XpG(3);e.Y8G("innerHTML",t.displayCorporateContact,e.npT)}}function gl(n,d){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"div",42),e.EFF(2),e.nI1(3,"translate"),e.DNE(4,ls,1,1,"ng-template",null,4,e.C5r),e.j41(6,"a",43),e.bIt("keydown.enter",function(r){return e.eBV(t),r.preventDefault(),e.Njj(r.target.click())}),e.EFF(7),e.nI1(8,"translate"),e.k0s()(),e.bVm()}if(2&n){const t=e.sdS(5);e.R7$(2),e.SpI(" ",e.bMT(3,3,"profile.empInfoPanel.intro1h")," "),e.R7$(4),e.Y8G("ngbTooltip",t),e.R7$(),e.SpI(" ",e.bMT(8,5,"profile.empInfoPanel.intro1ha")," ")}}function Ca(n,d){1&n&&(e.j41(0,"div",42),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"profile.empInfoPanel.intro1")," "))}function na(n,d){if(1&n&&(e.j41(0,"span",47)(1,"span",48),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n){const t=d.$implicit;e.R7$(2),e.JRh(e.bMT(3,1,t))}}function Vi(n,d){if(1&n&&(e.j41(0,"span",45),e.DNE(1,na,4,3,"span",46),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngForOf",t.errorMsgs)}}function el(n,d){if(1&n&&(e.j41(0,"span",45)(1,"span",47)(2,"span",49),e.EFF(3),e.k0s()()()),2&n){const t=e.XpG(2);e.R7$(3),e.JRh(t.successMsg)}}function ia(n,d){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",t.profileResponse.homeAddress.street2," ")}}function Xr(n,d){if(1&n&&(e.qex(0),e.j41(1,"div",50),e.EFF(2),e.DNE(3,ia,2,1,"ng-container",23),e.nrm(4,"br"),e.EFF(5),e.nrm(6,"br"),e.EFF(7),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",t.profileResponse.homeAddress.street1," "),e.R7$(),e.Y8G("ngIf",t.profileResponse.homeAddress.street2),e.R7$(2),e.E5c(" ",t.profileResponse.homeAddress.city,", ",t.profileResponse.homeAddress.stateAbbreviation," ",t.profileResponse.homeAddress.zipCode," "),e.R7$(2),e.SpI(" ",0===t.localeId?t.profileResponse.homeAddress.countryNameEng:t.profileResponse.homeAddress.countryNameEsp," ")}}function bl(n,d){1&n&&(e.EFF(0),e.nI1(1,"translate")),2&n&&e.SpI(" ",e.bMT(1,1,"profile.notProvided")," ")}function Ma(n,d){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",t.profileResponse.homePhoneNumber," ")}}function Hi(n,d){1&n&&(e.EFF(0),e.nI1(1,"translate")),2&n&&e.SpI(" ",e.bMT(1,1,"profile.notProvided")," ")}function Sa(n,d){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",t.profileResponse.workEmail," ")}}function sa(n,d){1&n&&(e.EFF(0),e.nI1(1,"translate")),2&n&&e.SpI(" ",e.bMT(1,1,"profile.notProvided")," ")}function Pr(n,d){if(1&n&&(e.qex(0),e.j41(1,"span",30),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.DNE(4,gl,9,7,"ng-container",36)(5,Ca,3,3,"ng-template",null,0,e.C5r),e.j41(7,"div",37),e.DNE(8,Vi,2,1,"span",38)(9,el,4,1,"span",38),e.k0s(),e.j41(10,"div",39)(11,"span",40),e.EFF(12),e.nI1(13,"translate"),e.k0s(),e.j41(14,"div",41),e.EFF(15),e.k0s()(),e.j41(16,"div",39)(17,"span",40),e.EFF(18),e.nI1(19,"translate"),e.k0s(),e.j41(20,"div",41),e.EFF(21),e.k0s()(),e.j41(22,"div",39)(23,"span",40),e.EFF(24),e.nI1(25,"translate"),e.k0s(),e.j41(26,"div",41),e.EFF(27),e.k0s()(),e.j41(28,"div",39)(29,"span",40),e.EFF(30),e.nI1(31,"translate"),e.k0s(),e.j41(32,"div",41),e.DNE(33,Xr,8,6,"ng-container",36)(34,bl,2,3,"ng-template",null,1,e.C5r),e.k0s()(),e.j41(36,"div",39)(37,"span",40),e.EFF(38),e.nI1(39,"translate"),e.k0s(),e.j41(40,"div",41),e.DNE(41,Ma,2,1,"ng-container",36)(42,Hi,2,3,"ng-template",null,2,e.C5r),e.k0s()(),e.j41(44,"div",39)(45,"span",40),e.EFF(46),e.nI1(47,"translate"),e.k0s(),e.j41(48,"div",41),e.DNE(49,Sa,2,1,"ng-container",36)(50,sa,2,3,"ng-template",null,3,e.C5r),e.k0s()(),e.bVm()),2&n){const t=e.sdS(6),i=e.sdS(35),r=e.sdS(43),u=e.sdS(51),v=e.XpG();e.R7$(2),e.JRh(e.bMT(3,21,"profile.empInfoPanel")),e.R7$(2),e.Y8G("ngIf",(null==v.profileResponse||null==v.profileResponse.contacts?null:v.profileResponse.contacts.length)>0)("ngIfElse",t),e.R7$(4),e.Y8G("ngIf",(null==v.errorMsgs?null:v.errorMsgs.length)>0),e.R7$(),e.Y8G("ngIf",v.successMsg),e.R7$(3),e.JRh(e.bMT(13,23,"profile.name")),e.R7$(3),e.Lme("",v.profileResponse.firstName," ",v.profileResponse.lastName,""),e.R7$(3),e.JRh(e.bMT(19,25,"profile.employer")),e.R7$(3),e.JRh(v.profileResponse.accountName),e.R7$(3),e.JRh(e.bMT(25,27,"wob.empNum")),e.R7$(3),e.JRh(v.profileResponse.employeeNumber),e.R7$(3),e.JRh(e.bMT(31,29,"profile.homeAddress")),e.R7$(3),e.Y8G("ngIf",v.showH
1omeAddress)("ngIfElse",i),e.R7$(5),e.JRh(e.bMT(39,31,"profile.homePhone")),e.R7$(3),e.Y8G("ngIf",v.profileResponse.homePhoneNumber)("ngIfElse",r),e.R7$(5),e.JRh(e.bMT(47,33,"profile.workEmail")),e.R7$(3),e.Y8G("ngIf",v.profileResponse.workEmail)("ngIfElse",u)}}function tl(n,d){1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"translate"),e.bVm()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"profile.sameAsHome")," "))}function ja(n,d){1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"translate"),e.bVm()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"profile.noMailAdd")," "))}function Ra(n,d){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(4);e.R7$(),e.SpI(" ",t.profileResponse.oldAddress.street2," ")}}function ai(n,d){if(1&n&&(e.j41(0,"div",50),e.EFF(1),e.DNE(2,Ra,2,1,"ng-container",23),e.nrm(3,"br"),e.EFF(4),e.nrm(5,"br"),e.EFF(6),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",t.profileResponse.oldAddress.street1," "),e.R7$(),e.Y8G("ngIf",t.profileResponse.oldAddress.street2),e.R7$(2),e.E5c(" ",t.profileResponse.oldAddress.city,", ",t.profileResponse.oldAddress.stateAbbreviation," ",t.profileResponse.oldAddress.zipCode," "),e.R7$(2),e.SpI(" ",0==t.localeId?t.profileResponse.oldAddress.countryNameEng:t.profileResponse.oldAddress.countryNameEsp," ")}}function xs(n,d){if(1&n&&(e.qex(0),e.j41(1,"div",41),e.DNE(2,tl,3,3,"ng-container",36)(3,ja,3,3,"ng-container",23),e.k0s(),e.DNE(4,ai,7,6,"ng-template",null,10,e.C5r),e.bVm()),2&n){const t=e.sdS(5),i=e.XpG(2);e.R7$(2),e.Y8G("ngIf",!i.showContactAddress)("ngIfElse",t),e.R7$(),e.Y8G("ngIf",!i.profileResponse.oldAddress.street1&&!i.profileResponse.homeAddress&&!i.profileResponse.homeAddress.street1)}}function fs(n,d){if(1&n){const t=e.RV6();e.j41(0,"input",56),e.bIt("change",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.sameAsHome=!r.sameAsHome)}),e.k0s(),e.j41(1,"label",57),e.EFF(2),e.nI1(3,"translate"),e.k0s()}2&n&&(e.R7$(2),e.JRh(e.bMT(3,1,"profile.sameAsHome")))}function hr(n,d){1&n&&(e.j41(0,"div",76)(1,"span",77),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"profile.validation.streetAdd1")," "))}function Ss(n,d){1&n&&(e.j41(0,"div",76)(1,"span",78),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"profile.validation.city")," "))}function Nl(n,d){if(1&n&&(e.j41(0,"option",79),e.EFF(1),e.k0s()),2&n){const t=d.$implicit,i=e.XpG(3);e.Y8G("value",t.value.id),e.R7$(),e.SpI(" ",0===i.localeId?t.value.displayValueEng:t.value.displayValueEsp," ")}}function Ba(n,d){if(1&n&&(e.j41(0,"div",76)(1,"span",80),e.EFF(2),e.k0s()()),2&n){const t=e.XpG(3);e.R7$(2),e.SpI(" ",t.stateErrMsg," ")}}function we(n,d){1&n&&(e.j41(0,"div",76)(1,"span",81),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"profile.validation.zipCode")," "))}function N(n,d){if(1&n&&(e.j41(0,"option",79),e.EFF(1),e.k0s()),2&n){const t=d.$implicit,i=e.XpG(3);e.Y8G("value",t.id),e.R7$(),e.SpI(" ",0===i.localeId?t.displayValueEng:t.displayValueEsp," ")}}function j(n,d){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"p",58),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div",39)(5,"label",59),e.EFF(6),e.nI1(7,"translate"),e.j41(8,"span",60),e.EFF(9,"*"),e.k0s()(),e.nrm(10,"input",61),e.nI1(11,"translate"),e.k0s(),e.DNE(12,hr,4,3,"div",62),e.j41(13,"div",39)(14,"label",63),e.EFF(15),e.nI1(16,"translate"),e.k0s(),e.nrm(17,"input",64),e.nI1(18,"translate"),e.k0s(),e.j41(19,"div",39)(20,"label",65),e.EFF(21),e.nI1(22,"translate"),e.j41(23,"span",60),e.EFF(24,"*"),e.k0s()(),e.nrm(25,"input",66),e.nI1(26,"translate"),e.k0s(),e.DNE(27,Ss,4,3,"div",62),e.j41(28,"div",67)(29,"label",68),e.EFF(30),e.nI1(31,"translate"),e.j41(32,"span",60),e.EFF(33,"*"),e.k0s()(),e.j41(34,"select",69,11),e.bIt("change",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.stateErrMsg=void 0)}),e.j41(36,"option",70),e.EFF(37),e.nI1(38,"translate"),e.k0s(),e.DNE(39,Nl,2,2,"option",71),e.nI1(40,"keyvalue"),e.k0s()(),e.DNE(41,Ba,3,1,"div",62),e.j41(42,"div",39)(43,"label",72),e.EFF(44),e.nI1(45,"translate"),e.j41(46,"span",60),e.EFF(47,"*"),e.k0s()(),e.nrm(48,"input",73),e.k0s(),e.DNE(49,we,4,3,"div",62),e.j41(50,"div",67)(51,"label",74),e.
1EFF(52),e.nI1(53,"translate"),e.j41(54,"span",60),e.EFF(55,"*"),e.k0s()(),e.j41(56,"select",75,12),e.bIt("change",function(){e.eBV(t);const r=e.sdS(57),u=e.XpG(2);return e.Njj(u.updateCountryStates(r.value))}),e.DNE(58,N,2,2,"option",71),e.k0s()(),e.bVm()}if(2&n){const t=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,21,"common.mandatoryFieldsNote")),e.R7$(4),e.JRh(e.bMT(7,23,"profile.streetAdd1")),e.R7$(4),e.FS9("placeholder",e.bMT(11,25,"profile.streetAdd1")),e.Y8G("ngClass",e.eq3(45,Ms,t.f.street1.touched&&t.f.street1.errors&&t.f.street1.errors.required)),e.R7$(2),e.Y8G("ngIf",t.f.street1.touched&&t.f.street1.errors&&t.f.street1.errors.required),e.R7$(3),e.JRh(e.bMT(16,27,"profile.streetAdd2")),e.R7$(2),e.FS9("placeholder",e.bMT(18,29,"profile.streetAdd2")),e.R7$(4),e.JRh(e.bMT(22,31,"profile.city")),e.R7$(4),e.FS9("placeholder",e.bMT(26,33,"profile.city")),e.Y8G("ngClass",e.eq3(47,Ms,t.f.city.touched&&t.f.city.errors&&t.f.city.errors.required)),e.R7$(2),e.Y8G("ngIf",t.f.city.touched&&t.f.city.errors&&t.f.city.errors.required),e.R7$(3),e.JRh(e.bMT(31,35,"profile.state")),e.R7$(4),e.Y8G("ngClass",e.eq3(49,Lr,t.disableState)),e.R7$(3),e.JRh(e.bMT(38,37,"profile.state")),e.R7$(2),e.Y8G("ngForOf",e.bMT(40,39,t.countryStatesMap)),e.R7$(2),e.Y8G("ngIf",t.f.state.touched&&t.stateErrMsg),e.R7$(3),e.JRh(e.bMT(45,41,"profile.zipCode")),e.R7$(4),e.Y8G("ngClass",e.eq3(51,Ms,t.f.zip.touched&&t.f.zip.errors&&t.f.zip.errors.required)),e.R7$(),e.Y8G("ngIf",t.f.zip.touched&&t.f.zip.errors&&t.f.zip.errors.required),e.R7$(3),e.JRh(e.bMT(53,43,"profile.country")),e.R7$(6),e.Y8G("ngForOf",t.countriesMap)}}function te(n,d){if(1&n&&(e.qex(0),e.j41(1,"span",40),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div",41),e.EFF(5),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,2,"profile.emailAddr")),e.R7$(3),e.SpI(" ",t.profileResponse.emailAddr," ")}}function De(n,d){1&n&&(e.j41(0,"span",86),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"profile.validation.emailAddr")," "))}function $e(n,d){1&n&&(e.j41(0,"span",87),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"emailInvalid")," "))}function nt(n,d){if(1&n&&(e.j41(0,"div",76),e.DNE(1,De,3,3,"span",84)(2,$e,3,3,"span",85),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",t.f.email.errors.required),e.R7$(),e.Y8G("ngIf",t.f.email.errors.email)}}function rt(n,d){if(1&n){const t=e.RV6();e.j41(0,"label",82),e.EFF(1),e.nI1(2,"translate"),e.k0s(),e.j41(3,"input",83),e.bIt("keypress",function(r){e.eBV(t);const u=e.XpG(2);return e.Njj(u.preventInvalidEmailCharacters(r))}),e.k0s(),e.DNE(4,nt,3,2,"div",62)}if(2&n){const t=e.XpG(2);e.R7$(),e.SpI("",e.bMT(2,3,"profile.emailAddr"),":"),e.R7$(2),e.Y8G("ngClass",e.eq3(5,Ms,t.f.email.touched&&t.f.email.errors)),e.R7$(),e.Y8G("ngIf",t.f.email.touched&&t.f.email.errors)}}function St(n,d){if(1&n&&(e.j41(0,"span",92),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n){const t=e.XpG().index;e.R7$(),e.Lme(" ",e.bMT(2,2,"profile.mobile")," ",t+1,": ")}}function kt(n,d){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",t.countryCode," ")}}function dn(n,d){1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"profile.textAllowed")," "))}function pn(n,d){if(1&n&&(e.qex(0),e.j41(1,"div",89),e.DNE(2,St,3,4,"span",90)(3,kt,2,1,"ng-container",23),e.EFF(4),e.nI1(5,"mask"),e.nrm(6,"div",91),e.DNE(7,dn,3,3,"span",23),e.k0s(),e.nrm(8,"div",91)(9,"br"),e.bVm()),2&n){const t=d.$implicit,i=e.XpG(4);e.R7$(2),e.Y8G("ngIf",i.mobilePhones.length>1),e.R7$(),e.Y8G("ngIf","1"!=t.countryCode),e.R7$(),e.SpI(" ",e.i5U(5,4,t.areaCode+t.phoneNumber,"(000) 000-0000")," "),e.R7$(3),e.Y8G("ngIf",t.allowText&&(null==i.mobilePhones?null:i.mobilePhones.length)>0)}}function Ei(n,d){if(1&n&&(e.qex(0),e.DNE(1,pn,10,7,"ng-container",88),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",t.mobilePhones)}}function si(n,d){1&n&&(e.EFF(0),e.nI1(1,"translate")),2&n&&e.SpI(" ",e.bMT(1,1,"profile.phone.none")," ")}function xn(n,d){if(1&n&&(e.qex(0),e.j41(1,"div",41),e.DNE(2,Ei,2,1,"ng-container",36)(3,si,2,3,"ng-template",null,13,e.C5r),e.k0s(),e.bVm()),2&n){const t=e.sdS(4),i=e.XpG(2);e.R7$(2),e.Y8G("ngIf",i.showMobilePhone)("ngIfElse",t)}}function zn(n,d){if(1&n&&(e.j41(0,"span",103),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n){const t=e.XpG().index;e.R7$(),e.Lme(" ",e.bMT(2,2,"profile.mobile")," ",t+1,": ")}}function Ki(n,d){1&n&&(e.j41(0,"span",95),e.EFF(1,"\xa0"),e.k0s())}function _s(n,d){1&n&&(e.j41(0,"label",104),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"profile.phone.allowTextNotification")," "))}function Us(n,d){if(1&n&&(e.qex(0,94),e.j41(1,"span",95),e.EFF(2,"\xa0"),e.k0s(),e.DNE(3,zn,3,4,"span",96
1),e.j41(4,"div",97),e.DNE(5,Ki,2,0,"span",98),e.nrm(6,"input",99)(7,"div",91),e.j41(8,"span",95),e.EFF(9,"\xa0"),e.k0s(),e.j41(10,"div",100),e.nrm(11,"input",101),e.DNE(12,_s,3,3,"label",102),e.k0s()(),e.nrm(13,"div",91),e.bVm()),2&n){const t=d.index,i=e.XpG(4);e.R7$(3),e.Y8G("ngIf",i.mobilePhones.length>1),e.R7$(),e.Y8G("formGroupName",t),e.R7$(),e.Y8G("ngIf",t>=1),e.R7$(7),e.Y8G("ngIf",(null==i.mobilePhones?null:i.mobilePhones.length)>0)}}function Gs(n,d){if(1&n&&(e.qex(0),e.DNE(1,Us,14,4,"ng-container",93),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",t.editContactForm.controls.mobilePhones.controls)}}function Ji(n,d){if(1&n&&e.DNE(0,Gs,2,1,"ng-container",23),2&n){const t=e.XpG(2);e.Y8G("ngIf",t.mobilePhones.length>0)}}function ir(n,d){1&n&&(e.j41(0,"span",108),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"profile.phone.correspondence342")," "))}function dr(n,d){1&n&&(e.j41(0,"span",108),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"profile.phone.correspondence343")," "))}function Fi(n,d){1&n&&(e.j41(0,"span",108),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"profile.phone.correspondence344")," "))}function yr(n,d){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"span",40),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div",41),e.DNE(5,ir,3,3,"span",105)(6,dr,3,3,"span",105)(7,Fi,3,3,"span",105),e.j41(8,"a",106,14),e.nI1(10,"translate"),e.bIt("keydown.enter",function(r){return e.eBV(t),r.preventDefault(),e.Njj(r.target.click())}),e.nrm(11,"img",107),e.k0s()(),e.bVm()}if(2&n){const t=e.sdS(9),i=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,6,"profile.distPref")),e.R7$(3),e.Y8G("ngIf",342==+(null==i.profileResponse?null:i.profileResponse.distributionPreferenceId)),e.R7$(),e.Y8G("ngIf",343==+(null==i.profileResponse?null:i.profileResponse.distributionPreferenceId)),e.R7$(),e.Y8G("ngIf",344==+(null==i.profileResponse?null:i.profileResponse.distributionPreferenceId)),e.R7$(),e.FS9("ngbTooltip",e.bMT(10,8,"profile.phone.correspondenceTip")),e.BMQ("aria-expanded",t.isOpen())}}function Ao(n,d){if(1&n&&(e.qex(0),e.j41(1,"option",114),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=d.$implicit,i=e.XpG(3);e.R7$(),e.Y8G("selected",t.id===i.profileResponse.distributionPreferenceId)("value",t.id),e.R7$(),e.SpI(" ",i.distributionPreferenceLabel(t)," ")}}function mr(n,d){if(1&n){const t=e.RV6();e.j41(0,"label",109),e.EFF(1),e.nI1(2,"translate"),e.k0s(),e.j41(3,"select",110)(4,"option",111),e.EFF(5),e.nI1(6,"translate"),e.k0s(),e.DNE(7,Ao,3,3,"ng-container",88),e.k0s(),e.j41(8,"a",112,15),e.nI1(10,"translate"),e.j41(11,"img",113),e.bIt("keydown.enter",function(r){return e.eBV(t),r.preventDefault(),e.Njj(r.target.click())}),e.k0s()()}if(2&n){const t=e.sdS(9),i=e.XpG(2);e.R7$(),e.JRh(e.bMT(2,6,"profile.distPref")),e.R7$(2),e.FS9("value",i.profileResponse.distributionPreferenceId),e.R7$(2),e.SpI(" ",e.bMT(6,8,"myAbsences.reportTime.pleaseSelect")," "),e.R7$(2),e.Y8G("ngForOf",i.distributionPreferencesMap),e.R7$(),e.FS9("ngbTooltip",e.bMT(10,10,"profile.phone.correspondenceTip")),e.BMQ("aria-expanded",t.isOpen())}}function gs(n,d){1&n&&(e.j41(0,"span",108),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"yes")," "))}function Ns(n,d){1&n&&(e.j41(0,"span",108),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"no")," "))}function co(n,d){if(1&n&&(e.qex(0,115),e.j41(1,"span",40),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div",41),e.DNE(5,gs,3,3,"span",105)(6,Ns,3,3,"span",105),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,3,"profile.phone.allowText")),e.R7$(3),e.Y8G("ngIf",null==t.profileResponse?null:t.profileResponse.allowText),e.R7$(),e.Y8G("ngIf",!(null!=t.profileResponse&&t.profileResponse.allowText))}}function ra(n,d){if(1&n&&(e.j41(0,"option",119),e.EFF(1),e.k0s()),2&n){const t=d.$implicit,i=e.XpG(3);e.Y8G("value",t.value)("selected",(null==i.profileResponse?null:i.profileResponse.allowText)===t.value),e.R7$(),e.SpI(" ",t.key," ")}}function Ho(n,d){1&n&&e.nrm(0,"div",76)}function bn(n,d){if(1&n&&(e.j41(0,"label",116),e.EFF(1),e.nI1(2,"translate"),e.k0s(),e.j41(3,"select",117),e.DNE(4,ra,2,3,"option",118),e.nI1(5,"keyvalue"),e.k0s(),e.DNE(6,Ho,1,0,"div",62),e.nrm(7,"div",91)),2&n){const t=e.XpG(2);e.R7$(),e.JRh(e.bMT(2,4,"profile.phone.allowText")),e.R7$(2),e.Y8G("ngClass",e.eq3(8,Ms,t.f.allowText.touched&&t.f.allowText.errors&&t.f.allowText.errors.required)),e.R7$(),e.Y8G("ngForOf",e.bMT(5,6,t.allowTextMap)),e.R7$(2),e.Y8G("ngIf",t.f.allowText.touched&&t.f.allowText.errors&&t.f.allowText.errors.required)}}function Fn(n,d){if(1&n){const t=e.RV6();e.j41(0,"form",51),e.bIt("ngSubmit",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.onSubmit())})("keydown.enter",function(r){return e.eBV(t),e.Njj(r.preventDefault())}),e.j41(1,"span",52),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div",39)(5,"span",53),e.EFF(6),e.nI1(7,"translate"),e.k0s(),e.DNE(8,xs,6,3,"ng-container",36)(9,fs,4,3,"ng-template",null,5,e.C5r),e.k0s(),e.DNE(11,j,59,53,"ng-container",23),e.j41(12,"div",39),e.DNE(13,te,6,4,"ng-container",36)(14,rt,5,7,"ng-template",null,6,e.C5r),e.k0s(),e.j41(16,"div",39)(17,"span",40),e.EFF(18),e.nI1(19,"translate"),e.k0s(),e.DNE(20,xn,5,2,"ng-container",36)(21,Ji,1,1,"ng-template",null,7,e.C5r),e.k0s(),e.j41(23,"div",54),e.DNE(24,yr,12,10,"ng-container",36)(25,mr,12,12,"ng-template",null,8,e.C5r),e.k0s(),e.j41(27,"div",54),e.DNE(28,co,7,5,"ng-container",55)(29,bn,8,10,"ng-template",null,9,e.C5r),e.k0s()()}if(2&n){const t=e.sdS(10),i=e.sdS(15),r=e.sdS(22),u=e.sdS(26),v=e.sdS(30),V=e.XpG();e.Y8G("formGroup",V.editContactForm),e.R7$(2),e.JRh(e.bMT(3,17,"profile.contactInfo")),e.R7$(4),e.JRh(e.bMT(7,19,"mailingAddress")),e.R7$(2),e.Y8G("ngIf",!V.editContactInfo)("ngIfElse",t),e.R7$(3),e.Y8G("ngIf",!V.sameAsHome&&V.edit
1ContactInfo),e.R7$(2),e.Y8G("ngIf",!V.editContactInfo)("ngIfElse",i),e.R7$(5),e.JRh(e.bMT(19,21,"profile.mobileNumber")),e.R7$(2),e.Y8G("ngIf",!V.editContactInfo)("ngIfElse",r),e.R7$(3),e.Y8G("ngClass",e.eq3(23,In,V.editContactInfo)),e.R7$(),e.Y8G("ngIf",!V.editContactInfo)("ngIfElse",u),e.R7$(3),e.Y8G("ngClass",e.eq3(25,Jn,V.editContactInfo)),e.R7$(),e.Y8G("ngIf",!V.editContactInfo)("ngIfElse",v)}}function Rn(n,d){if(1&n){const t=e.RV6();e.j41(0,"input",120),e.nI1(1,"translate"),e.nI1(2,"async"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.setEditContact(!0))}),e.k0s()}if(2&n){const t=e.XpG();e.FS9("value",e.bMT(1,2,"profile.editContactInfo")),e.Y8G("disabled",null!==e.bMT(2,4,t.userService.portalPermission$))}}function F(n,d){if(1&n){const t=e.RV6();e.j41(0,"input",121),e.nI1(1,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.saveChanges())}),e.k0s()}2&n&&e.FS9("value",e.bMT(1,1,"profile.saveChanges"))}function be(n,d){if(1&n){const t=e.RV6();e.j41(0,"input",122),e.nI1(1,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.setEditContact(!1))}),e.k0s()}2&n&&e.FS9("value",e.bMT(1,1,"myAbsences.reportTime.cancelBtn"))}function J(n,d){if(1&n){const t=e.RV6();e.j41(0,"a",126),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.goToUserSecurityPage("username"))})("keydown.enter",function(r){return e.eBV(t),r.preventDefault(),e.Njj(r.target.click())}),e.EFF(1),e.nI1(2,"translate"),e.k0s()}2&n&&(e.R7$(),e.SpI(" (",e.bMT(2,1,"profile.changeUsername"),") "))}function ce(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",39)(1,"span",40),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"a",127),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.goToUserSecurityPage("password"))})("keydown.enter",function(r){return e.eBV(t),r.preventDefault(),e.Njj(r.target.click())}),e.EFF(5),e.nI1(6,"translate"),e.k0s()()}2&n&&(e.R7$(2),e.JRh(e.bMT(3,2,"profile.changePasswordLabel")),e.R7$(3),e.SpI(" ",e.bMT(6,4,"profile.changePassword")," "))}function Xe(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",39)(1,"span",40),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"a",128),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.goToUserSecurityPage("updateQA"))})("keydown.enter",function(r){return e.eBV(t),r.preventDefault(),e.Njj(r.target.click())}),e.EFF(5),e.nI1(6,"translate"),e.k0s()()}2&n&&(e.R7$(2),e.JRh(e.bMT(3,2,"profile.changeSecurityQuestionLabel")),e.R7$(3),e.SpI(" ",e.bMT(6,4,"profile.updateSecurityQuestion")," "))}function Et(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",39)(1,"a",129),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.deleteAccount())})("keydown.enter",function(r){return e.eBV(t),r.preventDefault(),e.Njj(r.target.click())}),e.EFF(2),e.nI1(3,"translate"),e.k0s()()}2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"profile.deleteAccount.btnTitle"),""))}function Lt(n,d){if(1&n&&(e.qex(0),e.j41(1,"div",123)(2,"span",30),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"div",39)(6,"span",40),e.EFF(7),e.nI1(8,"translate"),e.k0s(),e.j41(9,"span",92),e.EFF(10),e.k0s(),e.DNE(11,J,3,3,"a",124),e.k0s(),e.DNE(12,ce,7,6,"div",125)(13,Xe,7,6,"div",125)(14,Et,4,3,"div",125),e.k0s(),e.bVm()),2&n){const t=e.XpG();e.R7$(3),e.JRh(e.bMT(4,7,"profile.acctInfoPanel")),e.R7$(4),e.SpI(" ",e.bMT(8,9,"login.username"),""),e.R7$(3),e.JRh(t.profileResponse.username),e.R7$(),e.Y8G("ngIf",t.showAccountChanges),e.R7$(),e.Y8G("ngIf",t.showAccountChanges),e.R7$(),e.Y8G("ngIf",t.showAccountChanges),e.R7$(),e.Y8G("ngIf",t.showAccountChanges)}}let vn=(()=>{class n{distributionPreferenceLabel(t){return t?this.localeId===p.YM.ENGLISH_LOCALE_ID?t.displayValueEng:t.displayValueEsp||t.displayValueEng:""}constructor(t,i,r,u,v,V,Ce,it){this.activatedRoute=t,this.router=i,this.userService=r,this.translateService=u,this.modalService=v,this.formBuilder=V,this.eventService=Ce,this.domainConfigService=it,this.localeId=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)).localeId,this.countriesMap=new Map,this.statesMap=new Map,this.countryStatesMap=new Map,this.distributionPreferencesMap=new Map,this.allowTextMap=new Map,this.displayCorporateContact="",this.showMobilePhone=!0,this.disableState=!0,this.constant=p.YM,this.homePhoneMap=new Map,this.mobilePhoneMap=new Map,this.showHomeAddress=!1,this.showContactAddress=!1,this.showProfileInfoSection=!1,this.showEmployeeInfoSection=!1,this.showContactInfoSection=!1,this.showAccountChanges=!1}ngOnInit(){this.profileResponse=this.activatedRoute.snapshot.data.profile,null==this.profileResponse.homeAddress&&(this.profileResponse.homeAddress=new Yt.pV),null==this.profileResponse.oldAddress&&(this.profileResponse.oldAddress=new Yt.pV),this.userService.isWob.subscribe(r=>{this.isWob=r,this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)),this.showProfileInfoSection=!this.isWob&&!this.profileResponse.singleSignOnUser||this.isWob&&this.userInfo?.userPrivilege?.superUser&&this.userInfo.userPrivilege.allowHRSuperUserViewProfileOnBhfEmp,this.showEmployeeInfoSection=!this.isWob||this.isWob&&this.userInfo.userPrivilege.allowMgrViewEmployeeProfileInfoOnBhfEmp,this.showContactInfoSection=!this.isWob||this.isWob&&this.userInfo.userPrivilege.allowMgrViewEmployeeContactInfoOnBhfEmp,this.showAccountChanges=!this.isWob||!this.userInfo.userPrivilege.allowHRSuperUserViewProfileOnBhfEmp&&!this.userInfo.userPrivilege.superUser});const i=new Map(Object.entries(this.activatedRoute.snapshot.data.codeList));this.countriesMap=i.get("CountriesMap"),this.statesMap=i.get("StatesMap"),this.statesMap.forEac
1h(r=>{+this.profileResponse.newAddress.countryID==r.parentId&&(this.countryStatesMap.set(r.id,r),this.disableState=!1)}),this.distributionPreferencesMap=i.get("DistributionPreferencesMap"),this.setUpAllowText(),this.setupPhoneNumbers(),this.setupDisplayCorporateContacts(),this.editContactInfo=this.profileResponse.editContactInfo,this.sameAsHome=this.profileResponse.sameAsHome,this.profileResponse.homeAddress.street1&&(this.showHomeAddress=!0),this.showContactAddress=!this.profileResponse.sameAsHome,this.createForm(),this.updateProfileRequest=new Yt.Uw,this.baseDomainName=this.domainConfigService.baseDomainName,this.eventService.logEvent(p.sb.PROFILE_PAGE,"User viewing Profile page",null)}setMobilePhonesForDisplay(t){return this.formBuilder.group({phoneTypeId:[t.phoneTypeId],phoneId:[t.phoneId],phDisplay:[t.phoneId?t.areaCode+t.phoneNumber:null,ge.k0.required],alwText:[t.allowText],countryCode:[t.countryCode],extension:[t.extension],primaryNumber:[t.primaryNumber]})}get phoneSetting(){return this.editContactForm.get("mobilePhones")}onSubmit(){}createForm(){for(var t of(this.editContactForm=this.formBuilder.group({sameAsHome:[this.profileResponse.sameAsHome],street1:[this.profileResponse.newAddress.street1,ge.k0.required],street2:[this.profileResponse.newAddress.street2],city:[this.profileResponse.newAddress.city,ge.k0.required],state:[null==this.profileResponse.newAddress.stateID?this.translateService.instant("profile.state"):this.profileResponse.newAddress.stateID],zip:[this.profileResponse.newAddress.zipCode,ge.k0.required],country:[null==this.profileResponse.newAddress.countryID?"840":+this.profileResponse.newAddress.countryID,ge.k0.required],email:[this.profileResponse.emailAddr,[ge.k0.required,ge.k0.email]],mobilePhones:new ge.Yp([]),distributionPreference:[this.profileResponse.distributionPreferenceId,ge.k0.required],allowText:[this.profileResponse.allowText,ge.k0.required]}),this.mobilePhones))this.phoneSetting.push(this.setMobilePhonesForDisplay(t)),this.mobilePhoneMap.set(t.phoneId,t)}updateCountryStates(t){this.countryStatesMap=new Map,this.disableState=!0,this.statesMap.forEach(i=>{i.parentId==+t&&(this.countryStatesMap.set(i.id,i),this.disableState=!1)}),this.editContactForm.get("state").setValue(void 0),this.stateNotSelected=!0,this.stateErrMsg=void 0}goToUserSecurityPage(t){var r;"username"===t?r=["change-username"]:"password"===t?r=["change-password"]:"updateQA"===t&&(r=["update-security-questions"]),this.router.navigate(r,{state:{data:{username:this.profileResponse.username}}})}setEditContact(t){this.editContactInfo=t,this.successMsg="",this.errorMsgs=[],t||(this.sameAsHome=this.profileResponse.sameAsHome,this.setupPhoneNumbers(),this.createForm())}saveChanges(){this.setupUpdateRequest(),this.errorMsgs=[],this.successMsg="",this.validatedFormFields()&&this.userService.updateProfile(this.updateProfileRequest).subscribe(t=>{if(t.successMsg){for(var i of(this.successMsg=this.translateService.instant(t.successMsg),this.editContactInfo=!1,this.profileResponse.emailAddr=this.updateProfileRequest.emailAddr,this.profileResponse.newAddress=this.updateProfileRequest.newAddress,this.profileResponse.sameAsHome=this.updateProfileRequest.sameAsHome,this.profileResponse.distributionPreferenceId=this.updateProfileRequest.distributionPreferenceId,this.profileResponse.mobilePhoneList=this.updateProfileRequest.mobilePhones,this.profileResponse.allowText=this.updateProfileRequest.allowText,this.profileResponse.oldAddress=Object.assign({},this.updateProfileRequest.newAddress),this.showContactAddress=!this.sameAsHome,this.availablePhones=[],this.mobilePhones=[],this.phoneSetting.clear(),t.homePhones))this.availablePhones.push(i);var r=1;for(var u of t.mobilePhones)this.mobilePhones.push(u),this.phoneSetting.push(this.setMobilePhonesForDisplay(u)),this.mobilePhoneMap.set(u.phoneId,u),u.phoneNumber&&(u.phDisplay=this.translateService.instant("profile.mobile")+" "+(t.mobilePhones.length>1?r:""),r++,this.availablePhones.push(u));if(this.primaryPhoneExists=!1,this.updatedMobilePhoneMap.has(this.updateProfileRequest.phoneReferenceId)){this.primaryPhoneExists=!0;const V=this.updatedMobilePhoneMap.get(this.updateProfileRequest.phoneReferenceId).countryCode&&"1"!=this.updatedMobilePhoneMap.get(this.updateProfileRequest.phoneReferenceId).countryCode?this.updatedMobilePhoneMap.get(this.updateProfileRequest.phoneReferenceId).countryCode:"";this.primaryPhoneDisplay=this.translateService.instant("profile.phone.mobile")+" - "+V+" ("+this.updatedMobilePhoneMap.get(this.updateProfileRequest.phoneReferenceId).areaCode+") "+this.updatedMobilePhoneMap.get(this.updateProfileRequest.phoneReferenceId).p
1honeNumber}else if(this.homePhoneMap.has(this.updateProfileRequest.phoneReferenceId)){this.primaryPhoneExists=!0;const V=this.homePhoneMap.get(this.updateProfileRequest.phoneReferenceId).countryCode&&"1"!=this.homePhoneMap.get(this.updateProfileRequest.phoneReferenceId).countryCode?this.homePhoneMap.get(this.updateProfileRequest.phoneReferenceId).countryCode:"";this.primaryPhoneDisplay=this.translateService.instant("profile.phone.home")+" - "+V+" ("+this.homePhoneMap.get(this.updateProfileRequest.phoneReferenceId).areaCode+") "+this.homePhoneMap.get(this.updateProfileRequest.phoneReferenceId).phoneNumber}if(this.showMobilePhone=!1,this.mobilePhones.forEach(V=>{V.phoneTypeId==p.YM.MOBILE_PHONE_TYPE&&V.phoneNumber&&(this.showMobilePhone=!0)}),this.mobilePhones.length<1){this.showMobilePhone=!1;let V=new Yt.bc;V.phoneTypeId=p.YM.MOBILE_PHONE_TYPE,V.countryCode="1",V.phoneId=null,V.allowText=!1,this.mobilePhones.push(V),this.phoneSetting.push(this.setMobilePhonesForDisplay(V))}this.eventService.logEvent(p.sb.PROFILE_PAGE,`Profile Contact Information Saved with Allow Text: ${this.profileResponse.allowText}`,null)}else t.webValidationKey&&(this.errorMsgs=t.webValidationKey)},t=>{this.eventService.logEvent(p.sb.PROFILE_PAGE,"Profile Contact Information Failed To Save",t?.statusText),this.errorMsgs.push(this.translateService.instant("error.message.errorOccurred"))})}deleteAccount(){this.modalService.open(S.c1,{centered:!0,ariaLabelledBy:"titleId"})}setupUpdateRequest(){if(this.updateProfileRequest.sameAsHome=this.editContactForm.get("sameAsHome").value,this.setUpAllowTextUpdate(),this.updateProfileRequest.distributionPreferenceId=+this.editContactForm.get("distributionPreference").value,this.updateProfileRequest.emailAddr=this.editContactForm.get("email").value,this.updateProfileRequest.oldAddress=Object.assign({},this.profileResponse.oldAddress),this.updateProfileRequest.oldSameAsHome=this.profileResponse.sameAsHome,this.updateProfileRequest.sameAsHome)this.editContactForm.get("street1").setErrors(null),this.editContactForm.get("street2").setErrors(null),this.editContactForm.get("city").setErrors(null),this.editContactForm.get("state").setErrors(null),this.editContactForm.get("zip").setErrors(null),this.editContactForm.get("country").setErrors(null),this.updateProfileRequest.newAddress=Object.assign({},this.profileResponse.homeAddress),this.updateProfileRequest.oldAddress.street1||(this.updateProfileRequest.oldAddress=Object.assign({},this.profileResponse.homeAddress));else{let i=new Yt.pV;i.street1=this.editContactForm.get("street1").value,i.street2=this.editContactForm.get("street2").value,i.city=this.editContactForm.get("city").value,i.stateID=this.editContactForm.get("state").value===this.translateService.instant("profile.state")?null:this.editContactForm.get("state").value,i.zipCode=this.editContactForm.get("zip").value,i.countryID=this.editContactForm.get("country").value,this.updateProfileRequest.newAddress=i}this.countryStatesMap.forEach(i=>{i.id==+this.updateProfileRequest.newAddress.stateID&&(this.updateProfileRequest.newAddress.stateName=i.displayValue,this.updateProfileRequest.newAddress.stateAbbreviation=i.description)}),this.countriesMap.forEach(i=>{i.id==+this.updateProfileRequest.newAddress.countryID&&(this.updateProfileRequest.newAddress.countryNameEng=i.displayValueEng,this.updateProfileRequest.newAddress.countryNameEsp=i.displayValueEsp)});var t=this.editContactForm.get("mobilePhones");this.updateProfileRequest.mobilePhones=this.updateMobilePhonesForSubmission(t),this.updateProfileRequest.homePhones=this.updateHomePhonesForSubmissions()}validatedFormFields(){let t=!0;return this.stateErrMsg=void 0,this.errorMsgs=[],Object.keys(this.editContactForm.controls).forEach(i=>{this.editContactForm.controls[i].markAsTouched(),this.editContactForm.controls[i].errors&&(t=!1)}),this.updateProfileRequest.emailAddr||(this.errorMsgs.push(this.translateService.instant("profile.validation.emailAddr")),t=!1),this.countryStatesMap.size>0&&(!this.updateProfileRequest.newAddress.stateID||"State"==this.updateProfileRequest.newAddress.stateID)&&(this.stateErrMsg=this.translateService.instant("profile.validation.stateRequired"),t=!1),this.isMobileForTextPresent()||(this.errorMsgs.push(this.translateService.instant("profile.validation.mobileNumberRequired")),t=!1),this.isAllowTextPresent()||(this.errorMsgs.push(this.translateService.instant("profile.validation.allowTextMissing",{baseDomainName:this.baseDomainName})),t=!1),this.isAllowTextTwice()&&(this.errorMsgs.push(this.translateService.instant("profile.validation.allowTextTwice")),t=!1),this.isAddressMissing()&&(this.errorMsgs.push(this.translateService.instant("profile.validation.addressrequired")),t=!1),this.isValidPhone()||(this.errorMsgs.push(this.translateService.instant("profile.validation.phone")),t=!1),this.isMobilePhoneDeletedPrimary()&&(this.errorMsgs.push(this.translateService.instant("profile.validation.mobileNotDeleted.AutoNotif")),t=!1),this.updateProfileRequest.distributionPreferenceId||(this.errorMsgs.push(this.translateService.instant("profile.validation.correspondence")),t=!1),t}isMobilePhoneDeletedPrimary(){let t=!1;if(this.updateProfileRequest.allowText)for(var i=0;i<this.availablePhones.length;i++){var r=this.availablePhones[i];0==r.phoneNumber.length&&25==r.phoneTypeId&&r.primaryNumber&&(t=!0)}return t}isMobileForTextPresent(){let t=!0;return this.updateProfileRequest.allowText&&(t=!1,this.updateProfileRequest.mobilePhones.forEac
1h(i=>{i.phoneTypeId==p.YM.MOBILE_PHONE_TYPE&&this.updatedMobilePhoneMap.get(i.phoneId).phoneNumber&&i.allowText&&(t=!0)})),t}isValidPhone(){let t=!0;return this.updateProfileRequest.mobilePhones.forEach(i=>{((i.phoneNumber||""===i.phoneNumber)&&i.phoneNumber.length<7||i.areaCode&&i.areaCode.length<3)&&(t=!1)}),t}isAllowTextPresent(){let t=!0;return this.updateProfileRequest.allowText&&(t=!1,this.updateProfileRequest.mobilePhones.forEach(i=>{i.allowText&&(t=!0)})),t}isAllowTextTwice(){var t=0;return this.updateProfileRequest.mobilePhones.forEach(i=>{i.phoneTypeId===p.YM.MOBILE_PHONE_TYPE&&i.allowText&&t++}),t>1}isAddressMissing(){return!this.profileResponse.homeAddress&&!this.profileResponse.homeAlternateAddress}setUpAllowText(){this.allowTextMap.set(p.YM.YES,!0),this.allowTextMap.set(p.YM.NO,!1),this.profileResponse.allowText??=!1}setUpAllowTextUpdate(){switch(typeof this.editContactForm.get("allowText").value){case"boolean":this.updateProfileRequest.allowText=this.editContactForm.get("allowText").value;break;case"string":this.updateProfileRequest.allowText="true"===this.editContactForm.get("allowText").value}}updateHomePhonesForSubmissions(){return this.profileResponse.homePhoneList?(this.homePhoneMap=new Map(this.profileResponse.homePhoneList.map(t=>[t.phoneId,t])),[...this.profileResponse.homePhoneList]):[]}updateMobilePhonesForSubmission(t){this.updatedMobilePhoneMap=new Map;for(var i=[],r=0;r<t.length;r++){let u=new Yt.bc,v=t.controls[r].value;v.phDisplay&&v.phDisplay.length>=1?(u.primaryNumber=v.primaryNumber,u.phoneNumber=v.phDisplay.substr(3),u.areaCode=v.phDisplay.substr(0,3),u.allowText=v.alwText,u.phoneId=v.phoneId,u.phoneTypeId=v.phoneTypeId,u.countryCode=v.countryCode,u.extension=v.extension):(!v.phDisplay||v.phDisplay.length<10)&&(u.phoneTypeId=p.YM.MOBILE_PHONE_TYPE,u.phoneId=v.phoneId),i.push(u),this.updatedMobilePhoneMap.set(u.phoneId,u)}return i}setupPhoneNumbers(){if(this.availablePhones=[],this.primaryPhoneExists=!1,this.profileResponse.homePhoneList)for(let i of this.profileResponse.homePhoneList){if(this.availablePhones.push(i),i.primaryNumber){this.primaryPhoneExists=!0;const r=i.countryCode&&"1"!=i.countryCode?i.countryCode:"";this.primaryPhoneDisplay=this.translateService.instant("profile.phone.home")+" - "+r+" ("+i.areaCode+") "+i.phoneNumber}this.homePhoneMap.set(i.phoneId,i)}this.mobilePhones=[];var t=1;if(this.profileResponse.mobilePhoneList)for(let i of this.profileResponse.mobilePhoneList)if(this.mobilePhones.push(i),i.phDisplay=this.translateService.instant("profile.mobile")+" "+(this.profileResponse.mobilePhoneList.length>1?t:""),t++,this.availablePhones.push(i),i.primaryNumber){this.primaryPhoneExists=!0;const r=i.countryCode&&"1"!=i.countryCode?i.countryCode:"";this.primaryPhoneDisplay=this.translateService.instant("profile.phone.mobile")+" - "+r+" ("+i.areaCode+") "+i.phoneNumber}if(this.mobilePhones.length<1){this.showMobilePhone=!1;let i=new Yt.bc;i.phoneTypeId=p.YM.MOBILE_PHONE_TYPE,i.countryCode="1",i.phoneId=null,i.allowText=!1,this.mobilePhones.push(i)}}setupDisplayCorporateContacts(){let t;var i="",r="",u="",v="",V="",Ce="",it="",At="",Ot="",Jt="",wn="",ns="";if(this.profileResponse.contacts.length){let yo=0,Zo=this.profileResponse.contacts.values();for(;Zo&&yo<1;)yo++,t=Zo.next().value,null!=t&&(t.phone&&(i="<br>"+this.translateService.instant("profile.contact.phone")+t.phone),t.fax&&""===i&&(r="<br> Fax: "+t.fax),""===i&&""===r&&(i="&nbsp",r="&nbsp"),t.firstName&&(u="<p>"+t.firstName),t.lastName&&(v=""===u?"<p>"+t.lastName:" "+t.lastName),V=t.companyName?""===u&&""===v?"<p>"+t.companyName:"<br>"+t.companyName:"&nbsp;",Ce=t.address.street1?"<br>"+t.address.street1:"&nbsp;",it=t.address.street2?"<br>"+t.address.street2:"&nbsp;",t.address.city&&(Ot=t.address.stateAbbreviation?t.address.city+", ":t.address.city),t.address.stateAbbreviation&&(At=t.address.stateAbbreviation+" "),t.address.zipCode&&(Jt=t.address.zipCode),(""!=Ot||""!=At||""!=Jt)&&(wn="<br>"+Ot+At+Jt),ns=t.email?'<br>E-mail: <a href="mailto:'+t.email+"?subject="+this.translateService.instant("profile.contact.email.subject")+'">'+t.email+"</a>":"&nbsp;");this.displayCorporateContact=u+v+V+Ce+it+wn+ns+i+r+"&nbsp;"}}preventInvalidEmailCharacters(t){const r=String.fromCharCode(t.charCode);0!==t.charCode&&(!/^[a-zA-Z0-9._%+-@]$/.test(r)||["=","/","<",",",">","?",":",";"].includes(r))&&t.preventDefault()}get f(){return this.editContactForm.controls}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(q.nX),e.rXU(q.Ix),e.rXU(M.DL),e.rXU(Y.c$),e.rXU(G.Bq),e.rXU(ge.ok),e.rXU(M.US),e.rXU(xe.K))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-profile"]],decls:25,vars:19,consts:[["noContacts",""],["notProvided",""],["noHomePhone",""],["noWorkEmail",""],["contactTooltip",""],["editAddress",""],["editEmail",""],["editMobilePhone",""],["editPreference",""],["editNotification",""],["hasContactAdress",""],["selectedState",""],["selectedCountry",""],["noMobilePhones",""],["correspondenceTip","ngbTooltip"],["correspondence1Tip","ngbTooltip"],["class","hoverable","id","wobAbsTitle",4,"ngIf"],[1,"plain","card"],["id","profileTitle",1,"pageTitle"],[1,"content"],[1,"profilePage","intFormPage"],[1,"introText","header",3,"innerHTML"],[1,"text"],[4,"ngIf"],[1,"section-divider"],["id","profileContactInfoForm","name","","class","behalfForm","novalidate","novalidate",3,"formGroup","ngSubmit","keydown.enter",4,"ngIf"],[1,"stepBtns","restyledSmBtns"],["id","editContactButton","type","submit","class","submit blueBtn edit-contact-btn","tabindex","0",3,"value","disabled","click",4,"ngIf"],["id","updateContactButton","class","submit primaryBtn primaryContinue","type","submit",3,"value","click",4,"ngIf"],["id","cancelContactButton","class","submit secondaryBtn secondaryBack","type","submit",3,"value","click",4,"ngIf"],[1,"textAsLabel","primaryLabel","subheading"],[1,"introText","termsOfUse"],["id","termsOfUseText",3,"innerHTML"],["
1id","wobAbsTitle",1,"hoverable"],[1,"font-italic"],[1,"user-info-header"],[4,"ngIf","ngIfElse"],["id","updateContactMessages",1,"messageContainer"],["class","rf-msgs",4,"ngIf"],[1,"form-inline","boxText"],[1,"subLabel","textAsLabel","profile-sublabel"],[1,"readonlyDataCol"],[1,"introText","arIntro"],["id","helpTip","triggers","click:blur","placement","top","tabindex","0",1,"pfHelpTip","underlineText",3,"keydown.enter","ngbTooltip"],[3,"innerHTML"],[1,"rf-msgs"],["class","rf-msgs-inf",4,"ngFor","ngForOf"],[1,"rf-msgs-inf"],["id","errorMsg",1,"rf-msgs-err",2,"height","auto","font-size","1em"],["id","successMsg",1,"rf-msgs-sum"],[1,"prestepAdressBox"],["id","profileContactInfoForm","name","","novalidate","novalidate",1,"behalfForm",3,"ngSubmit","keydown.enter","formGroup"],["id","contactInfoTitle",1,"textAsLabel","primaryLabel","subheading"],["id","mailingAddLabel",1,"subLabel","textAsLabel","profile-sublabel"],[1,"form-inline","boxText",3,"ngClass"],["style","display: inline-block !important;",4,"ngIf","ngIfElse"],["id","sameAsHome","type","checkbox","formControlName","sameAsHome",3,"change"],["for","sameAsHome",1,"checkLabel"],[1,"mandatoryFieldsNote"],["for","street1",1,"subLabel","profile-sublabel"],[1,"reqError"],["id","street1","type","text","name","street1","size","23","formControlName","street1","aria-required","true","autocomplete","address-line1",1,"form-control","inputContainer",3,"placeholder","ngClass"],["class","rf-msgs-err",4,"ngIf"],["for","street2",1,"subLabel","profile-sublabel"],["id","street2","type","text","name","street2","size","23","formControlName","street2","autocomplete","address-line2",1,"form-control","inputContainer",3,"placeholder"],["for","city",1,"subLabel","profile-sublabel"],["id","city","type","text","name","city","size","23","formControlName","city","aria-required","true","autocomplete","address-level2",1,"form-control","inputContainer",3,"placeholder","ngClass"],[1,"form-inline","boxText","dropdownContainer"],["for","state",1,"subLabel","profile-sublabel"],["id","state","tabindex","0","formControlName","state","aria-required","true",3,"change","ngClass"],["disabled","","value","undefined"],[3,"value",4,"ngFor","ngForOf"],["for","zip",1,"subLabel"],["id","zip","type","text","name","zip","value","","size","23","formControlName","zip","aria-required","true","placeholder","Zip Code","autocomplete","postal-code",1,"form-control","inputContainer",3,"ngClass"],["for","country",1,"subLabel"],["id","country","tabindex","0","formControlName","country","aria-required","true",3,"change"],[1,"rf-msgs-err"],["id","errStreet1Req",1,"rf-msgs-sum"],["id","errCityReq",1,"rf-msgs-sum"],[3,"value"],["id","errUSStateReq",1,"rf-msgs-sum"],["id","errZipReq",1,"rf-msgs-sum"],["for","emailAddr",1,"subLabel"],["id","emailAddr","type","email","name","emailAddr","size","23","formControlName","email","autocomplete","email",1,"form-control","inputContainer",3,"keypress","ngClass"],["id","errMailReq","class","rf-msgs-sum",4,"ngIf"],["id","errMailformat","class","rf-msgs-sum",4,"ngIf"],["id","errMailReq",1,"rf-msgs-sum"],["id","errMailformat",1,"rf-msgs-sum"],[4,"ngFor","ngForOf"],[2,"white-space","nowrap"],["style","margin-right: 6px",4,"ngIf"],[1,"clearFix"],[2,"margin-right","6px"],["formArrayName","mobilePhones",4,"ngFor","ngForOf"],["formArrayName","mobilePhones"],[1,"subLabel","textAsLabel"],["class","normalLabel",4,"ngIf"],[3,"formGroupName"],["class","subLabel textAsLabel",4,"ngIf"],["formControlName","phDisplay","placeholder","(###) ###-####","mask","(000) 000-0000",1,"form-control","bold","inputContainer"],[1,"checkSet"],["id","allwText","name","allowText","type","checkbox","formControlName","alwText"],["class","normalLabel m0p","for","allwText",4,"ngIf"],[1,"normalLabel"],["for","allwText",1,"normalLabel","m0p"],["style","display: inline",4,"ngIf"],["id","correspondence","triggers","click:blur","placement","top","role","tooltip","tabindex","0",3,"keydown.enter","ngbTooltip"],["alt","Correspondence Help Tip","src","assets/baseResources/gfx/redesignIcons/faqs.svg",1,"small-icon","ms-2"],[2,"display","inline"],["id","absenceReasonLabel","for","distPreference",1,"subLabel","textAsLabel","profile-sublabel"],["id","distPreference","tabindex","0","formControlName","distributionPreference",3,"value"],["value","","disabled",""],["id","correspondence1","triggers","click:blur","placement","top","role","tooltip",3,"ngbTooltip"],["alt","Correspondence Help Tip","src","assets/baseResources/gfx/redesignIcons/faqs.svg","tabindex","0",1,"small-icon","ms-2",3,"keydown.enter"],[3,"selected","value"],[2,"display","inline-block !important"],["for","allowText",1,"subLabel","textAsLabel"],["id","allowText","tabindex","0","formControlName","allowText",3,"ngClass"],[3,"value","selected",4,"ngFor","ngForOf"],[3,"value","selected"],["id","editContactButton","type","submit","tabindex","0",1,"submit","blueBtn","edit-contact-btn",3,"click","value","disabled"],["id","updateContactButton","type","submit",1,"submit","primaryBtn","primaryContinue",3,"click","value"],["id","cancelContactButton","type","submit",1,"submit","secondaryBtn","secondaryBack",3,"click","value"],[1,"profileSectionInfo"],["class","underlineText","id","changeUsernameLink","tabindex","0",3,"click","keydown.enter",4,"ngIf"],["class","form-inline boxText",4,"ngIf"],["id","changeUsernameLink","tabindex","0",1,"underlineText",3,"click","keydown.enter"],["id","changePwdLink","tabindex","0",1,"underlineText",3,"click","keydown.enter"],["id","updateSecurityQuestionLink","tabindex","0",1,"underlineText",3,"click","keydown.enter"],["id","deleteAccountLink","tabindex","0",1,"subLabel","textAsLabel","redText","underlineText",3,"click","keydown.enter"]],template:function(i,r){1&i&&(e.DNE(0,nr,6,6,"h1",16),e.j41(1,"div",17)(2,"h1",18),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"div",19)(6,"div",20),e.nrm(7,"div",21),e.nI1(8,"translate"),e.j41(9,"div",22),e.DNE(10,Pr,52,35,"ng-container",23),e.nrm(11,"div",24),e.DNE(12,Fn,31,27,"form",25),e.j41(13,"div",26),e.DNE(14,Rn,3,6,"input",27)(15,F,2,3,"input",28)(16,be,2,3,"input",29),e.k0s(),e.nrm(17,"div",24),e.DNE(18,Lt,15,11,"ng-container",23),e.j41(19,"span",30),e.EFF(20),e.nI1(21,"translate"),e.k0s(),e.j41(22,"div",31),e.nrm(23,"div",32),e.nI1(24,"translate"),e.k0s()()()()()),2&i&&(e.Y8G("ngIf",r.isWob),e.R7$(3),e.SpI(" ",e.bMT(4,11,"profile.title")," "),e.R7$(4),e.Y8G("innerHTML",e.bMT(8,13,"profile.intro"),e.npT),e.R7$(3),e.Y8G("ngIf",r.showEmployeeInfoSection),e.R7$(2),e.Y8G("ngIf",r.showContactInfoSection),e.R7$(2),e.Y8G("ngIf",!r.editContactInfo&&(!r.isWob||r.userInfo.userPrivilege.allowMgrViewEmployeeContactInfoOnBhfEmp&&r.userInfo.userPrivilege.allowMgrEditEmployeeContactInfoOnBhfEmp)),e.R7$(),e.Y8G("ngIf",r.editContactInfo),e.R7$(),e.Y8G("ngIf",r.editContactInfo),e.R7$(2),e.Y8G("ngIf",r.showProfileInfoSection),e.R7$(2),e.JRh(e.bMT(21,15,"profile.termsHeader")),e.R7$(3),e.Y8G("innerHTML",e.bMT(24,17,"profile.terms.p1.rebrand"),e.npT))},dependencies:[ie.YU,ie.Sq,ie.bT,ge.qT,ge.xH,ge.y7,ge.me,ge.Zm,ge.wz,ge.BC,ge.cb,ge.
1j4,ge.JD,ge.$R,ge.v8,G.md,Ze.Zr,ie.Jj,ie.lG,Y.D9,Ze.yH],styles:[".form-control[_ngcontent-%COMP%]{height:43px}label[_ngcontent-%COMP%]{font-weight:400}.formBtns[_ngcontent-%COMP%]{input{padding:0!important}}.subLabel[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], table[_ngcontent-%COMP%], .formBtns[_ngcontent-%COMP%]{margin-left:0!important}select#distPreference[_ngcontent-%COMP%], select#allowText[_ngcontent-%COMP%]{border-radius:10px!important;border:1px solid #707070!important;height:43px;font: 16px/20px Aptos,sans-serif!important;color:#070f36!important}.tooltip-inner[_ngcontent-%COMP%]{margin-left:110px}.edit-info-inline-block[_ngcontent-%COMP%]{display:inline-block!important}.edit-info-table[_ngcontent-%COMP%]{display:table}"]})}}return n})();function di(n,d){if(1&n&&(e.j41(0,"div",4),e.nrm(1,"img",5),e.j41(2,"div",6),e.EFF(3),e.nI1(4,"translate"),e.k0s()()),2&n){const t=d.$implicit;e.R7$(3),e.JRh(e.bMT(4,1,t))}}function Ti(n,d){if(1&n&&(e.j41(0,"div",2),e.DNE(1,di,5,3,"div",3),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.errorMessages)}}function qn(n,d){if(1&n&&(e.j41(0,"div",2)(1,"div",4),e.nrm(2,"img",7),e.j41(3,"div",8),e.EFF(4),e.k0s()()()),2&n){const t=e.XpG();e.R7$(4),e.JRh(t.successMessage)}}let Bn=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-messages"]],inputs:{errorMessages:"errorMessages",successMessage:"successMessage"},decls:4,vars:2,consts:[["id","absenceChangeUsernameMessages",1,"absenceMessageContainer"],["class","restyledMsgs",4,"ngIf"],[1,"restyledMsgs"],["class","infoMsg",4,"ngFor","ngForOf"],[1,"infoMsg"],["alt","","placement","auto","adaptivePosition","true","triggers","click:blur","src","assets/baseResources/gfx/redesignIcons/info_error.svg",1,"info-icon-style"],["id","absenceErrorMsg",1,"errorMsg"],["alt","","placement","auto","adaptivePosition","true","triggers","click:blur","src","assets/baseResources/gfx/redesignIcons/info.svg",1,"info-icon-style"],["id","absenceConfirmMsg",1,"successMessage"]],template:function(i,r){1&i&&(e.j41(0,"div",0),e.DNE(1,Ti,2,1,"div",1)(2,qn,5,1,"div",1),e.nrm(3,"br"),e.k0s()),2&i&&(e.R7$(),e.Y8G("ngIf",(null==r.errorMessages?null:r.errorMessages.length)>0),e.R7$(),e.Y8G("ngIf",r.successMessage))},dependencies:[ie.Sq,ie.bT,Y.D9],styles:[".infoMsg[_ngcontent-%COMP%]{background:#fff;padding:5px 20px;border-radius:15px;display:flex;align-items:center;max-height:max-content;font: 23px/34px Aptos,sans-serif!important;.errorMsg{color:red}.successMessage{color:#070f36}}.restyledMsgs[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px}@media (max-width: 850px){.infoMsg[_ngcontent-%COMP%]{font: 14px/17px Aptos,sans-serif!important}}"]})}}return n})(),Wi=(()=>{class n{constructor(t,i,r,u,v,V){this.formBuilder=t,this.location=i,this.userService=r,this.eventService=u,this.logoutService=v,this.router=V,this.data=history.state.data,this.errMsgs=[]}ngOnInit(){null==this.data&&this.back(),this.eventService.logEvent(p.sb.PROFILE_PAGE,"Change Username","View Change Username"),this.createForm(),this.changeUsernameRequest=new Yt.uf}createForm(){this.changeUsernameForm=this.formBuilder.group({currentPassword:["",ge.k0.required],newUsername:["",ge.k0.required],confNewUsername:["",ge.k0.required]})}back(){this.location.back()}changeUsername(){this.changeUsernameRequest.password=this.changeUsernameForm.get("currentPassword").value,this.changeUsernameRequest.newUsername=this.changeUsernameForm.get("newUsername").value,this.changeUsernameRequest.newUsernameConf=this.changeUsernameForm.get("confNewUsername").value,this.errMsgs=[],this.validatedFormFields()?this.userService.changeUsername(this.changeUsernameRequest).subscribe(t=>{t.errMsgs.length>0?(this.errMsgs=t.errMsgs,this.changeUsernameForm.get("currentPassword").patchValue("")):B.T.logout(this.router,this.logoutService,$.X.build({showChangeUser:!0}),this.userService)}):this.changeUsernameForm.get("currentPassword").patchValue("")}validatedFormFields(){let t=!0;return Object.keys(this.changeUsernameForm.controls).forEach(i=>{this.changeUsernameForm.controls[i].markAsTouched(),this.changeUsernameForm.controls[i].errors&&(t=!1)}),this.changeUsernameRequest.password&&""!==this.changeUsernameRequest.password?(this.changeUsernameRequest.newUsername!=this.changeUsernameRequest.newUsernameConf&&(this.errMsgs.push("profile.confirmUsername"),t=!1),this.changeUsernameRequest.newUsername.match(/^[a-zA-Z0-9$@#&_\-.]+$/)||(this.errMsgs.push("profile.invali
1dUsername"),t=!1)):(this.errMsgs.push("profile.currentPasswordRequired"),t=!1),t}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(ge.ok),e.rXU(ie.aZ),e.rXU(M.DL),e.rXU(M.US),e.rXU(M.k4),e.rXU(q.Ix))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-change-username"]],decls:41,vars:33,consts:[[1,"messagesContainer"],[3,"errorMessages"],[1,"profilePage","intFormPage","plainRestyled"],["id","changeUsernameForm","name","","novalidate","novalidate","autocomplete","off",3,"formGroup"],["id","acctInfoPanel"],[1,"textAsLabel","primaryLabel","reportsCriteriaTitle"],[1,"introText","restyledSubtitle"],[1,"form-inline","boxText","currentUsernameContainer"],[1,"subLabel","textAsLabel","restyledUsernameLabel"],[1,"readonlyDataCol","restyledUsernameContainer"],[1,"restyledUsername"],[1,"form-inline","boxText","fieldInputContainer"],["for","currentPassword",1,"subLabel"],["type","password","id","currentPassword","value","","formControlName","currentPassword",1,"form-control"],["for","newUsername",1,"subLabel"],["type","text","id","newUsername","value","","formControlName","newUsername",1,"form-control"],["for","newUsernameConfirm",1,"subLabel"],["type","text","id","newUsernameConfirm","value","","formControlName","confNewUsername",1,"form-control"],[1,"securityBoxBtns","restyledSmBtns"],["type","submit",1,"submit","secondaryBack",3,"click","value"],["type","submit",1,"submit","primaryBtn","primaryContinue",3,"click","value"]],template:function(i,r){1&i&&(e.j41(0,"div",0),e.nrm(1,"app-messages",1),e.k0s(),e.j41(2,"div",2)(3,"form",3)(4,"span",4)(5,"span",5),e.EFF(6),e.nI1(7,"translate"),e.k0s(),e.j41(8,"div",6)(9,"span"),e.EFF(10),e.nI1(11,"translate"),e.k0s()(),e.j41(12,"div",7)(13,"span",8),e.EFF(14),e.nI1(15,"translate"),e.k0s(),e.j41(16,"div",9)(17,"span",10),e.EFF(18),e.k0s()()(),e.j41(19,"div",11)(20,"label",12),e.EFF(21),e.nI1(22,"translate"),e.k0s(),e.nrm(23,"input",13),e.k0s(),e.j41(24,"div",11)(25,"label",14),e.EFF(26),e.nI1(27,"translate"),e.k0s(),e.nrm(28,"input",15),e.k0s(),e.j41(29,"div",11)(30,"label",16),e.EFF(31),e.nI1(32,"translate"),e.k0s(),e.nrm(33,"input",17),e.k0s(),e.j41(34,"div",18)(35,"input",19),e.nI1(36,"translate"),e.nI1(37,"translate"),e.bIt("click",function(){return r.back()}),e.k0s(),e.j41(38,"input",20),e.nI1(39,"translate"),e.nI1(40,"translate"),e.bIt("click",function(){return r.changeUsername()}),e.k0s()()()()()),2&i&&(e.R7$(),e.Y8G("errorMessages",r.errMsgs),e.R7$(2),e.Y8G("formGroup",r.changeUsernameForm),e.R7$(3),e.JRh(e.bMT(7,13,"profile.changeUsername")),e.R7$(4),e.JRh(e.bMT(11,15,"profile.usernameInfo")),e.R7$(4),e.SpI(" ",e.bMT(15,17,"login.username"),":"),e.R7$(4),e.JRh(r.data.username),e.R7$(3),e.SpI("",e.bMT(22,19,"profile.currentPassword"),":"),e.R7$(5),e.SpI("",e.bMT(27,21,"profile.newUserName"),":"),e.R7$(5),e.SpI("",e.bMT(32,23,"profile.confirmNewUsername"),":"),e.R7$(4),e.FS9("value",e.bMT(36,25,"login.back")),e.BMQ("aria-label",e.bMT(37,27,"login.back")),e.R7$(3),e.FS9("value",e.bMT(39,29,"myAbsences.reportTime.submit")),e.BMQ("aria-label",e.bMT(40,31,"myAbsences.reportTime.submit")))},dependencies:[ge.qT,ge.me,ge.BC,ge.cb,ge.j4,ge.JD,Bn,Y.D9],styles:[".plainRestyled[_ngcontent-%COMP%]{#changeUsernameForm{margin-top:0}.reportsCriteriaTitle{margin:0!important}.restyledSubtitle{font:lighter 25px/60px Aptos Light,sans-serif!important;color:#070f36;margin:0 0 1.5rem}.subLabel{margin:0!important}.fieldInputContainer{max-width:325px;display:flex;flex-direction:column;margin-bottom:30px!important;label{font: 16px/20px Aptos,sans-serif!important;color:#070f36!important;width:100%}input{height:43px;border-radius:5px!important;border:1px solid #070f36!important;font: 16px/21px Aptos,sans-serif!important}}.restyledSmBtns{margin-left:0;.secondaryBack{color:#070f36!important}.primaryContinue:hover{background-color:#070f36!important}}}@media (max-width: 850px){.plainRestyled[_ngcontent-%COMP%]{.restyledSubtitle{font:lighter 14px/29px Aptos Light,sans-serif!important}}}"]})}}return n})();class Ii{static validatePasswordForm(d,t=""){const i=[],r=d.controls;for(const V in r)if(Object.prototype.hasOwnProperty.call(r,V)){const Ce=r[V];Ce.markAsTouched(),Ce.errors&&(Ce.setErrors({...Ce.errors,customError:!0}
1),Ce.errors.required?i.push(`${p.vu.REQUIRED_PREFIX}${V}${p.vu.REQUIRED_SUFFIX}`):Ce.errors.minlength&&i.push(p.vu.PASSWORD_SIZE))}const u=d.get("newPassword")?.value||"",v=(d.get("confirmPassword")||d.get("confNewPassword"))?.value||"";return 0===i.length&&u===t&&(i.push(p.vu.SAME_AS_USERNAME),d.get("newPassword")?.setErrors({sameAsUsername:!0})),0===i.length&&(p.vu.REGEX.NUMERIC.test(u)||(i.push(p.vu.NOT_NUMERIC),d.get("newPassword")?.setErrors({notNumeric:!0})),p.vu.REGEX.LOWER_CASE.test(u)||(i.push(p.vu.NOT_LOWER_CASE),d.get("newPassword")?.setErrors({notLowerCase:!0})),p.vu.REGEX.UPPER_CASE.test(u)||(i.push(p.vu.NOT_UPPER_CASE),d.get("newPassword")?.setErrors({notUpperCase:!0})),u!==v&&(i.push(p.vu.NOT_MATCH),(d.get("confirmPassword")||d.get("confNewPassword"))?.setErrors({mismatch:!0}))),{isValid:0===i.length,errorMessages:i}}}let bs=(()=>{class n{constructor(t,i,r,u,v){this.formBuilder=t,this.location=i,this.eventService=r,this.userService=u,this.translateService=v,this.data=history.state.data,this.errMsgs=[]}ngOnInit(){null==this.data&&this.back(),this.eventService.logEvent(p.sb.PROFILE_PAGE,"Change Password","View Change Password"),this.createForm(),this.updatePasswordRequest=new Yt.MO}createForm(){this.changePasswordForm=this.formBuilder.group({currentPassword:["",ge.k0.required],newPassword:["",ge.k0.required],confNewPassword:["",ge.k0.required]})}back(){this.location.back()}changePassword(){this.errMsgs=[];const t=this.changePasswordForm.get("currentPassword").value?.trim()||"",i=this.changePasswordForm.get("newPassword").value?.trim()||"",r=this.changePasswordForm.get("confNewPassword").value?.trim()||"";this.changePasswordForm.patchValue({currentPassword:t,newPassword:i,confNewPassword:r},{emitEvent:!1});const u=Ii.validatePasswordForm(this.changePasswordForm);u.isValid?(this.updatePasswordRequest.oldPassword=t,this.updatePasswordRequest.newPassword=i,this.updatePasswordRequest.newPasswordConfirm=r,this.updatePasswordRequest.updatePasswordFromProfile=!0,this.userService.updatePassword(this.updatePasswordRequest).subscribe(v=>{!0===v.success?(this.successMsg=this.translateService.instant("profile.successUpdate.password"),this.errMsgs=[],this.eventService.logEvent(p.sb.PROFILE_PAGE,"Change Password","Password successfully changed"),this.changePasswordForm.reset()):(this.errMsgs=v.messages,this.successMsg="",this.changePasswordForm.get("currentPassword").patchValue(""))})):this.errMsgs=u.errorMessages}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(ge.ok),e.rXU(ie.aZ),e.rXU(M.US),e.rXU(M.DL),e.rXU(Y.c$))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-change-password"]],decls:46,vars:38,consts:[["absenceCorrespondence2Tip","ngbTooltip"],[1,"messagesContainer"],[3,"errorMessages","successMessage"],[1,"profilePage","intFormPage","plainRestyled"],["id","changePasswordForm","novalidate","novalidate","autocomplete","off",3,"formGroup"],["id","acctInfoPanel"],[1,"textAsLabel","primaryLabel","reportsCriteriaTitle"],[1,"introText","restyledSubtitle"],[1,"form-inline","boxText","currentUsernameContainer"],[1,"subLabel","textAsLabel","restyledUsernameLabel"],[1,"readonlyDataCol","restyledUsernameContainer"],[1,"restyledUsername"],[1,"form-inline","boxText","fieldInputContainer"],["for","currentPassword",1,"subLabel"],["type","password","id","currentPassword","formControlName","currentPassword",1,"form-control"],["for","newPassword",1,"subLabel"],["id","absenceCorrespondence2","triggers","click:blur","placement","top","role","tooltip","tabindex","0",1,"infoTooltip",3,"keydown.enter","ngbTooltip"],["src","assets/baseResources/gfx/redesignIcons/info.svg","alt","New Password Help Tip","height","25px"],["type","password","id","newPassword","formControlName","newPassword",1,"form-control"],["for","newPasswordConfirm",1,"subLabel"],["type","password","id","newPasswordConfirm","formControlName","confNewPassword",1,"form-control"],[1,"securityBoxBtns","restyledSmBtns"],["type","submit",1,"submit","secondaryBack",3,"click","value"],["type","submit",1,"submit","primaryBtn","primaryContinue",3,"click","value"]],template:function(i,r){if(1&i){const u=e.RV6();e.j41(0,"div",1),e.nrm(1,"app-messages",2),e.k0s(),e.j41(2,"div",3)(3,"form",4)(4,"span",5)(5,"span",6),e.EFF(6),e.nI1(7,"translate"),e.k0s(),e.j41(8,"div",7)(9,"span"),e.EFF(10),e.nI1(11,"translate"),e.k0s()(),e.j41(12,"div",8)(13,"span",9),e.EFF(14),e.nI1(15,"translate"),e.k0s(),e.j41(16,"div",10)(17,"span",11),e.EFF(18),e.k0s()()(),e.j41(19,"div",12)(20,"label",13),e.EFF(21),e.nI1(22,"translate"),e.k0s(),e.nrm(23,"input",14),e.k0s(),e.j41(24,"div",12)(25,"div")(26,"label",15),e.EFF(27),e.nI1(28,"translate"),e.k0s(),e.j41(29,"a",16,0),e.nI1(31,"translate"),e.bIt("keydown.enter",function(V){return e.eBV(u),V.preventDefault(),e.Njj(V.target.click())}),e.nrm(32,"img",17),e.k0s()(),e.nrm(33,"input",18),e.k0s(),e.j41(34,"div",12)(35,"label",19),e.EFF(36),e.nI1(37,"translate"),e.k0s(),e.nrm(38,"input",20),e.k0s(),e.j41(39,"div",21)(40,"input",22),e.nI1(41,"translate"),e.nI1(42,"translate"),e.bIt("click",function(){return e.eBV(u),e.Njj(r.back())}),e.k0s(),e.j41(43,"input",23),e.nI1(44,"translate"),e.nI1(45,"translate"),e.bIt("click",function(){return e.eBV(u),e.Njj(r.changePassword())}),e.k0s()()()()()}if(2&i){const u=e.sdS(30);e.R7$(),e.Y8G("errorMessages",r.errMsgs)("successMessage",r.successMsg),e.R7$(2),e.Y8G("formGroup",r.changePasswordForm),e.R7$(3),e.JRh(e.bMT(7,16,"profile.changePassword")),e.R7$(4),e.JRh(e.bMT(11,18,"profile.passwordInfo")),e.R7$(4),e.SpI(" ",e.bMT(15,20,"login.username"),":"),e.R7$(4),e.JRh(r.data.username),e.R7$(3),e.SpI("",e.bMT(22,22,"profile.currentPassword"),":"),e.R7$(6),e.SpI("",e.bMT(28,24,"profile.newPassword"),":"),e.R7$(2),e.FS9("ngbTooltip",e.bMT(31,26,"profile.newPasswordSpan")),e.BMQ("aria-expanded",u.isOpen()),e.R7$(7),e.SpI("",e.bMT(37,28,"profile.confirmPassword"),":"),e.R7$(4),e.FS9("value",e.bMT(41,30,"login.back")),e.BMQ("aria-label",e.bMT(42,32,"login.back")),e.R7$(3),e.FS9("value",e.bMT(44,34,"myAbsences.reportTime.submit")),e.BMQ("aria-label",e.bMT(45,36,"myAbsences.reportTime.submit"))}}
1,dependencies:[ge.qT,ge.me,ge.BC,ge.cb,ge.j4,ge.JD,G.md,Bn,Y.D9],styles:[".plainRestyled[_ngcontent-%COMP%]{#changePasswordForm{margin-top:0}.reportsCriteriaTitle{margin:0!important}.restyledSubtitle{font:lighter 25px/60px Aptos Light,sans-serif!important;color:#070f36;margin:0!important}.subLabel{margin:0!important}.fieldInputContainer{max-width:325px;display:flex;flex-direction:column;margin-bottom:30px!important;label{font: 16px/20px Aptos,sans-serif!important;color:#070f36!important;width:-moz-fit-content!important;width:fit-content!important}input{height:43px;border-radius:5px!important;border:1px solid #070f36!important;font: 16px/21px Aptos,sans-serif!important}}.infoTooltip{padding-left:4px}.restyledSmBtns{margin-left:0;.secondaryBack{color:#070f36!important}.primaryContinue:hover{background-color:#070f36!important}}}@media (max-width: 850px){.plainRestyled[_ngcontent-%COMP%]{.restyledSubtitle{font:lighter 14px/29px Aptos Light,sans-serif!important}}.infoMsg[_ngcontent-%COMP%]{font: 14px/17px Aptos,sans-serif!important}}"]})}}return n})();const wi=["formElement"],Qt=(n,d,t,i,r)=>({plainRestyled:n,partnerStyle:d,formPage:t,profileForm:i,intFormPage:r}),Mn=n=>({intFormPage:n}),Si=(n,d,t)=>({restyleUpdate:n,restyleForceUpdate:d,fieldError:t}),Vs=(n,d)=>({"answer-field":n,"d-flex":d}),Rs=n=>({helpText:n}),Hs=(n,d)=>({"set-maxWidth":n,fieldError:d}),Js=n=>({outroText:n});function Ts(n,d){if(1&n&&(e.j41(0,"div",5),e.nrm(1,"app-messages",6),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("errorMessages",t.errorMsgs)("successMessage",t.successMsg)}}function sr(n,d){1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.JRh(e.bMT(2,1,"profile.securityQuestionsInfo")))}function Sr(n,d){if(1&n&&(e.j41(0,"div",23)(1,"span"),e.EFF(2),e.nI1(3,"translate"),e.nI1(4,"translate"),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",t.isSecurityUpdate?e.bMT(4,3,"userprofile.force.change.questions.strength"):e.bMT(3,1,"userprofile.force.change.questions.intro")," ")}}function Qn(n,d){1&n&&(e.j41(0,"p",24),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.JRh(e.bMT(2,1,"common.mandatoryFieldsNote")))}function Ya(n,d){if(1&n&&(e.j41(0,"div",25)(1,"span",26),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div",27)(5,"span",28),e.EFF(6),e.k0s()()()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",e.bMT(3,2,"login.username"),": "),e.R7$(4),e.JRh(null==t.data?null:t.data.username)}}function vl(n,d){1&n&&(e.j41(0,"span",34),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"update.security.qs.password.req")," "))}function Wo(n,d){if(1&n&&(e.j41(0,"div",29)(1,"label",30),e.EFF(2),e.nI1(3,"translate"),e.j41(4,"span",31),e.EFF(5,"*"),e.k0s(),e.EFF(6,":"),e.k0s(),e.nrm(7,"input",32),e.DNE(8,vl,3,3,"span",33),e.k0s()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,4,"profile.currentPassword")),e.R7$(5),e.BMQ("aria-describedby",t.updateQAForm.controls.currentPassword.touched&&t.updateQAForm.controls.currentPassword.errors?"errPasswordReq":null)("aria-invalid",t.updateQAForm.controls.currentPassword.touched&&t.updateQAForm.controls.currentPassword.errors),e.R7$(),e.Y8G("ngIf",t.updateQAForm.controls.currentPassword.touched&&t.updateQAForm.controls.currentPassword.errors)}}function Is(n,d){1&n&&(e.j41(0,"div",35),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.JRh(e.bMT(2,1,"profile.changeSecurityQuestionLabel")))}function yl(n,d){1&n&&(e.j41(0,"div",50),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"questionsDuplicated")," "))}function wa(n,d){1&n&&(e.j41(0,"option",51),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"myAbsences.reportTime.pleaseSelect")," "))}function qo(n,d){if(1&n&&(e.j41(0,"option",52),e.EFF(1),e.k0s()),2&n){const t=d.$implicit,i=e.XpG(3);e.Y8G("value",t.questionId),e.R7$(),e.SpI(" ",i.getQuestionText(t)," ")}}function Ol(n,d){1&n&&(e.j41(0,"span",50),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"registration.step3.answerMinLength")," "))}function Jl(n,d){1&n&&(e.j41(0,"span",31),e.EFF(1,"*"),e.k0s())}function Er(n,d){1&n&&e.nrm(0,"div",53)}function El(n,d){if(1&n&&(e.j41(0,"span",56),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n){const t=e.XpG(2).index;e.Mz_("id","errSecurityQuestion",t,""),e.R7$(),e.SpI(" ",e.bMT(2,3,"update.security.qs.answer.req")," ")}}function Xo(n,d){if(1&n&&(e.j41(0,"span",56),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n){const t=e.XpG(2).index;e.Mz_("id","errSecurityQuestion",t,""),e.R7$(),e.SpI(" ",e.bMT(2,3,"update.security.qs.answer.minLength")," ")}}function li(n,d){if(1&n&&(e.j41(0,"div",54),e.DNE(1,El,3,5,"span",55)(2,Xo,3,5,"span",55),e.k0s()),2&n){let t,i;const r=e.XpG().index,u=e.XpG(2);e.R7$(),e.Y8G("ngIf",null==(t=u.getAnswerControl(r))?null:t.hasError("answReq")),e.R7$(),e.Y8G("ngIf",null==(i=u.getAnswerControl(r))?null:i.hasError("minLengthReq"))}}function Ps(n,d){if(1&n&&(e.j41(0,"div",36),e.DNE(1,yl,3,3,"div",37),e.j41(2,"div",38)(3,"label",39),e.EFF(4),e.k0s(),e.j41(5,"select",40),e.DNE(6,wa,3,3,"option",41)(7,qo,2,2,"option",42),e.k0s()(),e.j41(8,"div",43),e.DNE(9,Ol,3,3,"span",37),e.j41(10,"div",44)(11,"label",45),e.EFF(12),e.nI1(13,"translate"),e.DNE(14,Jl,2,0,"span",46),e.k0s(),e.j41(15,"div",44),e.nrm(16,"input",47),e.DNE(17,Er,1,0,"div",48),e.j41(18,"span",44),e.EFF(19),e.nI1(20,"translate"),e.k0s()(),e.DNE(21,li,3,2,"div",49),e.k0s()()()),2&n){let t,i,r,u,v;const V=d.index,Ce=e.XpG(2);
1e.Y8G("formGroupName",V),e.R7$(),e.Y8G("ngIf",Ce.isDuplicate(V)),e.R7$(2),e.Y8G("for","question"+V),e.R7$(),e.SpI(" ",Ce.getQuestionLabel(V)," "),e.R7$(),e.Y8G("id","question"+V)("ngClass",e.sMw(27,Si,Ce.isProfileMode,!Ce.isProfileMode,Ce.isDuplicate(V))),e.R7$(),e.Y8G("ngIf",Ce.isProfileMode),e.R7$(),e.Y8G("ngForOf",null==Ce.userQuestionResponse?null:Ce.userQuestionResponse.allQuestions),e.R7$(),e.Y8G("ngClass",Ce.isProfileMode?"fieldInputContainer":"fieldInputContainerForceUpdate"),e.R7$(),e.Y8G("ngIf",!Ce.isProfileMode&&Ce.hasAnswerError(V)),e.R7$(),e.Y8G("ngClass",e.l_i(31,Vs,Ce.isAbsenceResourcesDomain,Ce.isProfileMode&&!Ce.isAbsenceResourcesDomain&&(null==(t=Ce.getAnswerControl(V))?null:t.hasError("answReq")))),e.R7$(),e.Y8G("for","answer"+V),e.R7$(),e.SpI(" ",e.bMT(13,23,Ce.isProfileMode?"profile.securityAnswer":"registration.step3.answer"),""),e.R7$(2),e.Y8G("ngIf",Ce.isProfileMode),e.R7$(),e.Y8G("ngClass",e.eq3(34,Rs,!Ce.isProfileMode)),e.R7$(),e.Y8G("id","answer"+V)("ngClass",e.l_i(36,Hs,Ce.isAbsenceResourcesDomain&&Ce.isProfileMode,(null==(i=Ce.getAnswerControl(V))?null:i.touched)&&(null==(i=Ce.getAnswerControl(V))?null:i.errors))),e.BMQ("aria-describedby",null!=(r=Ce.getAnswerControl(V))&&r.touched&&null!=(r=Ce.getAnswerControl(V))&&r.errors?"errSecurityQuestion"+V:null)("aria-invalid",(null==(u=Ce.getAnswerControl(V))?null:u.touched)&&(null==(u=Ce.getAnswerControl(V))?null:u.errors)),e.R7$(),e.Y8G("ngIf",!Ce.isProfileMode),e.R7$(),e.Y8G("ngClass",e.eq3(39,Js,Ce.isProfileMode)),e.R7$(),e.SpI(" ",e.bMT(20,25,Ce.isProfileMode?"profile.updateSecurity.answerDisclaimer":"registration.step3.answerDisclaimer")," "),e.R7$(2),e.Y8G("ngIf",Ce.isProfileMode&&(null==(v=Ce.getAnswerControl(V))?null:v.touched)&&(null==(v=Ce.getAnswerControl(V))?null:v.errors))}}function ka(n,d){1&n&&(e.j41(0,"span",57),e.EFF(1,"\xa0"),e.k0s())}function Tr(n,d){if(1&n){const t=e.RV6();e.j41(0,"input",58),e.nI1(1,"translate"),e.nI1(2,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.back())}),e.k0s()}2&n&&(e.FS9("value",e.bMT(1,2,"login.back")),e.BMQ("aria-label",e.bMT(2,4,"login.back")))}function zo(n,d){if(1&n){const t=e.RV6();e.j41(0,"form",7,0),e.bIt("ngSubmit",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.updateSecurityQuestions())}),e.j41(2,"span",8)(3,"span",9),e.EFF(4),e.nI1(5,"translate"),e.k0s(),e.j41(6,"div",10),e.DNE(7,sr,3,3,"span",11)(8,Sr,5,5,"div",12),e.k0s(),e.DNE(9,Qn,3,3,"p",13)(10,Ya,7,4,"div",14)(11,Wo,9,6,"div",15)(12,Is,3,3,"div",16),e.j41(13,"div",17),e.DNE(14,Ps,22,41,"div",18),e.k0s(),e.j41(15,"div",19),e.DNE(16,ka,2,0,"span",20)(17,Tr,3,6,"input",21),e.nrm(18,"input",22),e.nI1(19,"translate"),e.nI1(20,"translate"),e.k0s()()()}if(2&n){const t=e.XpG();e.Y8G("ngClass",e.eq3(23,Mn,!t.isProfileMode))("formGroup",t.updateQAForm),e.R7$(4),e.SpI(" ",e.bMT(5,17,t.isProfileMode?"profile.updateSecurityQuestion":"userprofile.force.change.questions.header")," "),e.R7$(3),e.Y8G("ngIf",t.isProfileMode),e.R7$(),e.Y8G("ngIf",!t.isProfileMode),e.R7$(),e.Y8G("ngIf",t.isProfileMode),e.R7$(),e.Y8G("ngIf",t.isProfileMode),e.R7$(),e.Y8G("ngIf",t.isProfileMode),e.R7$(),e.Y8G("ngIf",t.isProfileMode),e.R7$(2),e.Y8G("ngForOf",t.securityQsArray.controls)("ngForTrackBy",t.trackByIndex),e.R7$(),e.Y8G("ngClass",t.isProfileMode?"restyledSmBtns":"registerBtns"),e.R7$(),e.Y8G("ngIf",!t.isProfileMode),e.R7$(),e.Y8G("ngIf",t.isProfileMode),e.R7$(),e.Y8G("ngClass",t.isProfileMode?"primaryContinue":"")("value",e.bMT(19,19,t.isProfileMode?"myAbsences.reportTime.submit":"userprofile.force.change.questions.updateButton")),e.BMQ("aria-label",e.bMT(20,21,"myAbsences.reportTime.submit"))}}function xo(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",59)(1,"h1",60),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"p"),e.EFF(5),e.nI1(6,"translate"),e.k0s(),e.j41(7,"div",61)(8,"input",62),e.nI1(9,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.navigateToHomepage())}),e.k0s()()()}2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,3,"userprofile.force.change.questions.success.header"),""),e.R7$(3),e.JRh(e.bMT(6,5,"userprofile.force.change.questions.success.intro")),e.R7$(3),e.FS9("value",e.bMT(9,7,"leaverequest.label.continue")))}let Os=(()=>{class n{constructor(t,i,r,u,v,V,Ce,it){this.formBuilder=t,this.activatedRoute=i,this.location=r,this.userService=u,this.translate=v,this.eventService=V,this.router=Ce,this.bootstrapService=it,this.data=history.state?.data,this.errorMsgs=[],this.localeId=JSON.parse(sessionStorage.getItem(p.YM.DOMAIN_INFO))?.localeId,this.updateQuestionsRequest=new Yt.kB,this.isAbsenceResourcesDomain=!0,this.isProfileMode=!0,this.isSecurityUpdate=!0,this.duplicateIndex=-1,this.showSuccessTemplate=!1}canDeactivate(){return this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)),!(!this.isProfileMode&&!this.showSuccessTemplate&&this.userInfo)||this.userService.canLeaveForceUpdate()}ngOnInit(){if(this.isProfileMode=!this.router.url.includes("force-update-security-questions"),this.userQuestionResponse=this.activatedRoute.snapshot.data.userQuestions,this.isProfileMode){if(null==this.data)return void this.back();this.eventService.logEvent(p.sb.PROFILE_PAGE,"Security Questions","View Security Questions")}this.initSecurityQuestionsForm()}initSecurityQuestionsForm(){this.createForm();const t=this.userQuestionResponse?.userQuestions||[],i=this.userQuestionResponse?.numOfQuestions||0,r=this.userQuestionResponse?.allQuestions||[];for(let u=0;u<i;u++){const v=t[u];let V=v?.questionId;!r.some(it=>it.questionId===V)&&r.length>0&&(V=r[0].questionId),this.securityQsArray.push(this.formBuilder.group({qsId:[V||"",ge.k0.required],answ:[v?.answer||"",[ge.k0.required,this.validateAnswer]]}))}}createForm(){this.updateQAForm=this.formBuilder.group({currentPassword:["",this.isProfileMode?[ge.k0.required]:[]],securityQuestions:new ge.Yp([])})}get securityQsArray(){return this.updateQAForm.get("securityQuestions")}back(){this.location.back()}validateAnswer(t){const i=t.value?.trim();return!i||i.length<=0?{answReq:!0}:i.length<4?{minLengthReq:!0}:null}updateSecurityQuestions(){this.errorMsgs=[],this.successMsg="",this.duplicateIndex=-1;for(let r=0;r<this.securityQsArray.length;r++){const u=this.getAnswerControl(r);u&&u.setValue(u.value?.trim())}if(!this.validateFormFields())return;const t=new Set,i=this.securityQsArray.value;this.updateQuestionsRequest.userSecurityQuestions=[];for(let r=0;r<i.length;r++){const u=this.securityQsArray.at(r).value,v=+u.qsId;if(t.has(+u.qsId))return this.duplicateIndex=r,void(this.isProfileMode&&(this.errorMsgs.push(this.translate.instant("questionsDuplicated")),this.resetPasswordOnFailure()));t.add(v),this.updateQuestionsRequest.userSecurityQuestions.push({userId:0,questionId:v,answer:u.answ,questionKey:"",questionStringInEnglish:"",questionStringInSpanish:"",creationDate:void 0,migrated:!0})}this.isProfileMode&&(this.updateQuestionsRequest.currentPassword=this.updateQAForm.get("currentPassword").value),this.userService.updateSecurityQuestions(this.updateQuestionsRequest,!this.isProfileMode).subscribe(r=>{this.handleUpdateResponse(r)})}handleUpdateResponse(t){t===p.YM.SUCCESS?this.isProfileMode?(this.eventService.logEvent(p.sb.PROFILE_PAGE,"Security Questions","Security Questions and Answers successfully saved"),this.resetPasswordOnFailure(),this.successMsg=this.translate.instant("profile.successU
1pdate.question")):this.showSuccessTemplate=!0:t<0?(this.duplicateIndex=-1*t-1,this.isProfileMode&&(this.errorMsgs.push(this.translate.instant("questionsDuplicated")),this.resetPasswordOnFailure())):this.isProfileMode&&(this.errorMsgs.push(this.translate.instant("profile.currentPasswordRequired")),this.resetPasswordOnFailure())}resetPasswordOnFailure(){this.updateQAForm.get("currentPassword").setValue(""),this.updateQAForm.get("currentPassword").markAsUntouched(),this.successMsg=""}validateFormFields(){this.updateQAForm.markAllAsTouched();const t=this.updateQAForm.valid;return t||(this.isProfileMode&&this.updateQAForm.get("currentPassword").setValue(""),setTimeout(()=>{const i=this.formElement?.nativeElement?.querySelector(".form-control.ng-invalid, select.ng-invalid, input.ng-invalid");i&&i.focus()})),t}get securityQuestionsControls(){return this.updateQAForm.controls.securityQuestions.controls}navigateToHomepage(){this.bootstrapService.loadBootstarpOnLogin(!0)}getQuestionLabel(t){return this.isProfileMode?this.translate.instant("profile.securityQuestion")+" "+(t+1):this.translate.instant("registration.step3.question",{index:t+1})}hasAnswerError(t){const i=this.securityQuestionsControls[t]?.get("answ");return!(!i?.touched||!i?.invalid||!i.hasError("minLengthReq")&&!i.hasError("answReq"))}getAnswerControl(t){return this.securityQuestionsControls[t].get("answ")}isDuplicate(t){return!this.isProfileMode&&this.duplicateIndex>=0&&t===this.duplicateIndex}getQuestionText(t){return 0===this.localeId?t.questionStringInEnglish:t.questionStringInSpanish}trackByIndex(t){return t}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(ge.ok),e.rXU(q.nX),e.rXU(ie.aZ),e.rXU(M.DL),e.rXU(Y.c$),e.rXU(M.US),e.rXU(q.Ix),e.rXU(M._E))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-update-security-questions-answers"]],viewQuery:function(i,r){if(1&i&&e.GBs(wi,5),2&i){let u;e.mGM(u=e.lsd())&&(r.formElement=u.first)}},decls:4,vars:10,consts:[["formElement",""],["class","messagesContainer",4,"ngIf"],[1,"profilePage",3,"ngClass"],["id","updateQAForm","name","","class","behalfForm","novalidate","novalidate","autocomplete","off",3,"ngClass","formGroup","ngSubmit",4,"ngIf"],["class","each-step",4,"ngIf"],[1,"messagesContainer"],[3,"errorMessages","successMessage"],["id","updateQAForm","name","","novalidate","novalidate","autocomplete","off",1,"behalfForm",3,"ngSubmit","ngClass","formGroup"],["id","acctInfoPanel"],[1,"textAsLabel","primaryLabel","reportsCriteriaTitle"],[1,"introText","restyledSubtitle"],[4,"ngIf"],["class","introText",4,"ngIf"],["class","mandatoryFieldsNote",4,"ngIf"],["class","form-inline boxText currentUsernameContainer",4,"ngIf"],["class","form-inline boxText fieldInputContainer",4,"ngIf"],["class","primaryLabel restyledSecondTitle",4,"ngIf"],["formArrayName","securityQuestions"],[3,"formGroupName",4,"ngFor","ngForOf","ngForTrackBy"],[1,"securityBoxBtns",3,"ngClass"],["class","extraSpacer textAsLabel labelSpacer ",4,"ngIf"],["type","button","class","submit secondaryBack",3,"value","click",4,"ngIf"],["type","submit",1,"submit","primaryBtn",3,"ngClass","value"],[1,"introText"],[1,"mandatoryFieldsNote"],[1,"form-inline","boxText","currentUsernameContainer"],[1,"subLabel","textAsLabel","restyledUsernameLabel"],[1,"readonlyDataCol","restyledUsernameContainer"],[1,"restyledUsername"],[1,"form-inline","boxText","fieldInputContainer"],["for","currentPassword",1,"subLabel"],[1,"reqError"],["type","password","id","currentPassword","value","","formControlName","currentPassword","aria-required","true","autocomplete","off",1,"form-control"],["id","errPasswordReq","class","rf-msgs-err","role","alert",4,"ngIf"],["id","errPasswordReq","role","alert",1,"rf-msgs-err"],[1,"primaryLabel","restyledSecondTitle"],[3,"formGroupName"],["class","error-message",4,"ngIf"],[1,"form-inline","boxText","longSelectContainer"],[1,"subLabel",3,"for"],["formControlName","qsId","role","listbox","tabindex","0",3,"id","ngClass"],["value","","disabled","",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[1,"form-inline","boxText",3,"ngClass"],[3,"ngClass"],[1,"subLabel","securityAnswer",3,"for"],["class","reqError",4,"ngIf"],["type","text","formControlName","answ","min","4","aria-required","true",1,"form-control",3,"id","ngClass"],["class","clearFix",4,"ngIf"],["class","rf-msgs-err","role","alert",4,"ngIf"],[1,"error-message"],["value","","disabled",""],[3,"value"],[1,"clearFix"],["role","alert",1,"rf-msgs-err"],["class","rf-msgs-sum",3,"id",4,"ngIf"],[1,"rf-msgs-sum",3,"id"],[1,"extraSpacer","textAsLabel","labelSpacer"],["type","button",1,"submit","secondaryBack",3,"click","value"],[1,"each-step"],[1,"h1-success"],[1,"registerBtns"],["type","button",1,"primaryBtn",3,"click","value"]],template:function(i,r){1&i&&(e.DNE(0,Ts,2,2,"div",1),e.j41(1,"div",2),e.DNE(2,zo,21,25,"form",3)(3,xo,10,9,"div",4),e.k0s()),2&i&&(e.Y8G("ngIf",r.isProfileMode),e.R7$(),e.Y8G("ngClass",e.s1E(4,Qt,r.isAbsenceResourcesDomain,!r.isProfileMode&&!r.isAbsenceResourcesDomain,!r.isProfileMode&&r.isAbsenceResourcesDomain,r.isProfileMode,r.isProfileMode)),e.R7$(),e.Y8G("ngIf",!r.showSuccessTemplate),e.R7$(),e.Y8G("ngIf",r.showSuccessTemplate))},dependencies:[ie.YU,ie.Sq,ie.bT,ge.qT,ge.xH,ge.y7,ge.me,ge.wz,ge.BC,ge.cb,ge.
1j4,ge.JD,ge.$R,ge.v8,Bn,Y.D9],styles:[".plainRestyled[_ngcontent-%COMP%]   #updateQAForm[_ngcontent-%COMP%]{margin-top:0}.profilePage[_ngcontent-%COMP%]{&.formPage{padding:20px 30px;max-width:unset;.reportsCriteriaTitle{font-size:1.5em;font-weight:700;display:block;margin-bottom:0!important}.introText{margin:0 0 1.5em;max-width:586px;font-family:Aptos,sans-serif!important;font-weight:400;color:#070f36!important;font-size:14px;line-height:1.4}.restyledSubtitle{margin-bottom:20px!important}.subLabel{font-weight:700;margin-top:10px;margin-bottom:5px!important;color:#333;display:block;&.securityAnswer{display:inline-block}}.form-control{margin-bottom:10px;display:block;width:100%;max-width:400px}.helpText .form-control{margin-bottom:5px}.rf-msgs-err{color:#c00;margin-bottom:5px;font-weight:700;display:block}.error-message{font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;font-size:1.1em!important;font-weight:600;margin:.5em 0 1em 1em!important;color:#e50000!important}.error{color:#c00;font-weight:700}.boxText{margin-bottom:20px!important;display:block}.primaryBtn{background-color:#004d99;color:#fff;padding:10px 20px;border:none;border-radius:4px;font-weight:700;cursor:pointer;&:hover{background-color:#036}}.clearFix{clear:both}}}.plainRestyled[_ngcontent-%COMP%]{.reportsCriteriaTitle{margin:0!important}.restyledSubtitle{font:lighter 25px/60px Aptos Light,sans-serif!important;color:#070f36;margin:0!important}#errPasswordReq{margin-left:0!important}.restyledSecondTitle{max-width:472px;font: 30px/36px Aptos,sans-serif!important;border-bottom:1px solid #070f36;margin:0 0 40px!important;color:#070f36!important}.subLabel{margin:0!important;padding-bottom:4px}.fieldInputContainer,.fieldInputContainerForceUpdate{display:flex!important;flex-direction:column;label{font: 16px/20px Aptos,sans-serif!important;color:#070f36!important;width:-moz-fit-content!important;width:fit-content!important}}.fieldInputContainer{max-width:325px;margin-bottom:45px!important;input{height:43px;border-radius:5px!important;border:1px solid #070f36!important;font: 16px/21px Aptos,sans-serif!important}}.fieldInputContainerForceUpdate input{border-radius:10px!important;font: 16px/21px Aptos,sans-serif!important}.longSelectContainer{max-width:470px;display:flex;flex-direction:column;margin-bottom:10px!important;label{font: 16px/20px Aptos,sans-serif!important;color:#070f36!important;width:-moz-fit-content!important;width:fit-content!important}.restyleUpdate{height:43px;border-radius:5px!important;border:1px solid #070f36!important;font: 16px/21px Aptos,sans-serif!important}.restyleForceUpdate{border-radius:10px!important;font-size:16px!important;padding:6px 12px;height:auto}}.outroText{margin:0;color:#070f36;font: 14px/17px Aptos,sans-serif!important;padding-top:2px}.restyledSmBtns{margin-left:0;.secondaryBack{color:#070f36!important}.primaryContinue:hover{background-color:#070f36!important}}.h1-success{font-size:35px!important;margin:10px!important}.registerBtns{width:100%!important;margin-left:10px;display:flex;align-items:center;justify-content:start;gap:8px}.registerBtns .primaryBtn{font-size:20px!important;font-weight:400!important;height:63px;min-width:156px;color:#fff!important;background:#070f36!important;max-width:325px;border-radius:100px!important;display:inline-block;align-items:center;text-align:center;justify-content:center;border:unset!important}
1.answer-field{display:flex;flex-direction:column}.set-maxWidth{width:100%!important}}@media (max-width: 850px){.plainRestyled[_ngcontent-%COMP%]{.restyledSubtitle{font:lighter 14px/29px Aptos Light,sans-serif!important}.restyledSecondTitle{font: 20px/30px Aptos,sans-serif!important}}}"]})}}return n})(),oa=(()=>{class n{constructor(t,i){this.translate=t,this.eventService=i,this.loginUrl="https://www.guidanceresources.com/groWeb/login/login.xhtml"}ngOnInit(){this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)),this.eventService.logEvent(p.sb.VIEW_EAP,"User viewing EAP page",null)}loginToGro(){this.eventService.logEvent(p.sb.VIEW_EAP_LOGIN,"User navigating to EAP login",null),window.open(this.loginUrl,"_blank")}registerToGro(){this.eventService.logEvent(p.sb.VIEW_EAP_REGISTRATION,"User navigating to EAP registration",null),window.open(this.userInfo.userPrivilege.groWebId?"https://www.guidanceresources.com/groWeb/registration/registration1.xhtml?webid="+this.userInfo.userPrivilege.groWebId:this.loginUrl,"_blank")}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(Y.c$),e.rXU(M.US))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-eap-page"]],decls:33,vars:27,consts:[["tabindex","-1",1,"row"],[1,"col-lg-6","col-md-6","col-sm-6","h1Row"],["id","faqTitle"],[1,"headRow","contactContent"],[1,"contactInner"],[1,"bold"],[1,"bold",3,"click"]],template:function(i,r){1&i&&(e.j41(0,"div",0)(1,"div",1)(2,"h1",2),e.EFF(3),e.nI1(4,"translate"),e.k0s()()(),e.j41(5,"div",3)(6,"div",4)(7,"p")(8,"span",5),e.EFF(9),e.nI1(10,"translate"),e.k0s(),e.EFF(11),e.nI1(12,"translate"),e.k0s(),e.j41(13,"p"),e.EFF(14),e.nI1(15,"translate"),e.k0s(),e.j41(16,"p"),e.EFF(17),e.nI1(18,"translate"),e.k0s(),e.j41(19,"p")(20,"span",5),e.EFF(21),e.nI1(22,"translate"),e.k0s(),e.j41(23,"a",6),e.bIt("click",function(){return r.registerToGro()}),e.EFF(24),e.nI1(25,"translate"),e.k0s()(),e.j41(26,"p")(27,"span",5),e.EFF(28),e.nI1(29,"translate"),e.k0s(),e.j41(30,"a",6),e.bIt("click",function(){return r.loginToGro()}),e.EFF(31),e.nI1(32,"translate"),e.k0s()()()()),2&i&&(e.R7$(3),e.JRh(e.bMT(4,9,"contact.eap")),e.R7$(6),e.JRh(e.bMT(10,11,"contact.eap.text1")),e.R7$(2),e.SpI(" ",e.bMT(12,13,"contact.eap.text2")," "),e.R7$(3),e.SpI(" ",e.bMT(15,15,"contact.eap.text3")," "),e.R7$(3),e.SpI(" ",e.bMT(18,17,"contact.eap.text4")," "),e.R7$(4),e.JRh(e.bMT(22,19,"contact.eap.groRegister")),e.R7$(3),e.JRh(e.bMT(25,21,"contact.eap.register")),e.R7$(4),e.JRh(e.bMT(29,23,"contact.eap.groLogin")),e.R7$(3),e.JRh(e.bMT(32,25,"contact.eap.login")))},dependencies:[Y.D9],encapsulation:2})}}return n})();var vs=I(9437),ci=I(7673);const Ql=n=>({fieldError:n}),No=(n,d)=>({fieldError:n,"dropdown-disabled":d}),nl=n=>({disabled:n});function _o(n,d){if(1&n&&(e.j41(0,"h1",33)(1,"span",34),e.EFF(2),e.nI1(3,"translate"),e.j41(4,"span",35),e.EFF(5),e.k0s()()()),2&n){const t=e.XpG();e.R7$(2),e.SpI(" ",e.bMT(3,4,"workingAs")," "),e.R7$(3),e.E5c(" ",t.userInfo.onBehalfFirstName," ",t.userInfo.onBehalfLastName," (",t.userInfo.onBehalfEmplNumber,") ")}}function Tl(n,d){1&n&&(e.j41(0,"span",38)(1,"span",39),e.EFF(2),e.nI1(3,"translate"),e.nI1(4,"translate"),e.j41(5,"a",40),e.EFF(6),e.nI1(7,"translate"),e.k0s()()()),2&n&&(e.R7$(2),e.Lme("",e.bMT(3,3,"submitDocument.successMsg")," ",e.bMT(4,5,"submitDocument.successMsgViewDoc")," "),e.R7$(4),e.JRh(e.bMT(7,7,"submitDocument.clickHere")))}function dd(n,d){1&n&&(e.j41(0,"span",38)(1,"span",41),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.JRh(e.bMT(3,1,"submitDocument.successMsg")))}function Zl(n,d){if(1&n&&(e.j41(0,"span",36),e.DNE(1,Tl,8,9,"span",37)(2,dd,4,3,"span",37),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",null==t.userInfo||null==t.userInfo.userPrivilege?null:t.userInfo.userPrivilege.allowLoggedUserViewDocuments),e.R7$(),e.Y8G("ngIf",!(null!=t.userInfo&&null!=t.userInfo.userPrivilege&&t.userInfo.userPrivilege.allowLoggedUserViewDocuments))}}function Fl(n,d){if(1&n&&(e.j41(0,"span",36)(1,"span",38)(2,"span",42),e.EFF(3),e.k0s()()()),2&n){const t=e.XpG();e.R7$(3),e.JRh(t.failMsg)}}function Ko(n,d){1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"translate"),e.j41(3,"b"),e.EFF(4),e.nI1(5,"translate"),e.k0s(),e.bVm()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,2,"submitDocument.heading.wpa")," "),e.R7$(3),e.JRh(e.bMT(5,4,"submitDocument.heading.1")))}function ec(n,d){1&n&&(e.EFF(0),e.nI1(1,"translate"),e.j41(2,"b"),e.EFF(3),e.nI1(4,"translate"),e.k0s()),2&n&&(e.SpI(" ",e.bMT(1,2,"submitDocument.heading.leave"),""),e.R7$(3),e.JRh(e.bMT(4,4,"submitDocument.heading.1")))}function Oo(n,d){if(1&n&&(e.j41(0,"option",43),e.EFF(1),e.k0s()),2&n){const t=d.$implicit;e.Y8G("value",t.absenceId),e.R7$(),e.SpI(" ",t.leaveRequestDescription," ")}}function ud(n,d){if(1&n&&(e.j41(0,"option",43),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n){const t=d.$implicit;e.Y8G("value",t.id),e.R7$(),e.Lme(" ",t.id," - ",e.bMT(2,3,"workplaceAccommodation")," ")}}function tc(n,d){if(1&n&&(e.qex(0),e.DNE(1,ud,3,5,"option",19),e.bVm()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.workplaceAccommodations)}}function en(n,d){1&n&&(e.j41(0,"option",43),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.Y8G("value",void 0),e.R7$(),e.JRh(e.bMT(2,2,"submitDocument.unknownLeaveRequestId")))}function Il(n,d){1&n&&(e.j41(0,"div",44)(1,"span",45),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"submitDocument.selectRequest")," "))}function pd(n,d){1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"translate"),e.bVm()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"submitDocument.disclaimerText.wpa")," "))}function Ll(n,d){1&n&&(e.EFF(0),e.nI1(1,"translate")),2&n&&e.SpI(" ",e.bMT(1,1,"submitDocument.disclaimerText.leave")," ")}function qi(n,d){if(1&n&&(e.j41(0,"option",43),e.EFF(1),e.k0s()),2&n){const t=d.$implicit;e.Y8G("value",t.value),e.R7$(),e.SpI(" ",t.label," ")}}function cs(n,d){1&n&&(e.j41(0,"div",44)(1,"span",46),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"submitDocument.selectDocType")," "))}function hd(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",23)(1,"div",47),e.EFF(2),e.nI1(3,"translate"),e.j41(4,"a",48),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.gotoLeaveRequestDetails(r.leaveRequestId))}),e.EFF(5),e.nI1(6,"translate"),e.k0s(),e.nrm(7,"br"),e.EFF(8),e.nI1(9,"translate"),e.j41(10,"a",48),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.gotoLeaveRequestDetails(r.leaveRequestId))}),e.EFF(11),e.nI1(12,"translate"),e.k0s()()()}2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,4,"submitDocument.rtw.line1"),"\xa0"),e.R7$(3),e.JRh(e.bMT(6,6,"submitDocument.rtw.line1.link")),e.R7$(3),e.SpI(" ",e.bMT(9,8,"submitDocument.rtw.line2"),"\xa0"),e.R7$(3),e.JRh(e.bMT(12,10,"submitDocument.rtw.line2.link")))}function Ac(n,d){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"input",49),e.nI1(2,"translate"),e.bIt("keydown.enter",function(r){return e.eBV(t),r.preventDefault(),e.Njj(r.target.click())}),e.k0s(),e.j41(3,"input",50),e.nI1(4,"translate"),e.bIt("change",function(r){e.eBV(t);const u=e.XpG();return e.Njj(u.fileUpload(r))}),e.k0s(),e.bVm()}if(2&n){const t=e.XpG();e.R7$(),e.FS9("value",e.bMT(2,3,"submitDocument.browse")),e.BMQ("aria-invalid",t.f.pdfFile.touched&&t.pdfErrorMsg),e.R7$(2),e.FS9("placeholder",e.bMT(4,5,"submitDocument.browse"))}}function Iu(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",51)(1,"span"),e.EFF(2),e.k0s(),e.j41(3,"input",52),e.nI1(4,"translate"),e.bIt("click",function(r){e.eBV(t);const u=e.XpG();return e.Njj(u.fileRemove(r))}),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(2),e.JRh(t.submitDocumentRequest.file.name),e.R7$(),e.FS9("value",e.bMT(4,2,"submitDocument.removeDoc"))}}function w(n,d){if(1&n&&(e.j41(0,"div",44)(1,"span",53),e.EFF(2),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.SpI(" ",t.pdfErrorMsg," ")}}let H=(()=>{class n{constructor(t,i,r,u,v,V,Ce){this.formBuilder=t,this.activatedRoute=i,this.eventService=r,this.translate=u,this.location=v,this.router=V,this.userService=Ce,this.allowedFileTypes=["application/pdf","image/jpeg","image/jpg"],this.documentTypeOptions=[],this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)),this.data=history.state.data,this.constants=p.YM}ngOnInit(){this.leaveRequestId=history.state?.data?.leaveRequestId,this.absenceResource=!se.z.isDomainBlockedFromRedesignUpdates(),this.submitDocLeaveRequest=this.activatedRoute.snapshot.data.submitDocLeaveRequest,this.userSession=this.activatedRoute.snapshot.data.userSession,this.workplaceAccommodations=this.activatedRoute.snapshot.data.workplaceAccommodations,this.hasADAComprehensiveProduct=this.isAccountADAComprehensive(this.userSession.fmlaSourceProductIds||[]),this.createForm(),this.submitDocumentRequest=new Yt.rr,this.createDocumentList(!0,this.hasADAComprehensiveProduct),this.setDocumentTypeDropdownState(!1,""),this.data&&this.data.leaveRequestId?(this.submitDocumentRequest.leaveReqId=this.data.leaveRequestId,this.submitDocForm.get("requestId").patchValue(this.data.leaveRequestId),this.setDocumentTypeDropdownState(!0,p.YM.LEAVE)):this.data&&this.data.wpaId&&(this.submitDocumentRequest.wpaId=this.data.wpaId,this.submitDocForm.get("requestId").patchValue(this.data.wpaId),this.setDocumentTypeDropdownState(!1,p.YM.WPA)),this.eventService.logEvent(p.sb.VIEW_SUBMIT_DOCUMENT,p.sb.VIEW_SUBMIT_DOCUMENT_MSG,null),this.documentTypeRtwIndex=p.wZ.RTW}createDocumentList(t,i){this.documentTypeOptions=[{label:this.translate.instant("submitDocument.docTypeCertForm"),value:p.wZ.CERT_FORM},{label:this.translate.instant("submitDocument.docTypeDocNote"),value:p.wZ.DOC_NOTE},{label:this.translate.instant("submitDocument.docTypeSTDForm"),value:p.wZ.STD_FORM},{label:this.translate.instant("submitDocument.docTypeInfoForm"),value:p.wZ.INFO_FORM},{label:this.translate.instant("submitDocument.docTypeADA"),value:p.wZ.ADA},{label:this.translate.instant("submitDocument.docTypeRTW"),value:p.wZ.RTW},{label:this.translate.instant("submitDocument.docTypeCovidResult"),value:p.wZ.COVID_RESULT},{label:this.translate.instant("submitDocument.docTypeBereav"),value:p.wZ.BEREAVEMENT},{label:this.translate.instant("submitDocument.docTypeJuryDuty"),value:p.wZ.JURY_DUTY},{label:this.translate.instant("submitDocument.docTypeMilitary"),value:p.wZ.MILITARY},{label:this.translate.instant("submitDocument.docTypeBirth"),value:p.wZ.BIRTH},{label:this.translate.instant("submitDocument.docTypeStatePaid"),value:p.wZ.STATE_PAID},{label:this.translate.instant("submitDocument.docTypePersonalLeave"),value:p.wZ.PERSONAL_LEAVE}],i&&t&&this.documentTypeOptions.push({label:this.translate.instant("submitDocument.docTypeADAComprehensive"),value:p.wZ.ADA_COMPREHENSIVE})}onSubmit(){if(this.failMsg="",this.fieldsValidated()&&""===this.pdfErrorMsg)this.isSubmitted=!0,this.userService.submitDocument(this.submitDocumentRequest).pipe((0,vs.W)(t=>(this.failMsg=this.translate.instant("submitDocument.failMsg"),this.isSubmitted=!1,(0,ci.of)(t)))).subscribe(t=>
1{if(!0===t){this.isSuccess=!0;const i=this.submitDocForm.get("requestId").value?this.submitDocForm.get("requestId").value:null,r=this.documentTypeOptions.find(u=>u.value===Number(this.submitDocumentRequest.documentTypeIndex))?.label;this.eventService.logEvent(p.sb.SUBMIT_DOCUMENT,r,i),this.resetFields()}else!1===t&&(this.failMsg=this.translate.instant("submitDocument.failMsg"));this.isSubmitted=!1});else{const t=Object.keys(this.submitDocForm.controls).find(i=>this.submitDocForm.controls[i].invalid);"requestId"===t?document.getElementById("leaveWpaRequestId")?.focus():"selectedDocumentTypeIndex"===t?document.getElementById("docType")?.focus():("pdfFile"===t||""!==this.pdfErrorMsg)&&document.getElementById("browseBtn")?.focus()}}fieldsValidated(){let t=!0;return Object.keys(this.submitDocForm.controls).forEach(i=>{this.submitDocForm.controls[i].markAsTouched(),this.submitDocForm.controls[i].errors&&(t=!1)}),this.submitDocForm.get("pdfFile").value?this.submitDocumentRequest.file&&this.submitDocumentRequest.file.size>10485760?(t=!1,this.pdfErrorMsg=this.translate.instant("submitDocument.pdfSizeErr"),this.submitDocForm.get("pdfFile").markAsTouched()):this.submitDocumentRequest.file&&!this.allowedFileTypes.includes(this.submitDocumentRequest.file.type)&&(t=!1,this.pdfErrorMsg=this.translate.instant("submitDocument.pdfTypeErr"),this.submitDocForm.get("pdfFile").markAsTouched()):(t=!1,this.pdfErrorMsg=this.translate.instant("submitDocument.selectPdf"),this.submitDocForm.get("pdfFile").markAsTouched()),t}resetFields(){this.createForm(),this.submitDocumentRequest=new Yt.rr,this.pdfErrorMsg=""}createForm(){this.submitDocForm=this.formBuilder.group({selectedDocumentTypeIndex:["",ge.k0.required],pdfFile:["",ge.k0.required],requestId:["",ge.k0.required]})}onOptionsSelected(t){this.failMsg="",this.isSuccess=!1;const i=t.target.value;this.submitDocumentRequest.documentTypeIndex=i,this.submitDocForm.get("selectedDocumentTypeIndex").setValue(i),this.showRtwTips=!0===this.activatedRoute.snapshot.data.accountHasRtwProduct&&Number(i)===this.documentTypeRtwIndex}gotoLeaveRequestDetails(t){null!=t&&this.router.navigateByUrl("leaveDetails?leaveID="+t+"&mapTypes=lrHCPSpecialtyMap,DecisionReasonDeniedMap,DecisionReasonCancelledMap,LeaveDecisionStatusMap")}onRequestIdSelected(t){this.failMsg="",this.isSuccess=!1;const i=t.target.options[t.target.options.selectedIndex];this.leaveRequestId=i.value,this.submitDocForm.get("requestId").setValue(i.value);let r=this.submitDocLeaveRequest.find(v=>v.absenceId===i.value),u=this.workplaceAccommodations.find(v=>v.id.toString()===i.value);this.submitDocumentRequest=new Yt.rr,r?(this.submitDocumentRequest.leaveReqId=i.value,this.setDocumentTypeDropdownState(!0,p.YM.LEAVE)):u?(this.submitDocumentRequest.wpaId=i.value,this.setDocumentTypeDropdownState(!1,p.YM.WPA)):this.setDocumentTypeDropdownState(!0,p.YM.UNKNOWN)}setDocumentTypeDropdownState(t,i){if(this.isDocumentTypeEnabled=t,t?this.submitDocForm.get("selectedDocumentTypeIndex").enable():this.submitDocForm.get("selectedDocumentTypeIndex").disable(),i===p.YM.LEAVE)this.createDocumentList(!1,this.hasADAComprehensiveProduct),this.submitDocForm.get("selectedDocumentTypeIndex").patchValue("");else if(i===p.YM.WPA){this.createDocumentList(!0,this.hasADAComprehensiveProduct);const r=p.wZ.ADA_COMPREHENSIVE;this.submitDocForm.get("selectedDocumentTypeIndex").patchValue(r),this.submitDocumentRequest.documentTypeIndex=r.toString()}else this.createDocumentList(!0,this.hasADAComprehensiveProduct),this.submitDocForm.get("selectedDocumentTypeIndex").patchValue("")}goBack(){this.location.back()}fileUpload(t){this.pdfErrorMsg="";const i=t.target.files;if(i){const r=i[0];if(this.submitDocumentRequest.file=r,"application/pdf"===r.type){const u=new FileReader,v=this;r.size<1?v.pdfErrorMsg=v.translate.instant("submitDocument.invalid"):(u.readAsArrayBuffer(r),u.onload=function(){new Blob([u.result],{type:"application/json"}).text().then(Ce=>{Ce.substring(0,8).match(new RegExp("%PDF-1.[0-7]"))&&Ce.includes("%%EOF")?(Ce.includes("Encrypt")||Ce.substring(Ce.lastIndexOf("<<"),Ce.lastIndexOf(">>")).includes("/Encrypt"))&&(v.pdfErrorMsg=v.translate.instant("submitDocument.pdfEncrypted")):v.pdfErrorMsg=v.translate.instant("submitDocument.invali
1d")})})}}}fileRemove(t){this.pdfErrorMsg="",this.submitDocumentRequest.file=null,t.target.files=null,this.submitDocForm.get("pdfFile").patchValue(null),this.submitDocForm.get("pdfFile").setErrors(null)}get f(){return this.submitDocForm.controls}isAccountADAComprehensive(t){return t.includes(p.YM.FMLA_SOURCE_ADA_COMPREHENSIVE_PRODUCT)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(ge.ok),e.rXU(q.nX),e.rXU(M.US),e.rXU(Y.c$),e.rXU(ie.aZ),e.rXU(q.Ix),e.rXU(M.DL))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-submit-documentation"]],decls:69,vars:63,consts:[["leaveHeading",""],["leaveDisclaimer",""],["hasFile",""],["class","hoverable","id","wobAbsTitle",4,"ngIf"],[1,"card","card-padding"],[1,"row"],[1,"col-lg-6","col-md-6","col-sm-6","h1Row"],["id","submitDocTitle",1,"page-title"],["id","submitDocumentMessages",1,"messageContainer"],["class","rf-msgs",4,"ngIf"],[1,"introText","reset-margins"],[4,"ngIf","ngIfElse"],["id","submitDocFormId","name","","enctype","multipart/form-data","method","post",1,"behalfForm",3,"ngSubmit","keydown.enter","formGroup"],[1,"mandatoryFieldsNote"],[1,"boxText","vertical"],["for","leaveWpaRequestId","id","requestLabel",1,"subLabel","doc-request-label"],[1,"reqError"],["formControlName","requestId","id","leaveWpaRequestId","aria-required","true","aria-describedby","errRequestId",1,"selected-dropdown",3,"change","ngClass"],["value","","disabled",""],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"value",4,"ngIf"],["class","rf-msgs-err","role","alert",4,"ngIf"],[1,"form-inline","boxText"],[1,"introText","reset-margins","font-italic"],["for","docType","id","docTypeLabel",1,"subLabel","select-label"],["formControlName","selectedDocumentTypeIndex","id","docType","aria-required","true","aria-describedby","errDocType",1,"selected-dropdown",3,"change","ngClass"],["class","form-inline boxText",4,"ngIf"],[1,"boxText","vertical","pdf-margin"],["for","fileId","id","pdfLabel",1,"subLabel","reset-margins","document-margin"],[1,"formBtns","button-wrap","buttons-margin","restyledSmBtns"],["type","button","id","backBtn","name","backBtnName",1,"submit","secondary-btn",3,"click","value"],["type","submit","id","docSubmit",1,"submit","primaryBtn","primary-btn",3,"value","ngClass","disabled"],["id","wobAbsTitle",1,"hoverable"],[1,"font-italic"],[1,"user-info-header"],[1,"rf-msgs"],["class","rf-msgs-inf",4,"ngIf"],[1,"rf-msgs-inf"],["id","confirmMsg",1,"rf-msgs-sum"],["routerLink","/viewLetters"],["id","confirmMsg2",1,"rf-msgs-sum"],["id","failMsg",1,"rf-msgs-err"],[3,"value"],["role","alert",1,"rf-msgs-err"],["id","errRequestId",1,"rf-msgs-sum"],["id","errDocType",1,"rf-msgs-sum"],[1,"introText"],[1,"redesign-underline-text",3,"click"],["type","button","id","browseBtn","aria-describedby","pdfError","onclick","document.getElementById('fileId').click()",1,"fileBrowse","select-button",3,"keydown.enter","value"],["type","file","id","fileId","aria-required","true","formControlName","pdfFile","accept","application/pdf, image/jpeg, image/jpg","size","10mb",2,"display","none",3,"change","placeholder"],[1,"submitDocContainer","in-line"],["type","button",1,"select-button",2,"background","#e7e7e7",3,"click","value"],["id","pdfError",1,"rf-msgs-sum"]],template:function(i,r){if(1&i){const u=e.RV6();e.DNE(0,_o,6,6,"h1",3),e.j41(1,"div",4)(2,"div",5)(3,"div",6)(4,"h1",7),e.EFF(5),e.nI1(6,"translate"),e.k0s()()(),e.j41(7,"div",8),e.DNE(8,Zl,3,2,"span",9)(9,Fl,4,1,"span",9),e.k0s(),e.j41(10,"div",10),e.DNE(11,Ko,6,6,"ng-container",11)(12,ec,5,6,"ng-template",null,0,e.C5r),e.k0s(),e.j41(14,"form",12),e.bIt("ngSubmit",function(){return e.eBV(u),e.Njj(r.onSubmit())})("keydown.enter",function(V){return e.eBV(u),e.Njj(V.preventDefault())}),e.j41(15,"p",13),e.EFF(16),e.nI1(17,"translate"),e.k0s(),e.j41(18,"div",14)(19,"label",15)(20,"span",16),e.EFF(21,"*"),e.k0s(),e.EFF(22),e.nI1(23,"translate"),e.k0s(),e.j41(24,"select",17),e.bIt("change",function(V){return e.eBV(u),e.Njj(r.onRequestIdSelected(V))}),e.j41(25,"option",18),e.EFF(26),e.nI1(27,"translate"),e.k0s(),e.DNE(28,Oo,2,2,"option",19)(29,tc,2,1,"ng-container",20)(30,en,3,4,"option",21),e.k0s()(),e.DNE(31,Il,4,3,"div",22),e.j41(32,"div",23),e.nrm(33,"label"),e.j41(34,"div",24),e.DNE(35,pd,3,3,"ng-container",11)(36,Ll,2,3,"ng-template",null,1,e.C5r),e.k0s()(),e.j41(38,"div",14)(39,"label",25)(40,"span",16),e.EFF(41,"*"),e.k0s(),e.EFF(42),e.nI1(43,"translate"),e.k0s(),e.j41(44,"select",26),e.bIt("change",function(V){return e.eBV(u),e.Njj(r.onOptionsSelected(V))}),e.j41(45,"option",18),e.EFF(46),e.nI1(47,"translate"),e.k0s(),e.DNE(48,qi,2,2,"option",19),e.k0s()(),e.DNE(49,cs,4,3,"div",22)(50,hd,13,12,"div",27),e.j41(51,"div",28)(52,"label",29)(53,"span",16),e.EFF(54,"*"),e.k0s(),e.EFF(55),e.nI1(56,"translate"),e.k0s(),e.DNE(57,Ac,5,7,"ng-container",11)(58,Iu,5,4,"ng-template",null,2,e.C5r),e.nrm(60,"br"),e.k0s(),e.DNE(61,w,3,1,"div",22),e.j41(62,"div",30)(63,"input",31),e.nI1(64,"translate"),e.bIt("click",function(){return e.eBV(u),e.Njj(r.goBack())}),e.k0s(),e.nrm(65,"input",32),e.nI1(66,"translate"),e.nI1(67,"async"),e.nI1(68,"translate"),e.k0s()()()}if(2&i){const u=e.sdS(13),v=e.sdS(37),V=e.sdS(59);e.Y8G("ngIf",r.userInfo.wob),e.R7$(5),e.SpI(" ",e.bMT(6,34,"submitDocument.title")," "),e.R7$(3),e.Y8G("ngIf",r.isSuccess),e.R7$(),e.Y8G("ngIf",r.failMsg),e.R7$(2),e.Y8G("ngIf",r.hasADAComprehensiveProduct)("ngIfElse",u),e.R7$(3),e.Y8G("formGroup",r.submitDocForm),e.R7$(2),e.JRh(e.bMT(17,36,"common.mandatoryFieldsNote")),e.R7$(6),e.SpI(" ",e.bMT(23,38,"submitDocument.requestId")," "),e.R7$(2),e.Y8G("ngClass",e.eq3(56,Ql,r.f.requestId.touched&&r.f.requestId.errors&&r.f.requestId.errors.required)),e.BMQ("aria-invalid",r.f.requestId.touched&&r.f.requestId.errors&&r.f.requestId.errors.required),e.R7$(2),e.JRh(e.bMT(27,40,"value.default.selectItem")),e.R7$(2),e.Y8G("ngForOf",r.submitDocLeaveRequest),e.R7$(),e.Y8G("ngIf",r.hasADAComprehensiveProduct),e.R7$(),e.Y8G("ngIf",r.userInfo.wob),e.R7$(),e.Y8G("ngIf",r.f.requestId.touched&&r.f.requestId.errors&&r.f.requestId.errors.required),e.R7$(4),e.Y8G("ngIf",r.hasADAComprehensiveProduct)("ngIfElse",v),e.R7$(7),e.SpI(" ",e.bMT(43,42,"submitDocument.documentType")," "),e.R7$(2),e.Y8G("ngClass",e.l_i(58,No,r.f.selectedDocumentTypeIndex.touched&&r.f.selectedDocumentTypeIndex.errors&&r.f.selectedDocumentTypeIndex.errors.required,!r.isDocumentTypeEnabled)),e.BMQ("aria-invalid",r.f.selectedDocumentTypeIndex.touched&&r.f.selectedDocumentTypeIndex.errors&&r.f.selectedDocumentTypeIndex.errors.required),e.R7$(2),e.JRh(e.bMT(47,44,"myAbsences.reportTime.pleaseSelect")),e.R7$(2),e.Y8G("ngForOf",r.documentTypeOptions),e.R7$(),e.Y8G("ngIf",r.f.selectedDocumentTypeIndex.touched&&r.f.selectedDocumentTypeIndex.errors&&r.f.selectedDocumentTypeIndex.errors.required),e.R7$(),e.Y8G("ngIf",r.showRtwTips),e.R7$(5),e.SpI(" ",e.bMT(56,46,"submitDocument.pdf")," "),e.R7$(2),e.Y8G("ngIf",!r.submitDocumentRequest.file)("ngIfElse",V),e.R7$(4),e.Y8G("ngIf",r.f.pdfFile.touched&&r.pdfErrorMsg),e.R7$(2),e.FS9("value",e.bMT(64,48,"cancel")),e.R7$(2),e.FS9("value",e.bMT(66,50,"submit")),e.Y8G("ngClass",e.eq3(61,nl,r.isSubmitted))("disabled",null!==e.bMT(67,52,r.userService.portalPermission$)),e.BMQ("aria-label",e.bMT(68,54,"submit"))}},dependencies:[ie.YU,ie.Sq,ie.bT,q.Wk,ge.qT,ge.xH,ge.y7,ge.me,ge.wz,ge.BC,ge.cb,ge.
1j4,ge.JD,ie.Jj,Y.D9],encapsulation:2})}}return n})(),O=(()=>{class n{constructor(){this.domainConfigService=(0,e.WQX)(xe.K),this.eventService=(0,e.WQX)(M.US),this.userService=(0,e.WQX)(M.DL)}ngOnInit(){this.isBaseDomain=this.domainConfigService.isBaseDomain,this.userService.isLogedIn().subscribe(t=>{t&&this.eventService.logEvent(p.sb.TERM_OF_USE,p.sb.USER_VIEWING_TERMS_PAGE_MESSAGE)})}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["terms-use"]],decls:7,vars:8,consts:[[1,"container","terms-of-use-card"],[1,"terms-header-baseDomain"],[1,"main-content",3,"innerHTML"]],template:function(i,r){1&i&&(e.j41(0,"div",0)(1,"h1",1),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.nrm(4,"div",2),e.nI1(5,"translate"),e.nI1(6,"translate"),e.k0s()),2&i&&(e.R7$(2),e.JRh(e.bMT(3,2,"profile.termsHeader")),e.R7$(2),e.Y8G("innerHTML",r.isBaseDomain?e.bMT(5,4,"terms.p1.rebrand"):e.bMT(6,6,"terms.p1"),e.npT))},dependencies:[Y.D9],styles:[".container[_ngcontent-%COMP%]{background:#fff;border-radius:40px;font-family:Aptos,sans-serif!important;font-weight:400;color:#070f36!important;width:100%!important;height:100%!important}.terms-header-baseDomain[_ngcontent-%COMP%]{font-size:35px!important;margin:10px!important}.terms-header-nonBaseDomain[_ngcontent-%COMP%]{color:#666!important}.main-content[_ngcontent-%COMP%]{width:90%!important;max-width:unset;margin:0 0 1.5em 1em;font-weight:lighter;font-family:Aptos Light,sans-serif!important}  .main-content h3{line-height:36px;font-weight:lighter;color:#070437!important}  .main-content a{color:#003e74!important;display:inline;font-size:1em;text-decoration:none}  .main-content a:hover{text-decoration:underline}"]})}}return n})(),W=(()=>{class n{constructor(){this.eventService=(0,e.WQX)(M.US),this.domainConfigService=(0,e.WQX)(xe.K),this.userService=(0,e.WQX)(M.DL)}ngOnInit(){this.isBaseDomain=this.domainConfigService.isBaseDomain,this.userService.isLogedIn().subscribe(t=>{t&&this.eventService.logEvent(p.sb.SUPPORTED_BROWSER,p.sb.USER_VIEWING_THE_SUPPORTED_BROWSER_PAGE_MSG)})}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-supported-browsers"]],decls:24,vars:22,consts:[[1,"base-domain-box"],[3,"ngClass"],[1,"closingText"]],template:function(i,r){1&i&&(e.j41(0,"div",0)(1,"h1"),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div",1)(5,"p"),e.EFF(6),e.nI1(7,"translate"),e.k0s(),e.j41(8,"ul")(9,"li"),e.EFF(10),e.nI1(11,"translate"),e.k0s(),e.j41(12,"li"),e.EFF(13),e.nI1(14,"translate"),e.k0s(),e.j41(15,"li"),e.EFF(16),e.nI1(17,"translate"),e.k0s(),e.j41(18,"li"),e.EFF(19),e.nI1(20,"translate"),e.k0s()(),e.j41(21,"p",2),e.EFF(22),e.nI1(23,"translate"),e.k0s()()()),2&i&&(e.R7$(2),e.JRh(e.bMT(3,8,"supported.title")),e.R7$(2),e.Y8G("ngClass",r.isBaseDomain?"supported-browsers-content":"supported-browsers-intro-text-content"),e.R7$(2),e.JRh(e.bMT(7,10,"supported.disclaimer")),e.R7$(4),e.JRh(e.bMT(11,12,"supported.chrome")),e.R7$(3),e.JRh(e.bMT(14,14,"supported.safari")),e.R7$(3),e.JRh(e.bMT(17,16,"supported.mozilla")),e.R7$(3),e.JRh(e.bMT(20,18,"supported.ie")),e.R7$(3),e.JRh(e.bMT(23,20,"supported.disclaimer1")))},dependencies:[ie.YU,Y.D9],encapsulation:2})}}return n})();var ae=I(7468);function ke(n,d){if(1&n&&(e.j41(0,"div",21)(1,"span",22),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.SpI(" ",e.bMT(3,1,t.errorMsg)," ")}}function ze(n,d){if(1&n&&(e.j41(0,"div",23)(1,"span",24),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.SpI(" ",e.bMT(3,1,t.successMsg)," ")}}function Ct(n,d){if(1&n&&(e.j41(0,"option",25),e.nI1(1,"translate"),e.EFF(2),e.nI1(3,"translate"),e.k0s()),2&n){const t=d.$implicit;e.Y8G("ngValue",e.bMT(1,2,t.value)),e.R7$(2),e.SpI(" ",e.bMT(3,4,t.label)," ")}}function It(n,d){if(1&n&&e.nrm(0,"div",5),2&n){const t=e.XpG();e.Y8G("innerHTML",t.toolTipDesc,e.npT)}}let an=(()=>{class n{constructor(){this.formBuilder=(0,e.WQX)(ge.ok),this.translateService=(0,e.WQX)(Y.c$),this.eventService=(0,e.WQX)(M.US),this.feedbackService=(0,e.WQX)(M.n1),this.domainConfigService=(0,e.WQX)(xe.
1K),this.feedbackTypeItems=[{value:"feedback.type.technical",label:"feedback.type.technical"},{value:"feedback.type.feature",label:"feedback.type.feature"},{value:"feedback.type.suggestion",label:"feedback.type.suggestion"},{value:"feedback.type.accessibility",label:"feedback.type.accessibility"},{value:"feedback.type.services",label:"feedback.type.services"},{value:"feedback.type.other",label:"feedback.type.other"}]}ngOnInit(){this.getToolTip(),this.isBaseDomain=this.domainConfigService.isBaseDomain,this.feedbackForm=this.formBuilder.group({feedbackType:new ge.MJ(""),comments:new ge.MJ("",[ge.k0.required,this.noWhitespaceValidator]),email:new ge.MJ("")}),this.eventService.logEvent(p.sb.GENERAL_FEEDBACK,p.sb.USER_VIEWING_GENERAL_FEEDBACK_PAGE_MESSAGE),this.translateService.get(this.feedbackTypeItems[0].value).subscribe(t=>this.feedbackForm.get("feedbackType").setValue(t))}getToolTip(){const t=JSON.parse(sessionStorage.getItem(p.YM.DOMAIN_INFO)),i=t?.domainName??p.YM.ABSENCE_RESOURCES_DOT_COM,r=t?.pageElementsNg.productName??p.YM.ABSENCE_RESOURCES;(0,ae.p)([this.translateService.get("feedback.type.technical.description"),this.translateService.get("feedback.type.feature.description",{0:i}),this.translateService.get("feedback.type.suggestion.description",{0:i}),this.translateService.get("feedback.type.accessibility.description"),this.translateService.get("feedback.type.services.description",{0:r}),this.translateService.get("feedback.type.other.description")]).subscribe(u=>this.toolTipDesc=u.join(""))}resetForm(){const t=this.feedbackForm?.get("feedbackType")?.value;this.feedbackForm.reset(),this.feedbackForm.get("email").setValue(""),this.feedbackForm.get("feedbackType").setValue(t)}submitFeedback(){this.errorMsg="",this.successMsg="",this.feedbackForm.valid?this.feedbackService.submitFeedback(this.feedbackForm.value).subscribe(t=>{p.YM.FEEDBACK_ERROR_MESSAGE===t?this.errorMsg=t:(this.successMsg=t,this.resetForm())}):(this.feedbackForm.get("comments")?.getError("required")||this.feedbackForm.get("comments")?.getError("whitespace"))&&(this.errorMsg="feedback.comment.required")}noWhitespaceValidator(t){return 0!==(t.value||"").trim().length?null:{whitespace:!0}}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-feedback"]],decls:37,vars:26,consts:[["feedbackToolTip","ngbTooltip"],["tipContent",""],[1,"base-domain-box"],[1,"content"],[1,"intro-text","margin-left-36"],[3,"innerHTML"],["class","error-box",4,"ngIf"],["class","info-box",4,"ngIf"],[3,"ngSubmit","formGroup"],[1,"boxText"],["for","feedbackType",1,"sub-label"],[1,"readonlyDataCol","d-flex"],["id","feedbackType","formControlName","feedbackType"],[3,"ngValue",4,"ngFor","ngForOf"],["triggers","manual","placement","bottom","adaptivePosition","true","tooltipClass","feedback-tool-tip",1,"helptip","feedback-tool-tip-icon",3,"click","mouseout","ngbTooltip"],["for","comments",1,"sub-label"],["id","comments","formControlName","comments",1,"form-control"],["for","email",1,"sub-label"],["id","email","formControlName","email","type","email","autocomplete","email",1,"form-control"],[1,"stepBtns"],["type","submit",1,"submit","primaryBtn","margin-left-36",3,"value"],[1,"error-box"],[1,"error-message"],[1,"info-box"],[1,"info-message"],[3,"ngValue"]],template:function(i,r){if(1&i){const u=e.RV6();e.j41(0,"div",2)(1,"h1"),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div",3)(5,"div",4),e.EFF(6),e.nI1(7,"translate"),e.nrm(8,"div",5),e.nI1(9,"translate"),e.k0s(),e.DNE(10,ke,4,3,"div",6)(11,ze,4,3,"div",7),e.j41(12,"form",8),e.bIt("ngSubmit",function(){return e.eBV(u),e.Njj(r.submitFeedback())}),e.j41(13,"div",9)(14,"label",10),e.EFF(15),e.nI1(16,"translate"),e.k0s(),e.j41(17,"div",11)(18,"select",12),e.DNE(19,Ct,4,6,"option",13),e.k0s(),e.j41(20,"span",14,0),e.bIt("click",function(){e.eBV(u);const V=e.sdS(21);return e.Njj(V.open())})("mouseout",function(){e.eBV(u);const V=e.sdS(21);return e.Njj(V.close())}),e.k0s()()(),e.j41(22,"div",9)(23,"label",15),e.EFF(24),e.nI1(25,"translate"),e.k0s(),e.nrm(26,"textarea",16),e.k0s(),e.j41(27,"div",9)(28,"label",17),e.EFF(29),e.nI1(30,"translate"),e.k0s(),e.nrm(31,"input",18),e.k0s(),e.j41(32,"div",19),e.nrm(33,"input",20),e.nI1(34,"translate"),e.k0s()()()(),e.DNE(35,It,1,1,"ng-template",null,1,e.C5r)}if(2&i){const u=e.sdS(36);e.R7$(2),e.JRh(e.bMT(3,12,"feedback.headerTitle")),e.R7$(4),e.SpI(" ",e.bMT(7,14,"feedback.disclaimer")," "),e.R7$(2),e.Y8G("innerHTML",e.bMT(9,16,"feedback.email"),e.npT),e.R7$(2),e.Y8G("ngIf",r.errorMsg),e.R7$(),e.Y8G("ngIf",r.successMsg),e.R7$(),e.Y8G("formGroup",r.feedbackForm),e.R7$(3),e.SpI(" ",e.bMT(16,18,"feedback.type")," "),e.R7$(4),e.Y8G("ngForOf",r.feedbackTypeItems),e.R7$(),e.Y8G("ngbTooltip",u),e.R7$(4),e.SpI(" ",e.bMT(25,20,"feedback.comments")," "),e.R7$(5),e.SpI(" ",e.bMT(30,22,"feedback.emailAddress")," "),e.R7$(4),e.FS9("value",e.bMT(34,24,"submitButton"))}},dependencies:[ie.Sq,ie.bT,ge.qT,ge.xH,ge.y7,ge.me,ge.wz,ge.BC,ge.cb,ge.
1j4,ge.JD,G.md,Y.D9],encapsulation:2})}}return n})();const Zn=["emailInput"],hi=n=>({centerEmailAddress:n}),js=n=>({value:n}),$a=n=>({fieldError:n});function Ua(n,d){if(1&n&&(e.j41(0,"li",13),e.nrm(1,"span",14),e.nI1(2,"translate"),e.k0s()),2&n){const t=d.$implicit,i=e.XpG(3);e.R7$(),e.Y8G("innerHTML",e.i5U(2,1,t,e.eq3(4,hi,i.centerEmailAddress)),e.npT)}}function zr(n,d){if(1&n&&(e.j41(0,"div",11)(1,"ul"),e.DNE(2,Ua,3,6,"li",12),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.Y8G("ngForOf",t.errMsgs)}}function il(n,d){if(1&n&&(e.j41(0,"div",15)(1,"ul")(2,"li",13)(3,"span",16),e.EFF(4),e.nI1(5,"translate"),e.k0s()()()()),2&n){const t=e.XpG(2);e.R7$(4),e.SpI(" ",e.i5U(5,1,t.successMsg,e.eq3(4,js,t.forgotUsernameEmail))," ")}}function Aa(n,d){if(1&n&&(e.j41(0,"div",7)(1,"div",8),e.DNE(2,zr,3,1,"div",9)(3,il,6,6,"div",10),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.Y8G("ngIf",t.errMsgs.length>0),e.R7$(),e.Y8G("ngIf",t.successMsg)}}function aa(n,d){if(1&n){const t=e.RV6();e.j41(0,"form",17),e.bIt("ngSubmit",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.forgotUsername())}),e.j41(1,"span",18)(2,"div",19)(3,"label",20),e.EFF(4),e.nI1(5,"translate"),e.k0s(),e.nrm(6,"input",21,0),e.k0s(),e.j41(8,"div",22)(9,"span",23),e.EFF(10,"\xa0"),e.k0s(),e.j41(11,"button",24),e.EFF(12),e.nI1(13,"translate"),e.k0s()()()()}if(2&n){const t=e.XpG();e.Y8G("formGroup",t.forgotUsernameForm),e.R7$(4),e.JRh(e.bMT(5,4,"login.forgotUsername.email")),e.R7$(2),e.Y8G("ngClass",e.eq3(8,$a,t.submitted&&t.forgotUsernameForm.get("email").errors)),e.R7$(6),e.SpI(" ",e.bMT(13,6,"myAbsences.reportTime.submit")," ")}}function md(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",25),e.nrm(1,"div",3),e.j41(2,"a",26),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.searchAgain())}),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.nrm(5,"div",27),e.j41(6,"a",28),e.EFF(7),e.nI1(8,"translate"),e.k0s()()}2&n&&(e.R7$(3),e.SpI(" ",e.bMT(4,2,"login.forgotUsername.searchAgain")," "),e.R7$(4),e.SpI(" ",e.bMT(8,4,"login.register")," "))}let xc=(()=>{class n{constructor(){this.errMsgs=[],this.submittedSuccessful=!0,this.centerEmailAddress="",this.forgotUsernameEmail="",this.submitted=!1,this.formBuilder=(0,e.WQX)(ge.ok),this.location=(0,e.WQX)(ie.aZ),this.userService=(0,e.WQX)(M.DL),this.route=(0,e.WQX)(q.nX),this.domainConfigService=(0,e.WQX)(M.K1),this.domainService=(0,e.WQX)(M.iC)}ngOnInit(){this.createForm(),this.isAbsenceResourcesDomain=!se.z.isDomainBlockedFromRedesignUpdates(),this.domainInfo=JSON.parse(sessionStorage.getItem(p.YM.DOMAIN_INFO)),this.domainInfo?this.centerEmailAddress=this.domainInfo.pageElementsNg.emailAddress:this.subscription=this.domainService.getPublicDomainData().subscribe({next:t=>{this.domainInfo=t,sessionStorage.setItem(p.YM.DOMAIN_INFO,JSON.stringify(t)),this.centerEmailAddress=this.domainInfo.pageElementsNg.emailAddress},error:t=>{console.error("Error fetching public domain data:",t)}})}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}createForm(){this.forgotUsernameForm=this.formBuilder.group({email:["",[ge.k0.required,ge.k0.email]]})}back(){this.location.back()}forgotUsername(){const t=this.forgotUsernameForm.get("email"),i=t.value?.trim();if(t.setValue(i),this.forgotUsernameEmail=i,this.resetMessages(),this.submitted=!0,this.validatedFormFields()){const r=(new Yn.Nl).set("email",this.forgotUsernameEmail).set("localeId",this.domainConfigService.getLocaleId()||p.YM.ENGLISH_LOCALE_ID).set("appName",this.domainInfo?.pageElementsNg?.folderName||p.WU.absenceResources);this.userService.forgotUsername(r).subscribe(u=>{switch(this.emailInput?.nativeElement?.blur(),u.responseCode){case"SUCCESS":this.successMsg="SUCCESS";break;case"MULT_USERS":case"NO_USER":case"PENDING_DELETION":this.errMsgs.push(u.responseCode),this.submittedSuccessful=!1}})}}validatedFormFields(){let t=!0;return Object.keys(this.forgotUsernameForm.controls).forEach(i=>{const r=this.forgotUsernameForm.controls[i];r.markAsTouched(),r.errors&&(t=!1,"email"===i&&(r.errors.required&&this.errMsgs.push("validation.usernamereq.emailAddressRequired"),r.errors.email&&this.errMsgs.push("login.forgotUsername.invali
1dEmail")))}),t}searchAgain(){this.resetMessages()}resetMessages(){this.errMsgs=[],this.successMsg="",this.submittedSuccessful=!0}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-forgot-username"]],viewQuery:function(i,r){if(1&i&&e.GBs(Zn,5),2&i){let u;e.mGM(u=e.lsd())&&(r.emailInput=u.first)}},decls:8,vars:6,consts:[["emailInput",""],[1,"profilePage","plainRestyled"],[1,"textAsLabel","primaryLabel","reportsCriteriaTitle"],[1,"clearFix"],["class","messageContainer",4,"ngIf"],["novalidate","novalidate","autocomplete","off",3,"formGroup","ngSubmit",4,"ngIf"],["class","actions",4,"ngIf"],[1,"messageContainer"],["aria-live","polite",1,"ui-messages","ui-messages-noicon","ui-widget"],["class","ui-messages-error ui-corner-all",4,"ngIf"],["class","ui-messages-success ui-corner-all",4,"ngIf"],[1,"ui-messages-error","ui-corner-all"],["role","alert","aria-atomic","true",4,"ngFor","ngForOf"],["role","alert","aria-atomic","true"],[1,"ui-messages-error-summary",3,"innerHTML"],[1,"ui-messages-success","ui-corner-all"],[1,"ui-messages-success-summary"],["novalidate","novalidate","autocomplete","off",3,"ngSubmit","formGroup"],["id","acctInfoPanel"],[1,"form-inline","boxText","fieldInputContainer"],["for","email",1,"subLabel"],["type","email","id","email","value","","formControlName","email","autocomplete","email",1,"form-control",3,"ngClass"],[1,"restyledSmBtns"],[1,"textAsLabel","labelSpacer"],["type","submit",1,"submit","primaryBtn","primaryContinue"],[1,"actions"],[1,"registrationLink",3,"click"],[1,"clearFix","mt30"],["routerLink","/registration","title","Go To Registration Page",1,"registrationLink"]],template:function(i,r){1&i&&(e.j41(0,"div",1)(1,"span",2),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.nrm(4,"div",3),e.DNE(5,Aa,4,2,"div",4)(6,aa,14,10,"form",5)(7,md,9,6,"div",6),e.k0s()),2&i&&(e.R7$(2),e.JRh(e.bMT(3,4,"login.forgotUsername.title")),e.R7$(3),e.Y8G("ngIf",r.errMsgs.length>0||r.successMsg),e.R7$(),e.Y8G("ngIf",r.submittedSuccessful),e.R7$(),e.Y8G("ngIf",!r.submittedSuccessful))},dependencies:[ie.YU,ie.Sq,ie.bT,q.Wk,ge.qT,ge.me,ge.BC,ge.cb,ge.j4,ge.JD,Y.D9],styles:[".plainRestyled[_ngcontent-%COMP%]{padding:12px 27px 0;.reportsCriteriaTitle,.subLabel{margin:0!important}.restyledSubtitle{font:lighter 25px/60px Aptos Light,sans-serif!important;color:#070f36;margin-bottom:1.5rem}form{margin-top:0!important}.fieldInputContainer{max-width:280px;display:flex;flex-direction:column;label{font: 16px/20px Aptos,sans-serif!important;color:#070f36!important;width:100%}input{margin-top:5px;border-radius:10px!important;font-size:16px!important}}.restyledSmBtns{margin-left:15px;.secondaryBack{color:#070f36!important}input,button{width:160px!important;height:63px;font-size:24px!important;border-radius:100px!important;border:2px solid #070f36!important}button:focus{outline:none!important}button:focus-visible{outline:none!important}.primaryContinue:hover{background-color:#070f36!important}.textAsLabel{margin-left:10px!important;margin-bottom:5px!important}}.messageContainer{margin-left:-9px!important}.ui-widget{font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif}.ui-messages{font-size:1.1em!important;max-width:62rem;width:100%;ul{list-style:none;padding:0}}.ui-messages-error,.ui-message-error,.ui-messages-success,.ui-message-success{padding:10px!important;font-weight:700!important;margin-bottom:-14px!important}.ui-messages-error,.ui-message-error{color:#e50000!important}.ui-messages-success,.ui-message-success{color:#00e526!important}.ui-messages-success ul,.ui-message-success ul{margin-bottom:3rem!important}.ui-messages-error-summary,.ui-messages-success-summary{font-weight:700}.registrationLink{margin-left:1em!important}.rf-cp-hdr span,a{color:#003e74!important;text-decoration:none;font-size:1em}.actions{margin-left:-10px;padding-bottom:21px;margin-bottom:-14px!important}}@media (max-width: 850px){.plainRestyled[_ngcontent-%COMP%]{padding:12px 12px 0!important;.reportsCriteriaTitle{font: 35px/65px Aptos,sans-serif!important}.fieldInputContainer{max-width:100%!important;width:100%!important;margin-bottom:0!important;margin-left:-5px!important;label{margin-left:10px!important}input{margin-left:10px!important;width:97%!important}}.restyledSmBtns{margin-left:0!important;margin-top:0!important;width:100%!important;.labelSpacer{display:none!important}input,button{width:100%!important;height:50px!important;font-size:20px!important;margin-right:0!important;border-radius:100px!important}}.actions{margin-left:5px!important;margin-top:0!important;padding-bottom:1px!important;.registrationLink{margin-left:10px!important;display:block!important;margin-bottom:10px!important;line-height:25px!important}}.ui-message-error{margin-left:8px!important;padding-bottom:0!important}.messageContainer{margin-left:0!important;.ui-messages{width:90%!important;.ui-messages-error,.ui-messages-success{padding:10px 0!important;margin-left:5px!important;margin-bottom:-14px!important;.ui-messages-error-summary,.ui-messages-success-summary{line-height:25px!important}}}}}}[_nghost-%COMP%]     .ui-messages-error-summary a{color:red!important;text-decoration:underline}"]})}}return n})();function fd(n,d){if(1&n&&(e.j41(0,"div",3),e.nrm(1,"img",4),e.k0s()),2&n){const t=d.$implicit,i=d.index,r=e.XpG(2);e.AVh("active",i===r.currentIndex)("prev",i===(r.currentIndex-1+r.images.length)%r.images.length),e.R7$(),e.Y8G("src",t,e.B4B)}}function _d(n,d){if(1&n&&(e.j41(0,"div",1),e.DNE(1,fd,2,5,"div",2),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.images)}}let gd=(()=>{class n{constructor(){this.images=["./assets/AbsenceResources/absenceResourcesLogin1.jpg","./assets/AbsenceResources/absenceResourcesLogin2.jpg","./assets/AbsenceResources/absenceResourcesLogin3.jpg"],this.currentIndex=0}ngOnInit(){this.startCarousel()}ngOnDestroy(){this.intervalId&&clearInterval(this.intervalId)}startCarousel(){this.intervalId=setInterval(()=>{this.currentIndex=(this.currentIndex+1)%this.images.length},5e3)}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-absence-resources-body-box"]],decls:1,vars:1,consts:[["class","carousel-container",4,"ngIf"],[1,"carousel-container"],["class","carousel-slide",3,"active","prev",4,"ngFor","ngForOf"],[1,"carousel-slide"],["alt","Absence Resources",1,"login-main-image",3,"src"]],template:function(i,r){1&i&&e.DNE(0,_d,2,1,"div",0),2&i&&e.Y8G("ngIf",r.images&&r.images.length>0)},dependencies:[ie.Sq,ie.bT],styles:[".carousel-container[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;overflow:hidden}.carousel-slide[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;visibility:hidden;transition:transform .5s ease-in-out,opacity .5s ease-in-out,visibility 1.2s;transform:translate(100%)}.carousel-slide.active[_ngcontent-%COMP%]{opacity:1;visibility:visible;transform:translate(0)}.carousel-slide.prev[_ngcontent-%COMP%]{transform:translate(-100%)}.login-main-image[_ngcontent-%COMP%]{width:100%;height:100%;display:block;border-radius:20px;object-fit:cover;object-position:center}"]})}}return n})();var $i=I(1609);function Nc(n,d){1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"usernameUpdated")," "))}function sl(n,d){1&n&&(e.nrm(0,"span",23),e.nI1(1,"translate")),2&n&&e.Y8G("innerHTML",e.bMT(1,1,"deletionSuccessMsg"),e.npT)}function rr(n,d){1&n&&(e.qex(0),e.j41(1,"h1",24),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.nrm(4,"img",25),e.bVm()),2&n&&(e.R7$(2),e.JRh(e.bMT(3,1,"login.welcome")))}function bd(n,d){if(1&n&&(e.j41(0,"div",28),e.nrm(1,"span",23),e.nI1(2,"safeHtml"),e.k0s()),2&n){const t=d.$implicit;e.R7$(),e.Y8G("innerHTML",e.bMT(2,1,t),e.npT)}}function rl(n,d){if(1&n&&(e.j41(0,"div",26),e.DNE(1,bd,3,3,"div",27),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.errorMessages)}}function ol(n,d){if(1&n&&(e.j41(0,"div",29),e.nrm(1,"img",30),e.nI1(2,"translate"),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("src",t.domainResourcePath+"/gfx/big-loader.gif",e.B4B)("alt",e.bMT(2,2,"report.checkStatusBox.loaderImgAlt"))}}function Fo(n,d){1&n&&(e.j41(0,"p",31),e.nI1(1,"translate"),e.j41(2,"a"),e.EFF(3,"Para Espa\xf1ol"),e.k0s()()),2&n&&e.Y8G("ngbTooltip",e.bMT(1,1,"login.language.tooltip"))}function Xp(n,d){if(1&n){const t=e.RV6();e.j41(0,"p",32)(1,"a",33),e.bIt("keydown.enter",function(r){return e.eBV(t),r.preventDefault(),e.Njj(r.target.click())})("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.onChangeLocale())}),e.EFF(2),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(2),e.JRh(t.languageDisp)}}let Oc=(()=>{class n{constructor(t){this.document=t,this.errorMessages=[],this.loading=!1,this.languageDisp="Espa\xf1ol",this.localeSelectionEnabled=!1,this.showChangeUser=!1,this.deleteAccount=!1,this.fb=(0,e.WQX)(ge.ok),this.loginService=(0,e.WQX)(M.HF),this.translate=(0,e.WQX)(Y.c$),this.bootstrapService=(0,e.WQX)(M._E),this.domainConfigService=(0,e.WQX)(M.K1),this.sessionService=(0,e.WQX)(m.Qo),this.route=(0,e.WQX)(q.nX),this.router=(0,e.WQX)(q.Ix)}ngOnInit(){this.route.queryParams.subscribe(i=>{this.showChangeUser="true"===i.showChangeUser,this.deleteAccount="true"===i.deleteAccount}),this.loginForm=this.fb.group({username:["",ge.k0.required],password:["",ge.k0.required]}),this.isAbsenceResourcesDomain=!se.z.isDomainBlockedFromRedesignUpdates(),this.domainResourcePath=se.z.getBaseResourcePath();const t=sessionStorage.getItem(p.YM.DOMAIN_INFO);this.domainInfo=t?JSON.parse(t):null,this.localeId=this.domainConfigService.getLocaleId(),this.languageDisp=$i.H.getLocaleDispByLocaleId(this.localeId)}onSubmit(){if(this.errorMessages=[],this.loginForm.patchValue({username:this.loginForm.get(p.YM.USERNAME).value.trim(),password:this.loginForm.get("password").value.trim()}
1),this.loginForm.invalid)return this.markFormGroupTouched(this.loginForm),this.addValidationErrors(),void this.loginForm.patchValue({password:""});this.loading=!0;const{username:t,password:i}=this.loginForm.value,r=sessionStorage.getItem(p.YM.DOMAIN_INFO),v=(this.domainInfo??(r?JSON.parse(r):null))?.pageElementsNg?.folderName;if(!v)return this.loading=!1,void this.errorMessages.push(this.translate.instant("login.process.noLogin"));this.loginService.loginWeb({userName:t,password:i,appName:v,localeId:this.localeId}).subscribe({next:Ce=>{if(Ce.success)this.navigateTo("MGR_ADMIN"===Ce.responseType?"mgr-dashboard":"absences");else if("NOT_ELIGIBLE"===Ce.responseType&&Ce.message)this.loading=!1,this.loginForm.patchValue({password:""}),this.errorMessages.push(Ce.message);else{const it=this.handleError(Ce.responseType,Ce.url);it&&this.errorMessages.push(it)}},error:Ce=>{this.loading=!1;const it=this.handleError(Ce.error.responseType,Ce.error.url);it&&this.errorMessages.push(it)}})}addValidationErrors(){const t=this.loginForm.controls,i=this.translate.instant(this.isAbsenceResourcesDomain?"login.username":"login.absence.username"),r=this.translate.instant("login.password");t.username.errors?.required&&this.errorMessages.push(this.translate.instant("login.web.process.required",{0:i})),t.password.errors?.required&&this.errorMessages.push(this.translate.instant("login.web.process.required",{0:r}))}markFormGroupTouched(t){Object.values(t.controls).forEach(i=>{i.markAsTouched()})}navigateTo(t){sessionStorage.removeItem(p.YM.LOCALE_ID),this.bootstrapService.loadBootstarpOnLogin(!0,t)}handleError(t,i){switch(this.loading=!1,this.loginForm.patchValue({password:""}),t){case"EXPIRED":case"TEMP":return this.router.navigate([p.hP.forceAngularChangePasswordUrl]),null;case"PENDING_DELETION":return this.translate.instant("PENDING_DELETION",{centerEmailAddress:this.domainInfo.pageElementsNg.emailAddress});case"LOCKED":return this.translate.instant("login.process.web.accountLocked");case"NOT_AUTHENTICATED":return this.translate.instant("login.process.web.loginFailed");
1case"WRONG_APP":return window.location.href=i,null;case"SEC_QUESTION":return this.router.navigateByUrl(p.hP.forceUpdateSecurityQuestionsUrl),null;default:return this.translate.instant("login.process.noLogin")}}onChangeLocale(){this.errorMessages=[],this.localeId=0===this.localeId?1:0,this.translate.use(0===this.localeId?"en_US":"es_US"),this.languageDisp=$i.H.getLocaleDispByLocaleId(this.localeId),sessionStorage.setItem(p.YM.LOCALE_ID,this.localeId.toString()),this.loginForm.reset(),this.sessionService.changePublicLocale(this.localeId).subscribe(()=>{this.document.location.reload()})}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(ie.qQ))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-login-box"]],decls:46,vars:38,consts:[["changeLanguageAllowed",""],[1,"plainRestyled"],[1,"login-box-container"],[1,"form-inline","boxText","username-updated"],[4,"ngIf"],[3,"innerHTML",4,"ngIf"],[1,"login-title-section"],[1,"login-title"],[1,"login-form",3,"ngSubmit","formGroup"],["class","error-message-container",4,"ngIf"],[1,"form-group"],["for","username"],["type","text","id","username","formControlName","username",1,"login-form-control"],["for","password"],["type","password","id","password","formControlName","password",1,"login-form-control"],["type","submit",1,"login-button",3,"keydown.enter","disabled"],["id","Spinner",4,"ngIf"],[1,"login-links"],["tabindex","0","routerLink","/registration"],["tabindex","0","routerLink","/forgotUsername"],["tabindex","0","routerLink","/forgotPassword"],[1,"language-links"],["tabindex","0","placement","top","triggers","click","class","helptip loginHelptip",3,"ngbTooltip",4,"ngIf","ngIfElse"],[3,"innerHTML"],[1,"login-welcome"],["src","./assets/AbsenceResources/absenceResources.svg","alt","Absence Resources",1,"login-main-image"],[1,"error-message-container"],["class","error-message",4,"ngFor","ngForOf"],[1,"error-message"],["id","Spinner"],[1,"loading-spinner",3,"src","alt"],["tabindex","0","placement","top","triggers","click",1,"helptip","loginHelptip",3,"ngbTooltip"],["tabindex","0"],[3,"keydown.enter","click"]],template:function(i,r){if(1&i){const u=e.RV6();e.j41(0,"div",1)(1,"div",2)(2,"div",3),e.DNE(3,Nc,3,3,"span",4)(4,sl,2,3,"span",5),e.k0s(),e.j41(5,"div",6),e.DNE(6,rr,5,3,"ng-container",4),e.j41(7,"h2",7),e.EFF(8),e.nI1(9,"translate"),e.k0s()(),e.j41(10,"form",8),e.bIt("ngSubmit",function(){return e.eBV(u),e.Njj(r.onSubmit())}),e.DNE(11,rl,2,1,"div",9),e.j41(12,"div",10)(13,"label",11),e.EFF(14),e.nI1(15,"translate"),e.k0s(),e.nrm(16,"input",12),e.nI1(17,"translate"),e.k0s(),e.j41(18,"div",10)(19,"label",13),e.EFF(20),e.nI1(21,"translate"),e.k0s(),e.nrm(22,"input",14),e.nI1(23,"translate"),e.k0s(),e.j41(24,"button",15),e.bIt("keydown.enter",function(V){return e.eBV(u),V.preventDefault(),e.Njj(V.target.click())}),e.j41(25,"span"),e.EFF(26),e.nI1(27,"translate"),e.k0s()()(),e.DNE(28,ol,3,4,"div",16),e.j41(29,"div",17)(30,"p")(31,"a",18),e.EFF(32),e.nI1(33,"translate"),e.k0s()(),e.j41(34,"p")(35,"a",19),e.EFF(36),e.nI1(37,"translate"),e.k0s()(),e.j41(38,"p")(39,"a",20),e.EFF(40),e.nI1(41,"translate"),e.k0s()()(),e.j41(42,"div",21),e.DNE(43,Fo,4,3,"p",22)(44,Xp,3,1,"ng-template",null,0,e.C5r),e.k0s()()()}if(2&i){const u=e.sdS(45);e.R7$(3),e.Y8G("ngIf",r.showChangeUser),e.R7$(),e.Y8G("ngIf",r.deleteAccount),e.R7$(2),e.Y8G("ngIf",r.isAbsenceResourcesDomain),e.R7$(2),e.JRh(e.bMT(9,20,"login.title")),e.R7$(2),e.Y8G("formGroup",r.loginForm),e.R7$(),e.Y8G("ngIf",(null==r.errorMessages?null:r.errorMessages.length)>0),e.R7$(3),e.JRh(e.bMT(15,22,r.isAbsenceResourcesDomain?"login.username":"login.absence.username")),e.R7$(2),e.BMQ("aria-label",e.bMT(17,24,r.isAbsenceResourcesDomain?"login.username":"login.absence.username")),e.R7$(4),e.JRh(e.bMT(21,26,"login.password")),e.R7$(2),e.BMQ("aria-label",e.bMT(23,28,"login.password")),e.R7$(2),e.AVh("login-button-disabled",r.loading),e.Y8G("disabled",r.loading),e.R7$(2),e.JRh(e.bMT(27,30,r.isAbsenceResourcesDomain?"login.login":"login.absence.login")),e.R7$(2),e.Y8G("ngIf",r.loading),e.R7$(4),e.JRh(e.bMT(33,32,"login.register")),e.R7$(4),e.JRh(e.bMT(37,34,"login.forgotUsername")),e.R7$(4),e.JRh(e.bMT(41,36,"login.forgotPassword")),e.R7$(3),e.Y8G("ngIf",0===(null==r.domainInfo?null:r.domainInfo.isLocalized))("ngIfElse",u)}}
1,dependencies:[ie.Sq,ie.bT,q.Wk,ge.qT,ge.me,ge.BC,ge.cb,ge.j4,ge.JD,G.md,Y.D9,Dn.$],styles:[".plainRestyled[_ngcontent-%COMP%]{background:none;padding:0;border-radius:0;.login-box-container{width:460px;padding-left:50px}.login-title-section{text-align:center;margin-bottom:20px}.login-welcome,.login-title{font: 20px/25px Aptos,sans-serif!important;color:#070f36;text-align:center;margin:8px 0 15px}.login-title{margin-top:20px;margin-bottom:20px;font-size:1.2em!important}.login-main-image{margin-bottom:30px}.form-group{margin-bottom:15px;label{color:#070f36;text-align:left;margin-bottom:5px;font: 16px Aptos,sans-serif;display:block}}.login-form-control{font: 16px Aptos,sans-serif!important;height:40px;color:#070f36;display:flex;flex-direction:column;border-radius:10px!important;border:1px solid #707070!important;margin-bottom:15px;width:100%;padding:0 10px}.login-button{height:50px;border-radius:100px;background:#070f36;color:#fff;font: 300 20px/1.4 Aptos,sans-serif;margin-bottom:20px;margin-top:30px;cursor:pointer;text-align:center;width:100%!important;border:none;&:disabled,&.login-button-disabled{background:#ccc;color:#888;cursor:not-allowed;pointer-events:none}}.loading-spinner{width:20px;height:20px;animation:spin 2s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.error-message{display:block}.error-message-container{color:#e50000;margin:0 auto 10px;padding:10px;font-weight:700;font-size:1.1em;font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;text-align:left}.login-links,.language-links{margin-top:20px;font-size:1em;p{margin-bottom:5px;margin-top:18px}a{text-decoration:underline;font: 16px Aptos,sans-serif;color:#070f36;cursor:pointer;&:hover{text-decoration:underline}}}@media (max-width: 768px){.login-box-container{width:100%;padding-left:0}}.username-updated{font-weight:700;color:#628000}}"]})}}return n})(),Du=(()=>{class n{constructor(){this.Constants=p.YM,this.domainService=(0,e.WQX)(M.iC)}ngOnInit(){this.isAbsenceResourcesDomain=!se.z.isDomainBlockedFromRedesignUpdates(),this.domainInfo=JSON.parse(sessionStorage.getItem(p.YM.DOMAIN_INFO)),this.domainInfo||(this.subscription=this.domainService.getPublicDomainData().subscribe({next:t=>{this.domainInfo=t,sessionStorage.setItem(p.YM.DOMAIN_INFO,JSON.stringify(t))},error:t=>{console.error("Error fetching public domain data:",t)}}))}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-login"]],decls:6,vars:0,consts:[[1,"plainRestyled"],[1,"d-flex"],[1,"login-left-container"],[1,"login-right-container"]],template:function(i,r){1&i&&(e.j41(0,"div",0)(1,"div",1)(2,"div",2),e.nrm(3,"app-absence-resources-body-box"),e.k0s(),e.j41(4,"div",3),e.nrm(5,"app-login-box"),e.k0s()()())},dependencies:[gd,Oc],styles:[".plainRestyled[_ngcontent-%COMP%]{background:none;padding:0;border-radius:0;.login-left-container{width:620px;height:620px}@media (max-width: 768px){.login-left-container{display:none}.login-right-container{width:100%}}}"]})}}return n})();const Lo=n=>({fieldError:n}),xa=n=>({index:n});function Pl(n,d){1&n&&(e.j41(0,"h1"),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"profile.passwordreq1.header"),""))}function Cu(n,d){1&n&&e.eu8(0)}function vd(n,d){if(1&n){const t=e.RV6();e.j41(0,"form",9),e.bIt("ngSubmit",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.onSubmitStep2())}),e.DNE(1,Cu,1,0,"ng-container",10),e.j41(2,"div",11)(3,"label",12),e.EFF(4),e.nI1(5,"translate"),e.k0s(),e.j41(6,"div",13),e.nrm(7,"input",14),e.nI1(8,"translate"),e.nrm(9,"br"),e.j41(10,"a",15),e.EFF(11),e.nI1(12,"translate"),e.k0s()()(),e.j41(13,"div",11)(14,"label",12),e.EFF(15),e.nI1(16,"translate"),e.k0s(),e.j41(17,"div",13),e.nrm(18,"input",16),e.nI1(19,"translate"),e.k0s()(),e.j41(20,"a",17),e.bIt("keydown.enter",function(r){return e.eBV(t),r.preventDefault(),e.Njj(r.target.click())})("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.navigateDirectlytoVerificationCode())}),e.EFF(21),e.nI1(22,"translate"),e.k0s(),e.j41(23,"div",18),e.nrm(24,"span",19)(25,"input",20),e.nI1(26,"translate"),e.k0s()()}if(2&n){const t=e.XpG(),i=e.sdS(10);e.Y8G("formGroup",t.forgotPasswordStep1),e.R7$(),e.Y8G("ngTemplateOutlet",i),e.R7$(3),e.JRh(e.bMT(5,11,"profile.passwordreq1.username")),e.R7$(3),e.Y8G("ngClass",e.eq3(25,Lo,(null==t.forgotPasswordStep1||null==t.forgotPasswordStep1.controls||null==t.forgotPasswordStep1.controls.userName?null:t.forgotPasswordStep1.controls.userName.touched)&&(null==t.forgotPasswordStep1||null==t.forgotPasswordStep1.controls||null==t.forgotPasswordStep1.controls.userName?null:t.forgotPasswordStep1.controls.userName.invali
1d))),e.BMQ("aria-label",e.bMT(8,13,"profile.passwordreq1.username")),e.R7$(4),e.JRh(e.bMT(12,15,"profile.passwordreq1.forgotUsername")),e.R7$(4),e.JRh(e.bMT(16,17,"profile.passwordreq1.email")),e.R7$(3),e.Y8G("ngClass",e.eq3(27,Lo,(null==t.forgotPasswordStep1||null==t.forgotPasswordStep1.controls||null==t.forgotPasswordStep1.controls.email?null:t.forgotPasswordStep1.controls.email.touched)&&(null==t.forgotPasswordStep1||null==t.forgotPasswordStep1.controls||null==t.forgotPasswordStep1.controls.email?null:t.forgotPasswordStep1.controls.email.invalid))),e.BMQ("aria-label",e.bMT(19,19,"profile.passwordreq1.email")),e.R7$(3),e.JRh(e.bMT(22,21,"profile.passwordreq1.alreadyHaveToken")),e.R7$(4),e.FS9("value",e.bMT(26,23,"feedback.no.submit"))}}function yd(n,d){1&n&&e.eu8(0)}function nc(n,d){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"div")(2,"div",25)(3,"label",26),e.EFF(4),e.nI1(5,"translate"),e.k0s(),e.j41(6,"span"),e.EFF(7),e.k0s()(),e.j41(8,"div",25)(9,"label",27),e.EFF(10),e.nI1(11,"translate"),e.k0s(),e.j41(12,"input",28),e.nI1(13,"translate"),e.mxI("ngModelChange",function(r){const u=e.eBV(t).$implicit;return e.DH7(u.answer,r)||(u.answer=r),e.Njj(r)}),e.k0s()()(),e.bVm()}if(2&n){const t=d.$implicit,i=d.index,r=e.XpG(2);e.R7$(4),e.SpI("",e.bMT(5,7,"profile.passwordreq2.secQuestion")," : "),e.R7$(3),e.JRh(0===r.localeId?t.questionStringInEnglish:t.questionStringInSpanish||t.displayValue),e.R7$(3),e.SpI("",e.bMT(11,9,"profile.passwordreq2.secAnswer")," : "),e.R7$(2),e.Y8G("id",t.questionId)("name",t.questionId),e.R50("ngModel",t.answer),e.BMQ("aria-label",e.i5U(13,11,"profile.passwordreq2.secAnswerAriaLabel",e.eq3(14,xa,i+1)))}}function Fc(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",21),e.bIt("keyup.enter",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.requestToStep3())}),e.j41(1,"h2",22),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.DNE(4,yd,1,0,"ng-container",10)(5,nc,14,16,"ng-container",23),e.j41(6,"div",18),e.nrm(7,"span",19),e.j41(8,"input",24),e.nI1(9,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.requestToStep3())}),e.k0s()()()}if(2&n){const t=e.XpG(),i=e.sdS(10);e.R7$(2),e.JRh(e.bMT(3,4,"profile.passwordreq2.intro")),e.R7$(2),e.Y8G("ngTemplateOutlet",i),e.R7$(),e.Y8G("ngForOf",t.securityQuestions),e.R7$(3),e.FS9("value",e.bMT(9,6,"feedback.no.submit"))}}function ic(n,d){1&n&&e.eu8(0)}function Po(n,d){if(1&n){const t=e.RV6();e.j41(0,"input",34),e.nI1(1,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.requestToStep3())}),e.k0s()}2&n&&e.FS9("value",e.bMT(1,1,"profile.passwordreq3.resend"))}function ei(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",29)(1,"h2",22),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"p",30),e.EFF(5),e.k0s(),e.DNE(6,ic,1,0,"ng-container",10),e.j41(7,"div",11)(8,"label",31),e.EFF(9),e.nI1(10,"translate"),e.k0s(),e.j41(11,"input",32),e.nI1(12,"translate"),e.mxI("ngModelChange",function(r){e.eBV(t);const u=e.XpG();return e.DH7(u.verificationCode,r)||(u.verificationCode=r),e.Njj(r)}),e.bIt("keyup.enter",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.requestToStep4())}),e.k0s()(),e.j41(13,"div",18),e.nrm(14,"span",19),e.j41(15,"input",24),e.nI1(16,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.requestToStep4())}),e.k0s(),e.DNE(17,Po,2,3,"input",33),e.k0s()()}if(2&n){const t=e.XpG(),i=e.sdS(10);e.R7$(2),e.JRh(e.bMT(3,8,"profile.passwordreq3.intro")),e.R7$(3),e.JRh(t.showOnlySubmit?"":t.confirmVerificationMessage),e.R7$(),e.Y8G("ngTemplateOutlet",i),e.R7$(3),e.JRh(e.bMT(10,10,"profile.passwordreq3.verificationCode")),e.R7$(2),e.R50("ngModel",t.verificationCode),e.BMQ("aria-label",e.bMT(12,12,"profile.passwordreq3.verificationCode")),e.R7$(4),e.FS9("value",e.bMT(16,14,"feedback.no.submit")),e.R7$(2),e.Y8G("ngIf",!t.showOnlySubmit)}}function Li(n,d){1&n&&e.eu8(0)}function E(n,d){if(1&n){const t=e.RV6();e.j41(0,"form",35),e.bIt("ngSubmit",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.changePassword())}),e.j41(1,"h2",22),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.DNE(4,Li,1,0,"ng-container",10),e.j41(5,"div",11)(6,"label",12),e.
1EFF(7),e.nI1(8,"translate"),e.k0s(),e.j41(9,"div",13),e.nrm(10,"input",36),e.nI1(11,"translate"),e.nrm(12,"br"),e.j41(13,"span",37,2),e.bIt("click",function(){e.eBV(t);const r=e.sdS(14);return e.Njj(r.open())})("mouseout",function(){e.eBV(t);const r=e.sdS(14);return e.Njj(r.close())}),e.EFF(15),e.nI1(16,"translate"),e.k0s()()(),e.j41(17,"div",11)(18,"label",12),e.EFF(19),e.nI1(20,"translate"),e.k0s(),e.j41(21,"div",13),e.nrm(22,"input",38),e.nI1(23,"translate"),e.k0s()(),e.j41(24,"div",18),e.nrm(25,"span",19)(26,"input",20),e.nI1(27,"translate"),e.k0s()()}if(2&n){const t=e.XpG(),i=e.sdS(8),r=e.sdS(10);e.Y8G("formGroup",t.forgotPasswordStep4),e.R7$(2),e.JRh(e.bMT(3,12,"profile.passwordreq4.intro")),e.R7$(2),e.Y8G("ngTemplateOutlet",r),e.R7$(3),e.JRh(e.bMT(8,14,"profile.passwordreq4.password")),e.R7$(3),e.Y8G("ngClass",e.eq3(26,Lo,(null==t.forgotPasswordStep4||null==t.forgotPasswordStep4.controls||null==t.forgotPasswordStep4.controls.password?null:t.forgotPasswordStep4.controls.password.touched)&&(null==t.forgotPasswordStep4||null==t.forgotPasswordStep4.controls||null==t.forgotPasswordStep4.controls.password?null:t.forgotPasswordStep4.controls.password.invalid))),e.BMQ("aria-label",e.bMT(11,16,"profile.passwordreq4.password")),e.R7$(3),e.Y8G("ngbTooltip",i),e.R7$(2),e.SpI("",e.bMT(16,18,"registration.step3.passwordRequirements")," "),e.R7$(4),e.JRh(e.bMT(20,20,"profile.passwordreq4.confirmPassword")),e.R7$(3),e.Y8G("ngClass",e.eq3(28,Lo,(null==t.forgotPasswordStep4||null==t.forgotPasswordStep4.controls||null==t.forgotPasswordStep4.controls.confirmPassword?null:t.forgotPasswordStep4.controls.confirmPassword.touched)&&(null==t.forgotPasswordStep4||null==t.forgotPasswordStep4.controls||null==t.forgotPasswordStep4.controls.confirmPassword?null:t.forgotPasswordStep4.controls.confirmPassword.invalid))),e.BMQ("aria-label",e.bMT(23,22,"profile.passwordreq4.confirmPassword")),e.R7$(4),e.FS9("value",e.bMT(27,24,"feedback.no.submit"))}}function x(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",29)(1,"h1"),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"p"),e.EFF(5),e.nI1(6,"translate"),e.k0s(),e.j41(7,"div",18)(8,"input",24),e.nI1(9,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.getHomepageUrl())}),e.k0s()()()}2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,3,"profile.force.change.password.success.header"),""),e.R7$(3),e.JRh(e.bMT(6,5,"profile.force.change.password.success.intro")),e.R7$(3),e.FS9("value",e.bMT(9,7,"leaverequest.label.continue")))}function Z(n,d){1&n&&(e.nrm(0,"div",39),e.nI1(1,"translate")),2&n&&e.Y8G("innerHTML",e.bMT(1,1,"registration.step3.tooltip"),e.npT)}function ue(n,d){if(1&n&&(e.j41(0,"li",44),e.nrm(1,"span",45),e.nI1(2,"translate"),e.k0s()),2&n){const t=d.$implicit;e.R7$(),e.Y8G("innerHTML",e.bMT(2,1,t),e.npT)}}function Oe(n,d){if(1&n&&(e.j41(0,"div",41)(1,"ul",42),e.DNE(2,ue,3,3,"li",43),e.k0s()()),2&n){const t=e.XpG().ngIf;e.R7$(2),e.Y8G("ngForOf",t)}}function ut(n,d){if(1&n&&(e.qex(0),e.DNE(1,Oe,3,1,"div",40),e.bVm()),2&n){const t=d.ngIf;e.R7$(),e.Y8G("ngIf",(null==t?null:t.length)>0)}}function Bt(n,d){if(1&n&&(e.DNE(0,ut,2,1,"ng-container",4),e.nI1(1,"async")),2&n){const t=e.XpG();e.Y8G("ngIf",e.bMT(1,1,t.errorMessages$))}}let fn=(()=>{class n{constructor(){this.win=(0,e.WQX)(m.s7),this.app=(0,e.WQX)(e.o8S),this.router=(0,e.WQX)(q.Ix),this.userService=(0,e.WQX)(M.DL),this.formBuilder=(0,e.WQX)(ge.ok),this.loginService=(0,e.WQX)(M.HF),this.translateService=(0,e.WQX)(Y.c$),this.bootstrapService=(0,e.WQX)(M._E),this.domainService=(0,e.WQX)(M.iC),this.currentStep=1,this.centerEmailAddress="",this.errorMessagesSubject=new Le.t(this.loadFromStorage()),this.errorMessages$=this.errorMessagesSubject.asObservable(),this.forgotPasswordStep1=this.formBuilder.group({userName:["",ge.k0.required],email:["",[ge.k0.required,ge.k0.email]]}),this.forgotPasswordStep4=this.formBuilder.group({password:["",[this.trimmedRequiredValidator]],confirmPassword:["",[this.trimmedRequiredValidator]]}),this.errorMessages$.subscribe(t=>{const i=t.filter(r=>!p.YM.FORGOT_PASSWORD_NON_PERSISTENT_ERROR_MESSAGES.includes(r));localStorage.setItem("errorMessagesList",JSON.stringify(i))})}ngOnInit(){this.localeId=Number(sessionStorage.getItem(p.YM.LOCALE_ID)??(JSON.parse(sessionStorage.getItem(p.YM.DOMAIN_INFO))?JSON.parse(sessionStorage.getItem(p.YM.DOMAIN_INFO)).localeId:p.YM.ENGLISH_LOCALE_ID)),this.domainInfo=JSON.parse(sessionStorage.getItem(p.YM.DOMAIN_INFO)),this.isAbsenceResourcesDomain=!se.z.isDomainBlockedFromRedesignUpdates(),this.domainInfo?this.centerEmailAddress=this.domainInfo.pageElementsNg.emailAddress:this.domainSubscription=this.domainService.getPublicDomainData().subscribe({next:i=>{this.domainInfo=i,sessionStorage.setItem(p.YM.DOMAIN_INFO,JSON.stringify(i)),this.centerEmailAddress=this.domainInfo.pageElementsNg.emailAddress,this.localeId=i.localeId??Number(p.YM.ENGLISH_LOCALE_ID)},error:i=>{console.error("Error fetching public domain data:",i)}});const t=localStorage.getItem("stepNumber");if(this.forgotPasswordStep1.patchValue({userName:localStorage.getItem("userName")??"",email:localStorage.getItem("email")??""}),t)switch(this.securityQuestions=JSON.parse(localStorage.getItem("data")),this.verificationCode=localStorage.getItem("verificationCode")??"",t){case"2":this.currentStep=2;break;case"3":this.verificationCode?.length>=8&&this.errorMessagesSubject.next([]),this.confirmVerificationMessage=localStorage.getItem("confirmVerificationMessage")??null,this.currentStep=3,this.confirmVerificationMessage||(this.showOnlySubmit=!0);break;case"4":this.currentStep=4;break;case"5":this.currentStep=5}}onSubmitStep2(){this.errorMessagesSubject.next([]),this.makeInputFieldsBlurOnSubmit(),Object.keys(this.forgotPasswordStep1.controls).forEac
1h(t=>{const i=this.forgotPasswordStep1.get(t);i&&("string"==typeof i.value&&i.setValue(i.value.trim()),i.markAsTouched())}),this.storeUserDetails(),this.forgotPasswordStep1.invalid?Object.keys(this.forgotPasswordStep1.controls).forEach(t=>{const i=this.forgotPasswordStep1.get(t);i?.invalid&&this.addError("userName"===t?"validation.usernamereq.usernameRequired":i.value?"validation.usernamereq.invalidEmail":"validation.usernamereq.emailAddressRequired")}):this.loginService.forgotPasswordStep2(this.forgotPasswordStep1.get("userName")?.value,this.forgotPasswordStep1.get("email")?.value).subscribe(t=>{if(this.errorMessagesSubject.next([]),t.securityQuestions?.length>0)this.securityQuestions=t.securityQuestions,this.currentStep=2,localStorage.setItem("data",JSON.stringify(this.securityQuestions)),localStorage.setItem("stepNumber","2");else{const i=t.responseMessage.includes("requestLocked")?this.translateService.instant(t.responseMessage,{0:this.centerEmailAddress}):t.responseMessage;this.addError(i),this.securityQuestions=[],this.currentStep=1}})}requestToStep3(){this.errorMessagesSubject.next([]),this.makeInputFieldsBlurOnSubmit();const t={userName:this.forgotPasswordStep1.get("userName")?.value,emailAddress:this.forgotPasswordStep1.get("email")?.value,questions:this.securityQuestions};localStorage.setItem("data",JSON.stringify(this.securityQuestions)),this.loginService.forgotPasswordStep3(t).subscribe(i=>{i?.status?(this.securityQuestions=[],this.currentStep=3,this.confirmVerificationMessage=this.translateService.instant(i.responseMessage,{0:this.forgotPasswordStep1.get("email")?.value}),localStorage.setItem("confirmVerificationMessage",this.confirmVerificationMessage),localStorage.setItem("stepNumber","3")):(this.securityQuestions=i.securityQuestions?.length>0?i.securityQuestions:this.securityQuestions,localStorage.setItem("data",JSON.stringify(this.securityQuestions)),this.addError(i.responseMessage.includes("emailFailure")||i.responseMessage.includes("requestLocked")?this.translateService.instant(i.responseMessage,{0:this.centerEmailAddress}):i.responseMessage))})}requestToStep4(){if(this.errorMessagesSubject.next([]),this.makeInputFieldsBlurOnSubmit(),this.verificationCode=this.verificationCode?.trim(),localStorage.setItem("verificationCode",this.verificationCode??""),!this.verificationCode||this.verificationCode.length<8)return void this.addError("validation.verificationcode.message");const t={userName:this.forgotPasswordStep1.get("userName")?.value??null,emailAddress:this.forgotPasswordStep1.get("email")?.value??null,token:this.verificationCode};this.loginService.forgotPasswordStep4(t).subscribe(i=>{i.status?(this.showOnlySubmit=!1,this.currentStep=4,!this.forgotPasswordStep1.get("userName")?.value&&i.userName&&(this.forgotPasswordStep1.patchValue({userName:i.userName??""}),localStorage.setItem("userName",this.forgotPasswordStep1.get("userName")?.value)),localStorage.setItem("stepNumber","4"),localStorage.removeItem("verificationCode")):(this.currentStep=3,this.addError(i.responseMessage.includes("requestLocked")?this.translateService.instant(i.responseMessage,{0:this.centerEmailAddress}):i.responseMessage))})}changePassword(){this.errorMessagesSubject.next([]),this.makeInputFieldsBlurOnSubmit();const t=this.forgotPasswordStep4.controls;if(Object.keys(t).forEach(i=>{const r=t[i];"string"==typeof r.value&&r.setValue(r.value.trim(),{emitEvent:!1})}),this.forgotPasswordStep4.valid){const{password:i,confirmPassword:r}=this.forgotPasswordStep4.value,u={password:i,confirmPassword:r,userName:this.forgotPasswordStep1.get("userName")?.value,verificationCode:this.verificationCode};this.loginService.changePasswordUrl(u).subscribe(v=>{v.status?(localStorage.setItem("stepNumber","5"),this.currentStep=5):(this.errorMessagesSubject.next([...this.errorMessagesSubject.value,...v.errorMessages]),this.forgotPasswordStep4.patchValue({password:"",confirmPassword:""}))})}else Object.keys(t).forEach(i=>{const r=t[i];r.markAsTouched(),r.invalid&&this.addError("password"===i?"profile.passwordreq4.passwordRequired":"profile.passwordreq4.confirmPasswordRequired")}),this.forgotPasswordStep4.patchValue({password:"",confirmPassword:""})}getHomepageUrl(){this.loginService.getHomepageUrl(this.forgotPasswordStep1.get("userName")?.value).subscribe(t=>{t.sameSite?this.userService.isLogedIn().subscribe(i=>{i?this.bootstrapService.loadBootstarpOnLogin(!0):this.bootstrapService.loadBootstrapBeforeLogin(this.win)}):t.returnUrl&&(t.returnUrl.includes("force-update-security-questions")?this.router.navigate([t.returnUrl]):window.location.href=t.returnUrl)})}navigateDirectlytoVerificationCode(){this.currentStep=3,this.showOnlySubmit=!0,this.errorMessagesSubject.next([]),localStorage.setItem("stepNumber","3"),this.storeUserDetails()}clearLocalStorage(){localStorage.clear()}storeUserDetails(){localStorage.setItem("userName",this.forgotPasswordStep1.get("userName")?.value),localStorage.setItem("email",this.forgotPasswordStep1.get("email")?.value)}addError(t){this.errorMessagesSubject.next([...this.errorMessagesSubject.value,t])}loadFromStorage(){const t=localStorage.getItem("errorMessagesList");return t?JSON.parse(t):[]}makeInputFieldsBlurOnSubmit(){const t=document.activeElement;t&&("text"===t.type||"password"===t.type)&&t.blur()}trimmedRequiredValidator(t){return 0===(t.value||"").trim().length?{required:!0}:null}ngOnDestroy(){this.domainSubscription&&this.domainSubscription.unsubscribe(),this.clearLocalStorage()}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-forgot-password"]],decls:11,vars:7,consts:[["tipContent",""],["errorMessages",""],["feedbackToolTip","ngbTooltip"],[1,"plainRestyled",3,"ngSwitch"],[4,"ngIf"],[3,"formGroup","ngSubmit",4,"ngSwitchCase"],["class","each-step",3,"keyup.enter",4,"ngSwitchCase"],["class","each-step",4,"ngSwitchCase"],["class","each-step",3,"formGroup","ngSubmit",4,"ngSwitchCase"],[3,"ngSubmit","formGroup"],[4,"ngTemplateOutlet"],[1,"box-text"],["for","username",1,"box-text-label"],[1,"helpText"],["type","text","formControlName","userName","size","30","autocomplete","username",1,"form-control",3,"ngClass"],["routerLink","/forgotUsername",1,"user-name-link"],["type","email","formControlName","email","size","30","autocomplete","email",1,"form-control",3,"ngClass"],["tabindex","0",1,"user-name-link","fw-bold","m-3",3,"keydown.enter","click"],[1,"registerBtns"],[1,"textAsLabel","labelSpacer"],["type","submit",1,"primaryBtn",3,"value"],[1,"each-step",3,"keyup.enter"],[1,"security-h2"],[4,"ngFor","ngForOf"],["type","button",1,"primaryBtn",3,"click","value"],[1,"each-security-box"],["for","",1,"box-text-label"],[1,"box-text-label"],["type","text","autocomplete","off",1,"form-control",3,"ngModelChange","id","name","ngModel"],[1,"each-step"],[1,"email-confirm-message"],["for","verificationCode",1,"box-text-label"],["type","text","name","verificationCode","autocomplete","one-time-code",1,"form-control",3,"ngModelChange","keyup.enter","ngModel"],["type","button","class","secondaryBtn resendButton",3,"value","click",4,"ngIf"],["type","button",1,"secondaryBtn","resendButton",3,"click","value"],[1,"each-step",3,"ngSubmit","formGroup"],["type","password","formControlName","password","size","30","autocomplete","new-password",1,"form-control","newPassword",3,"ngClass"],["triggers","manual","placement","right","adaptivePosition","true","tooltipClass","feedback-tool-tip",1,"helptip","feedback-tool-tip-icon","d-flex",3,"click","mouseout","ngbTooltip"],["type","password","formControlName","confirmPassword","size","30","autocomplete","new-password",1,"form-control",3,"ngClass"],[3,"innerHTML"],["class","error-message-box",4,"ngIf"],[1,"error-message-box"],[1,"p-0"],["class","remove-style",4,"ngFor","ngForOf"],[1,"remove-style"],[1,"ui-messages-error-summary",3,"innerHTML"]],template:function(i,r){1&i&&(e.j41(0,"div",3),e.DNE(1,Pl,3,3,"h1",4)(2,vd,27,29,"form",5)(3,Fc,10,8,"div",6)(4,ei,18,16,"div",7)(5,E,28,30,"form",8)(6,x,10,9,"div",7),e.k0s(),e.DNE(7,Z,2,3,"ng-template",null,0,e.C5r)(9,Bt,2,3,"ng-template",null,1,e.C5r)),2&i&&(e.Y8G("ngSwitch",r.currentStep),e.R7$(),e.Y8G("ngIf",5!==r.currentStep),e.R7$(),e.Y8G("ngSwitchCase",1),e.R7$(),e.Y8G("ngSwitchCase",2),e.R7$(),e.Y8G("ngSwitchCase",3),e.R7$(),e.Y8G("ngSwitchCase",4),e.R7$(),e.Y8G("ngSwitchCase",5))},dependencies:[ie.YU,ie.Sq,ie.bT,ie.T3,ie.ux,ie.e1,q.Wk,ge.qT,ge.me,ge.BC,ge.cb,ge.vS,ge.j4,ge.JD,G.md,ie.Jj,Y.D9],styles:[".plainRestyled[_ngcontent-%COMP%]{background:#fff;border-radius:40px;font-family:Aptos,sans-serif!important;font-weight:400;padding:20px;color:#070f36!important;.box-text{overflow:hidden;display:block;margin-bottom:15px!important;clear:both}.box-text-label{margin:0 0 5px 10px!important;width:23%!important;text-wrap:balance;color:#070f36!important;font: 16px/20px Aptos,sans-serif!important}.form-control{border-radius:10px!important;font-size:16px!important;margin-bottom:5px}.user-name-link{color:#003e74!important;display:inline;text-decoration:none;font-size:1em}.user-name-link:hover{text-decoration:underline}.registerBtns{width:100%!important;margin-left:10px;display:flex;align-items:center;justify-content:start;gap:8px}.registerBtns .primaryBtn{font-size:20px!important;font-weight:400!important;height:63px;min-width:156px;color:#fff!important;background:#070f36!important;max-width:325px;border-radius:100px!important;display:inline-block;align-items:center;text-align:center;justify-content:center;border:unset!important}h1{font-size:35px!important;margin:10px!important;line-height:unset!important}.each-security-box{overflow:hidden;display:block;margin-bottom:15px!important;clear:both}.security-h2{border-bottom:1px solid #070F36!important;padding-bottom:.2em;margin:10px;font: 23px/30px Aptos,sans-serif!important;color:#070f36!important}.error-message-box{font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;margin-left:9px;font-size:1.1em!important}.ui-messages-error-summary{color:#e50000!important}.email-confirm-message{margin:0 0 1.5em 10px;max-width:586px;display:inline-block}.resendButton{font-size:20px!important;font-weight:400!important;height:63px;min-width:156px;max-width:325px;border-radius:100px!important;display:inline-block;color:#070f36!important;background:#fff!important;align-items:center;text-align:center;justify-content:center;border:2px #070f36 solid!important}.helptip{text-decoration:underline!important}.remove-style{list-style:none!important}.newPassword{width:325px!important;height:43px!important}.each-step{max-width:900px}.registerBtns .primaryBtn:focus,.resendButton:focus{border:3px #070f36 solid!important}}"]})}}return n})();var Gn=I(1413),Kn=I(6977);const uo=n=>({fieldError:n});function Pt(n,d){if(1&n&&(e.j41(0,"li"),e.nrm(1,"span",14),e.nI1(2,"translate"),e.k0s()),2&n){const t=d.$implicit;e.R7$(),e.Y8G("innerHTML",e.bMT(2,1,t),e.npT)}}function gi(n,d){if(1&n&&(e.j41(0,"div",10)(1,"div",11)(2,"div",12)(3,"ul"),e.DNE(4,Pt,3,3,"li",13),e.k0s()()()()),2&n){const t=e.XpG().ngIf;e.R7$(4),e.Y8G("ngForOf",t)}}function Ed(n,d){if(1&n&&(e.qex(0),e.DNE(1,gi,5,1,"div",9),e.bVm()),2&n){const t=d.ngIf;e.R7$(),e.Y8G("ngIf",t.length)}}function Hm(n,d){1&n&&e.eu8(0)}function Qi(n,d){if(1&n){const t=e.RV6();
1e.nrm(0,"div",15),e.j41(1,"div",16)(2,"span",17),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"span",18),e.EFF(6),e.k0s()(),e.j41(7,"form",19),e.bIt("ngSubmit",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.updatePassword())}),e.j41(8,"span",20)(9,"div",21)(10,"label",22),e.EFF(11),e.nI1(12,"translate"),e.k0s(),e.nrm(13,"input",23),e.k0s(),e.j41(14,"div",24)(15,"span",25),e.EFF(16,"\xa0"),e.k0s(),e.j41(17,"a",26),e.bIt("keydown.enter",function(r){return e.eBV(t),r.preventDefault(),e.Njj(r.target.click())}),e.EFF(18),e.nI1(19,"translate"),e.k0s()(),e.j41(20,"div",21)(21,"label",27),e.EFF(22),e.nI1(23,"translate"),e.k0s(),e.nrm(24,"input",28),e.k0s(),e.j41(25,"div",21)(26,"label",29),e.EFF(27),e.nI1(28,"translate"),e.k0s(),e.nrm(29,"input",30),e.k0s(),e.j41(30,"div",31)(31,"span",25),e.EFF(32,"\xa0"),e.k0s(),e.nrm(33,"input",32),e.nI1(34,"translate"),e.k0s()()()}if(2&n){const t=e.XpG(),i=e.sdS(16);e.R7$(3),e.SpI("",e.bMT(4,12,"profile.userName"),":"),e.R7$(3),e.JRh(t.username),e.R7$(),e.Y8G("formGroup",t.changePasswordForm),e.R7$(4),e.SpI(" ",e.bMT(12,14,"login.changePassword.currentPassword"),": "),e.R7$(2),e.Y8G("ngClass",e.eq3(24,uo,(null==t.changePasswordForm||null==t.changePasswordForm.controls||null==t.changePasswordForm.controls.currentPassword?null:t.changePasswordForm.controls.currentPassword.touched)&&(null==t.changePasswordForm||null==t.changePasswordForm.controls||null==t.changePasswordForm.controls.currentPassword?null:t.changePasswordForm.controls.currentPassword.invalid))),e.R7$(4),e.Y8G("ngbTooltip",i),e.R7$(),e.SpI(" ",e.bMT(19,16,"registration.step3.passwordRequirements")," "),e.R7$(4),e.SpI(" ",e.bMT(23,18,"login.changePassword.newPassword"),": "),e.R7$(2),e.Y8G("ngClass",e.eq3(26,uo,(null==t.changePasswordForm||null==t.changePasswordForm.controls||null==t.changePasswordForm.controls.newPassword?null:t.changePasswordForm.controls.newPassword.touched)&&(null==t.changePasswordForm||null==t.changePasswordForm.controls||null==t.changePasswordForm.controls.newPassword?null:t.changePasswordForm.controls.newPassword.invalid))),e.R7$(3),e.SpI(" ",e.bMT(28,20,"login.changePassword.confirmPassword"),": "),e.R7$(2),e.Y8G("ngClass",e.eq3(28,uo,(null==t.changePasswordForm||null==t.changePasswordForm.controls||null==t.changePasswordForm.controls.confirmPassword?null:t.changePasswordForm.controls.confirmPassword.touched)&&(null==t.changePasswordForm||null==t.changePasswordForm.controls||null==t.changePasswordForm.controls.confirmPassword?null:t.changePasswordForm.controls.confirmPassword.invalid))),e.R7$(4),e.Y8G("value",e.bMT(34,22,"login.changePassword.updateProfile"))}}function Lc(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",33)(1,"span",25),e.EFF(2,"\xa0"),e.k0s(),e.j41(3,"input",34),e.nI1(4,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.getHomepageUrl())}),e.k0s()()}2&n&&(e.R7$(3),e.Y8G("value",e.bMT(4,1,"continue")))}function sc(n,d){1&n&&(e.nrm(0,"div",35),e.nI1(1,"translate")),2&n&&e.Y8G("innerHTML",e.bMT(1,1,"registration.step3.tooltip"),e.npT)}let Na=(()=>{class n{constructor(){this.currentStep=1,this.titleHeader="login.changePassword.title",this.formBuilder=(0,e.WQX)(ge.ok),this.userService=(0,e.WQX)(M.DL),this.loginService=(0,e.WQX)(M.HF),this.bootstrapService=(0,e.WQX)(M._E),this.router=(0,e.WQX)(q.Ix),this.route=(0,e.WQX)(q.nX),this.destroy$=new Gn.B,this.errorMessagesSubject=new Le.t([]),this.errorMessages$=this.errorMessagesSubject.asObservable()}ngOnInit(){const t=this.route.snapshot.data.publicUserInfo;t?.username?(this.responseType=t.responseType,this.username=t.username):this.router.navigate(["login"]),localStorage.removeItem("errorMessagesListFCP"),this.titleHeader="login.changePassword.title",this.createForm(),this.isAbsenceResourcesDomain=!se.z.isDomainBlockedFromRedesignUpdates(),this.errorMessages$.pipe((0,Kn.Q)(this.destroy$)).subscribe(i=>{localStorage.setItem("errorMessagesListFCP",JSON.stringify(i))})}createForm(){this.changePasswordForm=this.formBuilder.group({currentPassword:["",[ge.k0.required]],newPassword:["",[ge.k0.required,ge.k0.minLength(8)]],confirmPassword:["",[ge.k0.required]]})}updatePassword(){this.errorMessagesSubject.next([]);const t=this.changePasswordForm.get("currentPassword").value?.trim()||"",i=this.changePasswordForm.get("newPassword").value?.trim()||"",r=this.changePasswordForm.get("confirmPassword").value?.trim()||"";this.changePasswordForm.patchValue({currentPassword:t,newPassword:i,confirmPassword:r},{emitEvent:!1});const u=Ii.validatePasswordForm(this.changePasswordForm,this.username);
1u.isValid?(Object.keys(this.changePasswordForm.controls).forEach(V=>{this.changePasswordForm.get(V).setErrors(null)}),this.changePasswordForm.setErrors(null),this.userService.forceChangePassword({currentPassword:t,newPassword:i,newPasswordConfirm:r,tempUpdate:!1}).pipe((0,Kn.Q)(this.destroy$)).subscribe(V=>{V.success?(localStorage.setItem("stepNumber","2"),this.titleHeader="profile.force.change.password.success.header",this.currentStep=2):(this.resetForm(),this.errorMessagesSubject.next([...this.errorMessagesSubject.value,...V.errorMessages]),this.changePasswordForm.setErrors({serverError:!0}))})):(this.resetForm(),this.errorMessagesSubject.next([...this.errorMessagesSubject.value,...u.errorMessages]),this.changePasswordForm.setErrors({invalid:!0}))}resetForm(){this.changePasswordForm.patchValue({currentPassword:"",newPassword:"",confirmPassword:""})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),localStorage.removeItem("errorMessagesListFCP"),localStorage.removeItem("stepNumber")}getHomepageUrl(){this.loginService.getHomepageUrl(this.username).pipe((0,Kn.Q)(this.destroy$)).subscribe(t=>{t.sameSite?this.bootstrapService.loadBootstarpOnLogin(!0):t.returnUrl&&(t.returnUrl.startsWith("http")?window.location.href=t.returnUrl:this.router.navigateByUrl(t.returnUrl))})}get viewConfig(){return 1===this.currentStep?{headerKey:"login.changePassword.title",introKey:this.responseType&&"EXPIRED"===this.responseType?"login.changePassword.passwordExpire":"login.changePassword.tempPassword",introClass:"introText"}:{headerKey:"profile.force.change.password.success.header",introKey:"profile.force.change.password.success.intro",introClass:"stepTwoIntro"}}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-force-change-password"]],decls:17,vars:11,consts:[["stepOneTemplate",""],["stepTwoTemplate",""],["passwordTooltip",""],[1,"profilePage","plainRestyled"],[1,"forceChangePassword"],[1,"textAsLabel","primaryLabel","reportsCriteriaTitle"],[3,"ngClass"],[4,"ngIf"],[4,"ngTemplateOutlet"],["class","messageContainer",4,"ngIf"],[1,"messageContainer"],["aria-live","polite",1,"ui-messages","ui-messages-noicon","ui-widget"],["role","alert","aria-atomic","true",1,"ui-messages-error","ui-corner-all"],[4,"ngFor","ngForOf"],[1,"ui-messages-error-summary",3,"innerHTML"],[1,"clearFix"],[1,"form-inline","boxText","forceChangeBoxInfo"],[1,"textAsLabel","userLabel"],[1,"readonlyDataCol"],["novalidate","","autocomplete","off",3,"ngSubmit","formGroup"],["id","acctInfoPanel"],[1,"form-inline","boxText","fieldInputContainer"],["for","currentPassword",1,"subLabel"],["type","password","id","currentPassword","formControlName","currentPassword",1,"form-control",3,"ngClass"],[1,"form-inline","boxText"],[1,"textAsLabel","labelSpacer"],["triggers","click","placement","top","tabindex","0",1,"helptip",3,"keydown.enter","ngbTooltip"],["for","newPassword",1,"subLabel"],["type","password","id","newPassword","formControlName","newPassword",1,"form-control",3,"ngClass"],["for","confirmPassword",1,"subLabel"],["type","password","id","confirmPassword","formControlName","confirmPassword",1,"form-control",3,"ngClass"],[1,"securityBoxBtns","restyledSmBtns"],["type","submit",1,"submit","primaryBtn","primaryContinue",3,"value"],[1,"securityBoxBtns","restyledSmBtns","stepTwoButton"],["type","button",1,"submit","primaryBtn","primaryContinue",3,"click","value"],[1,"custom-tooltip",3,"innerHTML"]],template:function(i,r){if(1&i&&(e.j41(0,"div",3)(1,"div",4)(2,"span",5),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"div",6),e.EFF(6),e.nI1(7,"translate"),e.k0s(),e.DNE(8,Ed,2,1,"ng-container",7),e.nI1(9,"async"),e.DNE(10,Hm,1,0,"ng-container",8)(11,Qi,35,30,"ng-template",null,0,e.C5r)(13,Lc,5,3,"ng-template",null,1,e.C5r)(15,sc,2,3,"ng-template",null,2,e.C5r),e.k0s()()),2&i){const u=e.sdS(12),v=e.sdS(14);e.R7$(3),e.JRh(e.bMT(4,5,r.viewConfig.headerKey)),e.R7$(2),e.Y8G("ngClass",r.viewConfig.introClass),e.R7$(),e.JRh(e.bMT(7,7,r.viewConfig.introKey)),e.R7$(2),e.Y8G("ngIf",e.bMT(9,9,r.errorMessages$)),e.R7$(2),e.Y8G("ngTemplateOutlet",1===r.currentStep?u:v)}},dependencies:[ie.YU,ie.Sq,ie.bT,ie.T3,ge.qT,ge.me,ge.BC,ge.cb,ge.
1j4,ge.JD,G.md,ie.Jj,Y.D9],styles:['.plainRestyled[_ngcontent-%COMP%]{padding:12px 27px 0;margin-bottom:28rem;.reportsCriteriaTitle,.subLabel{margin:0!important}.restyledSubtitle{font:lighter 25px/60px Aptos Light,sans-serif!important;color:#070f36;margin-bottom:1.5rem}form{margin-top:0!important}.fieldInputContainer{max-width:280px;display:flex;flex-direction:column;label{font: 16px/20px Aptos,sans-serif!important;color:#070f36!important;width:100%}input{margin-top:5px;border-radius:10px!important;font-size:16px!important;width:13.5rem!important}}.restyledSmBtns{margin-left:15px;.secondaryBack{color:#070f36!important}input{width:130px!important;font-size:20px!important;font-weight:400!important;height:63px;min-width:156px;max-width:325px;border-radius:100px!important;display:inline-block;align-items:center;text-align:center;justify-content:center;border:2px #070f36 solid!important}.primaryContinue:hover{background-color:#070f36!important}.textAsLabel{margin-left:10px!important;margin-bottom:5px!important}}.messageContainer{margin-left:-8px!important}.ui-widget{font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif}.ui-messages{font-size:1.1em!important;width:62rem;ul{list-style:none;padding:0}}.ui-messages-error,.ui-message-error,.ui-messages-success,.ui-message-success{padding:10px!important;font-weight:700!important}.ui-messages-error,.ui-message-error{color:#e50000!important}.ui-messages-success,.ui-message-success{color:#00e526!important}.ui-messages-success ul,.ui-message-success ul{margin-bottom:3rem!important}.ui-messages-error-summary,.ui-messages-success-summary{font-weight:700;font-size:1.1em!important;color:#e20c0c}.registrationLink{margin-left:1em!important}.rf-cp-hdr span,a{color:#003e74!important;text-decoration:none;font-size:1em}.actions{margin-left:-10px;padding-bottom:21px}.introText{margin-left:3px;font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;font-size:1.1em;max-width:586px;color:#070f36!important}.boxText .textAsLabel{font: 20px/27px Aptos,sans-serif!important;margin-left:3px!important;margin-bottom:5px!important;color:#070f36!important}.readonlyDataCol{font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;font-size:1.1em}.helptip:after{margin-left:5px;content:"?";font-size:12px;font-weight:800;color:#fff;background-color:#003e74;border-radius:50%;width:18px;height:17px;display:inline-block;line-height:18px;text-align:center;font-family:Arial,sans-serif}.stepTwoIntro{margin-left:-.7rem}.stepTwoButton{margin-left:-19px!important;padding-bottom:1.1em!important;width:0!important;margin-top:3px!important}}[_nghost-%COMP%]     .ui-messages-error-summary a{color:red!important;text-decoration:underline}']})}}return n})(),Td=(()=>{class n{constructor(t){this.domainConfigService=t}ngOnInit(){this.centerEmail=this.domainConfigService.centerEmailAddress}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(M.K1))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-sso-error"]],decls:9,vars:10,consts:[[1,"big-subtitle",2,"text-transform","uppercase"],[1,"big-subtitle"],[2,"text-decoration","underline",3,"href"]],template:function(i,r){1&i&&(e.j41(0,"h2",0),e.EFF(1),e.nI1(2,"translate"),e.k0s(),e.j41(3,"p",1),e.EFF(4),e.nI1(5,"translate"),e.j41(6,"a",2),e.nI1(7,"translate"),e.EFF(8),e.k0s()()),2&i&&(e.R7$(),e.JRh(e.bMT(2,4,"login.ssoErrorBox.ssoText")),e.R7$(3),e.SpI(" ",e.bMT(5,6,"login.ssoErrorBox.message")," "),e.R7$(2),e.Y8G("href","mailto:"+r.centerEmail+"?Subject="+e.bMT(7,8,"login.ssoErrorBox.ssoText"),e.B4B),e.R7$(2),e.JRh(r.centerEmail))},dependencies:[Y.D9],encapsulation:2})}}return n})(),Id=(()=>{class n{constructor(t){this.domainConfigService=t}ngOnInit(){this.productName=this.domainConfigService.baseDomainName}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(M.K1))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-sso-logout"]],decls:3,vars:4,consts:[[1,"big-subtitle"]],template:function(i,r){1&i&&(e.j41(0,"p",0),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&i&&(e.R7$(),e.Lme("",e.bMT(2,2,"ssoLogout.message")," ",r.productName,""))},dependencies:[Y.D9],encapsulation:2})}}return n})(),zp=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-webview-error"]],decls:3,vars:3,template:function(i,r){1&i&&(e.j41(0,"p"),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&i&&(e.R7$(),e.JRh(e.bMT(2,1,"webviewerror.errorMsg")))},dependencies:[Y.D9],encapsulation:2})}}return n})(),rc=(()=>{class n{constructor(t,i,r,u){this.router=t,this.logoutService=i,this.domainConfig=r,this.userService=u}
1ngOnInit(){this.productName=this.domainConfig.productName}onReturnToLogin(){B.T.logout(this.router,this.logoutService,$.X.build(),this.userService)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(q.Ix),e.rXU(M.k4),e.rXU(xe.K),e.rXU(M.DL))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-session-expired"]],decls:9,vars:10,consts:[[1,"plainRestyled"],[1,"sessionBigSubtitle"],[1,"registerBtns"],["type","submit",1,"returnToLoginSessionPageButton",3,"click","value"]],template:function(i,r){1&i&&(e.j41(0,"div",0)(1,"div")(2,"p",1),e.EFF(3),e.nI1(4,"translate"),e.nI1(5,"translate"),e.k0s(),e.j41(6,"div",2)(7,"input",3),e.nI1(8,"translate"),e.bIt("click",function(){return r.onReturnToLogin()}),e.k0s()()()()),2&i&&(e.R7$(3),e.E5c(" ",e.bMT(4,4,"logout.text1")," ",r.productName," ",e.bMT(5,6,"logout.text2")," "),e.R7$(4),e.Y8G("value",e.bMT(8,8,"logout.returnToLogin")))},dependencies:[Y.D9],styles:[".plainRestyled[_ngcontent-%COMP%]{background:none;padding:0;border-radius:0;.sessionBigSubtitle{font: 20px/25px Aptos,sans-serif!important;color:#070f36!important}.returnToLoginSessionPageButton{height:69px;min-width:156px!important;width:220px!important;max-width:325px!important;border-radius:100px!important;background:#070f36!important;color:#fff!important;display:flex;align-items:center;font:lighter 20px/54px Aptos Light,sans-serif!important;text-align:center;justify-content:center;padding:.5rem}}"]})}}return n})(),Ga=(()=>{class n{constructor(t){this.activeModal=t,this.domainResourcePath=se.z.getBaseResourcePath()}continue(){this.url&&this.url.startsWith("https://")&&window.open(this.url,"_blank","noopener,noreferrer"),this.activeModal.close()}cancel(){this.activeModal.dismiss()}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(G.Lw))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-external-link-modal"]],inputs:{url:"url"},decls:15,vars:14,consts:[[1,"external-link-modal","absenceConfirmModal"],["alt","Close","tabindex","0","role","button",3,"click","keydown.enter","src"],[1,"modal-header"],["id","externalLinkModalTitle"],[1,"modal-body","centered"],["id","externalLinkModalBody"],[1,"modal-footer","twoSecondaryButtons"],["id","externalLinkContinueBtn","type","button",3,"click","value"],["id","externalLinkCancelBtn","type","button",3,"click","value"]],template:function(i,r){1&i&&(e.j41(0,"div",0)(1,"img",1),e.bIt("click",function(){return r.cancel()})("keydown.enter",function(){return r.cancel()}),e.k0s(),e.j41(2,"div",2)(3,"h2",3),e.EFF(4),e.nI1(5,"translate"),e.k0s()(),e.j41(6,"div",4)(7,"span",5),e.EFF(8),e.nI1(9,"translate"),e.k0s()(),e.j41(10,"div",6)(11,"input",7),e.nI1(12,"translate"),e.bIt("click",function(){return r.continue()}),e.k0s(),e.j41(13,"input",8),e.nI1(14,"translate"),e.bIt("click",function(){return r.cancel()}),e.k0s()()()),2&i&&(e.R7$(),e.Mz_("src","",r.domainResourcePath,"/gfx/redesignIcons/exit.svg",e.B4B),e.R7$(3),e.JRh(e.bMT(5,6,"resources.externalLink.title")),e.R7$(4),e.JRh(e.bMT(9,8,"resources.externalLink.body")),e.R7$(3),e.FS9("value",e.bMT(12,10,"resources.externalLink.continue")),e.R7$(2),e.FS9("value",e.bMT(14,12,"resources.externalLink.cancel")))},dependencies:[Y.D9],styles:[".modal-dialog[_ngcontent-%COMP%]{min-width:600px!important}.absenceConfirmModal[_ngcontent-%COMP%]{border-radius:30px!important;display:flex;flex-direction:column;max-width:750px!important;width:auto!important;hr{display:none}h2,#titleId{font: 35px/36px Aptos,sans-serif!important;text-align:center;color:#070f36!important;padding-bottom:20px}img{width:25px;height:25px;align-self:end;margin:16px 16px 0 0}img:hover{cursor:pointer}span,#timeoutBody{font: 22px/36px Aptos,sans-serif!important;color:#070f36!important;word-break:normal!important}input.primaryLongContinue{border:none!important}.centered{text-align:center}.modal-header{padding:40px 30px 0;justify-content:center}.exitCreateRequestModalTitle{color:#070f36!important;font-weight:400!important;padding-top:20px}.rf-pp-cnt{margin:20px 30px!important;display:flex;flex-direction:column}.dataGroupTitle{font: 25px/31px Aptos,sans-serif!important;padding:16px 0 4px}span.centered.dataGroupTitle{padding:30px 30px 10px}.restyledLabel{font: 22px/36px Aptos,sans-serif!important;color:#070f36!important;width:45%!important;margin-right:0;display:inline-block;margin-bottom:8px;text-align:left!important}.lighterLabel{font:lighter 22px/36px Aptos Light,sans-serif!important;color:#070f36!important;width:70%!important;margin-right:0;display:inline-block;text-align:left!important}.restyledValue{font: 22px/36px Aptos,sans-serif!important;color:#070f36!important;margin-right:0;display:inline-block;margin-bottom:8px;text-align:start!important}.lighterValue{font:lighter 22px/36px Aptos Light,sans-serif!important;color:#070f36!important;width:40%!important;margin-right:0;display:inline-block;text-align:start!important}.restyledSmBtns{flex-direction:row-reverse;justify-content:center;align-self:center;width:90%;margin-top:0;input{height:54px!important;width:50%!important;max-width:unset!important;padding:0 10px!important}}button.secondaryBtn:hover{background:transparent!important}.close-button{align-self:end;width:35px;height:35px}.secondaryLongBackButton,.twoSecondaryButtons{text-align:center;align-items:center;height:103px;input,button{height:54px!important;padding:0 10px!important;border-radius:30px!important;background:transparent!important;border:1px solid #070f36!important;color:#070f36!important}}.twoSecondaryButtons{display:flex!important;justify-content:center!important;gap:20px}
1.twoSecondaryButtons input{width:auto!important;min-width:120px;max-width:unset!important;margin:0!important}.secondaryLongBackButton{width:50%;button{width:100%}button:hover{color:#070f36!important}}.secondaryBack{color:#070f36!important}.confirmModal.textAsLabel{width:55%}.confirmModal.boxText{align-items:center}.modal-footer{border:none!important;padding-bottom:20px}.boxText{margin-left:8%}}@media (max-width: 850px){.absenceConfirmModal[_ngcontent-%COMP%]{.rf-pp-cnt{margin:20px 10px!important}.restyledLabel{width:100%!important}.restyledValue,.lighterValue,.lighterLabel{width:100%!important;max-width:unset!important}.lighterValue,.lighterLabel{margin-bottom:0!important}.restyledSmBtns{flex-direction:column!important;input{width:100%!important}.secondaryBack{margin:0!important}}.twoSecondaryButtons{flex-direction:column!important;height:auto!important;input{width:100%!important;height:40px!important;margin:8px 0!important}}.indent{padding-left:0}.dataGroupTitle{padding:16px 0 0}.boxText{flex-direction:column;margin-left:8%}}}"]})}}return n})(),Ir=(()=>{class n{constructor(t,i,r){this.router=t,this.modalService=i,this.translate=r,this.absenceResource=!se.z.isDomainBlockedFromRedesignUpdates(),this.domainResourcePath=se.z.getBaseResourcePath(),this.isNavigating=!1}openCareScout(){this.openExternalLink(this.translate.instant("resources.careScout.url"))}openHuddles(){this.openExternalLink(this.translate.instant("resources.huddles.url"))}goToCaringConversations(){this.isNavigating||(this.isNavigating=!0,this.router.navigate(["/caring-conversations"]).catch(()=>{this.isNavigating=!1}))}goToSupportContent(){this.isNavigating||(this.isNavigating=!0,this.router.navigate(["/support-content"]).catch(()=>{this.isNavigating=!1}))}goBack(){this.isNavigating||(this.isNavigating=!0,this.router.navigate(["/absences"]).catch(()=>{this.isNavigating=!1}))}openExternalLink(t){if(this.isNavigating)return;this.isNavigating=!0;const i=this.modalService.open(Ga,{centered:!0,backdrop:"static"});i.componentInstance.url=t,i.result.then(()=>{this.isNavigating=!1},()=>{this.isNavigating=!1})}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(q.Ix),e.rXU(G.Bq),e.rXU(Y.c$))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-resources-page"]],decls:54,vars:50,consts:[["tabindex","-1",1,"row"],[1,"col-lg-6","col-md-6","col-sm-6","h1Row"],["id","resourcesPageTitle"],[1,"row"],[1,"dashboard-col"],["id","careScoutTile","role","button","tabindex","0",1,"icon-dashboard","tile-clickable",3,"click","keydown.enter"],["id","careScoutLogoImg",1,"tile-logo",3,"src","alt"],[1,"tile-content"],["id","careScoutTileLink",1,"icon-text-link"],[1,"tile-description"],["id","huddlesTile","role","button","tabindex","0",1,"icon-dashboard","tile-clickable",3,"click","keydown.enter"],["id","huddlesLogoImg",1,"tile-logo",3,"src","alt"],["id","huddlesTileLink",1,"icon-text-link"],["id","caringConversationsTile","role","button","tabindex","0",1,"icon-dashboard","tile-clickable",3,"click","keydown.enter"],["id","caringConversationsTileImg",1,"dashboard-icons",3,"src","alt"],["id","caringConversationsTileLink",1,"icon-text-link"],["id","supportContentTile","role","button","tabindex","0",1,"icon-dashboard","tile-clickable",3,"click","keydown.enter"],["id","supportContentLogoImg",1,"tile-logo",3,"src","alt"],["id","supportContentTileLink",1,"icon-text-link"],[1,"col","text-center"],["type","button","id","resourcesBackBtn",1,"secondary-btn",3,"click","value"]],template:function(i,r){1&i&&(e.j41(0,"div",0)(1,"div",1)(2,"h1",2),e.EFF(3),e.nI1(4,"translate"),e.k0s()()(),e.j41(5,"div",3)(6,"div",4)(7,"div",5),e.bIt("click",function(){return r.openCareScout()})("keydown.enter",function(v){return v.preventDefault(),r.openCareScout()}),e.nrm(8,"img",6),e.nI1(9,"translate"),e.j41(10,"div",7)(11,"span",8),e.EFF(12),e.nI1(13,"translate"),e.k0s(),e.j41(14,"span",9),e.EFF(15),e.nI1(16,"translate"),e.k0s()()()(),e.j41(17,"div",4)(18,"div",10),e.bIt("click",function(){return r.openHuddles()})("keydown.enter",function(v){return v.preventDefault(),r.openHuddles()}),e.nrm(19,"img",11),e.nI1(20,"translate"),e.j41(21,"div",7)(22,"span",12),e.EFF(23),e.nI1(24,"translate"),e.k0s(),e.j41(25,"span",9),e.EFF(26),e.nI1(27,"translate"),e.k0s()()()(),e.j41(28,"div",4)(29,"div",13),e.bIt("click",function(){return r.goToCaringConversations()})("keydown.enter",function(v){return v.preventDefault(),r.goToCaringConversations()}),e.nrm(30,"img",14),e.nI1(31,"translate"),e.j41(32,"div",7)(33,"span",15),e.EFF(34),e.nI1(35,"translate"),e.k0s(),e.j41(36,"span",9),e.EFF(37),e.nI1(38,"translate"),e.k0s()()()(),e.j41(39,"div",4)(40,"div",16),e.bIt("click",function(){return r.goToSupportContent()})("keydown.enter",function(v){return v.preventDefault(),r.goToSupportContent()}),e.nrm(41,"img",17),e.nI1(42,"translate"),e.j41(43,"div",7)(44,"span",18),e.EFF(45),e.nI1(46,"translate"),e.k0s(),e.j41(47,"span",9),e.EFF(48),e.nI1(49,"translate"),e.k0s()()()()(),e.j41(50,"div",3)(51,"div",19)(52,"input",20),e.nI1(53,"translate"),e.bIt("click",function(){return r.goBack()}),e.k0s()()()),2&i&&(e.R7$(3),e.JRh(e.bMT(4,22,"resources.pageTitle")),e.R7$(5),e.Mz_("src","",r.domainResourcePath,"/gfx/empActionIcons/carescout.png",e.B4B),e.FS9("alt",e.bMT(9,24,"resources.careScout.title")),e.R7$(4),e.SpI(" ",e.bMT(13,26,"resources.careScout.title")," "),e.R7$(3),e.JRh(e.bMT(16,28,"resources.careScout.description")),e.R7$(4),e.Mz_("src","",r.domainResourcePath,"/gfx/empActionIcons/huddles.svg",e.B4B),e.FS9("alt",e.bMT(20,30,"resources.huddles.title")),e.R7$(4),e.SpI(" ",e.bMT(24,32,"resources.huddles.title")," "),e.R7$(3),e.JRh(e.bMT(27,34,"resources.huddles.description")),e.R7$(4),e.Mz_("src","",r.domainResourcePath,"/gfx/empActionIcons/caring_conversations.svg",e.B4B),e.FS9("alt",e.bMT(31,36,"resources.caringConversations.title")),e.R7$(4),e.SpI(" ",e.bMT(35,38,"resources.caringConversations.title")," "),e.R7$(3),e.JRh(e.bMT(38,40,"resources.caringConversations.description")),e.R7$(4),e.Mz_("src","",r.domainResourcePath,"/gfx/empActionIcons/content_library.svg",e.B4B),e.FS9("alt",e.bMT(42,42,"resources.supportContent.title")),e.R7$(4),e.SpI(" ",e.bMT(46,44,"resources.supportContent.title")," "),e.R7$(3),e.SpI(" ",e.bMT(49,46,"resources.supportContent.description")," "),e.R7$(4),e.FS9("value",e.bMT(53,48,"resources.backButton")))},dependencies:[Y.D9],styles:[".tile-clickable[_ngcontent-%COMP%]{cursor:pointer}.tile-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex:1;min-width:0}.tile-content[_ngcontent-%COMP%]   .icon-text-link[_ngcontent-%COMP%]{width:auto}.tile-logo[_ngcontent-%COMP%]{height:auto;max-height:28px;max-width:56px;width:auto;object-fit:contain;margin-left:16px;margin-right:10px;flex-shrink:0}.tile-description[_ngcontent-%COMP%]{display:block;font-size:.9em;margin-top:4px}.dashboard-icons#caringConversationsTileImg[_ngcontent-%COMP%]{transform:none;width:32px;height:32px;margin-left:16px;margin-right:10px;flex-shrink:0}#resourcesBackBtn[_ngcontent-%COMP%]{margin-top:40px}"]})}}return n})();const la=n=>({absenceResources:n});let Dd=(()=>{class n{constructor(t,i,r){this.router=t,this.modalService=i,this.translate=r,this.absenceResource=!se.z.isDomainBlockedFromRedesignUpdates(),this.domainResourcePath=se.z.getBaseResourcePath(),this.isNavigating=!1}openWebinar1(){this.openExternalLink(this.translate.instant("resources.caringConversations.webinar1.url"))}openWebinar2(){this.openExternalLink(this.translate.instant("resources.caringConversations.webinar2.url"))}goBack(){this.isNavigating||(this.isNavigating=!0,this.router.navigate(["/resources"]).catch(()=>{this.isNavigating=!1}))}openExternalLink(t){if(this.isNavigating)return;this.isNavigating=!0;const i=this.modalService.open(Ga,{centered:!0,backdrop:"static"});i.componentInstance.url=t,i.result.then(()=>{this.isNavigating=!1},()=>{this.isNavigating=!1})}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(q.Ix),e.rXU(G.Bq),e.rXU(Y.c$))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-caring-conversations"]],decls:25,vars:25,consts:[[3,"ngClass"],["tabindex","-1",1,"row"],[1,"col-lg-6","col-md-6","col-sm-6","h1Row"],["id","caringConversationsTitle"],[1,"row"],[1,"dashboard-col"],["id","webinar1Tile","role","button","tabindex","0",1,"icon-dashboard","tile-clickable",3,"click","keydown.enter"],["id","webinar1TileImg",1,"dashboard-icons",3,"src","alt"],["id","webinar1Link",1,"icon-text-link"],["id","webinar2Tile","role","button","tabindex","0",1,"icon-dashboard","tile-clickable",3,"click","keydown.enter"],["id","webinar2TileImg",1,"dashboard-icons",3,"src","alt"],["id","webinar2Link",1,"icon-text-link"],[1,"col","text-center"],["type","button","id","caringConversationsBackBtn",1,"secondary-btn",3,"click","value"]],template:function(i,r){1&i&&(e.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3),e.
1EFF(4),e.nI1(5,"translate"),e.k0s()()(),e.j41(6,"div",4)(7,"div",5)(8,"div",6),e.bIt("click",function(){return r.openWebinar1()})("keydown.enter",function(v){return v.preventDefault(),r.openWebinar1()}),e.nrm(9,"img",7),e.nI1(10,"translate"),e.j41(11,"span",8),e.EFF(12),e.nI1(13,"translate"),e.k0s()()(),e.j41(14,"div",5)(15,"div",9),e.bIt("click",function(){return r.openWebinar2()})("keydown.enter",function(v){return v.preventDefault(),r.openWebinar2()}),e.nrm(16,"img",10),e.nI1(17,"translate"),e.j41(18,"span",11),e.EFF(19),e.nI1(20,"translate"),e.k0s()()()(),e.j41(21,"div",4)(22,"div",12)(23,"input",13),e.nI1(24,"translate"),e.bIt("click",function(){return r.goBack()}),e.k0s()()()()),2&i&&(e.Y8G("ngClass",e.eq3(23,la,r.absenceResource)),e.R7$(4),e.JRh(e.bMT(5,11,"resources.caringConversations.title")),e.R7$(5),e.Mz_("src","",r.domainResourcePath,"/gfx/empActionIcons/caring_conversations.svg",e.B4B),e.FS9("alt",e.bMT(10,13,"resources.caringConversations.webinar1")),e.R7$(3),e.SpI(" ",e.bMT(13,15,"resources.caringConversations.webinar1")," "),e.R7$(4),e.Mz_("src","",r.domainResourcePath,"/gfx/empActionIcons/caring_conversations.svg",e.B4B),e.FS9("alt",e.bMT(17,17,"resources.caringConversations.webinar2")),e.R7$(3),e.SpI(" ",e.bMT(20,19,"resources.caringConversations.webinar2")," "),e.R7$(4),e.FS9("value",e.bMT(24,21,"resources.backButton")))},dependencies:[ie.YU,Y.D9],styles:["#caringConversationsBackBtn[_ngcontent-%COMP%]{margin-top:40px}"]})}}return n})();var jo=I(7710);const go=n=>({background:n}),Kp=n=>({margin:n}),Wm=()=>({value:"forgotUsernameEmail"}),Jp=n=>({fieldError:n}),Vg=n=>({fieldError:n}),Cd=n=>({0:n}),Qp=n=>({index:n}),Zp=()=>({0:"AbsenceResources"});function Mu(n,d){if(1&n&&(e.j41(0,"div",16)(1,"div",17)(2,"div",18)(3,"ul")(4,"li",19)(5,"span",20),e.EFF(6),e.nI1(7,"translate"),e.k0s()()()()()()),2&n){const t=e.XpG();e.R7$(6),e.SpI(" ",e.i5U(7,1,t.successMsg,e.lJ4(4,Wm))," ")}}function Hg(n,d){if(1&n&&(e.j41(0,"li",19),e.nrm(1,"span",26),e.nI1(2,"translate"),e.k0s()),2&n){const t=d.$implicit;e.R7$(),e.Y8G("innerHTML",e.bMT(2,1,t),e.npT)}}function qm(n,d){1&n&&(e.j41(0,"li",19)(1,"span",27),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.JRh(e.bMT(3,1,"registration.step1.employeeNumberRequired")))}function eh(n,d){1&n&&(e.j41(0,"li",19)(1,"span",27),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.JRh(e.bMT(3,1,"registration.step1.lastNameRequired")))}function Xm(n,d){1&n&&(e.j41(0,"li",19)(1,"span",27),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.JRh(e.bMT(3,1,"registration.step1.dobRequired")))}function zm(n,d){1&n&&(e.j41(0,"li",19)(1,"span",27),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.JRh(e.bMT(3,1,"validation.invalidDate")))}function Km(n,d){1&n&&(e.j41(0,"li",19)(1,"span",27),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.JRh(e.bMT(3,1,"registration.step1.postalCodeRequired")))}function Su(n,d){if(1&n&&(e.j41(0,"div",21)(1,"div",22)(2,"ul",23),e.DNE(3,Hg,3,3,"li",24)(4,qm,4,3,"li",25)(5,eh,4,3,"li",25)(6,Xm,4,3,"li",25)(7,zm,4,3,"li",25)(8,Km,4,3,"li",25),e.k0s()()()),2&n){const t=e.XpG();e.R7$(3),e.Y8G("ngForOf",t.errMsgs),e.R7$(),e.Y8G("ngIf",(null==t.step1Errors.controls||null==t.step1Errors.controls.employeeNumber?null:t.step1Errors.controls.employeeNumber.required)&&!t.searchByLastNameAndDob),e.R7$(),e.Y8G("ngIf",(null==t.step1Errors.controls||null==t.step1Errors.controls.lastName?null:t.step1Errors.controls.lastName.required)&&t.searchByLastNameAndDob),e.R7$(),e.Y8G("ngIf",(null==t.step1Errors.controls||null==t.step1Errors.controls.dateOfBirth?null:t.step1Errors.controls.dateOfBirth.required)&&t.searchByLastNameAndDob),e.R7$(),e.Y8G("ngIf",(null==t.step1Errors.controls||null==t.step1Errors.controls.dateOfBirth?null:t.step1Errors.controls.dateOfBirth["validation.invalidDate"])&&t.searchByLastNameAndDob),e.R7$(),e.Y8G("ngIf",null==t.step1Errors.controls||null==t.step1Errors.controls.postalCode?null:t.step1Errors.controls.postalCode.required)}}function Ru(n,d){1&n&&(e.j41(0,"span",28),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"registration.step1.Info")," "))}function Jm(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",33)(1,"label",39),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.nrm(4,"input",40),e.j41(5,"a",41),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.lookupByName())})("keydown.enter",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.lookupByName())})("keydown.space",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.lookupByName())}),e.EFF(6),e.nI1(7,"translate"),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",e.bMT(3,5,"registration.step1.employeeNumber")," "),e.R7$(2),e.AVh("is-invalid",t.submitted&&(null==t.step1Errors.controls?null:t.step1Errors.controls.employeeNumber)),e.Y8G("ngClass",e.eq3(9,Jp,t.submitted&&(null==t.step1Errors.controls?null:t.step1Errors.controls.employeeNumber))),e.R7$(2),e.SpI(" ",e.bMT(7,7,"registration.step1.lasNameDobLink")," ")}}function bo(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",33)(1,"label",42),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.nrm(4,"input",43),e.j41(5,"a",41),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.switchToEmployeeLookup())})("keydown.enter",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.switchToEmployeeLookup())})("keydown.space",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.switchToEmployeeLookup())}),e.EFF(6),e.nI1(7,"translate"),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",e.bMT(3,5,"registration.step1.lastName")," "),e.R7$(2),e.AVh("is-invalid",t.submitted&&(null==t.step1Errors.controls?null:t.step1Errors.controls.lastName)),e.Y8G("ngClass",e.eq3(9,Jp,t.submitted&&(null==t.step1Errors.controls?null:t.step1Errors.controls.lastName))),e.R7$(2),e.SpI(" ",e.bMT(7,7,"registration.step1.EmployeeNumberLink")," ")}}function Dl(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",44)(1,"label",45),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"input",46,2),e.bIt("dateSelect",function(){e.eBV(t);const r=e.sdS(5),u=e.XpG(2);return r.close(),e.Njj(u.onDateSelect())}),e.k0s(),e.j41(6,"img",47),e.bIt("click",function(){e.eBV(t);const r=e.sdS(5);
1return e.Njj(r.toggle())})("keydown.enter",function(){e.eBV(t);const r=e.sdS(5);return e.Njj(r.toggle())})("keydown.space",function(){e.eBV(t);const r=e.sdS(5);return e.Njj(r.toggle())}),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",e.bMT(3,7,"registration.step1.dob")," "),e.R7$(2),e.AVh("is-invalid",t.submitted&&(null==t.step1Errors.controls?null:t.step1Errors.controls.dateOfBirth)),e.Y8G("firstDayOfWeek",7)("ngClass",e.eq3(9,Vg,t.submitted&&(null==t.step1Errors.controls?null:t.step1Errors.controls.dateOfBirth))),e.R7$(2),e.Mz_("src","",t.domainResourcePath,"/gfx/redesignIcons/calendar.svg",e.B4B)}}function Ws(n,d){if(1&n){const t=e.RV6();e.j41(0,"form",29),e.bIt("ngSubmit",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.validateStep1())}),e.j41(1,"span",30),e.DNE(2,Jm,8,11,"div",31)(3,bo,8,11,"div",31)(4,Dl,7,11,"div",32),e.j41(5,"div",33)(6,"label",34),e.EFF(7),e.nI1(8,"translate"),e.k0s(),e.nrm(9,"input",35),e.j41(10,"span",36),e.EFF(11),e.nI1(12,"translate"),e.k0s()()(),e.j41(13,"div",37)(14,"button",38),e.EFF(15),e.nI1(16,"translate"),e.k0s()()()}if(2&n){const t=e.XpG();e.Y8G("formGroup",t.registrationForm),e.R7$(),e.AVh("collapsed-gap",t.isExpanded),e.R7$(),e.Y8G("ngIf",!t.searchByLastNameAndDob),e.R7$(),e.Y8G("ngIf",t.searchByLastNameAndDob),e.R7$(),e.Y8G("ngIf",t.searchByLastNameAndDob),e.R7$(3),e.SpI(" ",e.bMT(8,12,"registration.step1.postalCode")," "),e.R7$(2),e.AVh("is-invalid",t.submitted&&(null==t.step1Errors.controls?null:t.step1Errors.controls.postalCode)),e.Y8G("ngClass",e.eq3(18,Jp,t.submitted&&(null==t.step1Errors.controls?null:t.step1Errors.controls.postalCode))),e.R7$(2),e.SpI(" ",e.bMT(12,14,"registration.step1.tooltip")," "),e.R7$(4),e.SpI(" ",e.bMT(16,16,"registration.step1.button")," ")}}function Md(n,d){1&n&&(e.j41(0,"span",48),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"registration.step3.panelHeaderRebrand")," "))}function Wg(n,d){if(1&n){const t=e.RV6();e.j41(0,"form")(1,"fieldset")(2,"legend",49)(3,"span",50),e.EFF(4),e.nI1(5,"translate"),e.k0s()(),e.j41(6,"div",51)(7,"button",52),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.validateStep2(!1))}),e.EFF(8),e.nI1(9,"translate"),e.k0s(),e.j41(10,"button",53),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.validateStep2(!0))}),e.EFF(11),e.nI1(12,"translate"),e.k0s()()()()}if(2&n){const t=e.XpG();e.R7$(4),e.Lme(" ",e.bMT(5,4,"registration.step2.areYou")," ",t.fullName,"? "),e.R7$(4),e.SpI(" ",e.bMT(9,6,"registration.step2.no")," "),e.R7$(3),e.SpI(" ",e.bMT(12,8,"registration.step2.yes")," ")}}function Qm(n,d){if(1&n&&(e.j41(0,"li",19)(1,"span",96),e.EFF(2),e.nI1(3,"translate"),e.nI1(4,"translate"),e.k0s()()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(e.i5U(4,3,"login.web.process.required",e.eq3(6,Cd,e.bMT(3,1,null==t.step3Errors.controls||null==t.step3Errors.controls.username?null:t.step3Errors.controls.username["login.web.process.required"][0]))))}}function th(n,d){1&n&&(e.j41(0,"li",19)(1,"span",96),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.JRh(e.bMT(3,1,"emptyUserName")))}function nh(n,d){1&n&&(e.j41(0,"li",19)(1,"span",96),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.JRh(e.bMT(3,1,"userNameNotNumber")))}function ih(n,d){if(1&n&&(e.j41(0,"li",19)(1,"span",96),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(e.i5U(3,1,"emailUsernameNotUnique",t.domainConfigService.params))}}function Pc(n,d){if(1&n&&(e.j41(0,"div",21)(1,"div",94)(2,"ul",95),e.DNE(3,Qm,5,8,"li",25)(4,th,4,3,"li",25)(5,nh,4,3,"li",25)(6,ih,4,4,"li",25),e.k0s()()()),2&n){const t=e.XpG(2);e.R7$(3),e.Y8G("ngIf",null==t.step3Errors.controls||null==t.step3Errors.controls.username?null:t.step3Errors.controls.username["login.web.process.required"]),e.R7$(),e.Y8G("ngIf",(null==t.step3Errors.controls||null==t.step3Errors.controls.username?null:t.step3Errors.controls.username.emptyUserName)&&!(null!=t.step3Errors.controls&&null!=t.step3Errors.controls.username&&t.step3Errors.controls.username["login.web.process.required"])),e.R7$(),e.Y8G("ngIf",null==t.step3Errors.controls||null==t.step3Errors.controls.username?null:t.step3Errors.controls.username.userNameNotNumber),e.R7$(),e.Y8G("ngIf",null==t.step3Errors.controls||null==t.step3Errors.controls.username?null:t.step3Errors.controls.username.emailUsernameNotUnique)}}function al(n,d){if(1&n&&(e.j41(0,"li",19),e.nrm(1,"span",97),e.nI1(2,"translate"),e.k0s()),2&n){const t=d.$implicit;e.R7$(),e.Y8G("innerHTML",e.bMT(2,1,t),e.npT)}}function qg(n,d){if(1&n&&(e.j41(0,"div",21)(1,"div",94)(2,"ul",95),e.DNE(3,al,3,3,"li",24),e.k0s()()()),2&n){const t=e.XpG(2);e.R7$(3),e.Y8G("ngForOf",t.errMsgs)}}
1function wu(n,d){if(1&n&&(e.j41(0,"li",19)(1,"span",96),e.EFF(2),e.nI1(3,"translate"),e.nI1(4,"translate"),e.k0s()()),2&n){const t=d.$implicit;e.R7$(2),e.JRh(e.i5U(4,3,t.key,e.eq3(6,Cd,e.bMT(3,1,t.value[0]))))}}function ku(n,d){if(1&n&&(e.j41(0,"div",21)(1,"div",98)(2,"ul",95),e.DNE(3,wu,5,8,"li",24),e.nI1(4,"keyvalue"),e.k0s()()()),2&n){const t=e.XpG(2);e.R7$(3),e.Y8G("ngForOf",e.bMT(4,1,null==t.step3Errors.controls?null:t.step3Errors.controls.password))}}function Au(n,d){if(1&n&&(e.j41(0,"li",19)(1,"span",96),e.EFF(2),e.nI1(3,"translate"),e.nI1(4,"translate"),e.k0s()()),2&n){const t=d.$implicit;e.R7$(2),e.JRh(e.i5U(4,3,t.key,e.eq3(6,Cd,e.bMT(3,1,t.value[0]))))}}function sh(n,d){if(1&n&&(e.j41(0,"div",21)(1,"div",98)(2,"ul",95),e.DNE(3,Au,5,8,"li",24),e.nI1(4,"keyvalue"),e.k0s()()()),2&n){const t=e.XpG(2);e.R7$(3),e.Y8G("ngForOf",e.bMT(4,1,null==t.step3Errors.controls?null:t.step3Errors.controls.confirmPassword))}}function Zm(n,d){1&n&&(e.j41(0,"li",19)(1,"span",96),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.JRh(e.bMT(3,1,"validation.securityQuestNull")))}function Sd(n,d){1&n&&(e.j41(0,"li",19)(1,"span",96),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.JRh(e.bMT(3,1,"questionsDuplicated")))}function ef(n,d){if(1&n&&(e.j41(0,"div",21)(1,"div",94)(2,"ul",95),e.DNE(3,Zm,4,3,"li",25)(4,Sd,4,3,"li",25),e.k0s()()()),2&n){const t=e.XpG().index,i=e.XpG(2);e.R7$(3),e.Y8G("ngIf",null==i.step3Errors.securityQuestions||null==i.step3Errors.securityQuestions[t]||null==i.step3Errors.securityQuestions[t].question?null:i.step3Errors.securityQuestions[t].question["validation.securityQuestNull"]),e.R7$(),e.Y8G("ngIf",null==i.step3Errors.securityQuestions||null==i.step3Errors.securityQuestions[t]?null:i.step3Errors.securityQuestions[t].isDuplicated)}}function Cl(n,d){if(1&n&&(e.j41(0,"option",109),e.EFF(1),e.k0s()),2&n){const t=d.$implicit,i=e.XpG(3);e.Y8G("value",t.questionId),e.R7$(),e.SpI(" ",i.getLocalizedValue(t,"question")," ")}}function jc(n,d){1&n&&(e.j41(0,"li",19)(1,"span",96),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"validation.answerSize")," "))}function rh(n,d){if(1&n&&(e.j41(0,"div",21)(1,"div",94)(2,"ul",95),e.DNE(3,jc,4,3,"li",25),e.k0s()()()),2&n){const t=e.XpG().index,i=e.XpG(2);e.R7$(3),e.Y8G("ngIf",null==i.step3Errors.securityQuestions||null==i.step3Errors.securityQuestions[t]||null==i.step3Errors.securityQuestions[t].answer?null:i.step3Errors.securityQuestions[t].answer["validation.answerSize"])}}function oc(n,d){if(1&n&&(e.j41(0,"div",99)(1,"div",100),e.DNE(2,ef,5,2,"div",10),e.j41(3,"label",101),e.nrm(4,"span",102),e.k0s(),e.j41(5,"select",103),e.DNE(6,Cl,2,2,"option",76),e.k0s()(),e.j41(7,"div",104)(8,"div",105),e.DNE(9,rh,4,1,"div",10),e.j41(10,"label",106),e.EFF(11),e.nI1(12,"translate"),e.k0s(),e.nrm(13,"input",107),e.j41(14,"div",108),e.EFF(15),e.nI1(16,"translate"),e.k0s()()()()),2&n){const t=d.index,i=e.XpG(2);e.Y8G("formGroupName",t),e.R7$(2),e.Y8G("ngIf",i.submitted&&((null==i.step3Errors.securityQuestions||null==i.step3Errors.securityQuestions[t]?null:i.step3Errors.securityQuestions[t].question)||(null==i.step3Errors.securityQuestions||null==i.step3Errors.securityQuestions[t]?null:i.step3Errors.securityQuestions[t].isDuplicated))),e.R7$(),e.Mz_("for","questions",t+1,""),e.R7$(),e.Y8G("translate","registration.step3.question")("translateParams",e.eq3(26,Qp,t+1)),e.R7$(),e.AVh("fieldError",((null==i.step3Errors.securityQuestions||null==i.step3Errors.securityQuestions[t]?null:i.step3Errors.securityQuestions[t].question)||(null==i.step3Errors.securityQuestions||null==i.step3Errors.securityQuestions[t]?null:i.step3Errors.securityQuestions[t].isDuplicated))&&i.submitted),e.Mz_("id","questions",t+1,""),e.Mz_("name","questions",t+1,""),e.R7$(),e.Y8G("ngForOf",null==i.step2Data?null:i.step2Data.questions),e.R7$(3),e.Y8G("ngIf",i.submitted&&(null==i.step3Errors.securityQuestions||null==i.step3Errors.securityQuestions[t]?null:i.step3Errors.securityQuestions[t].answer)),e.R7$(),e.Mz_("for","answer",t+1,""),e.R7$(),e.JRh(e.bMT(12,22,"registration.step3.answer")),e.R7$(2),e.AVh("fieldError",(null==i.step3Errors.securityQuestions||null==i.step3Errors.securityQuestions[t]?null:i.step3Errors.securityQuestions[t].answer)&&i.submitted),e.Mz_("id","answer",t+1,""),e.R7$(2),e.SpI(" ",e.bMT(16,24,"registration.step3.answerDisclaimer")," ")}}
1function tf(n,d){if(1&n&&(e.j41(0,"li",19)(1,"span",96),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n){const t=d.$implicit;e.R7$(2),e.JRh(e.bMT(3,1,t.key))}}function xu(n,d){if(1&n&&(e.j41(0,"div",21)(1,"div",94)(2,"ul",95),e.DNE(3,tf,4,3,"li",24),e.nI1(4,"keyvalue"),e.k0s()()()),2&n){const t=e.XpG(2);e.R7$(3),e.Y8G("ngForOf",e.bMT(4,1,null==t.step3Errors.controls?null:t.step3Errors.controls.distributionPreferenceId))}}function Xg(n,d){if(1&n&&(e.j41(0,"option",110),e.EFF(1),e.k0s()),2&n){const t=d.$implicit,i=e.XpG(2);e.Y8G("ngValue",t.id),e.R7$(),e.SpI(" ",i.getLocalizedValue(t,"distribution")," ")}}function nf(n,d){if(1&n&&(e.j41(0,"option",109),e.EFF(1),e.k0s()),2&n){const t=d.$implicit;e.Y8G("value",t.value),e.R7$(),e.SpI(" ",t.key," ")}}function zg(n,d){1&n&&(e.j41(0,"li",19)(1,"span",96),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.JRh(e.bMT(3,1,"validation.personalEmailAddressRequired")))}function ll(n,d){1&n&&(e.j41(0,"li",19)(1,"span",96),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.JRh(e.bMT(3,1,"invalidEmailFormat")))}function Bc(n,d){if(1&n&&(e.j41(0,"div",21)(1,"div",94)(2,"ul",95),e.DNE(3,zg,4,3,"li",25)(4,ll,4,3,"li",25),e.k0s()()()),2&n){const t=e.XpG(2);e.R7$(3),e.Y8G("ngIf",null==t.step3Errors.controls||null==t.step3Errors.controls.emailAddr?null:t.step3Errors.controls.emailAddr["validation.personalEmailAddressRequired"]),e.R7$(),e.Y8G("ngIf",null==t.step3Errors.controls||null==t.step3Errors.controls.emailAddr?null:t.step3Errors.controls.emailAddr.invalidEmailFormat)}}function sf(n,d){1&n&&(e.j41(0,"li",19)(1,"span",96),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"mobileNumberRequired")," "))}function Yc(n,d){1&n&&(e.j41(0,"li",19)(1,"span",96),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.i5U(3,1,"allowTextMissing",e.lJ4(4,Zp))," "))}function $c(n,d){1&n&&(e.j41(0,"li",19)(1,"span",96),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"termsRequired")," "))}function Rd(n,d){if(1&n&&(e.j41(0,"div",21)(1,"div",94)(2,"ul",95),e.DNE(3,sf,4,3,"li",25)(4,Yc,4,5,"li",25)(5,$c,4,3,"li",25),e.k0s()()()),2&n){const t=e.XpG(2);e.R7$(3),e.Y8G("ngIf",null==t.step3Errors.form?null:t.step3Errors.form.mobileNumberRequired),e.R7$(),e.Y8G("ngIf",(null==t.step3Errors.form?null:t.step3Errors.form.allowTextMissing)&&!(null!=t.step3Errors.form&&t.step3Errors.form["validation.phoneNotValid"])&&!(null!=t.step3Errors.form&&t.step3Errors.form.mobileNumberRequired)),e.R7$(),e.Y8G("ngIf",null==t.step3Errors.form?null:t.step3Errors.form.termsRequired)}}function Kg(n,d){1&n&&(e.j41(0,"div",21)(1,"div",94)(2,"ul",95)(3,"li",19)(4,"span",96),e.EFF(5),e.nI1(6,"translate"),e.k0s()()()()()),2&n&&(e.R7$(5),e.SpI(" ",e.bMT(6,1,"validation.phoneNotValid")," "))}function oh(n,d){1&n&&(e.j41(0,"div",21)(1,"div",94)(2,"ul",95)(3,"li",19)(4,"span",96),e.EFF(5),e.nI1(6,"translate"),e.k0s()()()()()),2&n&&(e.R7$(5),e.SpI(" ",e.bMT(6,1,"validation.phoneNotValid")," "))}function wd(n,d){if(1&n&&(e.qex(0),e.j41(1,"div",80)(2,"div",55),e.DNE(3,oh,7,3,"div",10),e.j41(4,"label",111),e.EFF(5),e.nI1(6,"translate"),e.k0s(),e.nrm(7,"input",112),e.j41(8,"div",83),e.EFF(9),e.nI1(10,"translate"),e.k0s()(),e.j41(11,"div",84),e.nrm(12,"input",113),e.j41(13,"label",114),e.EFF(14),e.nI1(15,"translate"),e.k0s()()(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("formGroupName",1),e.R7$(2),e.Y8G("ngIf",t.submitted&&((null==t.step3Errors.mobilePhoneNumbers||null==t.step3Errors.mobilePhoneNumbers[1]||null==t.step3Errors.mobilePhoneNumbers[1].phone?null:t.step3Errors.mobilePhoneNumbers[1].phone["validation.phoneNotValid"])||(null==t.step3Errors.form?null:t.step3Errors.form["validation.phoneNotValid"])&&!(null!=t.step3Errors.form&&t.step3Errors.form.mobileNumberRequired))),e.R7$(2),e.JRh(e.bMT(6,8,"registration.step3.mobilePhone")),e.R7$(2),e.AVh("fieldError",(null==t.step3Errors.mobilePhoneNumbers||null==t.step3Errors.mobilePhoneNumbers[1]?null:t.step3Errors.mobilePhoneNumbers[1].phone)&&t.submitted),e.Y8G("dropSpecialCharacters",!1),e.R7$(2),e.SpI(" ",e.bMT(10,10,"registration.step3.mobileRequired")," "),e.R7$(5),e.JRh(e.bMT(15,12,"registration.step3.allowText"))}}function rf(n,d){1&n&&(e.j41(0,"div",21)(1,"div",115)(2,"ul",95)(3,"li",116)(4,"span",96
1),e.EFF(5),e.nI1(6,"translate"),e.k0s()()()()()),2&n&&(e.R7$(5),e.SpI(" ",e.bMT(6,1,"emptyTermsOfUse")," "))}function Va(n,d){if(1&n){const t=e.RV6();e.j41(0,"form",54),e.bIt("ngSubmit",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.submit())}),e.j41(1,"div",55),e.DNE(2,Pc,7,4,"div",10)(3,qg,4,1,"div",10),e.j41(4,"label",56),e.EFF(5),e.nI1(6,"translate"),e.k0s(),e.nrm(7,"input",57),e.k0s(),e.j41(8,"div",55),e.DNE(9,ku,5,3,"div",10),e.j41(10,"label",58),e.EFF(11),e.nI1(12,"translate"),e.k0s(),e.nrm(13,"input",59),e.j41(14,"a",60,3),e.bIt("keydown.enter",function(){e.eBV(t);const r=e.sdS(15);return e.Njj(r.toggle())})("keydown.space",function(r){return e.eBV(t),e.sdS(15).toggle(),e.Njj(r.preventDefault())}),e.EFF(16),e.nI1(17,"translate"),e.k0s()(),e.j41(18,"div",55),e.DNE(19,sh,5,3,"div",10),e.j41(20,"label",61),e.EFF(21),e.nI1(22,"translate"),e.k0s(),e.nrm(23,"input",62),e.k0s(),e.j41(24,"div",63),e.DNE(25,oc,17,28,"div",64),e.k0s(),e.j41(26,"div",65)(27,"h2",66),e.EFF(28),e.nI1(29,"translate"),e.k0s(),e.nrm(30,"div",67),e.j41(31,"div",68),e.DNE(32,xu,5,3,"div",10),e.j41(33,"label",69)(34,"span",70),e.EFF(35),e.nI1(36,"translate"),e.k0s()(),e.j41(37,"select",71),e.DNE(38,Xg,2,2,"option",72),e.k0s()(),e.j41(39,"label",73)(40,"span",70),e.EFF(41),e.nI1(42,"translate"),e.k0s()(),e.j41(43,"div",74)(44,"select",75),e.DNE(45,nf,2,2,"option",76),e.nI1(46,"keyvalue"),e.k0s()(),e.j41(47,"div",55),e.DNE(48,Bc,5,2,"div",10),e.j41(49,"label",77),e.EFF(50),e.nI1(51,"translate"),e.k0s(),e.nrm(52,"input",78),e.k0s(),e.DNE(53,Rd,6,3,"div",10),e.j41(54,"div",79)(55,"div",80)(56,"div",55),e.DNE(57,Kg,7,3,"div",10),e.j41(58,"label",81),e.EFF(59),e.nI1(60,"translate"),e.k0s(),e.nrm(61,"input",82),e.j41(62,"div",83),e.EFF(63),e.nI1(64,"translate"),e.k0s()(),e.j41(65,"div",84),e.nrm(66,"input",85),e.j41(67,"label",86),e.EFF(68),e.nI1(69,"translate"),e.k0s()()(),e.DNE(70,wd,16,14,"ng-container",14),e.k0s()(),e.j41(71,"div",65)(72,"h2",66),e.EFF(73),e.nI1(74,"translate"),e.k0s(),e.nrm(75,"div",87),e.j41(76,"div",88),e.nrm(77,"h3",89),e.nI1(78,"translate"),e.k0s(),e.DNE(79,rf,7,3,"div",10),e.j41(80,"div",84),e.nrm(81,"input",90),e.j41(82,"label",91),e.EFF(83),e.nI1(84,"translate"),e.k0s()()(),e.j41(85,"div",92)(86,"button",93),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.backToStep2())}),e.EFF(87),e.nI1(88,"translate"),e.k0s(),e.j41(89,"button",38),e.EFF(90),e.nI1(91,"translate"),e.k0s()()()}if(2&n){const t=e.XpG(),i=e.sdS(18);e.Y8G("formGroup",t.registrationStep3Form),e.R7$(2),e.Y8G("ngIf",t.submitted&&(null==t.step3Errors.controls?null:t.step3Errors.controls.username)),e.R7$(),e.Y8G("ngIf",t.submitted&&(t.step3Errors.form||t.errMsgs.length>0)&&!(null!=t.step3Errors.controls&&null!=t.step3Errors.controls.username&&t.step3Errors.controls.username["login.web.process.required"])),e.R7$(2),e.JRh(e.bMT(6,49,"registration.step3.username")),e.R7$(2),e.AVh("fieldError",(null==t.step3Errors.controls?null:t.step3Errors.controls.username)&&t.submitted),e.R7$(2),e.Y8G("ngIf",t.submitted&&(null==t.step3Errors.controls?null:t.step3Errors.controls.password)),e.R7$(2),e.JRh(e.bMT(12,51,"registration.step3.password")),e.R7$(2),e.AVh("fieldError",(null==t.step3Errors.controls?null:t.step3Errors.controls.password)&&t.submitted),e.R7$(),e.Y8G("ngbTooltip",i),e.R7$(2),e.JRh(e.bMT(17,53,"registration.step3.passwordRequirements")),e.R7$(3),e.Y8G("ngIf",t.submitted&&(null==t.step3Errors.controls?null:t.step3Errors.controls.confirmPassword)),e.R7$(2),e.JRh(e.bMT(22,55,"registration.step3.confirmPassword")),e.R7$(2),e.AVh("fieldError",(null==t.step3Errors.controls?null:t.step3Errors.controls.confirmPassword)&&t.submitted),e.R7$(2),e.Y8G("ngForOf",t.securityQuestions.controls),e.R7$(3),e.JRh(e.bMT(29,57,"registration.step3.panelHeader2")),e.R7$(4),e.Y8G("ngIf",t.submitted&&(null==t.step3Errors.controls?null:t.step3Errors.controls.distributionPreferenceId)),e.R7$(3),e.SpI(" ",e.bMT(36,59,"registration.step3.correspondence")," "),e.R7$(2),e.AVh("fieldError",(null==t.step3Errors.controls?null:t.step3Errors.controls.distributionPreferenceId)&&t.submitted),e.R7$(),e.Y8G("ngForOf",null==t.step2Data?null:t.step2Data.distributionPreferences),e.R7$(3),e.SpI(" ",e.bMT(42,61,"registration.step3.allowTextHeader")," "),e.R7$(3),e.AVh("fieldError",(null==t.step3Errors.controls?null:t.step3Errors.controls.allowText)&&t.submitted),e.R7$(),e.Y8G("ngForOf",e.bMT(46,63,null==t.step2Data?null:t.step2Data.allowTextMap)),e.R7$(3),e.Y8G("ngIf",t.submitted&&(null==t.step3Errors.controls?null:t.step3Errors.controls.emailAddr)),e.R7$(2),e.JRh(e.bMT(51,65,"registration.step3.email")),e.R7$(2),e.AVh("fieldError",(null==t.step3Errors.controls?null:t.step3Errors.controls.emailAddr)&&t.submitted),e.R7$(),e.Y8G("ngIf",t.submitted&&((null==t.step3Errors.form?null:t.step3Errors.form.mobileNumberRequired)||(null==t.step3Errors.form?null:t.step3Errors.form.allowTextMissing)||(null==t.step3Errors.form?null:t.step3Errors.form.termsRequired))),e.R7$(2),e.Y8G("formGroupName",0),e.R7$(2),e.Y8G("ngIf",t.submitted&&((null==t.step3Errors.mobilePhoneNumbers||null==t.step3Errors.mobilePhoneNumbers[
10]||null==t.step3Errors.mobilePhoneNumbers[0].phone?null:t.step3Errors.mobilePhoneNumbers[0].phone["validation.phoneNotValid"])||(null==t.step3Errors.form?null:t.step3Errors.form["validation.phoneNotValid"])&&!(null!=t.step3Errors.form&&t.step3Errors.form.mobileNumberRequired))),e.R7$(2),e.JRh(e.bMT(60,67,"registration.step3.mobilePhone")),e.R7$(2),e.AVh("fieldError",(null==t.step3Errors.mobilePhoneNumbers||null==t.step3Errors.mobilePhoneNumbers[0]?null:t.step3Errors.mobilePhoneNumbers[0].phone)&&t.submitted),e.Y8G("dropSpecialCharacters",!1),e.R7$(2),e.SpI(" ",e.bMT(64,69,"registration.step3.mobileRequired")," "),e.R7$(5),e.JRh(e.bMT(69,71,"registration.step3.allowText")),e.R7$(2),e.Y8G("ngIf",t.mobilePhoneNumbers.length>1),e.R7$(3),e.JRh(e.bMT(74,73,"registration.step3.panelHeader3")),e.R7$(4),e.Y8G("innerHTML",e.bMT(78,75,t.isAbsenceResourcesDomain?"terms.p1.rebrand":"terms.p1"),e.npT),e.R7$(2),e.Y8G("ngIf",t.submitted&&(null==t.step3Errors.controls?null:t.step3Errors.controls.termsOfUse)),e.R7$(),e.AVh("checkboxError",t.submitted&&(null==t.step3Errors.controls?null:t.step3Errors.controls.termsOfUse)),e.R7$(3),e.JRh(e.bMT(84,77,"registration.step3.accept")),e.R7$(4),e.SpI(" ",e.bMT(88,79,"previousButton")," "),e.R7$(3),e.SpI(" ",e.bMT(91,81,"submit")," ")}}function ah(n,d){1&n&&(e.nrm(0,"div",117),e.nI1(1,"translate")),2&n&&e.Y8G("innerHTML",e.bMT(1,1,"registration.step3.tooltip"),e.npT)}function ac(n,d){1&n&&(e.nrm(0,"div",117),e.nI1(1,"translate")),2&n&&e.Y8G("innerHTML",e.bMT(1,1,"registration.step3.correspondenceTooltip"),e.npT)}let kd=(()=>{class n{constructor(){this.submitted=!1,this.submittedSuccessful=!0,this.stepHeader="registration.step1.header",this.currentStep="1",this.fullName="",this.errMsgs=[],this.step1Errors={controls:{}},this.step3Errors={controls:{},securityQuestions:[],mobilePhoneNumbers:[]},this.isRestoring=!1,this.stepUserDto=null,this.destroy$=new Gn.B,this.formBuilder=(0,e.WQX)(ge.ok),this.userService=(0,e.WQX)(M.DL),this.translateService=(0,e.WQX)(Y.c$),this.bootstrapService=(0,e.WQX)(M._E),this.changeDetectorRef=(0,e.WQX)(e.gRc),this.win=(0,e.WQX)(m.s7),this.domainConfigService=(0,e.WQX)(M.K1),this.step3Validator=t=>{const i={},r=t.getRawValue(),u=r.username?.trim(),v=r.password,V=r.confirmPassword,Ce=r.emailAddr?.trim(),it=r.distributionPreferenceId,At=!0===r.allowText||"true"===r.allowText,Ot=r.mobilePhoneNumbers??[],Jt=r.securityQuestions??[];if(this.validateUsername(u,t.get("username"),i),this.validateEmail(Ce,t.get("emailAddr"),i),this.step3Errors.controls?.username?.emailUsernameNotUnique){const Zo=t.get("username"),cd={...Zo?.errors,emailUsernameNotUnique:!0};Zo?.setErrors(cd),i.emailUsernameNotUnique=!0}this.validateDistributionPreference(it,t.get("distributionPreferenceId"),i),this.validateMobilePhones(Ot,At,i),this.validateSecurityQuestions(Jt,i);const wn=0===Object.keys(i).length,ns=!!v,yo=!!V;if(this.validatePassword(v,u,t.get("password"),i,!wn),this.validateConfirmPassword(v,V,t.get("confirmPassword"),i,!wn),wn){if(this.submitted){const Zo=!i["login.web.process.required"]&&!t.get("password")?.errors,cd=!i["login.web.process.required"]&&!t.get("confirmPassword")?.errors;ns&&Zo&&(""===t.get("password")?.value||null===t.get("password")?.value)&&(t.get("password")?.setErrors(null),delete i["login.web.process.required"]),yo&&cd&&(""===t.get("confirmPassword")?.value||null===t.get("confirmPassword")?.value)&&(t.get("confirmPassword")?.setErrors(null),delete i["login.web.process.required"])}}else(v||V)&&this.submitted&&!this.registrationStep3Form.get("password")?.dirty&&!this.registrationStep3Form.get("confirmPassword")?.dirty&&(t.get("password")?.setValue("",{emitEvent:!1}),t.get("confirmPassword")?.setValue("",{emitEvent:!1}),t.get("password")?.setErrors(null),t.get("confirmPassword")?.setErrors(null));return Object.keys(i).length>0?i:null}}ngOnInit(){this.initDomainInfo(),this.initStep1Forms();const t=sessionStorage.getItem(p.YM.REGISTRATION_STATE);if(t){const i=JSON.parse(t);("3"===i?.currentStep||"2"===i?.currentStep)&&this.initStep3Forms()}this.restoreRegistrationState(),this.setupSubscriptions()}initDomainInfo(){this.domainResourcePath=se.z.getBaseResourcePath(),this.isAbsenceResourcesDomain=!se.z.isDomainBlockedFromRedesignUpdates()}initStep1Forms(){const t=JSON.parse(sessionStorage.getItem(p.YM.DOMAIN_INFO));this.registrationForm=this.formBuilder.group({productName:[t.pageElementsNg.productName],searchByLastNameAndDob:[!1],employeeNumber:["",[this.trimmedRequiredValidator]],postalCode:["",[this.trimmedRequiredValidator]],lastName:[""],dateOfBirth:[""]})}initStep3Forms(){this.registrationStep3Form=this.formBuilder.group({username:["",[this.trimmedRequiredValidator]],password:[""],confirmPassword:[""],securityQuestions:this.formBuilder.array([]),distributionPreferenceId:[343,ge.k0.required],allowText:[!1,ge.k0.required],emailAddr:["",[this.trimmedRequiredValidator,ge.k0.email]],mobilePhone:["",[this.phoneNumberValidator()]],mobilePhoneNumbers:this.formBuilder.array([]),receiveText:[""],termsOfUse:[!1,ge.k0.requiredTrue]},{validator:this.step3Validator})}setupSubscriptions(){this.registrationForm.valueChanges.pipe((0,Kn.Q)(this.destroy$)).subscribe(()=>{this.isRestoring||this.saveRegistrationState()}),this.registrationStep3Form&&this.subscribeToStep3Changes()}subscribeToStep3Changes(){this.registrationStep3Form.valueChanges.pipe((0,Kn.Q)(this.destroy$)).subscribe(()=>{this.step3Errors.controls?.username?.emailUsernameNotUnique&&this.registrationStep3Form.get("username")?.dirty&&(delete this.step3Errors.controls.username.emailUsernameNotUnique,0===Object.keys(this.step3Errors.controls.username).length&&delete this.step3Errors.controls.username),this.isRestoring||this.saveRegistrationState()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),sessionStorage.removeItem(p.YM.REGISTRATION_STATE)}validateUsername(t,i,r){const u=this.isAbsenceResourcesDomain?"login.username":"login.absence.username";if(t){const v=p.YM.USERNAME_REGEX.test(t)?p.YM.LETTER_REGEX.test(t)?null:{userNameNotNumber:!0}:{emptyUserName:!0};i?.setErrors(v),v&&Object.assign(r,v)}else{const v={"login.web.process.required":{0:u}};r["login.web.process.required"]=v["login.web.process.required"],i?.setErrors(v)}}validateEmail(t,i,r){if(t){const u=p.YM.EMAIL_REGEX.test(t)?null:{invali
1dEmailFormat:!0};i?.setErrors(u),u&&Object.assign(r,u)}else r["validation.personalEmailAddressRequired"]=!0,i?.setErrors({"validation.personalEmailAddressRequired":!0})}validateDistributionPreference(t,i,r){const u=t?null:{"validation.emptyDisPref":!0};i?.setErrors(u),u&&Object.assign(r,u)}validatePassword(t,i,r,u,v=!1){if(t){if(v)return void r?.setErrors(null);let V=null;t.length<8?V={"validation.newPasswordSize":!0}:p.vu.REGEX.NUMERIC.test(t)?p.vu.REGEX.LOWER_CASE.test(t)?p.vu.REGEX.UPPER_CASE.test(t)?p.vu.REGEX.SPECIAL.test(t)?p.vu.REGEX.SPACE.test(t)?V={"validation.newPasswordSpaces":!0}:i&&t.toLowerCase()===i.toLowerCase()&&(V={"validation.newPasswordSameAsUsername":!0}):V={"validation.specialCharacterNeeded":!0}:V={"validation.newPasswordNotUpperCase":!0}:V={"validation.newPasswordNotLowerCase":!0}:V={"validation.newPasswordNotNumeric":!0},V?(r?.setErrors(V),Object.assign(u,V),this.submitted&&!r?.dirty&&(r?.setValue("",{emitEvent:!1}),r?.parent?.get("confirmPassword")?.setValue("",{emitEvent:!1}))):r?.setErrors(null)}else{const V={"login.web.process.required":{0:"login.password"}};u["login.web.process.required"]=V["login.web.process.required"],r?.setErrors(V)}}validateConfirmPassword(t,i,r,u,v=!1){if(i)if(v||t===i)r?.setErrors(null);else{const V={"validation.newPasswordsNotMatch":{0:"validation.newPasswordsNotMatch"}};u["validation.newPasswordsNotMatch"]=V["validation.newPasswordsNotMatch"],r?.setErrors(V),this.submitted&&!r?.dirty&&(r?.setValue("",{emitEvent:!1}),r?.parent?.get("password")?.setValue("",{emitEvent:!1}))}else{const V={"login.web.process.required":{0:"registration.step3.confirmPassword"}};u["login.web.process.required"]=V["login.web.process.required"],r?.setErrors(V)}}validateMobilePhones(t,i,r){const u=p.YM.PHONE_REGEX,v=t[0]?.phone?.trim(),V=t[1]?.phone?.trim(),Ce=v&&u.test(v),it=V&&u.test(V);if(i){const Ot=!!t[0]?.allowText,Jt=!!t[1]?.allowText;v||V?v&&!Ce||V&&!it?r["validation.phoneNotValid"]=!0:Ce&&Ot||it&&Jt||(r.allowTextMissing=!0):r.mobileNumberRequired=!0,Ot&&Jt&&(r.allowTextTwice=!0)}const At=t.map(Ot=>Ot.phone?.trim()).filter(Ot=>!!Ot);this.getDeletedMobilePhoneIndex(this.stepUserDto,At)>0&&(r.mobilePhoneDeleted=!0)}validateSecurityQuestions(t,i){t.forEach((r,u)=>{const v={},V=this.securityQuestions.at(u),Ce=V.get("answer");r.question||(v["validation.securityQuestNull"]=!0),!r.answer||r.answer.trim().length<4?(v["validation.answerSize"]=!0,Ce?.setErrors({"validation.answerSize":!0})):Ce?.setErrors(null),Object.keys(v).length>0?(V.setErrors(v),i["validation.securityQuestNull"]=!0):V.setErrors(null)})}phoneNumberValidator(){const t=/^\(\d{3}\) \d{3}-\d{4}$/;return i=>i.value?t.test(i.value)?null:{"validation.phoneNotValid":!0}:null}isQuestionDuplicated(t){if(!this.submitted)return!1;const i=this.securityQuestions.value,r=i[t]?.question;return!!r&&i.filter(u=>u.question===r).length>1}get registrationFormControls(){return this.registrationForm.controls}get securityQuestions(){return this.registrationStep3Form.get("securityQuestions")}get mobilePhoneNumbers(){return this.registrationStep3Form.get("mobilePhoneNumbers")}createSecurityQuestion(){return this.formBuilder.group({question:["3",ge.k0.required],answer:["",[this.trimmedRequiredValidator,ge.k0.minLength(4)]]})}createMobilePhoneGroup(t="",i=!1){return this.formBuilder.group({phone:[t,[this.phoneNumberValidator()]],allowText:[i]})}trimmedRequiredValidator(t){return 0===(t.value||"").toString().trim().length?{required:!0}:null}dateValidator(){return t=>null===t.value||""===t.value?null:t.errors&&t.errors.ngbDate?{"validation.invalidDate":!0}:"string"!=typeof t.value||/^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$/.test(t.value)?null:{"validation.invalidDate":!0}}validateStep1(){if(this.resetMessages(),this.submitted=!0,Object.keys(this.registrationForm.controls).forEach(t=>{const i=this.registrationForm.get(t);i&&"string"==typeof i.value&&i.setValue(i.value.trim(),{emitEvent:!1})}),this.captureStep1Errors(),this.registrationForm.valid){this.saveRegistrationState();const t={...this.registrationForm.value};t.searchByLastNameAndDob?t.employeeNumber=null:(t.lastName=null,t.dateOfBirth=null),this.userService.registrationStep1(t).pipe((0,Kn.Q)(this.destroy$)).subscribe({next:i=>{"SUCCESS"===i.status&&i.info?(this.initStep3Forms(),this.handleStep1Success(i.info)):"ERROR"===i.status&&(this.handleError(i.responseCode),this.win.platformWindow.scrollTo(0,0))},error:()=>{this.submitted=!0,this.submittedSuccessful=!1,this.win.platformWindow.scrollTo(0,0)}})}else this.win.platformWindow.scrollTo(0,0)}onDateSelect(){const t=this.registrationForm.get("dateOfBirth");t&&(t.markAsTouched(),t.updateValueAndValidity()),this.changeDetectorRef.detectChanges()}captureStep1Errors(){this.step1Errors={controls:{}}
1,Object.keys(this.registrationForm.controls).forEach(t=>{const i=this.registrationForm.get(t);i?.errors&&(this.step1Errors.controls[t]={...i.errors}),i?.errors?.ngbDate&&(this.step1Errors.controls[t]=this.step1Errors.controls[t]||{},this.step1Errors.controls[t]["validation.invalidDate"]=!0)}),this.saveRegistrationState()}captureStep3Errors(){this.step3Errors={controls:{},securityQuestions:[],mobilePhoneNumbers:[],form:this.registrationStep3Form.errors?{...this.registrationStep3Form.errors}:null};let t=!1;const i=this.registrationStep3Form.valid;if(Object.keys(this.registrationStep3Form.controls).forEach(r=>{const u=this.registrationStep3Form.get(r);if(u instanceof ge.Yp)if("securityQuestions"===r){const v=new Set;let V=!1,Ce=!1;u.controls.forEach((it,At)=>{const Ot=it,Jt=Ot.get("question")?.value;let wn=!1;Jt&&(i&&v.has(Jt)&&!Ce&&(wn=!0,Ce=!0,V=!0),v.add(Jt)),this.step3Errors.securityQuestions[At]={question:Ot.get("question")?.errors?{...Ot.get("question")?.errors}:null,answer:Ot.get("answer")?.errors?{...Ot.get("answer")?.errors}:null,isDuplicated:wn}}),t=V}else"mobilePhoneNumbers"===r&&u.controls.forEach((v,V)=>{const Ce=v;this.step3Errors.mobilePhoneNumbers[V]={phone:Ce.get("phone")?.errors?{...Ce.get("phone")?.errors}:null}});else u?.errors&&(this.step3Errors.controls[r]={...this.step3Errors.controls[r],...u.errors})}),t)this.registrationStep3Form.get("securityQuestions").setErrors({duplicateQuestion:!0},{emitEvent:!1});else{const r=this.registrationStep3Form.get("securityQuestions")?.errors;if(r&&r.duplicateQuestion){const{duplicateQuestion:u,...v}=r;this.registrationStep3Form.get("securityQuestions").setErrors(Object.keys(v).length>0?v:null,{emitEvent:!1})}}this.saveRegistrationState()}handleStep1Success(t){this.fullName=t.firstName+" "+t.lastName,this.stepUserDto=t.userDto??null,this.step2Data=t,this.setSecurityQuestions(),this.setMobilePhone(),this.registrationStep3Form.patchValue({allowText:!1}),this.currentStep="2",this.resetMessages(),this.stepHeader="registration.step2.header",this.saveRegistrationState(),this.changeDetectorRef.detectChanges()}handleError(t){if(this.errMsgs=[],t){const i=this.registrationForm.get("productName")?.value===p.YM.ABSENCE_RESOURCES;this.errMsgs.push(this.translateService.instant(t,{0:i?p.YM.ABSENCE_RESOURCES:p.YM.FMLASOURCE,1:i?p.YM.AR_CENTER_EMAIL:p.YM.FMLA_CENTER_EMAIL}))}this.submitted=!0,this.submittedSuccessful=!1,this.saveRegistrationState()}resetMessages(){this.errMsgs=[],this.successMsg="",this.submittedSuccessful=!0,this.submitted=!1,this.step1Errors={controls:{}},this.step3Errors={controls:{},securityQuestions:[],mobilePhoneNumbers:[]},this.registrationForm?.markAsUntouched(),this.registrationStep3Form?.markAsUntouched(),this.saveRegistrationState()}lookupByName(){this.searchByLastNameAndDob=!0,this.resetRegistrationForm(!0)}switchToEmployeeLookup(){this.searchByLastNameAndDob=!1,this.resetRegistrationForm(!1)}resetRegistrationForm(t){/^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$/.test(this.registrationForm.get("dateOfBirth")?.value),this.registrationForm.reset({productName:this.registrationForm.get("productName")?.value,postalCode:"",lastName:"",employeeNumber:"",dateOfBirth:"",searchByLastNameAndDob:t}),this.submitted=!1,this.step1Errors={controls:{}},this.saveRegistrationState(),this.updateValidators(),this.toggleGap(),this.resetMessages(),this.changeDetectorRef.detectChanges()}toggleGap(){this.isExpanded=!this.isExpanded}updateValidators(){const t=this.registrationFormControls.employeeNumber,i=this.registrationFormControls.lastName,r=this.registrationFormControls.dateOfBirth;this.searchByLastNameAndDob?(i?.setValidators([this.trimmedRequiredValidator]),r?.setValidators([this.trimmedRequiredValidator,this.dateValidator()]),t?.clearValidators()):(t?.setValidators([this.trimmedRequiredValidator]),i?.clearValidators(),r?.clearValidators()),t?.updateValueAndValidity({emitEvent:!1}),i?.updateValueAndValidity({emitEvent:!1}),r?.updateValueAndValidity({emitEvent:!1})}validateStep2(t){if(!t)return this.currentStep="1",this.resetMessages(),this.stepHeader="registration.step1.header",this.saveRegistrationState(),void this.changeDetectorRef.detectChanges();this.registrationStep3Form||(this.initStep3Forms(),this.subscribeToStep3Changes()),this.registrationStep3Form.reset({distributionPreferenceId:343,allowText:!1,termsOfUse:!1}),this.setSecurityQuestions(),this.setMobilePhone(),this.currentStep="3",this.resetMessages(),this.stepHeader="registration.step3.header",this.saveRegistrationState(),this.changeDetectorRef.detectChanges()}setMobilePhone(){this.mobilePhoneNumbers.clear();const i=(Array.isArray(this.step2Data?.mobilePhoneNumbers)?this.step2Data.mobilePhoneNumbers:[]).slice(0,2);i.length>
10?i.forEach((r,u)=>this.mobilePhoneNumbers.push(this.createMobilePhoneGroup((r??"").trim(),0===u?!!this.step2Data?.allowText1:!!this.step2Data?.allowText2))):this.mobilePhoneNumbers.push(this.createMobilePhoneGroup("",!1))}setSecurityQuestions(){this.securityQuestions.clear();const t=Number(this.step2Data?.numberOfSecurityQuestions??0);for(let i=0;i<t;i++)this.securityQuestions.push(this.createSecurityQuestion())}submit(){if(this.isSubmitting)return;if(this.resetMessages(),this.submitted=!0,Object.keys(this.registrationStep3Form.controls).forEach(u=>{const v=this.registrationStep3Form.get(u);v instanceof ge.Yp?v.controls.forEach(V=>{V instanceof ge.gE&&Object.keys(V.controls).forEach(Ce=>{const it=V.get(Ce);it&&"string"==typeof it.value&&it.setValue(it.value.trim(),{emitEvent:!1})})}):v&&"string"==typeof v.value&&v.setValue(v.value.trim(),{emitEvent:!1})}),this.captureStep3Errors(),this.registrationStep3Form.invalid){this.submittedSuccessful=!1;const u=this.passwordsNotEmpty();return this.registrationStep3Form.patchValue({password:"",confirmPassword:""},{emitEvent:!1}),u&&(this.step3Errors.controls.password=null,this.step3Errors.controls.confirmPassword=null),this.saveRegistrationState(),void this.win.platformWindow.scrollTo(0,0)}this.saveRegistrationState(),this.isSubmitting=!0;const t=this.registrationStep3Form.getRawValue(),i=t.mobilePhoneNumbers??[],r={username:t.username,password:t.password,confirmPassword:t.confirmPassword,emailAddr:t.emailAddr,termsOfUse:!!t.termsOfUse,allowText:!0===t.allowText,allowText1:!!i[0]?.allowText,allowText2:!!i[1]?.allowText,distributionPreferenceId:t.distributionPreferenceId?Number(t.distributionPreferenceId):null,phonePreferenceId:this.step2Data?.phonePreferenceId?Number(this.step2Data.phonePreferenceId):null,mobilePhoneNumbers:i.slice(0,2).map(u=>u.phone),answers:(t.securityQuestions??[]).map(u=>({questionId:u?.question?Number(u.question):null,answer:u?.answer})),productName:this.step2Data?.productName,emailAddress:this.step2Data?.emailAddress,domainName:this.step2Data?.domainName,step1Request:this.registrationForm.getRawValue()};this.userService.registrationStep3(r).pipe((0,Kn.Q)(this.destroy$)).subscribe({next:u=>{if(this.isSubmitting=!1,"SUCCESS"===u.status)this.handleStep3Success(u);else if("ERROR"===u.status){if("registeredLoginFailed"===u.responseCode)this.handleRegisteredLoginFailed();else if("emailUsernameNotUnique"===u.responseCode){this.errMsgs=[],this.submitted=!0,this.submittedSuccessful=!1,this.registrationStep3Form.get("username")?.setErrors({emailUsernameNotUnique:!0}),this.captureStep3Errors();const v=this.passwordsNotEmpty();this.registrationStep3Form.patchValue({password:"",confirmPassword:""},{emitEvent:!1}),v&&(this.step3Errors.controls.password=null,this.step3Errors.controls.confirmPassword=null),this.saveRegistrationState()}else this.handleError(u.responseCode);this.win.platformWindow.scrollTo(0,0)}},error:()=>{this.isSubmitting=!1,this.submitted=!0,this.submittedSuccessful=!1;const u=this.passwordsNotEmpty();this.registrationStep3Form.patchValue({password:"",confirmPassword:""},{emitEvent:!1}),this.captureStep3Errors(),u&&(this.step3Errors.controls.password=null,this.step3Errors.controls.confirmPassword=null),this.errMsgs.push("registration.step3.failed"),this.win.platformWindow.scrollTo(0,0)}})}passwordsNotEmpty(){return(this.registrationStep3Form.get("password")?.value||this.registrationStep3Form.get("confirmPassword")?.value)&&!this.registrationStep3Form.get("password")?.errors&&!this.registrationStep3Form.get("confirmPassword")?.errors}handleStep3Success(t){this.submittedSuccessful=!0,sessionStorage.removeItem(p.YM.REGISTRATION_STATE),this.win.platformWindow.scrollTo(0,0),t.sameSite?this.userService.isLogedIn().subscribe(i=>{i?this.bootstrapService.loadBootstarpOnLogin(!0):this.bootstrapService.loadBootstrapBeforeLogin(this.win)}):this.bootstrapService.loadBootstarpOnLogin(!0,t.returnUrl||"absences")}handleRegisteredLoginFailed(){this.errMsgs.push("registration.step3.registeredLoginFailed"),this.submittedSuccessful=!0,this.win.platformWindow.scrollTo(0,0),sessionStorage.removeItem(p.YM.REGISTRATION_STATE),setTimeout(()=>{window.location.href="login"},3e3)}backToStep2(){this.currentStep="2",this.resetMessages(),this.stepHeader="registration.step2.header",this.saveRegistrationState(),this.changeDetectorRef.detectChanges()}getDeletedMobilePhoneIndex(t,i){let r=0;if(t?.mobilePhoneList)for(const v of t.mobilePhoneList)(!v.countryCode||"1"===v.countryCode)&&r++;let u=0;for(const v of i)v&&""!==v.trim()&&u++;if(r>u){if(!i[0]||""===i[0].trim())return 1;if(i.length>1&&(!i[1]||""===i[1].trim()))return 2}return-1}getLocalizedValue(t,i){const r="es_US"===(this.translateService.currentLang||this.translateService.defaultLang||"en_US");return"question"===i?t[r?"questionStringInSpanish":"questionStringInEnglish"]:"distribution"===i?t[r?"displayValueEsp":"displayValueEng"]:""}saveRegistrationState(){if(this.isRestoring||!this.registrationForm)return;const t={currentStep:this.currentStep,stepHeader:this.stepHeader,fullName:this.fullName,step2Data:this.step2Data,stepUserDto:this.stepUserDto,searchByLastNameAndDob:this.searchByLastNameAndDob,submitted:this.submitted,errMsgs:this.errMsgs,successMsg:this.successMsg,submittedSuccessful:this.submittedSuccessful,step1Errors:this.step1Errors,step3Errors:this.step3Errors,registrationFormValue:this.registrationForm.getRawValue(),registrationStep3FormValue:this.registrationStep3Form?.getRawValue()},i=JSON.stringify(t);
1i!==sessionStorage.getItem(p.YM.REGISTRATION_STATE)&&sessionStorage.setItem(p.YM.REGISTRATION_STATE,i)}restoreRegistrationState(){const t=sessionStorage.getItem(p.YM.REGISTRATION_STATE);if(t)try{this.isRestoring=!0;const i=JSON.parse(t);if(Object.assign(this,{currentStep:i.currentStep||"1",stepHeader:i.stepHeader,fullName:i.fullName,step2Data:i.step2Data,stepUserDto:i.stepUserDto,searchByLastNameAndDob:i.searchByLastNameAndDob,submitted:i.submitted||!1,errMsgs:i.errMsgs||[],step1Errors:i.step1Errors||{controls:{}},step3Errors:i.step3Errors||{controls:{},securityQuestions:[],mobilePhoneNumbers:[]},successMsg:i.successMsg,submittedSuccessful:i.submittedSuccessful??!0}),i.registrationFormValue&&this.registrationForm.patchValue(i.registrationFormValue,{emitEvent:!1}),i.step3Errors&&(this.step3Errors=i.step3Errors),"2"===this.currentStep||"3"===this.currentStep){this.registrationStep3Form||(this.initStep3Forms(),this.subscribeToStep3Changes()),this.securityQuestions.clear({emitEvent:!1});const r=Number(this.step2Data?.numberOfSecurityQuestions??0);for(let v=0;v<r;v++)this.securityQuestions.push(this.createSecurityQuestion(),{emitEvent:!1});this.mobilePhoneNumbers.clear({emitEvent:!1});const u=i.registrationStep3FormValue?.mobilePhoneNumbers??[];u.length>0?u.forEach(v=>this.mobilePhoneNumbers.push(this.createMobilePhoneGroup(v.phone,v.allowText),{emitEvent:!1})):this.mobilePhoneNumbers.push(this.createMobilePhoneGroup("",!1),{emitEvent:!1}),i.registrationStep3FormValue&&this.registrationStep3Form.patchValue(i.registrationStep3FormValue,{emitEvent:!1})}this.updateValidators(),this.submitted&&(this.registrationForm.markAllAsTouched(),Object.values(this.registrationForm.controls).forEach(r=>{r.updateValueAndValidity({emitEvent:!1})}),this.registrationForm.updateValueAndValidity({emitEvent:!1}),this.registrationStep3Form&&(this.registrationStep3Form.markAllAsTouched(),Object.keys(this.registrationStep3Form.controls).forEach(r=>{const u=this.registrationStep3Form.get(r);u?.updateValueAndValidity({emitEvent:!1}),u instanceof ge.Yp&&u.controls.forEach(v=>v.updateValueAndValidity({emitEvent:!1})),i.step3Errors?.controls?.[r]&&u?.setErrors({...u.errors,...i.step3Errors.controls[r]},{emitEvent:!1})}),this.registrationStep3Form.updateValueAndValidity({emitEvent:!1})),this.captureStep1Errors(),this.registrationStep3Form&&this.captureStep3Errors()),this.changeDetectorRef.detectChanges()}catch(i){console.error("Error restoring registration state",i),sessionStorage.removeItem(p.YM.REGISTRATION_STATE)}finally{this.isRestoring=!1}}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-registration"]],features:[e.Jv_([{provide:G.dn,useClass:jo.o},{provide:G.tN,useClass:b.ls}])],decls:21,vars:22,consts:[["passwordTooltip",""],["distributionPreferenceTooltip",""],["d","ngbDatepicker"],["t","ngbTooltip"],[1,"plainRestyled","reset-padding",3,"ngStyle"],[1,"registrationForm","card","card-padding"],[3,"ngClass","ngStyle"],[1,"font-normal"],[1,"font-bold"],["class","messageContainer",4,"ngIf"],["class","ui-messages ui-messages-noicon ui-widget",4,"ngIf"],["class","big-subtitle-step1",4,"ngIf"],[3,"formGroup","ngSubmit",4,"ngIf"],["class","big-subtitle step2",4,"ngIf"],[4,"ngIf"],["class","registrationForm formStep3",3,"formGroup","ngSubmit",4,"ngIf"],[1,"messageContainer"],["aria-live","polite",1,"ui-messages","ui-messages-noicon","ui-widget"],[1,"ui-messages-success","ui-corner-all"],["aria-atomic","true"],[1,"ui-messages-success-summary"],[1,"ui-messages","ui-messages-noicon","ui-widget"],[1,"ui-messages-error-step1","ui-corner-all"],[1,"error-list","step1"],["aria-atomic","true",4,"ngFor","ngForOf"],["aria-atomic","true",4,"ngIf"],[1,"ui-messages-error-summary-step1",3,"innerHTML"],[1,"ui-messages-error-summary-step1"],[1,"big-subtitle-step1"],[3,"ngSubmit","formGroup"],["id","searchByEmpNumber"],["class","form-inline boxText vertical inputWLabel",4,"ngIf"],["class","form-inline boxText smallInputContainer",4,"ngIf"],[1,"form-inline","boxText","vertical","inputWLabel"],["for","postalCode"],["id","postalCode","type","text","formControlName","postalCode",3,"ngClass"],[1,"postal-tooltip"],[1,"boxText"],["type","submit",1,"restyledBigBtn"],["for","employeeNumber"],["id","employeeNumber","type","text","formControlName","employeeNumber",3,"ngClass"],["tabindex","0",1,"lookUsingLink",3,"click","keydown.enter","keydown.space"],["for","lastName"],["id","lastName","type","text","formControlName","lastName",3,"ngClass"],[1,"form-inline","boxText","smallInputContainer"],["for","dateOfBirth"],["ngbDatepicker","","id","dateOfBirth","formControlName","dateOfBirth","placeholder","MM/DD/YYYY","autocomplete","off",1,"rf-cal-inp",3,"dateSelect","firstDayOfWeek","ngClass"],["height","31px","width","27px","alt","Calendar","id","datePickerStart","tabindex","0",1,"calendar-icon",3,"click","keydown.enter","keydown.space","src"],[1,"big-subtitle","step2"],[1,"primaryLabel"],[1,"textAsLabel"],[1,"registerQs"],["type","button","id","no",1,"radioBtn",3,"click"],["type","button","id","yes",1,"radioBtn",3,"click"],[1,"registrationForm","formStep3",3,"ngSubmit","formGroup"],[1,"boxTextStep3","vertical","inputWLabel"],["for","username"],["id","username","type","text","formControlName","username"],["for","password"],["type","password","id","password","formControlName","password"],["id","qsId","triggers","click","placement","right","tabindex","0",1,"input-box","underline","qs-link",3,"keydown.enter","keydown.space","ngbTooltip"],["for","confirmPassword"],["type","password","id","confirmPassword","formControlName","confirmPassword"],["formArrayName","securityQuestions"],["class","questions-block",3,"formGroupName",4,"ngFor","ngForOf"],[1,"questions-block"],[1,"big-subtitle","step3"],[1,"line"],[1,"form-inline","boxTextStep3","vertical","dropdown-box","distributionPreference"],["for","correspondence",1,"correspondence"],[1,"bold","questionLabel"],["formControlName","distributionPreferenceId","id","correspondence","name","correspondence","size","1",1,"form-control"],[3,"ngValue",4,"ngFor","ngForOf"],["for","allowText",1,"correspondence"],[1,"form-inline","boxTextStep3","vertical","dropdown-box"],["formControlName","allowText","id","allowText","name","allowText","size","1",1,"form-control"],[3,"value",4,"ngFor","ngForOf"],["for","emailAddr"],["type","text","id","emailAddr","formControlName","emailAddr"],["formArrayName","mobilePhoneNumbers"],[3,"formGroupName"],["for","mobilePhoneNumber1"],["type","text","placeholder","(###) ###-####","id","mobilePhoneNumber1","formControlName","phone","mask","(000) 000-0000",3,"dropSpecialCharacters"],[1,"italicText","helpText","input-box","padding-bottom-md"],[1,"checkSet","d-flex"],["type","checkbox","id","receiveText1","formControlName","allowText"],["for","receiveText1"],[1,"line","underline"],[1,"introText","termsOfUse"],[3,"innerHTML"],["type","checkbox","formControlName","termsOfUse","id","termsOfUse"],["for","termsOfUse","id","termsOfUseLabel"],[1,"registerBtns","d-flex","justify-content-between"],["type","button",1,"restyledBigBtn","prevBtn",3,"click"],[1,"ui-messages-error","ui-corner-all"],[1,"error-list"],[1,"ui-messages-error-summary"],[1,"ui-messages-error-summary",3,"innerHTML"],[1,"ui-messages-error","ui-corner-all","ui-messages-error-q"],[1,"questions-block",3,"formGroupName"],[1,"form-inline","boxText","vertical","dropdown-box"],[1,"questions",3,"for"],[1,"bold","questionLabel",3,"translate","translateParams"],["formControlName","question","size","1",1,"form-control",3,"id","name"],[1,"boxTextStep3","row-layout","inputWLabel"],[1,"right-side"],[3,"for"],["type","text","formControlName","answer",3,"id"],[1,"helpText","input-box","padding-bottom-md"],[3,"value"],[3,"ngValue"],["for","mobilePhoneNumber2"],["type","text","placeholder","(###) ###-####","id","mobilePhoneNumber2","formControlName","phone","mask","(000) 000-0000",3,"dropSpecialCharacters"],["type","checkbox","id","receiveText2","formControlName","allowText"],["for","receiveText2"],[1,"ui-messages-error","ui-corner-all","ms-5"],["role","radio","aria-atomic","true"],[1,"custom-tooltip",3,"innerHTML"]],template:function(i,r){if(1&i&&(e.j41(0,"div",4)(1,"div",5)(2,"h1",6)(3,"span",7),e.EFF(4),e.nI1(5,"translate"),e.k0s(),e.j41(6,"span",8),e.EFF(7),e.nI1(8,"translate"),e.k0s()(),e.DNE(9,Mu,8,5,"div",9)(10,Su,9,6,"div",10),e.nI1(11,"keyvalue"),e.DNE(12,Ru,3,3,"span",11)(13,Ws,17,20,"form",12)(14,Md,3,3,"span",13)(15,Wg,13,10,"form",14)(16,Va,92,83,"form",15)(17,ah,2,3,"ng-template",null,0,e.C5r)(19,ac,2,3,"ng-template",null,1,e.C5r),e.k0s()()),2&i){let u;e.Y8G("ngStyle",e.eq3(18,go,"1"!==r.currentStep?"transparent":null)),e.R7$(2),e.Y8G("ngClass","1"===r.currentStep?"title-text":"step-title-text")("ngStyle",e.eq3(20,Kp,"1"===r.currentStep?"0 0 10px":"0 0 35px")),e.R7$(2),e.SpI("",e.bMT(5,12,"registration.title")," - "),e.R7$(3),e.JRh(e.bMT(8,14,r.stepHeader)),e.R7$(2),e.Y8G("ngIf",r.successMsg),e.R7$(),e.Y8G("ngIf",r.submitted&&(null==(u=e.bMT(11,16,r.step1Errors.controls))?null:u.length)>0||r.errMsgs.length>0),e.R7$(2),e.Y8G("ngIf","1"===r.currentStep),e.R7$(),e.Y8G("ngIf","1"===r.currentStep),e.R7$(),e.Y8G("ngIf","2"===r.currentStep||"3"===r.currentStep),e.R7$(),e.Y8G("ngIf","2"===r.currentStep),e.R7$(),e.Y8G("ngIf","3"===r.currentStep)}},dependencies:[ie.YU,ie.Sq,ie.bT,ie.B3,ge.qT,ge.xH,ge.y7,ge.me,ge.Zm,ge.wz,ge.BC,ge.cb,ge.cV,ge.j4,ge.JD,ge.$R,ge.v8,Y.Mm,G.cw,G.md,Ze.Zr,ie.lG,Y.D9],styles:['.plainRestyled[_ngcontent-%COMP%]{.transparentBg{background-color:transparent!important}.error-list{margin:0;padding:0;list-style:none}.qs-link{display:block;cursor:pointer}.step-1-bg{background:null;
1padding:28px 30px 11px}.step-other-bg{background:transparent;padding:14px 5px}.step-1-title{margin:0 0 10px}.step-other-title{margin:0 0 40px}.title-text{font-size:35px!important;line-height:50px!important;font-family:Aptos,sans-serif!important}.step-title-text{font: 25px/50px Aptos,sans-serif!important}.font-normal{font-weight:400!important}.font-bold{font-weight:700!important}.big-subtitle{font: 23px/30px Aptos,sans-serif!important;color:#070f36!important}.big-subtitle-step1{font: 20px/25px Aptos,sans-serif!important;color:#070f36!important}form{margin-top:2em!important}.registrationForm label,.questionLabel{color:#070f36!important;font: 16px/20px Aptos,sans-serif!important;margin:auto!important;width:100%!important}.textAsLabel,label,span.disabilityClaim{float:left;display:block;clear:both;text-align:left;word-wrap:break-word}.smallInputContainer{>input{border:1px solid #ccc!important}>input.fieldError{border-color:red!important;background-color:#fbdbdb!important}}.inputWLabel{gap:8px;align-items:start;max-width:400px;input{color:#000!important;border-radius:10px!important;width:257px!important;max-width:325px!important;height:43px;margin:0!important;font-size:16px!important}input.fieldError{border-color:red!important;background-color:#fbdbdb!important}}.vertical{display:flex;flex-direction:column;justify-content:center}.boxText{overflow:hidden;margin-bottom:15px!important;clear:both}.boxTextStep3{overflow:hidden;margin-bottom:28px!important;clear:both;margin-top:1.8rem}.boxText{overflow:visible}.ngb-dp-popup{z-index:2000!important}@media (min-width: 768px){.form-inline .form-control{display:inline-block;vertical-align:middle}}input:not([type=submit]),select,textarea{vertical-align:middle}span#searchByEmpNumber{display:flex!important;flex-direction:column;gap:20px}span#searchByEmpNumber.collapsed-gap{gap:3px!important}.lookUsingLink{color:#070f36!important;display:inline;text-decoration:underline;font: 14px/17px Aptos,sans-serif!important;cursor:pointer}.error-text{color:red;font-size:13px;margin-top:4px}.primaryBtn{background-color:#070f36;color:#fff;padding:10px 20px;border-radius:8px;border:none;cursor:pointer}.primaryBtn:disabled{opacity:.6;cursor:not-allowed}.registerBtns{display:flex;align-items:center;justify-content:start;gap:8px}.textAsLabel.labelSpacer{margin-right:0!important}.textAsLabel{font: 20px/27px Aptos,sans-serif!important;color:#070f36!important}.textAsLabel,label,span.disabilityClaim{float:left;clear:both;width:27%;margin-bottom:.5em;text-align:left;word-wrap:break-word}.restyledBigBtn{height:69px;min-width:156px!important;width:220px!important;max-width:325px!important;border-radius:100px!important;background:#070f36!important;display:flex;align-items:center;justify-content:center;font:lighter 20px/54px Aptos Light,sans-serif!important;text-align:center;color:#fff!important;border:none;cursor:pointer}input[type=date]{color:#000!important;border-radius:10px!important;max-width:325px!important;height:43px}.fieldError{border-color:red!important;background-color:#fbdbdb!important}.checkboxError{padding-left:20px;padding-top:4px;width:29rem!important}.ui-messages{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:1rem!important;width:62rem;max-width:100%;letter-spacing:0em;word-spacing:.14em;ul{list-style:none;padding:0}}.ui-messages-error,.ui-message-error,.ui-messages-success,.ui-message-success{padding:0 10px 10px!important;font-weight:700!important}.ui-messages-error,.ui-message-error{color:#e50000!important;width:24rem;max-width:100%}.ui-messages-error-q{width:26rem!important}.ui-messages-error-step1{padding:0 10px 10px!important;font-weight:700!important;color:#e50000!important;max-width:100%}.ui-messages-success,.ui-message-success{color:#00e526!important}.ui-messages-success ul,.ui-message-success ul{margin-bottom:3rem!important}.ui-messages-error-summary,.ui-messages-success-summary{font:700 14px/19px Aptos,sans-serif!important;color:#e50000!important;white-space:normal!important;word-break:break-word!important}.ui-messages-error-summary-step1{font:700 16px/19px Aptos,sans-serif!important;color:#e50000!important;white-space:normal!important;word-break:break-word!important}fieldset{min-width:0;padding:0;margin:0;border:0}.primaryLabel{clear:both!important;display:block!important;float:left!important;width:100%!important;margin:.5em .5em .8em -6px!important;font:700 1.125em Aptos,sans-serif!important;color:#3c6992!important}.primaryLabel:first-of-type{margin-top:1rem!important}.textAsLabel,label,span.disabilityClaim{float:left;clear:both;width:27%;margin-bottom:.5em;margin-right:1em;text-align:left;word-wrap:break-word;font: 20px/27px Aptos,sans-serif!important;color:#070f36!important}.registerQs{display:flex;width:65%;text-align:center;color:#333!important}
1.registerQs input[type=radio]{opacity:0!important;position:absolute}.registerQs label{display:flex!important;align-items:baseline;justify-content:space-evenly;margin:15px 6px!important;padding:24px 40px!important;height:69px;min-width:144px!important;max-width:180px!important;border:1px solid #070f36!important;border-radius:100px!important;background:transparent!important;color:#070f36!important;font:300 20px/45px Aptos,sans-serif!important;cursor:pointer;box-sizing:border-box;flex-direction:row-reverse;flex-wrap:wrap;align-content:center}.registerQs .radioBtn{display:flex;align-items:baseline;justify-content:space-evenly;margin:15px 6px!important;padding:24px 40px!important;height:69px;min-width:180px!important;max-width:180px!important;border:1px solid #070f36!important;border-radius:100px!important;background:transparent!important;color:#070f36!important;font:300 20px/45px Aptos,sans-serif!important;cursor:pointer;box-sizing:border-box;flex-direction:row-reverse;flex-wrap:wrap;align-content:center}.calendar-icon{position:relative;cursor:pointer;right:11px;height:20px;width:21px}.formStep3{.inputWLabel{gap:0!important}margin-top:4em!important;a#qsId{text-decoration:underline}.questions-block{padding-top:35px}.input-box{max-width:420px!important;font: 14px/19px Aptos,sans-serif!important;color:#070f36!important;flex-direction:column}.italicText{font-style:italic!important}.dropdown-box{width:325px!important;font: 14px/19px Aptos,sans-serif!important;color:#070f36!important}.registrationForm label,.registrationForm .textAsLabel,.registrationForm .rf-msgs-err,.registrationForm .checkSet,.registrationLink{margin-left:1em!important}input,select,textarea{max-width:768px;width:325px!important;appearance:auto}select option{font-size:12px!important}.line{width:40%;height:1px;background-color:#000;margin-bottom:20px}.underline{width:51%}.registrationForm label,.questionLabel{color:#070f36!important;font: 16px/20px Aptos,sans-serif!important;margin:auto!important;width:100%!important}select#questions1,select#questions2,select#questions3,select#questions4,select#questions5,select#distributionPreferenceId,select#allowText,input#password,select#email,select#correspondence{width:325px!important;height:43px!important;border-radius:10px!important;margin:0!important}user agent stylesheet option{font-weight:400;display:block;padding-block-start:0;padding-block-end:1px;min-block-size:1.2em;padding-inline:2px;white-space:nowrap}.password-tooltip{position:absolute;display:block;pointer-events:none;max-width:400px;padding:0 5px;font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;font-size:1.1em;z-index:1000;.ui-tooltip-text{padding:3px 10px;background-color:#4c4c4c;color:#fff;background-image:none}.ui-tooltip-arrow{position:absolute;width:0;height:0;border-style:solid;border-color:transparent}&.ui-tooltip-right .ui-tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#4c4c4c}.ui-corner-all{border-radius:4px}.ui-shadow{box-shadow:0 5px 10px #000c}ul,ol{margin-top:0;margin-bottom:10px;padding-left:1em}::marker{unicode-bidi:isolate;font-variant-numeric:tabular-nums;text-transform:none}}.checkSet{display:flex;align-items:center;margin-top:0!important;margin-bottom:15px!important;input[type=checkbox]{margin-left:-1em!important;max-width:14px!important;max-height:32px!important}label{margin-left:.3em!important;cursor:pointer}}h2{margin:0 0 20px!important}.termsOfUse{width:auto;height:10em;overflow:auto;font-size:12px}.introText{display:inline-block;margin:0 0 1.5em;max-width:586px;h3{font: 16px/29px Aptos,sans-serif!important;color:#070f36!important}p{font: 15px/25px Aptos,sans-serif!important;color:#070f36!important}}.registerBtns{justify-content:start!important;gap:1rem}.restyledBigBtn.prevBtn{color:#070f36!important;border:1px solid #070f36;background:transparent!important;font: 300 20px/45px Aptos,sans-serif!important}.ms-5{margin-left:2rem!important}}.tooltip-inner{max-width:none!important;padding:0!important;background:transparent!important;border:none!important}.tooltip .tooltip-arrow:before{border-right-color:#4c4c4c!important}.tooltip .custom-tooltip{font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;font-size:15px;width:22em;padding:10px 14px;border-radius:7px;background-color:#393838;color:#fff;line-height:1.5;box-shadow:0 5px 10px #000c}
1.custom-tooltip ul{margin:6px 0 0 40px;padding:0}.tooltip.fade{transition:opacity .2s ease-in-out;left:19rem!important}@media (max-width: 850px){padding:12px 12px 0!important;.title-text{font: 35px/65px Aptos,sans-serif!important}.big-subtitle{font-size:23px!important;line-height:24px!important}.inputWLabel{max-width:100%!important;width:100%!important;margin-bottom:0!important;label{width:100%!important;margin-bottom:5px!important}input,select,textarea{width:325px!important}}.boxText,.boxTextStep3{width:100%!important;padding-bottom:2em;margin-bottom:0!important;.restyledBigBtn{width:90%!important;max-width:unset!important;height:56px!important}}.registerBtns{flex-direction:unset!important;gap:15px!important;width:100%!important;.restyledBigBtn{width:100%!important;height:65px!important;font-size:20px!important}}.registerQs{.radioBtn{min-width:140px!important}}.primaryLabel{.textAsLabel{width:100%!important}}.ui-messages{width:100%!important}.formStep3{margin-top:2em!important;.questions-block{padding-top:20px!important}.dropdown-box,.input-box{width:97%!important}.line{width:70%!important}.underline{width:85%!important}}.checkSet{width:100%!important;margin-left:14px!important;input[type=checkbox]{margin-left:5px!important}}.checkboxError{width:97%!important;border:none!important}.postal-tooltip{margin-top:5px!important;display:block!important}.smallInputContainer{>input{height:43px!important}}.big-subtitle{font: 23px/30px Aptos,sans-serif!important;color:#070f36!important}}.ui-messages-error-summary-step1 a{color:#003e74!important;text-decoration:none}.ui-messages-error-summary-step1 a:hover{text-decoration:underline!important}}']})}}return n})();const Nu=[S.rE];let Oa=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=e.$C({type:n})}static{this.\u0275inj=e.G2t({imports:[Nu,S.rE]})}}return n})();var Ad=I(6753),lc=I(4735),jl=I(1948),Bl=I(1808);const lh={v:"5.12.1",fr:60,ip:0,op:240,w:200,h:200,nm:"Sol_AI_Lines_Light 2",ddd:0,assets:[{id:"comp_0",nm:"Strokes",fr:60,layers:[{ddd:0,ind:1,ty:4,nm:"top",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[150.259,219.212,0],ix:2,l:2},a:{a:0,k:[-49.361,-1.75,0],ix:1,l:2},s:{a:0,k:[98,98,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.2,y:1},o:{x:.6,y:0},t:0,s:[{i:[[-63.305,1.477],[.636,-41.893],[59.302,0],[2.499,59.249]],o:[[62.63,.934],[-.9,59.295],[-59.302,0],[-1.787,-42.372]],v:[[0,-107.375],[94.611,-23.778],[0,107.375],[-93.771,-22.937]],c:!0}]},{t:180,s:[{i:[[-63.305,1.477],[.636,-41.893],[59.301,0],[2.499,59.249]],o:[[62.63,.934],[-.9,59.295],[-59.302,0],[-1.787,-42.372]],v:[[-.595,-176.191],[107.888,-77.828],[0,107.375],[-106.067,-75.763]],c:!0}]}],ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:10,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[-49.75,-1.75],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:240,st:-63,ct:1,bm:0},{ddd:0,ind:2,ty:4,nm:"mid",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[150.473,255.621,0],ix:2,l:2},a:{a:0,k:[-49.142,35.401,0],ix:1,l:2},s:{a:0,k:[98,98,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.2,y:1},o:{x:.6,y:0},t:0,s:[{i:[[-58.624,1.221],[6.51,-35.413],[59.301,0],[11.78,58.119]],o:[[56.325,.607],[-10.721,58.324],[-59.302,0],[-6.998,-34.526]],v:[[-.014,-33.073],[70.096,31.011],[0,107.375],[-68.566,30.56]],c:!0}]},{t:180,s:[{i:[[-63.305,1.477],[.636,-41.893],[59.302,0],[2.499,59.249]],o:[[62.63,.934],[-.9,59.295],[-59.302,0],[-1.787,-42.372]],v:[[0,-107.375],[94.611,-23.778],[0,107.375],[-93.771,-22.937]],c:!0}]}],ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:10,ix:5},lc:2,lj:2,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[-49.75,-1.75],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:240,st:0,ct:1,bm:0},{ddd:0,ind:3,ty:4,nm:"bottom",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[150.627,286.801,0],ix:2,l:2},a:{a:0,k:[-48.985,67.218,0],ix:1,l:2},s:{a:0,k:[98,98,100],ix:6,l:2}}
1,ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.2,y:1},o:{x:.6,y:0},t:0,s:[{i:[[-58.624,1.221],[-13.317,1.827],[59.301,0],[4.171,59.155]],o:[[56.325,.607],[-9.578,58.523],[-59.302,0],[37.246,5.438]],v:[[-.514,34.427],[70.096,31.011],[0,107.375],[-68.566,30.56]],c:!0}]},{t:180,s:[{i:[[-58.624,1.221],[6.51,-35.413],[59.301,0],[11.78,58.119]],o:[[56.325,.607],[-10.721,58.324],[-59.302,0],[-6.998,-34.526]],v:[[-.014,-33.073],[70.096,31.011],[0,107.375],[-68.566,30.56]],c:!0}]}],ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:10,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[-49.75,-1.75],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:240,st:0,ct:1,bm:0}]}],layers:[{ddd:0,ind:1,ty:0,nm:"Strokes",td:1,refId:"comp_0",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[100,100,0],ix:2,l:2},a:{a:0,k:[150,150,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,w:300,h:300,ip:0,op:1800,st:0,bm:0},{ddd:0,ind:2,ty:4,nm:"circle",tt:2,tp:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[100,100.49,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[97.99,97.99,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[100,-100],[-100,-100],[-100,100],[100,100]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"gf",o:{a:0,k:100,ix:10},r:1,bm:0,g:{p:5,k:{a:0,k:[0,.784,.706,1,.298,.604,.475,.965,.596,.463,.286,.953,.798,.369,.188,.941,1,.322,.098,.941],ix:9}},s:{a:1,k:[{i:{x:.804,y:.403},o:{x:.513,y:0},t:0,s:[0,-56.069],to:[0,0],ti:[0,0]},{i:{x:.714,y:.636},o:{x:.447,y:.28},t:54.658,s:[-69,-16.069],to:[0,0],ti:[0,0]},{i:{x:.537,y:.7},o:{x:.26,y:.346},t:74.533,s:[0,106.931],to:[0,0],ti:[0,0]},{i:{x:.46,y:1},o:{x:.176,y:.578},t:95.635,s:[97,1.931],to:[0,0],ti:[0,0]},{t:180,s:[0,-56.069]}],ix:5},e:{a:1,k:[{i:{x:.667,y:.667},o:{x:.333,y:.333},t:0,s:[0,-217.267],to:[0,0],ti:[0,0]},{i:{x:.2,y:.2},o:{x:.6,y:.6},t:.002,s:[0,-217.267],to:[0,0],ti:[0,0]},{t:180,s:[0,-217.267]}],ix:6},t:2,h:{a:0,k:0,ix:7},a:{a:0,k:0,ix:8},nm:"Gradient Fill 1",mn:"ADBE Vector Graphic - G-Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"vector",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"rd",nm:"Round Corners 1",r:{a:0,k:114,ix:1},ix:2,mn:"ADBE Vector Filter - RC",hd:!1}],ip:0,op:240,st:0,ct:1,bm:0}],markers:[],props:{}},ch=["player"];let Uc,Ha=(()=>{class n{constructor(){this.size=68}get inner(){return Math.round(.7*this.size)}ngAfterViewInit(){var t=this;return(0,rn.A)(function*(){const i=(yield I.e(982).then(I.t.bind(I,8982,23))).default,r=typeof window<"u"&&"function"==typeof window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;t.anim=i.loadAnimation({container:t.playerRef.nativeElement,renderer:"svg",loop:!r,autoplay:!r,animationData:lh}),r&&t.anim.goToAndStop(0,!0)})()}ngOnDestroy(){this.anim?.destroy()}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-abi-orb"]],viewQuery:function(i,r){if(1&i&&e.GBs(ch,7),2&i){let u;e.mGM(u=e.lsd())&&(r.playerRef=u.first)}},inputs:{size:"size"},decls:3,vars:8,consts:[["player",""],["aria-hidden","true",1,"abi-glow"],[1,"abi-orb__player"]],template:function(i,r){1&i&&(e.j41(0,"span",1),e.nrm(1,"span",2,0),e.k0s()),2&i&&(e.xc7("width",r.size,"px")("height",r.size,"px"),e.R7$(),e.xc7("width",r.inner,"px")("height",r.inner,"px"))},styles:[".abi-glow[_ngcontent-%COMP%]{position:relative;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.abi-glow[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex-shrink:0}.abi-orb__player[_ngcontent-%COMP%]{display:block}[_nghost-%COMP%]     .abi-orb__player svg{animation:_ngcontent-%COMP%_abi-spin 32s linear infinite}@keyframes _ngcontent-%COMP%_abi-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion: reduce){[_nghost-%COMP%]     .abi-orb__player svg{animation:none}}"]})}}return n})(),Yl=(()=>{class n{constructor(){this.title="Plan your leave with Ava",this.description="Meet Ava! Available 24/7, whether you're planning time away, managing an active leave, or just have questions, Ava is here to help. And when it can't help, it'll connect you with a human Absence Specialist who can.",this.ctaLabel="Chat with Ava",this.start=new e.bkB}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-start-plan-tile"]],inputs:{title:"title",description:"description",ctaLabel:"ctaLabel"},outputs:{start:"start"},decls:16,vars:4,consts:[[1,"banner"],["aria-hidden","true",1,"banner__orb"],[3,"size"],[1,"banner__body"],[1,"banner__title"],[1,"banner__subtitle"],["type","button",1,"banner__cta",3,"click"],[1,"material-symbols-outlined","banner__cta-icon"],[1,"banner__cta-label"],[1,"banner__cta-chevron"],["viewBox","0 0 24 24","width","20","height","20","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round","aria-hidden","true"],["d","M9 6l6 6-6 6"]],template:function(i,r){1&i&&(e.j41(0,"section",0)(1,"span",1),e.nrm(2,"app-abi-orb",2),e.k0s(),e.j41(3,"div",3)(4,"h2",4),e.EFF(5),e.k0s(),e.j41(6,"p",5),e.EFF(7),e.k0s(),e.j41(8,"button",6),e.bIt("click",function(){return r.start.emit()}),e.j41(9,"span",7),e.EFF(10,"auto_awesome"),e.k0s(),e.j41(11,"span",8),e.EFF(12),e.k0s(),e.j41(13,"span",9),e.qSk(),e.j41(14,"svg",10),e.nrm(15,"path",11),e.k0s()()()()()),2&i&&(e.R7$(2),e.Y8G("size",64),e.R7$(3),e.JRh(r.title),e.R7$(2),e.JRh(r.description),e.R7$(5),e.JRh(r.ctaLabel))},dependencies:[Ha],styles:[".banner[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;gap:32px;margin-bottom:24px;padding:28px 40px;background:#fff;border-radius:24px;box-shadow:0 2px 8px #0000000a,0 2px 4px #0000000f;overflow:hidden}.banner__orb[_ngcontent-%COMP%]{position:relative;flex-shrink:0;width:116px;height:116px;border-radius:999px;border:1px solid #d7dbe0;background:radial-gradient(circle at center,#075cba1a,#075cba00 70%);display:grid;place-items:center;animation:_ngcontent-%COMP%_abi-glow 6.5s ease-in-out infinite}.banner__body[_ngcontent-%COMP%]{position:relative;z-index:1;display:flex;flex-direction:column}.banner__title[_ngcontent-%COMP%]{margin:0;font-size:24px;line-height:32px;font-weight:600;color:#1b1d22}.banner__subtitle[_ngcontent-%COMP%]{margin:6px 0 0;font-size:16px;line-height:24px;color:#565f6c}.banner__cta[_ngcontent-%COMP%]{margin-top:16px;display:inline-flex;align-items:center;gap:12px;min-width:360px;padding:14px 18px;background:#075cba;color:#fff;border:0;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:background .15s ease,opacity .15s ease}.banner__cta[_ngcontent-%COMP%]:hover{opacity:.92}.banner__cta-icon[_ngcontent-%COMP%], .banner__cta-chevron[_ngcontent-%COMP%]{display:inline-flex}.banner__cta-chevron[_ngcontent-%COMP%]{margin-left:auto}@keyframes _ngcontent-%COMP%_abi-glow{0%,to{box-shadow:0 0 #7649f300}50%{box-shadow:0 0 22px 1px #7649f340}}@media (max-width: 640px){.banner[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start;gap:18px;padding:22px}.banner__cta[_ngcontent-%COMP%]{width:100%;min-width:0;justify-content:center}}@media (prefers-reduced-motion: reduce){.banner__orb[_ngcontent-%COMP%]{animation:none}}"]})}}return n})();try{Uc=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Uc=!1}let cc,Ul,dh=(()=>{class n{constructor(t){this._platformId=t,this.isBrowser=this._platformId?(0,ie.UE)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(m
1sie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Uc)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static{this.\u0275fac=function(i){return new(i||n)(e.KVO(e.Agw))}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function Gc(n){return function Fu(){if(null==cc&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>cc=!0}))}finally{cc=cc||!1}return cc}()?n:!!n.capture}function Nd(n){return n.composedPath?n.composedPath()[0]:n.target}var Od=I(8359),Pd=I(8141),ul=I(3236),jd=I(9974),vc=I(4360);function Bd(n,d=ul.E){return(0,jd.N)((t,i)=>{let r=null,u=null,v=null;const V=()=>{if(r){r.unsubscribe(),r=null;const it=u;u=null,i.next(it)}};function Ce(){const it=v+n,At=d.now();if(At<it)return r=this.schedule(void 0,it-At),void i.add(r);V()}t.subscribe(new vc.H(i,it=>{u=it,v=d.now(),r||(r=d.schedule(Ce,n),i.add(r))},()=>{V(),i.complete()},void 0,()=>{u=r=null}))})}var Vu=I(6697),w2=I(5245),qc=I(3294);function E1(n){return null!=n&&"false"!=`${n}`}function Hu(n){return n instanceof e.aKT?n.nativeElement:n}const D1=new e.nKC("cdk-input-modality-detector-options"),C1={ignoreKeys:[18,17,224,91,16]},zu=Gc({passive:!0,capture:!0});let U2=(()=>{class n{get mostRecentModality(){return this._modality.value}constructor(t,i,r,u){this._platform=t,this._mostRecentTarget=null,this._modality=new Le.t(null),this._lastTouchMs=0,this._onKeydown=v=>{this._options?.ignoreKeys?.some(V=>V===v.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Nd(v))},this._onMousedown=v=>{Date.now()-this._lastTouchMs<650||(this._modality.next(function Xu(n){return 0===n.buttons||0===n.detail}(v)?"keyboard":"mouse"),this._mostRecentTarget=Nd(v))},this._onTouchstart=v=>{!function I1(n){const d=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!d||-1!==d.identifier||null!=d.radiusX&&1!==d.radiusX||null!=d.radiusY&&1!==d.radiusY)}(v)?(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Nd(v)):this._modality.next("keyboard")},this._options={...C1,...u},this.modalityDetected=this._modality.pipe((0,w2.i)(1)),this.modalityChanged=this.modalityDetected.pipe((0,qc.F)()),t.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,zu),r.addEventListener("mousedown",this._onMousedown,zu),r.addEventListener("touchstart",this._onTouchstart,zu)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,zu),document.removeEventListener("mousedown",this._onMousedown,zu),document.removeEventListener("touchstart",this._onTouchstart,zu))}static{this.\u0275fac=function(i){return new(i||n)(e.KVO(dh),e.KVO(e.SKi),e.KVO(ie.qQ),e.KVO(D1,8))}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var Ih=function(n){return n[n.IMMEDIATE=0]="IMMEDIATE",n[n.EVENTUAL=1]="EVENTUAL",n}(Ih||{});const YT=new e.nKC("cdk-focus-monitor-default-options"),Dh=Gc({passive:!0,capture:!0});let $T=(()=>{class n{constructor(t,i,r,u,v){this._ngZone=t,this._platform=i,this._inputModalityDetector=r,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new Gn.B,this._rootNodeFocusAndBlurListener=V=>{for(let it=Nd(V);it;it=it.parentElement)"focus"===V.type?this._onFocus(V,it):this._onBlur(V,it)},this._document=u,this._detectionMode=v?.detectionMode||Ih.IMMEDIATE}monitor(t,i=!1){const r=Hu(t);if(!this._platform.isBrowser||1!==r.nodeType)return(0,ci.of)();const u=function uh(n){if(function xd(){if(null==Ul){const n=typeof document<"u"?document.head:null;Ul=!(!n||!n.createShadowRoot&&!n.attachShadow)}return Ul}()){const d=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&d instanceof ShadowRoot)return d}return null}(r)||this._getDocument(),v=this._elementInfo.get(r);if(v)return i&&(v.checkChildren=!0),v.subject;
1const V={checkChildren:i,subject:new Gn.B,rootNode:u};return this._elementInfo.set(r,V),this._registerGlobalListeners(V),V.subject}stopMonitoring(t){const i=Hu(t),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(t,i,r){const u=Hu(t);u===this._getDocument().activeElement?this._getClosestElementsInfo(u).forEach(([V,Ce])=>this._originChanged(V,i,Ce)):(this._setOrigin(i),"function"==typeof u.focus&&u.focus(r))}ngOnDestroy(){this._elementInfo.forEach((t,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:t&&this._isLastInteractionFromInputLabel(t)?"mouse":"program"}_shouldBeAttributedToTouch(t){return this._detectionMode===Ih.EVENTUAL||!!t?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(t,i){t.classList.toggle("cdk-focused",!!i),t.classList.toggle("cdk-touch-focused","touch"===i),t.classList.toggle("cdk-keyboard-focused","keyboard"===i),t.classList.toggle("cdk-mouse-focused","mouse"===i),t.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(t,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=t,this._originFromTouchInteraction="touch"===t&&i,this._detectionMode===Ih.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(t,i){const r=this._elementInfo.get(i),u=Nd(t);!r||!r.checkChildren&&i!==u||this._originChanged(i,this._getFocusOrigin(u),r)}_onBlur(t,i){const r=this._elementInfo.get(i);!r||r.checkChildren&&t.relatedTarget instanceof Node&&i.contains(t.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(t,i){t.subject.observers.length&&this._ngZone.run(()=>t.subject.next(i))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const i=t.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Dh),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Dh)}),this._rootNodeFocusListenerCount.set(i,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,Kn.Q)(this._stopInputModalityDetector)).subscribe(u=>{this._setOrigin(u,!0)}))}_removeGlobalListeners(t){const i=t.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Dh),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Dh),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,i,r){this._setClasses(t,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(t){const i=[];return this._elementInfo.forEach((r,u)=>{(u===t||r.checkChildren&&u.contains(t))&&i.push([u,r])}),i}_isLastInteractionFromInputLabel(t){const{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if("mouse"!==r||!i||i===t||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName||t.disabled)return!1;const u=t.labels;if(u)for(let v=0;v<u.length;v++)if(u[v].contains(i))return!0;return!1}static{this.\u0275fac=function(i){return new(i||n)(e.KVO(e.SKi),e.KVO(dh),e.KVO(U2),e.KVO(ie.qQ,8),e.KVO(YT,8))}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function wf(n,d){if(1&n&&(e.j41(0,"span",2),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.JRh(t.icon)}}let HT=(()=>{class n{constructor(){this.focusMonitor=(0,e.WQX)($T),this.elementRef=(0,e.WQX)(e.aKT),this.label="",this.variant="filled",this.size="small",this._iconOnly=!1,this._disabled=!1,this._focused=!1,this._focusOrigin=null}get iconOnly(){return this._iconOnly}set iconOnly(t){this._iconOnly=E1(t)}get disabled(){return this._disabled}set disabled(t){this._disabled=E1(t),this.elementRef.nativeElement.tabIndex=this._disabled?-1:0}get hostClass(){return[this.variant,this.size,this._iconOnly?"icon-only":"",this._focused&&"keyboard"===this._focusOrigin?"focus-keyboard":""].filter(
1Boolean).join(" ")}get ariaDisabled(){return this._disabled?"true":null}get attrDisabled(){return this._disabled?"":null}onEnterKeydown(t){this._disabled||(t.preventDefault(),this.elementRef.nativeElement.click())}onSpaceKeydown(t){t.preventDefault()}onSpaceKeyup(){this._disabled||this.elementRef.nativeElement.click()}ngAfterViewInit(){this.focusMonitor.monitor(this.elementRef).subscribe(t=>{this._focused=!!t,this._focusOrigin=t})}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.elementRef)}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["compsych-button"]],hostAttrs:["tabindex","0","role","button"],hostVars:4,hostBindings:function(i,r){1&i&&e.bIt("keydown.enter",function(v){return r.onEnterKeydown(v)})("keydown.space",function(v){return r.onSpaceKeydown(v)})("keyup.space",function(){return r.onSpaceKeyup()}),2&i&&(e.BMQ("aria-disabled",r.ariaDisabled)("disabled",r.attrDisabled),e.HbH(r.hostClass))},inputs:{label:"label",variant:"variant",size:"size",icon:"icon",iconOnly:"iconOnly",disabled:"disabled"},standalone:!0,features:[e.aNF],decls:3,vars:2,consts:[["class","icon material-symbols-rounded","aria-hidden","true",4,"ngIf"],[1,"label"],["aria-hidden","true",1,"icon","material-symbols-rounded"]],template:function(i,r){1&i&&(e.DNE(0,wf,2,1,"span",0),e.j41(1,"span",1),e.EFF(2),e.k0s()),2&i&&(e.Y8G("ngIf",r.icon),e.R7$(2),e.JRh(r.label))},dependencies:[ie.bT],styles:['[_nghost-%COMP%]{display:inline-flex;align-items:center;justify-content:center;border-radius:var(--border-radius-sys-radius-full);border:none;cursor:pointer;white-space:nowrap;position:relative;overflow:hidden}[_nghost-%COMP%]:before{content:"";position:absolute;inset:0;border-radius:inherit;background-color:currentColor;opacity:0;transition:opacity .15s ease;pointer-events:none}[_nghost-%COMP%]:hover:before{opacity:.08}[_nghost-%COMP%]:active:before{opacity:.1}.focus-keyboard[_nghost-%COMP%]:before{opacity:.12}.focus-keyboard[_nghost-%COMP%]{outline:var(--border-width-sys-stroke-thick) solid var(--add-on-primary-fixed-sys-on-primary-fixed-variant);outline-offset:var(--border-width-sys-stroke-thick)}[_nghost-%COMP%]:disabled, [disabled][_nghost-%COMP%]{cursor:not-allowed;opacity:.38;pointer-events:none}.icon[_ngcontent-%COMP%]{font-size:inherit;line-height:1;-webkit-user-select:none;user-select:none}.icon-only[_nghost-%COMP%]{padding:0;aspect-ratio:1}.icon-only.small[_nghost-%COMP%]{width:2rem}.icon-only.medium[_nghost-%COMP%]{width:2.5rem}.icon-only.large[_nghost-%COMP%]{width:3rem}.icon-only.xlarge[_nghost-%COMP%]{width:3.5rem}.small[_nghost-%COMP%]{gap:var(--spacing-padding-sys-padding-4);height:2rem;padding:var(--spacing-padding-sys-padding-4) var(--spacing-padding-sys-padding-12);font-family:var(--label-small-sys-font-family);font-size:var(--label-small-sys-font-size);font-weight:var(--label-small-sys-font-weight-emphasized);line-height:var(--label-small-sys-line-height);letter-spacing:var(--label-small-sys-tracking)}.medium[_nghost-%COMP%]{gap:var(--spacing-padding-sys-padding-8);height:2.5rem;padding:var(--spacing-padding-sys-padding-8) var(--spacing-padding-sys-padding-16);font-family:var(--label-medium-sys-font-family);font-size:var(--label-medium-sys-font-size);font-weight:var(--label-medium-sys-font-weight-emphasized);line-height:var(--label-medium-sys-line-height);letter-spacing:var(--label-medium-sys-tracking)}.large[_nghost-%COMP%]{gap:var(--spacing-padding-sys-padding-8);height:3rem;padding:var(--spacing-padding-sys-padding-8) var(--spacing-padding-sys-padding-24);font-family:var(--label-large-sys-font-family);font-size:var(--label-large-sys-font-size);font-weight:var(--label-large-sys-font-weight-emphasized);line-height:var(--label-large-sys-line-height);letter-spacing:var(--label-large-sys-tracking)}.xlarge[_nghost-%COMP%]{gap:var(--spacing-padding-sys-padding-12);height:3.5rem;padding:var(--spacing-padding-sys-padding-8) var(--spacing-padding-sys-padding-24);font-family:var(--label-large-sys-font-family);font-size:var(--label-large-sys-font-size);font-weight:var(--label-large-sys-font-weight-emphasized);line-height:var(--label-large-sys-line-height);letter-spacing:var(--label-large-sys-tracking)}.filled[_nghost-%COMP%]{background-color:var(--accent-primary-sys-primary);color:var(--accent-primary-sys-on-primary)}.tonal[_nghost-%COMP%]{background-color:var(--add-on-primary-fixed-sys-primary-fixed-dim);color:var(--add-on-primary-fixed-sys-on-primary-fixed)}.outlined[_nghost-%COMP%]{background-color:transparent;color:var(--surface-surface-sys-on-surface);border:var(--border-width-sys-stroke-thin) solid var(--outline-sys-outline)}.elevated[_nghost-%COMP%]{background-color:var(--surface-surface-container-sys-surface-container-lowest);color:var(--surface-surface-sys-on-surface);box-shadow:0 .125rem .25rem #00000014,0 .25rem 1rem var(--transparent-neutral-sys-black-10)}.text[_nghost-%COMP%]{background-color:transparent;color:var(--surface-surface-sys-on-surface);padding-inline:0}.danger[_nghost-%COMP%]{background-color:var(--error-sys-error);color:var(--error-sys-on-error)}.danger-outlined[_nghost-%COMP%]{background-color:transparent;color:var(--error-sys-error);border:var(--border-width-sys-stroke-thin) solid var(--error-sys-error-container)}']})}}return n})(),Xc=(()=>{class n{constructor(){this.ask=new e.bkB}onAsk(t){this.ask.emit(t.currentTarget)}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-abi-tile"]],outputs:{ask:"ask"},decls:11,vars:1,consts:[["data-theme","abi",1,"abi-tile"],[1,"abi-tile__content"],["aria-hidden","true",1,"abi-tile__icon"],[3,"size"],[1,"abi-tile__row"],[1,"abi-tile__text"],[1,"abi-tile__title"],[1,"abi-tile__subtitle"],["variant","filled","size","large","label","Ask a Question","aria-haspopup","dialog",1,"abi-tile__cta",3,"click"]],template:function(i,r){1&i&&(e.j41(0,"section",0)(1,"div",1)(2,"div",2),e.nrm(3,"app-abi-orb",3),e.k0s(),e.j41(4,"div",4)(5,"div",5)(6,"h2",6),e.EFF(7,"Ava is your personal assistant"),e.k0s(),e.j41(8,"p",7),e.EFF(9,"Questions, answers and resources."),e.k0s()(),e.j41(10,"compsych-button",8),e.bIt("click",function(v){return r.onAsk(v)}),e.k0s()()()()),2&i&&(e.R7$(3),e.Y8G("size",48))},dependencies:[HT,Ha],styles:[".abi-tile[_ngcontent-%COMP%]{display:block;padding:var(--spacing-padding-sys-padding-8);border:var(--border-width-sys-stroke-thin) solid var(--outline-sys-outline);border-radius:var(--border-radius-sys-radius-xl);background-color:var(--surface-surface-container-sys-surface-container-lowest)}.abi-tile__content[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;gap:var(--spacing-padding-sys-padding-40);min-height:15.3125rem;padding:var(--spacing-padding-sys-padding-24);border-radius:var(--border-radius-sys-radius-lg);background-image:linear-gradient(to bottom,var(--transparent-primary-sys-primary-10),var(--transparent-neutral-sys-white-10))}.abi-tile__icon[_ngcontent-%COMP%]{display:flex}.abi-tile__row[_ngcontent-%COMP%]{display:flex;align-items:flex-end;
1gap:var(--spacing-padding-sys-padding-24)}.abi-tile__text[_ngcontent-%COMP%]{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:var(--spacing-padding-sys-padding-12)}.abi-tile__title[_ngcontent-%COMP%]{margin:0;color:var(--surface-surface-sys-on-surface);font-family:var(--headline-small-sys-font-family);font-size:var(--headline-small-sys-font-size);font-weight:var(--headline-small-sys-font-weight-emphasized);line-height:var(--headline-small-sys-line-height);letter-spacing:var(--headline-small-sys-tracking)}.abi-tile__subtitle[_ngcontent-%COMP%]{margin:0;color:var(--surface-surface-sys-on-surface-variant);font-family:var(--body-large-sys-font-family);font-size:var(--body-large-sys-font-size);font-weight:var(--body-large-sys-font-weight);line-height:var(--body-large-sys-line-height);letter-spacing:var(--body-large-sys-tracking)}.abi-tile__cta[_ngcontent-%COMP%]{flex:0 0 auto}@media (max-width: 40rem){.abi-tile__row[_ngcontent-%COMP%]{flex-direction:column;align-items:stretch}}"]})}}return n})();const zc=n=>({disabled:n}),WT=()=>({mapTypes:"ProtectionStatusTypeMap,ReportingMethodMap"});function kf(n,d){if(1&n){const t=e.RV6();e.j41(0,"app-abi-tile",22),e.bIt("ask",function(r){e.eBV(t);const u=e.XpG(2);return e.Njj(u.abiChat.open(r))}),e.k0s()}}function Af(n,d){if(1&n){const t=e.RV6();e.j41(0,"app-start-plan-tile",23),e.bIt("start",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.openLeavePlanningChat())}),e.k0s()}}function qT(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",24)(1,"label",25)(2,"input",26),e.bIt("change",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.tileMode="abibot")}),e.k0s(),e.j41(3,"span"),e.EFF(4,"Ava"),e.k0s()(),e.j41(5,"label",25)(6,"input",26),e.bIt("change",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.tileMode="leavePlanning")}),e.k0s(),e.j41(7,"span"),e.EFF(8,"LPT"),e.k0s()()()}if(2&n){const t=e.XpG(2);e.R7$(2),e.Y8G("checked","abibot"===t.tileMode),e.R7$(4),e.Y8G("checked","leavePlanning"===t.tileMode)}}function XT(n,d){if(1&n&&(e.qex(0),e.DNE(1,kf,1,0,"app-abi-tile",19)(2,Af,1,0,"app-start-plan-tile",20)(3,qT,9,2,"div",21),e.bVm()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.abiVisibility.isStartingTileVisible()&&(!(null!=t.myAbsence&&t.myAbsence.showLeavePlanningTool)||"abibot"===t.tileMode)),e.R7$(),e.Y8G("ngIf",(null==t.myAbsence?null:t.myAbsence.showLeavePlanningTool)&&(!t.abiVisibility.isStartingTileVisible()||"leavePlanning"===t.tileMode)),e.R7$(),e.Y8G("ngIf",t.abiVisibility.isStartingTileVisible()&&(null==t.myAbsence?null:t.myAbsence.showLeavePlanningTool))}}function zT(n,d){1&n&&(e.EFF(0),e.nI1(1,"translate")),2&n&&e.JRh(e.bMT(1,1,"myAbsences.disabledAddLeaveRequestTooltipText"))}function KT(n,d){1&n&&(e.EFF(0),e.nI1(1,"translate")),2&n&&e.JRh(e.bMT(1,1,"myAbsences.disabledReportTimeTooltipText"))}function R1(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",27),e.nI1(1,"async"),e.j41(2,"div",28,4),e.bIt("mouseover",function(){e.eBV(t);const r=e.sdS(3),u=e.XpG();return e.Njj(u.openDisabledReportTimeTooltip(r))})("mouseout",function(){e.eBV(t);const r=e.sdS(3),u=e.XpG();return e.Njj(u.closeTooltip(r))}),e.nrm(4,"img",29),e.j41(5,"a",30),e.EFF(6),e.nI1(7,"translate"),e.k0s()()()}if(2&n){const t=e.XpG(),i=e.sdS(18);e.Y8G("ngClass",e.eq3(10,zc,(null==t.myAbsence?null:t.myAbsence.dispDisabledReportTime)||e.bMT(1,6,t.userService.portalPermission$)===t.PortalPermission.ViewOnly)),e.R7$(2),e.Y8G("ngbTooltip",i),e.R7$(2),e.Mz_("src","",t.domainResourcePath,"/gfx/empActionIcons/intermittent_leave.svg",e.B4B),e.R7$(),e.FS9("tabindex",null!=t.myAbsence&&t.myAbsence.dispDisabledReportTime?-1:0),e.R7$(),e.JRh(e.bMT(7,8,"myAbsences.reportTimeWeb"))}}function W2(n,d){if(1&n&&(e.j41(0,"div",31)(1,"div",32),e.nI1(2,"async"),e.nrm(3,"img",33),e.j41(4,"a",34),e.EFF(5),e.nI1(6,"translate"),e.k0s()()()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngClass",e.eq3(9,zc,e.bMT(2,5,t.userService.portalPermission$)===t.PortalPermission.ViewOnly)),e.R7$(2),e.Mz_("src","",t.domainResourcePath,"/gfx/redesignIcons/clock.svg",e.B4B),e.R7$(),e.Y8G("queryParams",e.lJ4(11,WT)),e.R7$(),e.SpI(" ",e.bMT(6,7,"myAbsences.viewTime")," ")}}function q2(n,d){1&n&&(e.EFF(0),e.nI1(1,"translate")),2&n&&e.JRh(e.bMT(1,1,"submitDocument.disabledButtonToolTip"))}function Ku(n,d){if(1&n&&(e.j41(0,"div",35)(1,"div",36),e.nrm(2,"img",16),e.j41(3,"a",37),e.EFF(4," Access Sun Life Connect "),e.k0s()()()),2&n){const t=e.XpG();e.R7$(2),e.Mz_("src","",t.sunlifePath,"/slConnect.svg",e.B4B)}}function JT(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",35)(1,"div",32),e.nI1(2,"async"),e.nrm(3,"img",38),e.j41(4,"a",39),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.navigateToCreateRequest(r.Constants.FMLA_WPA_REQUEST_TYPE))})("keydown.enter",function(r){return e.eBV(t),r.preventDefault(),e.Njj(r.target.click())}),e.EFF(5),e.nI1(6,"translate"),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(),e.Y8G("ngClass",e.eq3(8,zc,e.bMT(2,4,t.userService.portalPermission$)===t.PortalPermission.ViewOnly)),e.R7$(2),e.Mz_("src","",t.domainResourcePath,"/gfx/empActionIcons/workplace_accommodation.svg",e.B4B),e.R7$(2),e.SpI(" ",e.bMT(6,6,"submitWorkPlaceAccommodation")," ")}}function QT(n,d){if(1&n&&(e.j41(0,"div",35)(1,"div",32),e.nI1(2,"async"),e.nrm(3,"img",40),e.j41(4,"a",41),e.EFF(5),e.nI1(6,"translate"),e.k0s()()()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngClass",e.eq3(8,zc,e.bMT(2,4,t.userService.portalPermission$)===t.PortalPermission.ViewOnly)),e.R7$(2),e.Mz_("src","",t.domainResourcePath,"/gfx/empActionIcons/email_notifications.svg",e.B4B),e.R7$(2),e.SpI(" ",e.bMT(6,6,"notificationHistory.tile")," ")}}function ZT(n,d){if(1&n&&(e.j41(0,"div",35)(1,"div",36),e.nrm(2,"img",42),e.j41(3,"a",43),e.EFF(4),e.nI1(5,"translate"),e.k0s()()()),2&n){const t=e.XpG();e.R7$(2),e.Mz_("src","",t.domainResourcePath,"/gfx/empActionIcons/resources.svg",e.B4B),e.R7$(2),e.SpI(" ",e.bMT(5,3,"resources.dashboardTileTitle")," ")}}let w1=(()=>{class n{constructor(t,i,r,u,v,V){this.router=t,this.domainConfigService=i,this.lrState=r,this.userService=u,this.abiChat=v,this.abiVisibility=V,this.Constants=p.YM,this.PortalPermission=p.A$,this.destroy$=new Gn.B,this.tileMode="abibot"}openLeavePlanningChat(){this.router.navigate(["/planMyLeave"])}ngOnInit(){this.domainResourcePath=se.z.getBaseResourcePath();const t=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO));this.isWob=t.wob,this.isWebEmployerContact=t.webEmployerContact,this.angularLeaveRequestEnabled=!0===t.angularLeaveRequestEnabled,this.leaveRequestUrl=this.angularLeaveRequestEnabled?"/fmlaNg/#/createLeaveRequest":"/FMLAWeb/leaveRequest/requestLeaveStart.xhtml";const i=JSON.parse(sessionStorage.getItem(p.YM.DOMAIN_INFO));this.displaySlfConnect=i.domainId===p.YM.SUNLIFE_DOMAIN_ID&&!this.myAbsence.mgrOrHR&&
1!this.isWob,this.disableSubmitDocumentationButton=!(!this.isWob||!this.isWebEmployerContact||this.myAbsence.allowMgrSubmitDocumentationOnBhfEmp),this.displaySlfConnect&&(this.sunlifePath=se.z.getDomainResourcePath(i.folderName))}navigateToCreateRequest(t){sessionStorage.setItem("requestType",t),this.router.navigate(["/createRequest"],{queryParams:{requestType:sessionStorage.getItem("requestType"),step:"1"}})}startNewLeaveRequest(t){this.lrState.submissionResult&&this.lrState.reset(jl.Rh),!(!this.angularLeaveRequestEnabled||0!==t?.button||t?.ctrlKey||t?.metaKey||t?.shiftKey||t?.altKey)&&(t.preventDefault(),this.router.navigate(["/createLeaveRequest"]))}disableAddLeaveRequestButton(){return!(!this.isWob||!this.isWebEmployerContact||this.myAbsence?.superUser||this.myAbsence?.allowMgrAddLeaveRequestOnBhfEmp&&(this.myAbsence?.allowMgrViewEmployeeProfileInfoOnBhfEmp||this.myAbsence?.allowMgrEditEmployeeContactInfoOnBhfEmp))}openDisabledReportTimeTooltip(t){this.isWob&&this.myAbsence?.dispDisabledReportTime&&this.myAbsence?.hasIntermittentLeavesOnBhfEmp&&(t.close(),t.open())}openDisabledAddLeaveRequestTooltip(t){this.disableAddLeaveRequestButton()&&(t.close(),t.open())}openDisableSubmitDocumentationTooltip(t){this.disableSubmitDocumentationButton&&(t.close(),t.open())}closeTooltip(t){t.close()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(q.Ix),e.rXU(xe.K),e.rXU(Bl.R),e.rXU(M.DL),e.rXU(Ad.a),e.rXU(lc.k))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-dashboard-action"]],inputs:{myAbsence:"myAbsence"},decls:35,vars:33,consts:[["addLeaveTooltipContent",""],["addLeaveTooltipInstance","ngbTooltip"],["tooltipContent",""],["disabledButtonToolTipContent",""],["toolTipInstance","ngbTooltip"],[1,"row","dashboard","headRow10"],["id","myAbsencesActionTitle"],[4,"ngIf"],[1,"row"],[1,"dashboard-col",3,"ngClass"],["triggers","manual",1,"icon-dashboard",3,"mouseover","mouseout","ngbTooltip"],["alt","","id","addNewLeaveImg",1,"dashboard-icons",3,"src"],["id","addNewLeaveLink",1,"icon-text-link",3,"click","href"],["class","dashboard-col","id","rptTimeDis",3,"ngClass",4,"ngIf"],["class","dashboard-col","id","viewTime",4,"ngIf"],["id","submitDoc",1,"dashboard-col",3,"ngClass"],["alt","",1,"dashboard-icons",3,"src"],["routerLink","/submitDocumentation","id","submitDocLink",1,"icon-text-link"],["class","dashboard-col",4,"ngIf"],[3,"ask",4,"ngIf"],[3,"start",4,"ngIf"],["class","tile-switch","role","radiogroup","aria-label","Dashboard assistant tile",4,"ngIf"],[3,"ask"],[3,"start"],["role","radiogroup","aria-label","Dashboard assistant tile",1,"tile-switch"],[1,"tile-switch__option"],["type","radio","name","dashboardTile",3,"change","checked"],["id","rptTimeDis",1,"dashboard-col",3,"ngClass"],["id","rptTime","triggers","manual",1,"icon-dashboard",3,"mouseover","mouseout","ngbTooltip"],["alt","","id","rptTimeImg",1,"dashboard-icons",3,"src"],["routerLink","/reportTime","id","rptTimeLink",1,"icon-text-link",3,"tabindex"],["id","viewTime",1,"dashboard-col"],[1,"icon-dashboard",3,"ngClass"],["alt","","id","viewLeaveReqImg",1,"dashboard-icons",3,"src"],["routerLink","/viewLeaveTimes","id","viewLeaveReqLink",1,"icon-text-link",3,"queryParams"],[1,"dashboard-col"],[1,"icon-dashboard"],["href","https://login.sunlifeconnect.com/commonlogin/","id","sunLifeConnectLink",1,"icon-text-link"],["alt","","id","submitWorkPlaceaccommodationImg",1,"dashboard-icons",3,"src"],["id","submitWorkPlaceaccommodationLink","tabindex","0",1,"icon-text-link",3,"click","keydown.enter"],["alt","","id","viewNotificationHistImg",1,"dashboard-icons",3,"src"],["routerLink","/notificationHistory","id","viewNotificationHistLink",1,"icon-text-link"],["alt","","id","resourcesTileImg",1,"dashboard-icons",3,"src"],["routerLink","/resources","id","resourcesTileLink",1,"icon-text-link"]],template:function(i,r){if(1&i){const u=e.RV6();e.j41(0,"div")(1,"div",5)(2,"h2",6),e.EFF(3),e.nI1(4,"translate"),e.k0s()(),e.DNE(5,XT,4,3,"ng-container",7),e.j41(6,"div",8),e.DNE(7,zT,2,3,"ng-template",null,0,e.C5r),e.j41(9,"div",9),e.nI1(10,"async"),e.j41(11,"div",10,1),e.bIt("mouseover",function(){e.eBV(u);const V=e.sdS(12);return e.Njj(r.openDisabledAddLeaveRequestTooltip(V))})("mouseout",function(){e.eBV(u);const V=e.sdS(12);return e.Njj(r.closeTooltip(V))}),e.nrm(13,"img",11),e.j41(14,"a",12),e.bIt("click",function(V){return e.eBV(u),e.Njj(r.startNewLeaveRequest(V))}),e.EFF(15),e.nI1(16,"translate"),e.k0s()()(),e.DNE(17,KT,2,3,"ng-template",null,2,e.C5r)(19,R1,8,12,"div",13)(20,W2,7,12,"div",14)(21,q2,2,3,"ng-template",null,3,e.C5r),e.j41(23,"div",15),e.nI1(24,"async"),e.j41(25,"div",10,4),e.bIt("mouseover",function(){e.eBV(u);const V=e.sdS(26);return e.Njj(r.openDisableSubmitDocumentationTooltip(V))})("mouseout",function(){e.eBV(u);const V=e.sdS(26);return e.Njj(r.closeTooltip(V))}),e.nrm(27,"img",16),e.j41(28,"a",17),e.EFF(29),e.nI1(30,"translate"),e.k0s()()(),e.DNE(31,Ku,5,2,"div",18)(32,JT,7,10,"div",18)(33,QT,7,10,"div",18)(34,ZT,6,5,"div",18),e.k0s()()}if(2&i){const u=e.sdS(8),v=e.sdS(22);e.R7$(3),e.JRh(e.bMT(4,19,"myAbsences.actionTitle")),e.R7$(2),e.Y8G("ngIf",r.abiVisibility.isStartingTileVisible()||(null==r.myAbsence?null:r.myAbsence.showLeavePlanningTool)),e.R7$(4),e.Y8G("ngClass",e.eq3(29,zc,r.disableAddLeaveRequestButton()||e.bMT(10,21,r.userService.portalPermission$)===r.PortalPermission.ViewOnly)),e.R7$(2),e.Y8G("ngbTooltip",u),e.R7$(2),e.Mz_("src","",r.domainResourcePath,"/gfx/empActionIcons/leave_absence.svg",e.B4B),e.R7$(),e.Y8G("href",r.leaveRequestUrl,e.B4B),e.R7$(),e.SpI(" ",e.bMT(16,23,"myAbsences.addNewLeaveWeb")," "),e.R7$(4),e.Y8G("ngIf",(null==r.myAbsence?null:r.myAbsence.dispReportTime)||(null==r.myAbsence?null:r.myAbsence.portalPermission)),e.R7$(),e.Y8G("ngIf",(null==r.myAbsence?null:r.myAbsence.allowedViewLeaveTimes)||(null==r.myAbsence?null:r.myAbsence.portalPermission)),e.R7$(3),e.Y8G("ngClass",e.eq3(31,zc,r.disableSubmitDocumentationButton||e.bMT(24,25,r.userService.portalPermission$)===r.PortalPermission.ViewOnly)),e.R7$(2),e.Y8G("ngbTooltip",v),e.R7$(2),e.Mz_("src","",r.domainResourcePath,"/gfx/empActionIcons/submit_documentation.svg",e.B4B),e.R7$(2),e.SpI(" ",e.bMT(30,27,"submitDocument.buttonName")," "),e.R7$(2),e.Y8G("ngIf",r.displaySlfConnect),e.R7$(),e.Y8G("ngIf",r.myAbsence.allowLoggedUserSubmitWorkplaceAccommodation||(null==r.myAbsence?null:r.myAbsence.portalPermission)),e.R7$(),e.Y8G("ngIf",null==r.myAbsence?null:r.myAbsence.allowLoggedUserViewNotificationHist),e.R7$(),e.Y8G("ngIf",null==r.myAbsence?null:r.myAbsence.showResourcesTile)}},dependencies:[ie.YU,ie.bT,q.Wk,G.md,Yl,Xc,ie.Jj,Y.D9],styles:[".tile-switch[_ngcontent-%COMP%]{display:flex;align-items:center;gap:1rem;margin:.75rem 0 1rem;padding-left:1.5rem}.tile-switch__option[_ngcontent-%COMP%]{display:inline-flex!important;align-items:center;gap:.375rem;width:auto;float:none;clear:none;margin:0;cursor:pointer;font-weight:500;color:inherit;line-height:1}.tile-switch__option[_ngcontent-%COMP%]   input[type=radio][_ngcontent-%COMP%]{margin:0;cursor:pointer;flex:0 0 auto}.tile-switch__option[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{line-height:1}"]})}}return n})();class ho{static formatDate(d){if(d){var t=new Date(d),i=""+(t.getMonth()+1),r=""+t.getDate(),u=t.getFullYear();return i.length<2&&(i="0"+i),r.length<2&&(r="0"+r),[i,r,u].join("/")}return null}static getDate(d){try{return new Date(d.replace(/-/g,"/"))}catch{return null}}static createDateFromNgbDateStruct(d){return d?new Date(d.year,d.month-1,d.day):null}}var eI=I(9417),tI=I(8750),xf=I(1584);var Ch=I(6780);const Mh={schedule(n){let d=requestAnimationFrame,t=cancelAnimationFrame;const{delegate:i}=Mh;i&&(d=i.requestAnimationFrame,t=i.cancelAnimationFrame);const r=d(u=>{t=void 0,n(u)});return new Od.yU(()=>t?.(r))},requestAnimationFrame(...n){const{delegate:d}=Mh;return(d?.requestAnimationFrame||requestAnimationFrame)(...n)},cancelAnimationFrame(...n){const{delegate:d}=Mh;return(d?.cancelAnimationFrame||cancelAnimationFrame)(...n)},delegate:void 0};var Sh=I(9687);const K2=new class z2 extends Sh.q{flush(d){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;d=d||i.shift();do{if(r=d.execute(d.state,d.delay))break}while((d=i[0])&&d.id===t&&i.shift());if(this._active=!1,r){for(;(d=i[0])&&d.id===t&&i.shift();)d.unsubscribe();throw r}}}(class X2 extends Ch.R{constructor(d,t){super(d,t),this.scheduler
1=d,this.work=t}requestAsyncId(d,t,i=0){return null!==i&&i>0?super.requestAsyncId(d,t,i):(d.actions.push(this),d._scheduled||(d._scheduled=Mh.requestAnimationFrame(()=>d.flush(void 0))))}recycleAsyncId(d,t,i=0){if(null!=i&&i>0||null==i&&this.delay>0)return super.recycleAsyncId(d,t,i);d.actions.some(r=>r.id===t)||(Mh.cancelAnimationFrame(t),d._scheduled=void 0)}});let k1,J2=1;const Rh={};function Ju(n){return n in Rh&&(delete Rh[n],!0)}const wh={setImmediate(n){const d=J2++;return Rh[d]=!0,k1||(k1=Promise.resolve()),k1.then(()=>Ju(d)&&n()),d},clearImmediate(n){Ju(n)}},{setImmediate:x1,clearImmediate:N1}=wh,Qu={setImmediate(...n){const{delegate:d}=Qu;return(d?.setImmediate||x1)(...n)},clearImmediate(n){const{delegate:d}=Qu;return(d?.clearImmediate||N1)(n)},delegate:void 0},Ud=new class F1 extends Sh.q{flush(d){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;d=d||i.shift();do{if(r=d.execute(d.state,d.delay))break}while((d=i[0])&&d.id===t&&i.shift());if(this._active=!1,r){for(;(d=i[0])&&d.id===t&&i.shift();)d.unsubscribe();throw r}}}(class O1 extends Ch.R{constructor(d,t){super(d,t),this.scheduler=d,this.work=t}requestAsyncId(d,t,i=0){return null!==i&&i>0?super.requestAsyncId(d,t,i):(d.actions.push(this),d._scheduled||(d._scheduled=Qu.setImmediate(d.flush.bind(d,void 0))))}recycleAsyncId(d,t,i=0){if(null!=i&&i>0||null==i&&this.delay>0)return super.recycleAsyncId(d,t,i);d.actions.some(r=>r.id===t)||(Qu.clearImmediate(t),d._scheduled=void 0)}});var ma=I(3726),Zu=I(7786);const Q2=["content"],sI=["scroll"],Z2=["padding"],rI=["*"],Gd=n=>({searchTerm:n});function L1(n,d){if(1&n&&(e.j41(0,"div",6),e.eu8(1,7),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t.headerTemplate)("ngTemplateOutletContext",e.eq3(2,Gd,t.filterValue))}}function ek(n,d){if(1&n&&(e.j41(0,"div",8),e.eu8(1,7),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t.footerTemplate)("ngTemplateOutletContext",e.eq3(2,Gd,t.filterValue))}}const kh=["searchInput"],Nf=["clearButton"],Of=(n,d,t)=>({item:n,clear:d,label:t}),oI=(n,d)=>({items:n,clear:d}),Vd=(n,d,t,i)=>({item:n,item$:d,index:t,searchTerm:i});function Ff(n,d){if(1&n){const t=e.RV6();e.j41(0,"span",22),e.bIt("click",function(){e.eBV(t);const r=e.XpG().$implicit,u=e.XpG(2);return e.Njj(u.unselect(r))}),e.EFF(1,"\xd7"),e.k0s(),e.nrm(2,"span",23)}if(2&n){const t=e.XpG().$implicit,i=e.XpG(2);e.R7$(2),e.Y8G("ngItemLabel",t.label)("escape",i.escapeHTML)}}function P1(n,d){}function Lf(n,d){if(1&n&&(e.j41(0,"div",20),e.DNE(1,Ff,3,2,"ng-template",null,1,e.C5r)(3,P1,0,0,"ng-template",21),e.k0s()),2&n){const t=d.$implicit,i=e.sdS(2),r=e.XpG(2);e.AVh("ng-value-disabled",t.disabled),e.R7$(3),e.Y8G("ngTemplateOutlet",r.labelTemplate||i)("ngTemplateOutletContext",e.sMw(4,Of,t.value,r.clearItem,t.label))}}function Ah(n,d){if(1&n&&(e.qex(0),e.DNE(1,Lf,4,8,"div",19),e.bVm()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.selectedItems)("ngForTrackBy",t.trackByOption)}}function aI(n,d){}function lI(n,d){if(1&n&&e.DNE(0,aI,0,0,"ng-template",21),2&n){const t=e.XpG();e.Y8G("ngTemplateOutlet",t.multiLabelTemplate)("ngTemplateOutletContext",e.l_i(2,oI,t.selectedValues,t.clearItem))}}function j1(n,d){1&n&&e.nrm(0,"div",25)}function cI(n,d){}function dI(n,d){if(1&n&&(e.qex(0),e.DNE(1,j1,1,0,"ng-template",null,2,e.C5r)(3,cI,0,0,"ng-template",24),e.bVm()),2&n){const t=e.sdS(2),i=e.XpG();e.R7$(3),e.Y8G("ngTemplateOutlet",i.loadingSpinnerTemplate||t)}}function uI(n,d){if(1&n&&(e.j41(0,"span",26,3)(2,"span",27),e.EFF(3,"\xd7"),e.k0s()()),2&n){const t=e.XpG();e.FS9("title",t.clearAllText)}}function B1(n,d){if(1&n&&e.nrm(0,"span",32),2&n){const t=e.XpG().$implicit,i=e.XpG(2);e.Y8G("ngItemLabel",t.label)("escape",i.escapeHTML)}}function ep(n,d){}function xh(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",31),e.bIt("click",function(){const r=e.eBV(t).$implicit,u=e.XpG(2);return e.Njj(u.toggleItem(r))})("mouseover",function(){const r=e.eBV(t).$implicit,u=e.XpG(2);return e.Njj(u.onItemHover(r))}),e.DNE(1,B1,1,2,"ng-template",null,4,e.C5r)(3,ep,0,0,"ng-template",21),e.k0s()}if(2&n){const t=d.$implicit,i=e.sdS(2),r=e.XpG(2);e.AVh("ng-option-disabled",t.disabled)("ng-option-selected",t.selected)("ng-optgroup",t.children)("ng-option",!t.children)("ng-option-child",!!t.parent)("ng-option-marked",t===r.itemsList.markedItem),e.BMQ("role",t.children?"group":"option")("aria-selected",t.selected)("id",null==t?null:t.htmlId),e.R7$(3),e.Y8G("ngTemplateOutlet",t.children?r.optgroupTemplate||i:r.optionTemplate||i)("ngTemplateOutletContext",e.ziG(17,Vd,t.value,t,t.index,r.searchTerm))}}function Pf(n,d){if(1&n&&(e.j41(0,"span")(1,"span",34),e.EFF(2),e.k0s(),e.EFF(3),e.k0s()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.addTagText),e.R7$(),e.SpI('"',t.searchTerm,'"')}}function pI(n,d){}function hI(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",33),e.bIt("mouseover",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.itemsList.unmarkItem())})("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.selectTag())}),e.DNE(1,Pf,4,2,"ng-template",null,5,e.C5r)(3,pI,0,0,"ng-template",21),e.k0s()}if(2&n){const t=e.sdS(2),i=e.XpG(2);e.AVh("ng-option-marked",!i.itemsList.markedItem),e.R7$(3),e.Y8G("ngTemplateOutlet",i.tagTemplate||t)("ngTemplateOutletContext",e.eq3(4,Gd,i.searchTerm))}}function jf(n,d){if(1&n&&(e.j41(0,"div",35),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.JRh(t.notFoundText)}}function Y1(n,d){}function Kc(n,d){if(1&n&&(e.qex(0),e.DNE(1,jf,2,1,"ng-template",null,6,e.C5r)(3,Y1,0,0,"ng-template",21),e.bVm()),2&n){const t=e.sdS(2),i=e.XpG(2);e.R7$(3),e.Y8G("ngTemplateOutlet",i.notFoundTemplate||t)("ngTemplateOutletContext",e.eq3(2,Gd,i.searchTerm))}}function $1(n,d){if(1&n&&(e.j41(0,"div",35),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.JRh(t.typeToSearchText)}}function U1(n,d){}function mI(n,d){if(1&n&&(e.qex(0),e.DNE(1,$1,2,1,"ng-template",null,7,e.C5r)(3,U1,0,0,"ng-template",24),e.bVm()),2&n){const t=e.sdS(2),i=e.XpG(2);e.R7$(3),e.Y8G("ngTemplateOutlet",i.typeToSearchTemplate||t)}}function tk(n,d){if(1&n&&(e.j41(0,"div",35),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.JRh(t.loadingText)}}function Nh(n,d){}function fI(n,d){if(1&n&&(e.qex(0),e.DNE(1,tk,2,1,"ng-template",null,8,e.C5r)(3,Nh,0,0,"ng-template",21),e.bVm()),2&n){const t=e.sdS(2),i=e.XpG(2);e.R7$(3),e.Y8G("ngTemplateOutlet",i.loadingTextTemplate||t)("ngTemplateOutletContext",e.eq3(2,Gd,i.searchTerm))}}function G1(n,d){if(1&n){const t=e.RV6();e.j41(0,"ng-dropdown-panel",28),e.bIt("update",function(r){e.eBV(t);const u=e.XpG();return e.Njj(u.viewPortItems=r)})("scroll",function(r){e.eBV(t);const u=e.XpG();return e.Njj(u.scroll.emit(r))})("scrollToEnd",function(r){e.eBV(t);const u=e.XpG();return e.Njj(u.scrollToEnd.emit(r))})("outsideClick",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.close())}),e.qex(1),e.DNE(2,xh,4,22,"div",29)(3,hI,4,6,"div",30),e.bVm(),e.DNE(4,Kc,4,4,"ng-container",12)(5,mI,4,1,"ng-container",12)(6,fI,4,4,"ng-container",12),e.k0s()}if(2&n){const t=e.XpG();e.AVh("ng-select-multiple",t.multiple),e.Y8G("virtualScroll",t.virtualScroll)("bufferAmount",t.bufferAmount)("appendTo",t.appendTo)("position",t.dropdownPosition)("headerTemplate",t.headerTemplate)("footerTemplate",t.footerTemplate)("filterValue",t.searchTerm)("items",t.itemsList.filteredItems)("markedItem",t.itemsList.markedItem)("ngClass",t.appendTo?t.classes:null)("id",t.dropdownId),e.R7$(2),e.Y8G("ngForOf",t.viewPortItems)("ngForTrackBy",t.trackByOption),e.R7$(),e.Y8G("ngIf",t.showAddTag),e.R7$(),e.Y8G("ngIf",t.showNoItemsFound()),e.R7$(),e.Y8G("ngIf",t.showTypeToSearch()),e.R7$(),e.Y8G("ngIf",t.loading&&0===t.itemsList.filteredItems.length)}}const Bf=/[&<>"']/g,V1=RegExp(Bf.source),Yf={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function Qs(n){return null!=n}function Wl(n){return"object"==typeof n&&Qs(n)}function Hd(n){return n instanceof Function}let tp=(()=>{class n{constructor(t){this.element=t,this.escape=!0}ngOnChanges(t){this.element.nativeElement.innerHTML=this.escape?function H1(n){return n&&V1.test(n)?n.replace(Bf,d=>Yf[d]):n}(this.ngItemLabel):this.ngItemLabel}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:n,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},features:[e.OA$]})}}return n})(),q1=(()=>{class n{constructor(t){this.template=t}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.C4Q))}}static{this.\u0275dir=e.FsC({type:n,selectors:[["","ng-option-tmp",""]]})}}return n})(),$f=(()=>{class n{constructor(t){this.template=t}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.C4Q))}}static{this.\u0275dir=e.FsC({type:n,selectors:[["","ng-optgroup-tmp",""]]})}}return n})(),Oh=(()=>{class n{constructor(t){this.template=t}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.C4Q))}}static{this.\u0275dir=e.FsC({type:n,selectors:[["","ng-label-tmp",""]]})}}return n})(),_I=(()=>{class n{constructor(t){this.template=t}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.C4Q))}}static{this.\u0275dir=e.FsC({type:n,selectors:[["","ng-multi-label-tmp",""]]})}}return n})(),X1=(()=>{class n{constructor(t){this.template=t}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.C4Q))}}static{this.\u0275dir=e.FsC({type:n,selectors:[["","ng-header-tmp",""]]})}}return n})(),gI=(()=>{class n{constructor(t){this.template=t}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.C4Q))}}static{this.\u0275dir=e.FsC({type:n,selectors:[["","ng-footer-tmp",""]]})}}return n})(),bI=(()=>{class n{constructor(t){this.template=t}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.C4Q))}}static{this.\u0275dir=e.FsC({type:n,selectors:[["","ng-notfound-tmp",""]]})}}return n})(),vI=(()=>{class n{constructor(t){this.template=t}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.C4Q))}}static{this.\u0275dir=e.FsC({type:n,selectors:[["","ng-typetosearch-tmp",""]]})}}return n})(),z1=(()=>{class n{constructor(t){this.template=t}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.C4Q))}}static{this.\u0275dir=e.FsC({type:n,selectors:[["","ng-loadingtext-tmp",""]]})}}return n})(),K1=(()=>{class n{constructor(t){this.template=t}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.C4Q))}}static{this.\u0275dir=e.FsC({type:n,selectors:[["","ng-tag-tmp",""]]})}}return n})(),Di=(()=>{class n{constructor(t){this.template=t}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.C4Q))}}static{this.\u0275dir=e.FsC({type:n,selectors:[["","ng-loadingspinner-tmp",""]]})}}return n})();function Uf(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(16*Math.random()|0).toString(16))}const J1={"\u24b6":"A",\uff21:"A",\u00c0:"A",\u00c1:"A",\u00c2:"A",\u1ea6:"A",\u1ea4:"A",\u1eaa:"A",\u1ea8:"A",\u00c3:"A",\u0100:"A",\u0102:"A",\u1eb0:"A",\u1eae:"A",\u1eb4:"A",\u1eb2:"A",\u0226:"A",\u01e0:"A",\u00c4:"A",\u01de:"A",\u1ea2:"A",\u00c5:"A",\u01fa:"A",\u01cd:"A",\u0200:"A",\u0202:"A",\u1ea0:"A",\u1eac:"A",\u1eb6:"A",\u1e00:"A",\u0104:"A",\u023a:"A",\u2c6f:"A",\ua732:"AA",\u00c6:"AE",\u01fc:"AE",\u01e2:"AE",\ua734:"AO",\ua736:"AU",\ua738:"AV",\ua73a:"AV",\ua73c:"AY","\u24b7":"B",\uff22:"B",\u1e02:"B",\u1e04:"B",\u1e06:"B",\u0243:"B",\u0182:"B",\u0181:"B","\u24b8":"C",\uff23:"C",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u00c7:"C",\u1e08:"C",\u0187:"C",\u023b:"C",\ua73e:"C","\u24b9":"D",\uff24:"D",\u1e0a:"D",\u010e:"D",\u1e0c:"D",\u1e10:"D",\u1e12:"D",\u1e0e:"D",\u0110:"D",\u018b:"D",\u018a:"D",\u0189:"D",\ua779:"D",\u01f1:"DZ",\u01c4:"DZ",\u01f2:"Dz",\u01c5:"Dz","\u24ba":"E",\uff25:"E",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u1ec0:"E",\u1ebe:"E",\u1ec4:"E",\u1ec2:"E",\u1ebc:"E",\u0112:"E",\u1e14:"E",\u1e16:"E",\u0114:"E",\u0116:"E",\u00cb:"E",\u1eba:"E",\u011a:"E",\u0204:"E",\u0206:"E",\u1eb8:"E",\u1ec6:"E",\u0228:"E",\u1e1c:"E",\u0118:"E",\u1e18:"E",\u1e1a:"E",\u0190:"E",\u018e:"E","\u24bb":"F",\uff26:"F",\u1e1e:"F",\u0191:"F",\ua77b:"F","\u24bc":"G",\uff27:"G",\u01f4:"G",\u011c:"G",\u1e20:"G",\u011e:"G",\u0120:"G",\u01e6:"G",\u0122:"G",\u01e4:"G",\u0193:"G",\ua7a0:"G",\ua77d:"G",\ua77e:"G","\u24bd":"H",\uff28:"H",\u0124:"H",\u1e22:"H",\u1e26:"H",\u021e:"H",\u1e24:"H",\u1e28:"H",\u1e2a:"H",\u0126:"H",\u2c67:"H",\u2c75:"H",\ua78d:"H","\u24be":"I",\uff29:"I",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u0128:"I",\u012a:"I",\u012c:"I",\u0130:"I",\u00cf:"I",\u1e2e:"I",\u1ec8:"I",\u01cf:"I",\u0208:"I",\u020a:"I",\u1eca:"I",\u012e:"I",\u1e2c:"I",\u0197:"I","\u24bf":"J",\uff2a:"J",\u0134:"J",\u0248:"J","\u24c0":"K",\uff2b:"K",\u1e30:"K",\u01e8:"K",\u1e32:"K",\u0136:"K",\u1e34
1:"K",\u0198:"K",\u2c69:"K",\ua740:"K",\ua742:"K",\ua744:"K",\ua7a2:"K","\u24c1":"L",\uff2c:"L",\u013f:"L",\u0139:"L",\u013d:"L",\u1e36:"L",\u1e38:"L",\u013b:"L",\u1e3c:"L",\u1e3a:"L",\u0141:"L",\u023d:"L",\u2c62:"L",\u2c60:"L",\ua748:"L",\ua746:"L",\ua780:"L",\u01c7:"LJ",\u01c8:"Lj","\u24c2":"M",\uff2d:"M",\u1e3e:"M",\u1e40:"M",\u1e42:"M",\u2c6e:"M",\u019c:"M","\u24c3":"N",\uff2e:"N",\u01f8:"N",\u0143:"N",\u00d1:"N",\u1e44:"N",\u0147:"N",\u1e46:"N",\u0145:"N",\u1e4a:"N",\u1e48:"N",\u0220:"N",\u019d:"N",\ua790:"N",\ua7a4:"N",\u01ca:"NJ",\u01cb:"Nj","\u24c4":"O",\uff2f:"O",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u1ed2:"O",\u1ed0:"O",\u1ed6:"O",\u1ed4:"O",\u00d5:"O",\u1e4c:"O",\u022c:"O",\u1e4e:"O",\u014c:"O",\u1e50:"O",\u1e52:"O",\u014e:"O",\u022e:"O",\u0230:"O",\u00d6:"O",\u022a:"O",\u1ece:"O",\u0150:"O",\u01d1:"O",\u020c:"O",\u020e:"O",\u01a0:"O",\u1edc:"O",\u1eda:"O",\u1ee0:"O",\u1ede:"O",\u1ee2:"O",\u1ecc:"O",\u1ed8:"O",\u01ea:"O",\u01ec:"O",\u00d8:"O",\u01fe:"O",\u0186:"O",\u019f:"O",\ua74a:"O",\ua74c:"O",\u01a2:"OI",\ua74e:"OO",\u0222:"OU","\u24c5":"P",\uff30:"P",\u1e54:"P",\u1e56:"P",\u01a4:"P",\u2c63:"P",\ua750:"P",\ua752:"P",\ua754:"P","\u24c6":"Q",\uff31:"Q",\ua756:"Q",\ua758:"Q",\u024a:"Q","\u24c7":"R",\uff32:"R",\u0154:"R",\u1e58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1e5a:"R",\u1e5c:"R",\u0156:"R",\u1e5e:"R",\u024c:"R",\u2c64:"R",\ua75a:"R",\ua7a6:"R",\ua782:"R","\u24c8":"S",\uff33:"S",\u1e9e:"S",\u015a:"S",\u1e64:"S",\u015c:"S",\u1e60:"S",\u0160:"S",\u1e66:"S",\u1e62:"S",\u1e68:"S",\u0218:"S",\u015e:"S",\u2c7e:"S",\ua7a8:"S",\ua784:"S","\u24c9":"T",\uff34:"T",\u1e6a:"T",\u0164:"T",\u1e6c:"T",\u021a:"T",\u0162:"T",\u1e70:"T",\u1e6e:"T",\u0166:"T",\u01ac:"T",\u01ae:"T",\u023e:"T",\ua786:"T",\ua728:"TZ","\u24ca":"U",\uff35:"U",\u00d9:"U",\u00da:"U",\u00db:"U",\u0168:"U",\u1e78:"U",\u016a:"U",\u1e7a:"U",\u016c:"U",\u00dc:"U",\u01db:"U",\u01d7:"U",\u01d5:"U",\u01d9:"U",\u1ee6:"U",\u016e:"U",\u0170:"U",\u01d3:"U",\u0214:"U",\u0216:"U",\u01af:"U",\u1eea:"U",\u1ee8:"U",\u1eee:"U",\u1eec:"U",\u1ef0:"U",\u1ee4:"U",\u1e72:"U",\u0172:"U",\u1e76:"U",\u1e74:"U",\u0244:"U","\u24cb":"V",\uff36:"V",\u1e7c:"V",\u1e7e:"V",\u01b2:"V",\ua75e:"V",\u0245:"V",\ua760:"VY","\u24cc":"W",\uff37:"W",\u1e80:"W",\u1e82:"W",\u0174:"W",\u1e86:"W",\u1e84:"W",\u1e88:"W",\u2c72:"W","\u24cd":"X",\uff38:"X",\u1e8a:"X",\u1e8c:"X","\u24ce":"Y",\uff39:"Y",\u1ef2:"Y",\u00dd:"Y",\u0176:"Y",\u1ef8:"Y",\u0232:"Y",\u1e8e:"Y",\u0178:"Y",\u1ef6:"Y",\u1ef4:"Y",\u01b3:"Y",\u024e:"Y",\u1efe:"Y","\u24cf":"Z",\uff3a:"Z",\u0179:"Z",\u1e90:"Z",\u017b:"Z",\u017d:"Z",\u1e92:"Z",\u1e94:"Z",\u01b5:"Z",\u0224:"Z",\u2c7f:"Z",\u2c6b:"Z",\ua762:"Z","\u24d0":"a",\uff41:"a",\u1e9a:"a",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u1ea7:"a",\u1ea5:"a",\u1eab:"a",\u1ea9:"a",\u00e3:"a",\u0101:"a",\u0103:"a",\u1eb1:"a",\u1eaf:"a",\u1eb5:"a",\u1eb3:"a",\u0227:"a",\u01e1:"a",\u00e4:"a",\u01df:"a",\u1ea3:"a",\u00e5:"a",\u01fb:"a",\u01ce:"a",\u0201:"a",\u0203:"a",\u1ea1:"a",\u1ead:"a",\u1eb7:"a",\u1e01:"a",\u0105:"a",\u2c65:"a",\u0250:"a",\ua733:"aa",\u00e6:"ae",\u01fd:"ae",\u01e3:"ae",\ua735:"ao",\ua737:"au",\ua739:"av",\ua73b:"av",\ua73d:"ay","\u24d1":"b",\uff42:"b",\u1e03:"b",\u1e05:"b",\u1e07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24d2":"c",\uff43:"c",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u00e7:"c",\u1e09:"c",\u0188:"c",\u023c:"c",\ua73f:"c",\u2184:"c","\u24d3":"d",\uff44:"d",\u1e0b:"d",\u010f:"d",\u1e0d:"d",\u1e11:"d",\u1e13:"d",\u1e0f:"d",\u0111:"d",\u018c:"d",\u0256:"d",\u0257:"d",\ua77a:"d",\u01f3:"dz",\u01c6:"dz","\u24d4":"e",\uff45:"e",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u1ec1:"e",\u1ebf:"e",\u1ec5:"e",\u1ec3:"e",\u1ebd:"e",\u0113:"e",\u1e15:"e",\u1e17:"e",\u0115:"e",\u0117:"e",\u00eb:"e",\u1ebb:"e",\u011b:"e",\u0205:"e",\u0207:"e",\u1eb9:"e",\u1ec7:"e",\u0229:"e",\u1e1d:"e",\u0119:"e",\u1e19:"e",\u1e1b:"e",\u0247:"e",\u025b:"e",\u01dd:"e","\u24d5":"f",\uff46:"f",\u1e1f:"f",\u0192:"f",\ua77c:"f","\u24d6":"g",\uff47:"g",\u01f5:"g",\u011d:"g",\u1e21:"g",\u011f:"g",\u0121:"g",\u01e7:"g",\u0123:"g",\u01e5:"g",\u0260:"g",\ua7a1:"g",\u1d79:"g",\ua77f:"g","\u24d7":"h",\uff48:"h",\u0125:"h",\u1e23:"h",\u1e27:"h",\u021f:"h",\u1e25:"h",\u1e29:"h",\u1e2b:"h",\u1e96:"h",\u0127:"h",\u2c68:"h",\u2c76:"h",\u0265:"h",\u0195:"hv","\u24d8":"i",\uff49:"i",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u0129:"i",\u012b:"i",\u012d:"i",\u00ef:"i",\u1e2f:"i",\u1ec9:"i",\u01d0:"i",\u0209:"i",\u020b:"i",\u1ecb:"i",\u012f:"i",\u1e2d:"i",\u0268:"i",\u0131:"i","\u24d9":"j",\uff4a:"j",\u0135:"j",\u01f0:"j",\u0249:"j","\u24da":"k",\uff4b:"k",\u1e31:"k",\u01e9:"k",\u1e33:"k",\u0137:"k",\u1e35:"k",\u0199:"k",\u2c6a:"k",\ua741:"k",\ua743:"k",\ua745:"k",\ua7a3:"k","\u24db":"l",\uff4c:"l",\u0140:"l",\u013a:"l",\u013e:"l",\u1e37:"l",\u1e39:"l",\u013c:"l",\u1e3d:"l",\u1e3b:"l",\u017f:"l",\u0142:"l",\u019a:"l",\u026b:"l",\u2c61:"l",\ua749:"l",\ua781:"l",\ua747:"l",\u01c9:"lj","\u24dc":"m",\uff4d:"m",\u1e3f:"m",\u1e41:"m",\u1e43:"m",\u0271:"m",\u026f:"m","\u24dd":"n",\uff4e:"n",\u01f9:"n",\u0144:"n",\u00f1:"n",\u1e45:"n",\u0148:"n",\u1e47:"n",\u0146:"n",\u1e4b:"n",\u1e49:"n",\u019e:"n",\u0272:"n",\u0149:"n",\ua791:"n",\ua7a5:"n",\u01cc:"nj","\u24de":"o",\uff4f:"o",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u1ed3:"o",\u1ed1:"o",\u1ed7:"o",\u1ed5:"o",\u00f5:"o",\u1e4d:"o",\u022d:"o",\u1e4f:"o",\u014d:"o",\u1e51:"o",\u1e53:"o",\u014f:"o",\u022f:"o",\u0231:"o",\u00f6:"o",\u022b:"o",\u1ecf:"o",\u0151:"o",\u01d2:"o",\u020d:"o",\u020f:"o",\u01a1:"o",\u1edd:"o",\u1edb:"o",\u1ee1:"o",\u1edf:"o",\u1ee3:"o",\u1ecd:"o",\u1ed9:"o",\u01eb:"o",\u01ed:"o",\u00f8:"o",\u01ff:"o",\u0254:"o",\ua74b:"o",\ua74d:"o",\u0275:"o",\u01a3:"oi",\u0223:"ou",\ua74f:"oo","\u24df":"p",\uff50:"p",\u1e55:"p",\u1e57:"p",\u01a5:"p",\u1d7d:"p",\ua751:"p",\ua753:"p",\ua755:"p","\u24e0":"q",\uff51:"q",\u024b:"q",\ua757:"q",\ua759:"q","\u24e1":"r",\uff52:"r",\u0155:"r",\u1e59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1e5b:"r",\u1e5d:"r",\u0157:"r",\u1e5f:"r",\u024d:"r",\u027d:"r",\ua75b:"r",\ua7a7:"r",\ua783:"r","\u24e2":"s",\uff53:"s",\u00df:"s",\u015b:"s",\u1e65:"s",\u015d:"s",\u1e61:"s",\u0161:"s",\u1e67:"s",\u1e63:"s",\u1e69:"s",\u0219:"s",\u015f:"s",\u023f:"s",\ua7a9:"s",\ua785:"s",\u1e9b:"s","\u24e3":"t",\uff54:"t",\u1e6b:"t",\u1e97:"t",\u0165:"t",\u1e6d:"t",\u021b:"t",\u0163:"t",\u1e71:"t",\u1e6f:"t",\u0167:"t",\u01ad:"t",\u0288:"t",\u2c66:"t",\ua787:"t",\ua729:"tz","\u24e4":"u",\uff55:"u",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u0169:"u",\u1e79:"u",\u016b:"u",\u1e7b:"u",\u016d:"u",\u00fc:"u",\u01dc:"u",\u01d8:"u",\u01d6:"u",\u01da:"u",\u1ee7:"u",\u016f:"u",\u0171:"u",\u01d4:"u",\u0215:"u",\u0217:"u",\u01b0:"u",\u1eeb:"u",\u1ee9:"u",\u1eef:"u",\u1eed:"u",\u1ef1:"u",\u1ee5:"u",\u1e73:"u",\u0173:"u",\u1e77:"u",\u1e75:"u",\u0289:"u","\u24e5":"v",\uff56:"v",\u1e7d:"v",\u1e7f:"v",\u028b:"v",\ua75f:"v",\u028c:"v",\ua761:"vy","\u24e6":"w",\uff57:"w",\u1e81:"w",\u1e83:"w",\u0175:"w",\u1e87:"w",\u1e85:"w",\u1e98:"w",\u1e89:"w",\u2c73:"w","\u24e7":"x",\uff58:"x",\u1e8b:"x",\u1e8d:"x","\u24e8":"y",\uff59:"y",\u1ef3:"y",\u00fd:"y",\u0177:"y",\u1ef9:"y",\u0233:"y",\u1e8f:"y",\u00ff:"y",\u1ef7:"y",\u1e99:"y",\u1ef5:"y",\u01b4:"y",\u024f:"y",\u1eff:"y","\u24e9":"z",\uff5a:"z",\u017a:"z",\u1e91:"z",\u017c:"z",\u017e:"z",\u1e93:"z",\u1e95:"z",\u01b6:"z",\u0225:"z",\u0240:"z",\u2c6c:"z",\ua763:"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038a:"\u0399",\u03aa:"\u0399",\u038c:"\u039f",\u038e:"\u03a5",\u03ab:"\u03a5",\u038f:"\u03a9",\u03ac:"\u03b1",\u03ad:"\u03b5",\u03ae:"\u03b7",\u03af:"\u03b9",\u03ca:"\u03b9",\u0390:"\u03b9",\u03cc:"\u03bf",\u03cd:"\u03c5",\u03cb:"\u03c5",\u03b0:"\u03c5",\u03c9:"\u03c9",\u03c2:"\u03c3"};
1function ql(n){return n.replace(/[^\u0000-\u007E]/g,t=>J1[t]||t)}class Q1{constructor(d,t){this._ngSelect=d,this._selectionModel=t,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let d=this.selectedItems.length-1;for(;d>=0;d--){const t=this.selectedItems[d];if(!t.disabled)return t}return null}setItems(d){this._items=d.map((t,i)=>this.mapItem(t,i)),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(d){if(d.selected||this.maxItemsSelected)return;const t=this._ngSelect.multiple;t||this.clearSelected(),this._selectionModel.select(d,t,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(d)}unselect(d){d.selected&&(this._selectionModel.unselect(d,this._ngSelect.multiple),this._ngSelect.hideSelected&&Qs(d.index)&&this._ngSelect.multiple&&this._showSelected(d))}findItem(d){let t;return t=this._ngSelect.compareWith?i=>this._ngSelect.compareWith(i.value,d):this._ngSelect.bindValue?i=>!i.children&&this.resolveNested(i.value,this._ngSelect.bindValue)===d:i=>i.value===d||!i.children&&i.label&&i.label===this.resolveNested(d,this._ngSelect.bindLabel),this._items.find(i=>t(i))}addItem(d){const t=this.mapItem(d,this._items.length);return this._items.push(t),this._filteredItems.push(t),t}clearSelected(d=!1){this._selectionModel.clear(d),this._items.forEach(t=>{t.selected=d&&t.selected&&t.disabled,t.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(d){return d=ql(d).toLocaleLowerCase(),this.filteredItems.find(t=>ql(t.label).toLocaleLowerCase().substr(0,d.length)===d)}filter(d){if(!d)return void this.resetFilteredItems();this._filteredItems=[],d=this._ngSelect.searchFn?d:ql(d).toLocaleLowerCase();const t=this._ngSelect.searchFn||this._defaultSearchFn,i=this._ngSelect.hideSelected;for(const r of Array.from(this._groups.keys())){const u=[];for(const v of this._groups.get(r))i&&(v.parent&&v.parent.selected||v.selected)||t(d,this._ngSelect.searchFn?v.value:v)&&u.push(v);if(u.length>0){const[v]=u.slice(-1);if(v.parent){const V=this._items.find(Ce=>Ce===v.parent);this._filteredItems.push(V)}this._filteredItems.push(...u)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._filteredItems=this._ngSelect.hideSelected&&this.selectedItems.length>0?this._items.filter(d=>!d.selected):this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(d){this._markedIndex=this._filteredItems.indexOf(d)}markSelectedOrDefault(d){if(0===this._filteredItems.length)return;const t=this._getLastMarkedIndex();this._markedIndex=t>-1?t:d?this.filteredItems.findIndex(i=>!i.disabled):-1}resolveNested(d,t){if(!Wl(d))return d;if(-1===t.indexOf("."))return d[t];{const i=t.split(".");let r=d;for(let u=0,v=i.length;u<v;++u){if(null==r)return null;r=r[i[u]]}return r}}mapItem(d,t){const i=Qs(d.$ngOptionLabel)?d.$ngOptionLabel:this.resolveNested(d,this._ngSelect.bindLabel),r=Qs(d.$ngOptionValue)?d.$ngOptionValue:d;return{index:t,label:Qs(i)?i.toString():"",value:r,disabled:d.disabled,htmlId:`${this._ngSelect.dropdownId}-${t}`}}mapSelectedItems(){const d=this._ngSelect.multiple;for(const t of this.selectedItems){const i=this._ngSelect.bindValue?this.resolveNested(t.value,this._ngSelect.bindValue):t.value,r=Qs(i)?this.findItem(i):null;this._selectionModel.unselect(t,d),this._selectionModel.select(r||t,d,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(t=>-1===this.selectedItems.indexOf(t)))}_showSelected(d){if(this._filteredItems.push(d),d.parent){const t=d.parent;this._filteredItems.find(r=>r===t)||this._filteredItems.push(t)}else if(d.children)for(const t of d.children)t.selected=!1,this._filteredItems.push(t);this._filteredItems=[...this._filteredItems.sort((t,i)=>t.index-i.index)]}_hideSelected(d){this._filteredItems=this._filteredItems.filter(t=>t!==d),d.parent?d.parent.children.every(i=>i.selected)&&(this._filteredItems=this._filteredItems.filter(i=>i!==d.parent)):d.children&&(this._filteredItems=this.filteredItems.filter(t=>t.parent!==d))}_defaultSearchFn(d,t){return ql(t.label).toLocaleLowerCase().indexOf(d)>-1}_getNextItemIndex(d){return d>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(d){0===this._filteredItems.length||this._filteredItems.every(t=>t.disabled)||(this._markedIndex=this._getNextItemIndex(d),this.markedItem.disabled&&this._stepToItem(d))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&void 0===this.markedItem)return-1;const d=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&d<0?-1:Math.max(this.markedIndex,d)}_groupBy(d,t){const i=new Map;if(0===d.length)return i;if(Array.isArray(d[0].value[t])){for(const v of d){const V=(v.value[t]||[]).map((Ce,it)=>this.mapItem(Ce,it));i.set(v,V)}return i}const r=Hd(this._ngSelect.groupBy),u=v=>{const V=r?t(v.value):v.value[t];return Qs(V)?V:void 0};for(const v of d){const V=u(v),Ce=i.get(V);Ce?Ce.push(v):i.set(V,[v])}return i}_flatten(d){const t=Hd(this._ngSelect.groupBy),i=[];for(const r of Array.from(d.keys())){let u=i.length;if(void 0===r){const Ot=d.get(void 0)||[];i.push(...Ot.map(Jt=>(Jt.index=u++,Jt)));continue}const v=Wl(r),V={label:v?"":String(r),children:void 0,parent:null,index:u++,disabled:!this._ngSelect.selectableGroup,htmlId:Uf()},Ce=t?this._ngSelect.bindLabel:this._ngSelect.groupBy,it=this._ngSelect.groupValue||(()=>v?r.value:{[Ce]:r}),At=d.get(r).map(Ot=>(Ot.parent=V,Ot.children=void 0,Ot.index=u++,Ot));V.children=At,V.value=it(r,At.map(Ot=>Ot.value)),i.push(V),i.push(...At)}return i}}var pl=function(n){return n[n.Tab=9]="Tab",n[n.Enter=13]="Enter",n[n.Esc=27]="Esc",n[n.Space=32]="Space",n[n.ArrowUp=38]="ArrowUp",n[n.ArrowDown=40]="ArrowDown",n[n.Backspace=8]="Backspace",n}(pl||{});let Z1=(()=>{class n{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerVie
1wport:0}}get dimensions(){return this._dimensions}calculateItems(t,i,r){const u=this._dimensions,v=u.itemHeight*i,Ce=Math.max(0,t)/v*i;let it=Math.min(i,Math.ceil(Ce)+(u.itemsPerViewport+1));const Ot=Math.max(0,it-u.itemsPerViewport);let Jt=Math.min(Ot,Math.floor(Ce)),wn=u.itemHeight*Math.ceil(Jt)-u.itemHeight*Math.min(Jt,r);return wn=isNaN(wn)?0:wn,Jt=isNaN(Jt)?-1:Jt,it=isNaN(it)?-1:it,Jt-=r,Jt=Math.max(0,Jt),it+=r,it=Math.min(i,it),{topPadding:wn,scrollHeight:v,start:Jt,end:it}}setDimensions(t,i){const r=Math.max(1,Math.floor(i/t));this._dimensions={itemHeight:t,panelHeight:i,itemsPerViewport:r}}getScrollTo(t,i,r){const{panelHeight:u}=this.dimensions,v=t+i,Ce=r+u;return u>=v&&r===t?null:v>Ce?r+v-Ce:t<=r?t:null}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac})}}return n})();const np=["top","right","bottom","left"],Wd=typeof requestAnimationFrame<"u"?K2:Ud;let Fh=(()=>{class n{constructor(t,i,r,u,v){this._renderer=t,this._zone=i,this._panelService=r,this._document=v,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new e.bkB,this.scroll=new e.bkB,this.scrollToEnd=new e.bkB,this.outsideClick=new e.bkB,this._destroy$=new Gn.B,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=u.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(t){t!==this._itemsLength&&(this._itemsLength=t,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){const{itemHeight:t,panelHeight:i}=this._panelService.dimensions,r=this.markedItem.index*t;return i>r?0:r}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(t){if(t.items){const i=t.items;this._onItemsChange(i.currentValue,i.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(t,i=!1){if(!t)return;const r=this.items.indexOf(t);if(r<0||r>=this.itemsLength)return;let u;if(this.virtualScroll){const v=this._panelService.dimensions.itemHeight;u=this._panelService.getScrollTo(r*v,v,this._lastScrollPosition)}else{const v=this._dropdown.querySelector(`#${t.htmlId}`);u=this._panelService.getScrollTo(v.offsetTop,v.clientHeight,i?v.offsetTop:this._lastScrollPosition)}Qs(u)&&(this._scrollablePanel.scrollTop=u)}scrollToTag(){const t=this._scrollablePanel;t.scrollTop=t.scrollHeight-t.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),np.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(t){np.forEach(r=>{const u=`ng-select-${r}`;this._renderer.removeClass(this._dropdown,u),this._renderer.removeClass(this._select,u)});const i=`ng-select-${t}`;this._renderer.addClass(this._dropdown,i),this._renderer.addClass(this._select,i)}_handleScroll(){this._zone.runOutsideAngular(()=>{(0,ma.R)(this.scrollElementRef.nativeElement,"scroll").pipe((0,Kn.Q)(this._destroy$),function iI(n,d=ul.b){return function nI(n){return(0,jd.N)((d,t)=>{let i=!1,r=null,u=null,v=!1;const V=()=>{if(u?.unsubscribe(),u=null,i){i=!1;const it=r;r=null,t.next(it)}v&&t.complete()},Ce=()=>{u=null,v&&t.complete()};d.subscribe(new vc.H(t,it=>{i=!0,r=it,u||(0,tI.Tg)(n(it)).subscribe(u=new vc.H(t,V,Ce))},()=>{v=!0,(!i||!u||u.closed)&&t.complete()}))})}(()=>(0,xf.O)(n,d))}(0,Wd)).subscribe(t=>{const i=t.path||t.composedPath&&t.composedPath();i&&(0!==i.length||t.target)&&this._onContentScrolled(i&&0!==i.length?i[0].scrollTop:t.target.scrollTop)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{(0,Zu.h)((0,ma.R)(this._document,"touchstart",{capture:!0}),(0,ma.R)(this._document,"mousedown",{capture:!0})).pipe((0,Kn.Q)(this._destroy$)).subscribe(t=>this._checkToClose(t))})}_checkToClose(t){if(this._select.contains(t.target)||this._dropdown.contains(t.target))return;const i=t.path||t.composedPath&&t.composedPath();t.target&&t.target.shadowRoot&&i&&i[0]&&this._select.contains(i[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(t,i){this.items=t||[],this._scrollToEndFired=!1,this.itemsLength=t.length,this.virtualScroll?this._updateItemsRange(i):(this._setVirtualHeight(),this._updateItems(i))}_updateItems(t){this.update.emit(this.items),!1!==t&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._panelService.setDimensions(0,this._scrollablePanel.clientHeight),this._handleDropdownPosition(),this.scrollTo(this.markedItem,t)})})}_updateItemsRange(t){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{t?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(t){this.virtualScroll&&this._renderItemsRange(t),this._lastScrollPosition=t,this._fireScrollToEnd(t)}_updateVirtualHeight(t){this._updateScrollHeight&&(this._virtualPadding.style.height=`${t}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding&&(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(t=null){if(t&&this._lastScrollPosition===t)return;const i=this._panelService.calculateItems(t=t||this._scrollablePanel.scrollTop,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(i.scrollHeight),this._contentPanel.style.transform=`translateY(${i.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(i.start,i.end)),this.scroll.emit({start:i.start,end:i.end})}),Qs(t)&&0===this._lastScrollPosition&&(this._scrollablePanel.scrollTop=t,this._lastScrollPosition=t)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||0===this.itemsLength)return Promise.resolve(this._panelService.dimensions);const[t]=this.items;return this.update.emit([t]),Promise.resolve().then(()=>{const r=this._dropdown.querySelector(`#${t.htmlId}`).clientHeight;return this._virtualPadding.style.height=r*this.itemsLength+"px",this._panelService.setDimensions(r,this._scrollablePanel.clientHeight),this._panelService.dimensions})}_fireScrollToEnd(t){this._scrollToEndFired||0===t||t+this._dropdown.clientHeight>=(this.virtualScroll?this._virtualPadding:this._contentPanel).clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(t){if("auto"!==this.position)return this.position;const i=this._select.getBoundingClientRect(),r=document.documentElement.scrollTop||document.body.scrollTop;return i.top+window.pageYOffset+i.height+t.getBoundingClientRect().height>r+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){const t=this._select.getBoundingClientRect(),i=this._parent.getBoundingClientRect();this._dropdown.style.left=t.left-i.left+"px",this._dropdown.style.width=t.width+"px",this._dropdown.style.minWidth=t.width+"px"}_updateYPosition(){const t=this._select.getBoundingClientRect(),i=this._parent.getBoundingClientRect(),r=t.height;"top"===this._currentPosition?(this._dropdown.style.bottom=i.bottom-t.bottom+r+"px",this._dropdown.style.top="auto"):"bottom"===this._currentPosition&&(this._dropdown.style.top=t.top-i.top+r+"px",this._dropdown.style.bottom="auto")}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{(0,ma.R)(this._dropdown,"mousedown").pipe((0,Kn.Q)(this._destroy$)).subscribe(t=>{"INPUT"!==t.target.tagName&&t.preventDefault()})})}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.sFG),e.rXU(e.SKi),e.rXU(Z1),e.rXU(e.aKT),e.rXU(ie.qQ,8))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["ng-dropdown-panel"]],viewQuery:function(i,r){if(1&i&&(e.GBs(Q2,7,e.aKT),e.GBs(sI,7,e.aKT),e.GBs(Z2,7,e.aKT)),2&i){let u;e.mGM(u=e.lsd())&&(r.contentElementRef=u.first),e.mGM(u=e.lsd())&&(r.scrollElementRef=u.first),e.mGM(u=e.lsd())&&(r.paddingElementRef=u.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[e.OA$],ngContentSelectors:rI,decls:9,vars:6,consts:[["scroll",""],["padding",""],["content",""],["class","ng-dropdown-header",4,"ngIf"],["role","listbox",1,"ng-dropdown-panel-items","scroll-host"],["class","ng-dropdown-footer",4,"ngIf"],[1,"ng-dropdown-header"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-dropdown-footer"]],template:function(i,r){1&i&&(e.NAR(),e.DNE(0,L1,2,4,"div",3),e.j41(1,"div",4,0),e.nrm(3,"div",null,1),e.j41(5,"div",null,2),e.SdG(7),e.k0s()(),e.DNE(8,ek,2,4,"div",5)),2&i&&(e.Y8G("ngIf",r.headerTemplate),e.R7$(3),e.AVh("total-padding",r.virtualScroll),e.R7$(2),e.AVh("scrollable-content",r.virtualScroll&&r.items.length),e.R7$(3),e.Y8G("ngIf",r.footerTemplate))},dependencies:[ie.bT,ie.T3],encapsulation:2,changeDetection:0})}}return n})(),ip=(()=>{class n{get disabled(){return this._disabled}set disabled(t){this._disabled=this._isDisabled(t)}constructor(t){this.elementRef=t,this.stateChange$=new Gn.B,this._disabled=!1}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(t){t.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this._disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}_isDisabled(t){return null!=t&&"false"!=`${t}`}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.aKT))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["ng-option"]],inputs:{value:"value",disabled:"disabled"},features:[e.OA$],ngContentSelectors:rI,decls:1,vars:0,template:function(i,r){1&i&&(e.NAR(),e.SdG(0))},encapsulation:2,changeDetection:0})}}return n})(),eb=(()=>{class n{constructor(){this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),Gf=(()=>{class n{warn(t){console.warn(t)}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();const Lh=new e.nKC("ng-select-selection-model");let Vf=(()=>{class n{get items(){return this._items}set items(t){null===t&&(t=[]),this._itemsAreUsed=!0,this._items=t}get compareWith(){return this._compareWith}set compareWith(t){if(null!=t&&!Hd(t))throw Error("`compareWith` must be a function.");this._compareWith=t}get clearSearchOnAdd(){return Qs(this._clearSearchOnAdd)?this._clearSearchOnAdd:Qs(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(t){this._clearSearchOnAdd=t}get deselectOnClick(){return Qs(this._deselectOnClick)?this._deselectOnClick:Qs(this.config.deselectOnClick)?this.config.deselectOnClick:this.multiple}set deselectOnClick(t){this._deselectOnClick=t}get disabled(){return this.readonly||this._disabled}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}constructor(t,i,r,u,v,V,Ce){this.classes=t,this.autoFocus=i,this.config=r,this._cd=V,this._console=Ce,this.markFirst=!0,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.keyDownFn=it=>!0,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=ne
1w e.bkB,this.focusEvent=new e.bkB,this.changeEvent=new e.bkB,this.openEvent=new e.bkB,this.closeEvent=new e.bkB,this.searchEvent=new e.bkB,this.clearEvent=new e.bkB,this.addEvent=new e.bkB,this.removeEvent=new e.bkB,this.scroll=new e.bkB,this.scrollToEnd=new e.bkB,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=Uf(),this.escapeHTML=!0,this._items=[],this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new Gn.B,this._keyPress$=new Gn.B,this._onChange=it=>{},this._onTouched=()=>{},this.clearItem=it=>{const At=this.selectedItems.find(Ot=>Ot.value===it);this.unselect(At)},this.trackByOption=(it,At)=>this.trackByFn?this.trackByFn(At.value):At,this._mergeGlobalConfig(r),this.itemsList=new Q1(this,u()),this.element=v.nativeElement}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(t=>t.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(t){t.multiple&&this.itemsList.clearSelected(),t.items&&this._setItems(t.items.currentValue||[]),t.isOpen&&(this._manualOpen=Qs(t.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),Qs(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(t){if(pl[t.which]){if(!1===this.keyDownFn(t))return;this.handleKeyCode(t)}else t.key&&1===t.key.length&&this._keyPress$.next(t.key.toLocaleLowerCase())}handleKeyCode(t){this.clearButton&&this.clearButton.nativeElement===t.target?this.handleKeyCodeClear(t):this.handleKeyCodeInput(t)}handleKeyCodeInput(t){switch(t.which){case pl.ArrowDown:this._handleArrowDown(t);break;case pl.ArrowUp:this._handleArrowUp(t);break;case pl.Space:this._handleSpace(t);break;case pl.Enter:this._handleEnter(t);break;case pl.Tab:this._handleTab(t);break;case pl.Esc:this.close(),t.preventDefault();break;case pl.Backspace:this._handleBackspace()}}handleKeyCodeClear(t){t.which===pl.Enter&&(this.handleClearClick(),t.preventDefault())}handleMousedown(t){const i=t.target;"INPUT"!==i.tagName&&t.preventDefault(),i.classList.contains("ng-clear-wrapper")?this.handleClearClick():i.classList.contains("ng-arrow-wrapper")?this.handleArrowClick():i.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(t){this.itemsList.clearSelected(),this._handleWriteValue(t),this._cd.markForCheck()}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this._disabled=t,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this._manualOpen||!this._isTypeahead&&!this.addTag&&this.itemsList.noItemsToSelect||(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen||this._manualOpen||(this.isOpen=!1,this._isComposing=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(t){!t||t.disabled||this.disabled||(this.deselectOnClick&&t.selected?this.unselect(t):this.select(t),this._editableSearchTerm&&this._setSearchTermFromItems(),this._onSelectionChanged())}select(t){t.selected||(this.itemsList.select(t),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(t.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close()}focus(){this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(t){t&&(this.itemsList.unselect(t),this.focus(),this._updateNgModel(),this.removeEvent.emit(t.value))}selectTag(){let t;t=Hd(this.addTag)?this.addTag(this.searchTerm):this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};const i=r=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(r,null):this.itemsList.addItem(r);!function W1(n){return n instanceof Promise}(t)?t&&this.select(i(t)):t.then(r=>this.select(i(r))).catch(()=>{})}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}focusOnClear(){this.blur(),this.clearButton&&this.clearButton.nativeElement.focus()}
1get showAddTag(){if(!this._validTerm)return!1;const t=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(i=>i.label.toLowerCase()===t)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(i=>i.label.toLowerCase()===t))&&!this.loading}showNoItemsFound(){const t=0===this.itemsList.filteredItems.length;return(t&&!this._isTypeahead&&!this.loading||t&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return 0===this.itemsList.filteredItems.length&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(t){this._isComposing=!1,!this.searchWhileComposing&&this.filter(t)}filter(t){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=t,this._isTypeahead&&(this._validTerm||0===this.minTermLength)&&this.typeahead.next(t),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:t,items:this.itemsList.filteredItems.map(i=>i.value)}),this.open())}onInputFocus(t){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(t),this.focused=!0)}onInputBlur(t){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(t),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(t){t.disabled||this.itemsList.markItem(t)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){const t=this.selectedItems&&this.selectedItems[0];this.searchTerm=t&&t.label||null}_setItems(t){const i=t[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=Qs(i)?!Wl(i):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(t),t.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&Qs(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){const t=r=>{this.items=r.map(u=>({$ngOptionValue:u.value,$ngOptionLabel:u.elementRef.nativeElement.innerHTML,disabled:u.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},i=()=>{const r=(0,Zu.h)(this.ngOptions.changes,this._destroy$);(0,Zu.h)(...this.ngOptions.map(u=>u.stateChange$)).pipe((0,Kn.Q)(r)).subscribe(u=>{const v=this.itemsList.findItem(u.value);v.disabled=u.disabled,v.label=u.label||v.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe((0,Se.Z)(this.ngOptions),(0,Kn.Q)(this._destroy$)).subscribe(r=>{this.bindLabel=this._defaultLabel,t(r),i()})}_isValidWriteValue(t){if(!Qs(t)||this.multiple&&""===t||Array.isArray(t)&&0===t.length)return!1;const i=r=>!(!Qs(this.compareWith)&&Wl(r)&&this.bindValue&&(this._console.warn(`Setting object(${JSON.stringify(r)}) as your model with bindValue is not allowed unless [compareWith] is used.`),1));return this.multiple?Array.isArray(t)?t.every(r=>i(r)):(this._console.warn("Multiple select ngModel should be array."),!1):i(t)}_handleWriteValue(t){if(!this._isValidWriteValue(t))return;const i=r=>{let u=this.itemsList.findItem(r);if(u)this.itemsList.select(u);else{const v=Wl(r);v||!v&&!this.bindValue?this.itemsList.select(this.itemsList.mapItem(r,null)):this.bindValue&&(u={[this.bindLabel]:null,[this.bindValue]:r},this.itemsList.select(this.itemsList.mapItem(u,null)))}};this.multiple?t.forEach(r=>i(r)):i(t)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe((0,Kn.Q)(this._destroy$),(0,Pd.M)(t=>this._pressedKeys.push(t)),Bd(200),(0,ye.p)(()=>this._pressedKeys.length>0),(0,yi.T)(()=>this._pressedKeys.join(""))).subscribe(t=>{const i=this.itemsList.findByLabel(t);i&&(this.isOpen?(this.itemsList.markItem(i),this._scrollToMarked(),this._cd.markForCheck()):this.select(i)),this._pressedKeys=[]})}_setInputAttributes(){const t=this.searchInput.nativeElement,i={type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId,...this.inputAttrs};for(const r of Object.keys(i))t.setAttribute(r,i[r])}_updateNgModel(){const t=[];for(const r of this.selectedItems)if(this.bindValue){let u=null;u=r.children?r.value[(this.groupValue?this.bindValue:this.groupBy)||this.groupBy]:this.itemsList.resolveNested(r.value,this.bindValue),t.push(u)}else t.push(r.value);const i=this.selectedItems.map(r=>r.value);this.multiple?(this._onChange(t),this.changeEvent.emit(i)):(this._onChange(Qs(t[0])?t[0]:null),this.changeEvent.emit(i[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(t){this.searchTerm=t,this._isTypeahead&&this.typeahead.next(t)}_scrollToMarked(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.deselectOnClick&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(t){if(!1===this.isOpen)if(this.showClear())this.focusOnClear(),t.preventDefault();else if(!this.addTag)return;this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),t.preventDefault()):this.showAddTag?(this.selectTag(),t.preventDefault()):this.close():this.close()}_handleEnter(t){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else{if(!this.openOnEnter)return;this.open()}t.preventDefault()}_handleSpace(t){this.isOpen||this._manualOpen||(this.open(),t.preventDefault())}_handleArrowDown(t){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),t.preventDefault()}_handleArrowUp(t){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),t.preventDefault())}_nextItemIsTag(t){const i=this.itemsList.markedIndex+t;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(i<0||i===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){const t=this.searchTerm&&this.searchTerm.trim();return t&&t.length>=this.minTermLength}_mergeGlobalConfig(t){this.placeholder=this.placeholder||t.placeholder,this.notFoundText=this.notFoundText||t.notFoundText,this.typeToSearchText=this.typeToSearchText||t.typeToSearchText,this.addTagText=this.addTagText||t.addTagText,this.loadingText=this.loadingText||t.loadingText,this.clearAllText=this.clearAllText||t.clearAllText,this.virtualScroll=Qs(this.virtualScroll)?this.virtualScroll:!!Qs(t.disableVirtualScroll)&&!t.disableVirtualScroll,this.openOnEnter=Qs(this.openOnEnter)?this.openOnEnter:t.openOnEnter,this.appendTo=this.appendTo||t.appendTo,this.bindValue=this.bindValue||t.bindValue,this.bindLabel=this.bindLabel||t.bindLabel,this.appearance=this.appearance||t.appearance}static{this.\u0275fac=function(i){return new(i||n)(e.kS0("class"),e.kS0("autofocus"),e.rXU(eb),e.rXU(Lh),e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(Gf))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["ng-select"]],contentQueries:function(i,r,u){if(1&i&&(e.wni(u,q1,5,e.C4Q),e.wni(u,$f,5,e.C4Q),e.wni(u,Oh,5,e.C4Q),e.wni(u,_I,5,e.C4Q),e.wni(u,X1,5,e.C4Q),e.wni(u,gI,5,e.C4Q),e.wni(u,bI,5,e.C4Q),e.wni(u,vI,5,e.C4Q),e.wni(u,z1,5,e.C4Q),e.wni(u,K1,5,e.C4Q),e.wni(u,Di,5,e.C4Q),e.wni(u,ip,5)),2&i){let v;e.mGM(v=e.lsd())&&(r.optionTemplate=v.first),e.mGM(v=e.lsd())&&(r.optgroupTemplate=v.first),e.mGM(v=e.lsd())&&(r.labelTemplate=v.first),e.mGM(v=e.lsd())&&(r.multiLabelTemplate=v.first),e.mGM(v=e.lsd())&&(r.headerTemplate=v.first),e.mGM(v=e.lsd())&&(r.footerTemplate=v.first),e.mGM(v=e.lsd())&&(r.notFoundTemplate=v.first),e.mGM(v=e.lsd())&&(r.typeToSearchTemplate=v.first),e.mGM(v=e.lsd())&&(r.loadingTextTemplate=v.first),e.mGM(v=e.lsd())&&(r.tagTemplate=v.first),e.mGM(v=e.lsd())&&(r.loadingSpinnerTemplate=v.first),e.mGM(v=e.lsd())&&(r.ngOptions=v)}},viewQuery:function(i,r){if(1&i&&(e.GBs(Fh,5),e.GBs(kh,7),e.GBs(Nf,5)),2&i){let u;e.mGM(u=e.lsd())&&(r.dropdownPanel=u.first),e.mGM(u=e.lsd())&&(r.searchInput=u.first),e.mGM(u=e.lsd())&&(r.clearButton=u.f
1irst)}},hostVars:20,hostBindings:function(i,r){1&i&&e.bIt("keydown",function(v){return r.handleKeyDown(v)}),2&i&&e.AVh("ng-select-typeahead",r.typeahead)("ng-select-multiple",r.multiple)("ng-select-taggable",r.addTag)("ng-select-searchable",r.searchable)("ng-select-clearable",r.clearable)("ng-select-opened",r.isOpen)("ng-select",r.useDefaultClass)("ng-select-disabled",r.disabled)("ng-select-filtered",r.filtered)("ng-select-single",r.single)},inputs:{bindLabel:"bindLabel",bindValue:"bindValue",markFirst:"markFirst",placeholder:"placeholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:"loading",closeOnSelect:"closeOnSelect",hideSelected:"hideSelected",selectOnTab:"selectOnTab",openOnEnter:"openOnEnter",maxSelectedItems:"maxSelectedItems",groupBy:"groupBy",groupValue:"groupValue",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",selectableGroup:"selectableGroup",selectableGroupAsModel:"selectableGroupAsModel",searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:"clearOnBackspace",labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:"tabIndex",readonly:"readonly",searchWhileComposing:"searchWhileComposing",minTermLength:"minTermLength",editableSearchTerm:"editableSearchTerm",keyDownFn:"keyDownFn",typeahead:"typeahead",multiple:"multiple",addTag:"addTag",searchable:"searchable",clearable:"clearable",isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd",deselectOnClick:"deselectOnClick"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},features:[e.Jv_([{provide:ge.kq,useExisting:(0,e.Rfq)(()=>n),multi:!0},Z1]),e.OA$],decls:14,vars:19,consts:[["searchInput",""],["defaultLabelTemplate",""],["defaultLoadingSpinnerTemplate",""],["clearButton",""],["defaultOptionTemplate",""],["defaultTagTemplate",""],["defaultNotFoundTemplate",""],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""],[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[1,"ng-placeholder"],[4,"ngIf"],["role","combobox","aria-haspopup","listbox",1,"ng-input"],["aria-autocomplete","list",3,"input","compositionstart","compositionend","focus","blur","change","readOnly","disabled","value"],["class","ng-clear-wrapper","tabindex","0",3,"title",4,"ngIf"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["class","ng-dropdown-panel","role","listbox","aria-label","Options list",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id","update","scroll","scrollToEnd","outsideClick",4,"ngIf"],["class","ng-value",3,"ng-value-disabled",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ng-value"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],[3,"ngTemplateOutlet"],[1,"ng-spinner-loader"],["tabindex","0",1,"ng-clear-wrapper",3,"title"],["aria-hidden","true",1,"ng-clear"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"update","scroll","scrollToEnd","outsideClick","virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id"],["class","ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked","click","mouseover",4,"ngFor","ngForOf","ngForTrackBy"],["class","ng-option","role","option",3,"ng-option-marked","mouseover","click",4,"ngIf"],[1,"ng-option",3,"click","mouseover"],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],[1,"ng-tag-label"],[1,"ng-option","ng-option-disabled"]],template:function(i,r){if(1&i){const u=e.RV6();e.j41(0,"div",9),e.bIt("mousedown",function(V){return e.eBV(u),e.Njj(r.handleMousedown(V))}),e.j41(1,"div",10)(2,"div",11),e.EFF(3),e.k0s(),e.DNE(4,Ah,2,2,"ng-container",12)(5,lI,1,5,null,12),e.j41(6,"div",13)(7,"input",14,0),e.bIt("input",function(){e.eBV(u);const V=e.sdS(8);return e.Njj(r.filter(V.value))})("compositionstart",function(){return e.eBV(u),e.Njj(r.onCompositionStart())})("compositionend",function(){e.eBV(u);const V=e.sdS(8);return e.Njj(r.onCompositionEnd(V.value))})("focus",function(V){return e.eBV(u),e.Njj(r.onInputFocus(V))})("blur",function(V){return e.eBV(u),e.Njj(r.onInputBlur(V))})("change",function(V){return e.eBV(u),e.Njj(V.stopPropagation())}),e.k0s()()(),e.DNE(9,dI,4,1,"ng-container",12)(10,uI,4,1,"span",15),e.j41(11,"span",16),e.nrm(12,"span",17),e.k0s()(),e.DNE(13,G1,7,19,"ng-dropdown-panel",18)}2&i&&(e.AVh("ng-appearance-outline","outline"===r.appearance)("ng-has-value",r.hasValue),e.R7$(3),e.JRh(r.placeholder),e.R7$(),e.Y8G("ngIf",(!r.multiLabelTemplate||!r.multiple)&&r.selectedItems.length>0),e.R7$(),e.Y8G("ngIf",r.multiple&&r.multiLabelTemplate&&r.selectedValues.length>0),e.R7$(),e.BMQ("aria-expanded",r.isOpen)("aria-owns",r.isOpen?r.dropdownId:null),e.R7$(),e.Y8G("readOnly",!r.searchable||r.itemsList.maxItemsSelected)("disabled",r.disabled)("value",r.searchTerm?r.searchTerm:""),e.BMQ("id",r.labelForId)("tabindex",r.tabIndex)("aria-activedescendant",r.isOpen?null==r.itemsList||null==r.itemsList.markedItem?null:r.
1itemsList.markedItem.htmlId:null)("aria-controls",r.isOpen?r.dropdownId:null),e.R7$(2),e.Y8G("ngIf",r.loading),e.R7$(),e.Y8G("ngIf",r.showClear()),e.R7$(3),e.Y8G("ngIf",r.isOpen))},dependencies:[ie.YU,ie.Sq,ie.bT,ie.T3,Fh,tp],styles:['@charset "UTF-8";.ng-select{position:relative;display:block;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:none;user-select:none;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@keyframes load8{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;
1cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}\n'],encapsulation:2,changeDetection:0})}}return n})();function tb(){return new Hf}class Hf{constructor(){this._selected=[]}get value(){return this._selected}select(d,t,i){if(d.selected=!0,(!d.children||!t&&i)&&this._selected.push(d),t)if(d.parent){const r=d.parent.children.length,u=d.parent.children.filter(v=>v.selected).length;d.parent.selected=r===u}else d.children&&(this._setChildrenSelectedState(d.children,!0),this._removeChildren(d),this._selected=i&&this._activeChildren(d)?[...this._selected.filter(r=>r.parent!==d),d]:[...this._selected,...d.children.filter(r=>!r.disabled)])}unselect(d,t){if(this._selected=this._selected.filter(i=>i!==d),d.selected=!1,t)if(d.parent&&d.parent.selected){const i=d.parent.children;this._removeParent(d.parent),this._removeChildren(d.parent),this._selected.push(...i.filter(r=>r!==d&&!r.disabled)),d.parent.selected=!1}else d.children&&(this._setChildrenSelectedState(d.children,!1),this._removeChildren(d))}clear(d){this._selected=d?this._selected.filter(t=>t.disabled):[]}_setChildrenSelectedState(d,t){for(const i of d)i.disabled||(i.selected=t)}_removeChildren(d){this._selected=[...this._selected.filter(t=>t.parent!==d),...d.children.filter(t=>t.parent===d&&t.disabled&&t.selected)]}_removeParent(d){this._selected=this._selected.filter(t=>t!==d)}_activeChildren(d){return d.children.every(t=>!t.disabled||t.selected)}}let yI=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=e.$C({type:n})}static{this.\u0275inj=e.G2t({providers:[{provide:Lh,useValue:tb}],imports:[ie.MD]})}}return n})();const EI=["inputEl"],TI=n=>({active:n});let nb=(()=>{class n{constructor(){this.disableInput=!1,this.autoFocus=!1,this.valueChange=new e.bkB(!0),this.enterPressed=new e.bkB(!0),this.queryField=new ge.MJ,this.isCancelBtnHidden=!0}ngOnInit(){this.queryField.setValue(this.text),this.disableInput&&this.queryField.disable(),this.autoFocus&&this.setFocus(),this.queryField.valueChanges.pipe(Bd(1e3),(0,qc.F)()).subscribe(t=>{this._searchText=t,this.valueChange.emit(this._searchText),this.isCancelBtnHidden=null===t||""===t})}onFocus(){this.isFocused=!0}onBlur(){this.isFocused=!1}clear(){this.queryField.setValue(""),this.isCancelBtnHidden=!0}setFocus(){setTimeout(()=>{this.inputEl.nativeElement&&this.inputEl.nativeElement.focus()},100)}enterPressedHandler(){this.enterPressed.emit()}clearSearchInput(){this.inputEl.nativeElement.value=""}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["search-input"]],viewQuery:function(i,r){if(1&i&&e.GBs(EI,7),2&i){let u;e.mGM(u=e.lsd())&&(r.inputEl=u.first)}},inputs:{disableInput:"disableInput",text:"text",autoFocus:"autoFocus"},outputs:{valueChange:"valueChange",enterPressed:"enterPressed"},decls:5,vars:7,consts:[["inputEl",""],[1,"search-input",3,"ngClass"],["src","./assets/baseResources/icon_search.png","id","viewLeaveReqImg",1,"search-icon"],["type","search",1,"validate","search-textfield",3,"focus","blur","keyup.enter","placeholder","formControl"]],template:function(i,r){if(1&i){const u=e.RV6();e.j41(0,"div",1),e.nrm(1,"img",2),e.j41(2,"input",3,0),e.nI1(4,"translate"),e.bIt("focus",function(){return e.eBV(u),e.Njj(r.onFocus())})("blur",function(){return e.eBV(u),e.Njj(r.onBlur())})("keyup.enter",function(){return e.eBV(u),e.Njj(r.enterPressedHandler())}),e.k0s()()}2&i&&(e.Y8G("ngClass",e.eq3(5,TI,r.isFocused)),e.R7$(2),e.FS9("placeholder",e.bMT(4,3,"search")),e.Y8G("formControl",r.queryField))},dependencies:[ie.YU,ge.me,ge.BC,ge.l_,Y.D9],encapsulation:2})}}return n})();const II=["searchInput"],DI=n=>({active:n}),Wf=n=>({"d-none":n});function CI(n,d){if(1&n&&(e.j41(0,"span",32),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.Y8G("id","notification-"+t.name),e.R7$(),e.SpI(" ",t.notificationCount," ")}}function ib(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",28),e.bIt("click",function(){const r=e.eBV(t).$implicit,u=e.XpG();return e.Njj(u.handleSelectedOption(r))})("keydown.enter",function(){const r=e.eBV(t).$implicit,u=e.XpG();return e.Njj(u.handleSelectedOption(r))})("keydown.space",function(){const r=e.eBV(t).$implicit,u=e.XpG();return e.Njj(u.handleSelectedOption(r))}),e.nrm(1,"img",29),e.j41(2,"span",30),e.EFF(3),e.k0s(),e.DNE(4,CI,2,2,"span",31),e.k0s()}if(2&n){const t=d.$implicit,i=e.XpG();e.Y8G("ngClass",e.eq3(6,DI,t.name===(null==i.selectedOption?null:i.selectedOption.name))),e.BMQ("aria-label","Filter by "+t.name)("aria-describedby",t.notificationCount?"notification-"+t.name:null),e.R7$(),e.Y8G("src",t.icon,e.B4B),e.R7$(2),e.JRh(t.name),e.R7$(),e.Y8G("ngIf",t.notificationCount)}}
1function sb(n,d){if(1&n){const t=e.RV6();e.j41(0,"button",33),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.cancel())}),e.EFF(1,"\u2715"),e.k0s()}}function MI(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",39),e.bIt("click",function(){const r=e.eBV(t).$implicit,u=e.XpG(3);return e.Njj(u.handleCheckboxSelection(r))})("keydown.enter",function(){const r=e.eBV(t).index,u=e.XpG().$implicit,v=e.XpG(2);return e.Njj(v.handleCheckboxSelection("subOption_"+u.group+"_"+r))})("keydown.space",function(){const r=e.eBV(t).index,u=e.XpG().$implicit,v=e.XpG(2);return e.Njj(v.handleCheckboxSelection("subOption_"+u.group+"_"+r))}),e.j41(1,"input",40),e.mxI("ngModelChange",function(r){const u=e.eBV(t).$implicit;return e.DH7(u.checked,r)||(u.checked=r),e.Njj(r)}),e.k0s(),e.j41(2,"label",41),e.EFF(3),e.k0s()()}if(2&n){const t=d.$implicit,i=d.index,r=e.XpG().$implicit;e.Y8G("ngClass",e.eq3(6,Wf,t.hide)),e.R7$(),e.R50("ngModel",t.checked),e.Y8G("value",t.value)("id","subOption_"+r.group+"_"+i),e.R7$(),e.Y8G("for","subOption_"+r.group+"_"+i),e.R7$(),e.SpI(" ",t.name," ")}}function SI(n,d){if(1&n&&(e.j41(0,"div",36)(1,"div",37),e.EFF(2),e.k0s(),e.DNE(3,MI,4,8,"div",38),e.k0s()),2&n){const t=d.$implicit;e.R7$(),e.Y8G("ngClass",e.eq3(3,Wf,t.hide)),e.R7$(),e.JRh(t.group),e.R7$(),e.Y8G("ngForOf",t.options)}}function fa(n,d){if(1&n&&(e.j41(0,"div",34),e.DNE(1,SI,4,5,"div",35),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.selectedOption.options)}}function RI(n,d){if(1&n&&(e.j41(0,"div",50)(1,"span"),e.EFF(2),e.k0s()()),2&n){const t=e.XpG(3).$implicit,i=e.XpG(2);e.R7$(2),e.JRh(i.getCheckedOptionsCount(t.options))}}function wI(n,d){if(1&n&&(e.j41(0,"div",48)(1,"span"),e.EFF(2),e.k0s(),e.DNE(3,RI,3,1,"div",49),e.k0s()),2&n){const t=e.XpG(2).$implicit,i=e.XpG(2);e.R7$(2),e.JRh(t.group),e.R7$(),e.Y8G("ngIf",i.getCheckedOptionsCount(t.options)>0)}}function nk(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",52),e.bIt("click",function(){const r=e.eBV(t).$implicit,u=e.XpG(5);return e.Njj(u.handleCheckboxSelection(r))})("keydown.enter",function(){const r=e.eBV(t).index,u=e.XpG(3).$implicit,v=e.XpG(2);return e.Njj(v.handleCheckboxSelection("subOption_"+u.group+"_"+r))})("keydown.space",function(){const r=e.eBV(t).index,u=e.XpG(3).$implicit,v=e.XpG(2);return e.Njj(v.handleCheckboxSelection("subOption_"+u.group+"_"+r))}),e.j41(1,"input",53),e.mxI("ngModelChange",function(r){const u=e.eBV(t).$implicit;return e.DH7(u.checked,r)||(u.checked=r),e.Njj(r)}),e.bIt("focus",function(){const r=e.eBV(t).$implicit;return e.Njj(r.focused=!0)})("blur",function(){const r=e.eBV(t).$implicit;return e.Njj(r.focused=!1)}),e.k0s(),e.j41(2,"label",41),e.EFF(3),e.k0s()()}if(2&n){const t=d.$implicit,i=d.index,r=e.XpG(3).$implicit;e.Y8G("ngClass",e.eq3(8,Wf,t.hide)),e.R7$(),e.R50("ngModel",t.checked),e.Y8G("value",t.value)("id","subOption_"+r.group+"_"+i),e.BMQ("aria-label",t.name)("aria-checked",t.checked?"true":"false"),e.R7$(),e.Y8G("for","subOption_"+r.group+"_"+i),e.R7$(),e.SpI(" ",t.name," ")}}function qf(n,d){if(1&n&&e.DNE(0,nk,4,10,"div",51),2&n){const t=e.XpG(2).$implicit;e.Y8G("ngForOf",t.options)}}function rb(n,d){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"ngb-panel",45),e.bIt("keydown",function(r){e.eBV(t);const u=e.XpG().$implicit,v=e.XpG(2);return e.Njj(v.handlePanelKeyDown(r,u))}),e.DNE(2,wI,4,2,"ng-template",46)(3,qf,1,1,"ng-template",47),e.k0s(),e.bVm()}if(2&n){const t=e.XpG(),i=t.$implicit,r=t.index;e.R7$(),e.Y8G("id","panel_"+i.group+"_"+r),e.BMQ("aria-expanded",i.expanded?"true":"false")("aria-controls","panel-content_"+i.group+"_"+r)("aria-labelledby","panel-title_"+i.group+"_"+r)}}function kI(n,d){if(1&n&&(e.qex(0),e.DNE(1,rb,4,4,"ng-container",44),e.bVm()),2&n){const t=d.$implicit;e.R7$(),e.Y8G("ngIf",!t.hide)}}function AI(n,d){if(1&n&&(e.j41(0,"ngb-accordion",42),e.DNE(1,kI,2,1,"ng-container",43),e.k0s()),2&n){const t=e.XpG();e.Y8G("closeOthers",!0),e.R7$(),e.Y8G("ngForOf",t.selectedOption.options)}}let xI=(()=>{class n{constructor(t){this.activeModal=t,this.moreFilterAction=new e.bkB(!0),this.moreFilterOptionTypes=Yt.CN}ngOnInit(){this.selectedOption=this.filterOptions[0],this.absenceResource=!se.z.isDomainBlockedFromRedesignUpdates()}handleSelectedOption(t){this.clearSearch(),this.searchHandler(""),this.selectedOption=t,this.setAllCheckboxOption()}setAllCheckboxOption(){const t=this.getAllCheckboxOptions();setTimeout(()=>{this.selectAllOption=this.isAllChecked(t)},100)}handleCheckboxSelection(t){"string"==typeof t&&document.getElementById(t).click(),this.setNotificationCount(),this.setAllCheckboxOption()}setNotificationCount(t){const i=t&&t.length?t:this.getAllCheckboxOptions();setTimeout(()=>{let r=0;
1i.forEach(u=>{u.checked&&(r+=1)}),this.selectedOption.notificationCount=r},100)}getCheckedOptionsCount(t){let i=0;return t.forEach(r=>{r.checked&&(i+=1)}),i}selectAllOptions(t){const i=this.getAllCheckboxOptions(),r=document.getElementById("selectAllCheckbox");"mouse"!==t.pointerType&&r.click(),setTimeout(()=>{i.forEach(u=>{u.checked=this.selectAllOption}),this.setNotificationCount()},100)}getAllCheckboxOptions(){const i=[];return(this.selectedOption.options||[]).forEach(r=>{i.push(...r.options||[])}),i}isAllChecked(t){return t.every(i=>1==i.checked)}resetAllFilters(){this.clearSearch(),this.searchHandler(""),this.filterOptions.forEach(t=>{t.notificationCount=0,(t.options||[]).forEach(r=>{(r.options||[]).forEach(v=>{v.checked=!1,v.hide=!1,r.hide=!1,t.hide=!1})})}),this.selectAllOption=!1}searchHandler(t){t=t.trim().toLowerCase(),this.filterOptions.filter(i=>i.name===this.selectedOption.name).forEach(i=>{const r=i.options||[];r.forEach(u=>{const v=u.options||[],V=v.every(Ce=>{const it=Ce.name.toString().toLowerCase();return t&&-1===it.indexOf(t)});v.forEach(Ce=>{const it=Ce.name.toString().toLowerCase();Ce.hide=V||t&&-1===it.indexOf(t)}),u.hide=V}),i.hide=r.every(u=>u.hide)})}apply(){this.activeModal.close(this.filterOptions),this.searchHandler(""),this.moreFilterAction.emit({action:Yt.kl.FILTER_APPLY,data:this.filterOptions})}cancel(){this.activeModal.dismiss(),this.moreFilterAction.emit({action:Yt.kl.CANCEL})}clearSearch(){this.searchInputComponent&&this.searchInputComponent.clearSearchInput()}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(G.Lw))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-more-filters"]],viewQuery:function(i,r){if(1&i&&e.GBs(II,7),2&i){let u;e.mGM(u=e.lsd())&&(r.searchInputComponent=u.first)}},inputs:{filterOptions:"filterOptions"},outputs:{moreFilterAction:"moreFilterAction"},decls:42,vars:28,consts:[["tooltip","ngbTooltip"],["searchInput",""],["role","region",1,"more-filters"],[1,"filters-options"],[1,"options-header"],[1,"header-title","d-block"],["placement","auto","triggers","manual","tabindex","0",3,"click","blur","keydown.escape","keydown.space","keydown.enter","ngbTooltip"],["alt","","aria-hidden","true","src","./assets/baseResources/filter-menu-info-solid.png","id","viewLeaveReqImg",1,"ms-2"],["class","options-item","role","button","tabindex","0",3,"ngClass","click","keydown.enter","keydown.space",4,"ngFor","ngForOf"],[1,"filter-button-wrapper"],["type","button",1,"reset-filter-button",3,"click"],[1,"filters-detail"],["type","button","class","more-filters-close-btn","aria-label","Close",3,"click",4,"ngIf"],["role","heading","aria-level","1",1,"detail-header","detail-header-width"],[1,"header-title"],["role","search",1,"detail-search"],["for","search-input",1,"visually-hidden"],["id","search-input",3,"valueChange"],[1,"filters-accordion"],["class","business-unit-wrapper",4,"ngIf"],["activeIds","static-1","class","employee-groups-wrapper","role","tablist",3,"closeOthers",4,"ngIf"],[1,"business-unit-footer"],["tabindex","0",1,"select-all-button","select-all-button-smaller",3,"keydown.enter","keydown.space"],["for","selectAllCheckbox"],["type","checkbox","name","checkbox","id","selectAllCheckbox",1,"form-check-input",3,"ngModelChange","click","ngModel"],[1,"more-filters-buttons-div"],[1,"cancel-button",3,"click"],[1,"apply-button",3,"click"],["role","button","tabindex","0",1,"options-item",3,"click","keydown.enter","keydown.space","ngClass"],["alt","","aria-hidden","true",1,"material-icons","item-icon",3,"src"],[1,"item-title"],["class","item-notification",3,"id",4,"ngIf"],[1,"item-notification",3,"id"],["type","button","aria-label","Close",1,"more-filters-close-btn",3,"click"],[1,"business-unit-wrapper"],["class","business-unit",4,"ngFor","ngForOf"],[1,"business-unit"],[1,"unit-title",3,"ngClass"],["tabindex","0","class","form-check business-unit-list active-unit-list",3,"ngClass","click","keydown.enter","keydown.space",4,"ngFor","ngForOf"],["tabindex","0",1,"form-check","business-unit-list","active-unit-list",3,"click","keydown.enter","keydown.space","ngClass"],["type","checkbox",1,"form-check-input",3,"ngModelChange","ngModel","value","id"],[1,"form-check-label",3,"for"],["activeIds","static-1","role","tablist",1,"employee-groups-wrapper",3,"closeOthers"],[4,"ngFor","ngForOf"],[4,"ngIf"],["tabindex","0","role","tab",3,"keydown","i
1d"],["ngbPanelTitle",""],["ngbPanelContent",""],["tabindex","-1","id","'panel-title_'+ subOption.group + '_'  + i",1,"d-flex","d-flex-std"],["class","ms-3 ps-3 checkbox-count",4,"ngIf"],[1,"ms-3","ps-3","checkbox-count"],["tabindex","0","class","form-check employee-groups-list",3,"ngClass","click","keydown.enter","keydown.space",4,"ngFor","ngForOf"],["tabindex","0",1,"form-check","employee-groups-list",3,"click","keydown.enter","keydown.space","ngClass"],["tabindex","0","type","checkbox",1,"form-check-input",3,"ngModelChange","focus","blur","ngModel","value","id"]],template:function(i,r){if(1&i){const u=e.RV6();e.j41(0,"div",2)(1,"div",3)(2,"div",4)(3,"span",5),e.EFF(4),e.nI1(5,"translate"),e.j41(6,"a",6,0),e.nI1(8,"translate"),e.bIt("click",function(){e.eBV(u);const V=e.sdS(7);return e.Njj(V.open())})("blur",function(){e.eBV(u);const V=e.sdS(7);return e.Njj(V.close())})("keydown.escape",function(){e.eBV(u);const V=e.sdS(7);return e.Njj(V.close())})("keydown.space",function(){e.eBV(u);const V=e.sdS(7);return e.Njj(V.open())})("keydown.enter",function(){e.eBV(u);const V=e.sdS(7);return e.Njj(V.open())}),e.nrm(9,"img",7),e.k0s()()(),e.DNE(10,ib,5,8,"div",8),e.j41(11,"div",9)(12,"button",10),e.bIt("click",function(){return e.eBV(u),e.Njj(r.resetAllFilters())}),e.EFF(13),e.nI1(14,"translate"),e.k0s()()(),e.j41(15,"div",11),e.DNE(16,sb,2,0,"button",12),e.j41(17,"div",13)(18,"h1",14),e.EFF(19),e.k0s()(),e.j41(20,"div",15)(21,"label",16),e.EFF(22),e.k0s(),e.j41(23,"search-input",17,1),e.bIt("valueChange",function(V){return e.eBV(u),e.Njj(r.searchHandler(V))}),e.k0s()(),e.j41(25,"div",18),e.DNE(26,fa,2,1,"div",19)(27,AI,2,2,"ngb-accordion",20),e.k0s(),e.j41(28,"div",21)(29,"div",22),e.bIt("keydown.enter",function(V){return e.eBV(u),e.Njj(r.selectAllOptions(V))})("keydown.space",function(V){return e.eBV(u),e.Njj(r.selectAllOptions(V))}),e.j41(30,"label",23)(31,"input",24),e.mxI("ngModelChange",function(V){return e.eBV(u),e.DH7(r.selectAllOption,V)||(r.selectAllOption=V),e.Njj(V)}),e.bIt("click",function(V){return e.eBV(u),e.Njj(r.selectAllOptions(V))}),e.k0s(),e.EFF(32),e.nI1(33,"translate"),e.k0s()(),e.j41(34,"div",25)(35,"button",26),e.bIt("click",function(){return e.eBV(u),e.Njj(r.cancel())}),e.EFF(36),e.nI1(37,"translate"),e.k0s(),e.j41(38,"button",27),e.bIt("click",function(){return e.eBV(u),e.Njj(r.apply())}),e.EFF(39),e.nI1(40,"translate"),e.nI1(41,"translate"),e.k0s()()()()()}2&i&&(e.R7$(4),e.SpI("",e.bMT(5,14,"moreFilters.moreFilters")," "),e.R7$(2),e.Y8G("ngbTooltip",e.bMT(8,16,"moreFiltersToolTip")),e.R7$(4),e.Y8G("ngForOf",r.filterOptions),e.R7$(3),e.JRh(e.bMT(14,18,"moreFilters.resetAllFilters")),e.R7$(3),e.Y8G("ngIf",r.absenceResource),e.R7$(3),e.JRh(r.selectedOption.name),e.R7$(3),e.SpI("Search ",r.selectedOption.name,""),e.R7$(4),e.Y8G("ngIf",r.selectedOption.optionType===r.moreFilterOptionTypes.HEADER),e.R7$(),e.Y8G("ngIf",r.selectedOption.optionType===r.moreFilterOptionTypes.ACCORDIAN),e.R7$(4),e.R50("ngModel",r.selectAllOption),e.BMQ("aria-checked",r.selectAllOption?"true":"false"),e.R7$(),e.SpI(" ",e.bMT(33,20,"selectAll")," "),e.R7$(4),e.JRh(e.bMT(37,22,"cancel")),e.R7$(3),e.JRh(r.absenceResource?e.bMT(40,24,"submit"):e.bMT(41,26,"apply")))},dependencies:[ie.YU,ie.Sq,ie.bT,ge.Zm,ge.BC,ge.vS,G.md,nb,Y.D9],encapsulation:2})}}return n})();const ob=["datepicker"],NI=n=>({"datepicker-range":n});function OI(n,d){if(1&n){const t=e.RV6();e.j41(0,"span",18),e.bIt("mouseenter",function(){const r=e.eBV(t).$implicit,u=e.XpG();return e.Njj(u.hoveredDate=r)})("mouseleave",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.hoveredDate=null)}),e.EFF(1),e.k0s()}if(2&n){const t=d.$implicit,i=d.focused,r=e.XpG();e.AVh("focused",i)("range",r.isRange(t)&&(null==r.config?null:r.config.enableDateRange))("faded",r.isHovered(t)||r.isInside(t)),e.R7$(),e.SpI(" ",t.day," ")}}function Xf(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",21)(1,"span",22),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"button",23),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.clickDone())}),e.EFF(5),e.nI1(6,"translate"),e.k0s()()}2&n&&(e.R7$(2),e.JRh(e.bMT(3,2,"datepicker.footertext")),e.R7$(3),e.JRh(e.bMT(6,4,"datepicker.done")))}function FI(n,d){if(1&n){const t=e.RV6();e.j41(0,"span",19),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.resetDates())}),e.EFF(1),e.nI1(2,"translate"),e.k0s(),e.DNE(3,Xf,7,6,"div",20)}if(2&n){const t=e.XpG();e.R7$(),e.JRh(e.bMT(2,2,"datepicker.reset")),e.R7$(2),e.Y8G("ngIf",t.config.footerVisibility)}}const LI=n=>
1({partnersDashboardBackground:n}),PI=n=>({"datepicker-outline":n}),sp=(n,d)=>({selected:n,"summary-dashboard-outline":d}),jI=()=>({detailsContainer:!0}),Rl=n=>({absenceResourcesSearch:n});function zf(n,d){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"date"),e.nI1(3,"date"),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Lme("",e.i5U(2,2,t.fromDate,"MM/dd/yyy")," - ",e.i5U(3,5,t.toDate,"MM/dd/yyy"),"")}}function BI(n,d){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.JRh(e.i5U(2,1,t.fromDate,"MM/dd/yyy"))}}function YI(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",17)(1,"label",18),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div",19),e.bIt("keydown.enter",function(){e.eBV(t);const r=e.sdS(6),u=e.XpG();return r.checked=!r.checked,e.Njj(u.selectMyTeam(r.checked))})("keydown.space",function(){e.eBV(t);const r=e.sdS(6),u=e.XpG();return r.checked=!r.checked,e.Njj(u.selectMyTeam(r.checked))})("click",function(){e.eBV(t);const r=e.sdS(6),u=e.XpG();return r.checked=!r.checked,e.Njj(u.selectMyTeam(r.checked))}),e.nrm(5,"input",20,3)(7,"span",21),e.k0s()()}2&n&&(e.R7$(2),e.JRh(e.bMT(3,1,"myTeam")))}function ab(n,d){if(1&n&&(e.j41(0,"div",29),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.JRh(null==t.metricCounts?null:t.metricCounts.employeesAbsentCount)}}function lb(n,d){if(1&n&&(e.j41(0,"div",29),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.JRh(null==t.metricCounts?null:t.metricCounts.employeesWithApprovedLeaveCount)}}function Ph(n,d){if(1&n&&(e.j41(0,"div",29),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.JRh(null==t.metricCounts?null:t.metricCounts.employeesWithPendingLeaveCount)}}function Kf(n,d){if(1&n&&(e.j41(0,"div",29),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.JRh(null==t.metricCounts?null:t.metricCounts.leavesEndingCount)}}function ik(n,d){if(1&n&&(e.j41(0,"div",29),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.JRh(null==t.metricCounts?null:t.metricCounts.actionsNeededByYouCount)}}function cb(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",23)(1,"div",27),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(!r.countsLoading&&r.revealedTiles.has("ACTIONS_NEEDED_BY_YOU")&&r.selectSummaryTab("actionsNeededByYouList","actionNeededByYou"))})("keydown.enter",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(!r.countsLoading&&r.revealedTiles.has("ACTIONS_NEEDED_BY_YOU")&&r.selectSummaryTab("actionsNeededByYouList","actionNeededByYou"))})("keydown.space",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(!r.countsLoading&&r.revealedTiles.has("ACTIONS_NEEDED_BY_YOU")&&r.selectSummaryTab("actionsNeededByYouList","actionNeededByYou"))}),e.DNE(2,ik,2,1,"div",25),e.j41(3,"div")(4,"a",26),e.EFF(5),e.nI1(6,"translate"),e.k0s()()()()}if(2&n){const t=e.XpG(2),i=e.sdS(20);e.R7$(),e.Y8G("ngClass",e.l_i(6,sp,"actionsNeededByYouList"===t.selectedTab,!t.isBaseDomain())),e.R7$(),e.Y8G("ngIf",!t.countsLoading&&t.revealedTiles.has("ACTIONS_NEEDED_BY_YOU"))("ngIfElse",i),e.R7$(3),e.JRh(e.bMT(6,4,"actionNeededByYou"))}}function db(n,d){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"div",22)(2,"div",23)(3,"div",24),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(!r.countsLoading&&r.revealedTiles.has("EMPLOYEES_ABSENT")&&r.selectSummaryTab("employeesAbsentList","employeesAbsent"))})("keydown.enter",function(){e.eBV(t);const r=e.XpG();return e.Njj(!r.countsLoading&&r.revealedTiles.has("EMPLOYEES_ABSENT")&&r.selectSummaryTab("employeesAbsentList","employeesAbsent"))})("keydown.space",function(){e.eBV(t);const r=e.XpG();return e.Njj(!r.countsLoading&&r.revealedTiles.has("EMPLOYEES_ABSENT")&&r.selectSummaryTab("employeesAbsentList","employeesAbsent"))}),e.DNE(4,ab,2,1,"div",25),e.j41(5,"div")(6,"a",26),e.EFF(7),e.nI1(8,"translate"),e.k0s()()()(),e.j41(9,"div",23)(10,"div",27),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(!r.countsLoading&&r.revealedTiles.has("EMPLOYEES_WITH_APPROVED_LEAVE")&&r.selectSummaryTab("employeesWithApprovedLeaveList","employeesWithApprovedLeave"))})("keydown.enter",function(){e.eBV(t);const r=e.XpG();return e.Njj(!r.countsLoading&&r.revealedTiles.has("EMPLOYEES_WITH_APPROVED_LEAVE")&&r.selectSummaryTab("employeesWithApprovedLeaveList","employeesWithApprovedLeave"))})("keydown.space",function(){e.eBV(t);const r=e.XpG();return e.Njj(!r.countsLoading&&r.revealedTiles.has("EMPLOYEES_WITH_APPROVED_LEAVE")&&r.selectSummaryTab("employeesWithApprovedLeaveList","employeesWithApprovedLeave"))}),e.DNE(11,lb,2,1,"div",25),e.j41(12,"div")(13,"a",26),e.EFF(14),e.nI1(15,"translate"),e.k0s()()()(),e.j41(16,"div",23)(17,"div",27),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(!r.countsLoading&&r.revealedTiles.has("EMPLOYEES_WITH_PENDING_LEAVE")&&r.selectSummaryTab("employeesWithPendingLeaveList","employeesWithPendingLeave"))})("keydown.enter",function(){e.eBV(t);const r=e.XpG();return e.Njj(!r.countsLoading&&r.revealedTiles.has("EMPLOYEES_WITH_PENDING_LEAVE")&&r.selectSummaryTab("employeesWithPendingLeaveList","employeesWithPendingLeave"))})("keydown.space",function(){e.eBV(t);const r=e.XpG();return e.Njj(!r.countsLoading&&r.revealedTiles.has("EMPLOYEES_WITH_PENDING_LEAVE")&&r.selectSummaryTab("employeesWithPendingLeaveList","employeesWithPendingLeave"))}),e.DNE(18,Ph,2,1,"div",25),e.j41(19,"div")(20,"a",26),e.EFF(21),e.nI1(22,"translate"),e.k0s()()()(),e.j41(23,"div",23)(24,"div",27),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(!r.countsLoading&&r.revealedTiles.has("LEAVES_ENDING")&&r.selectSummaryTab("leavesEndingList","leavesEnding"))})("keydown.enter",function(){e.eBV(t);const r=e.XpG();return e.Njj(!r.countsLoading&&r.revealedTiles.has("LEAVES_ENDING")&&r.selectSummaryTab("leavesEndingList","leavesEnding"))})("keydown.space",function(){e.eBV(t);const r=e.XpG();return e.Njj(!r.countsLoading&&r.revealedTiles.has("LEAVES_ENDING")&&r.selectSummaryTab("leavesEndingList","leavesEnding"))}),e.DNE(25,Kf,2,1,"div",25),e.j41(26,"div")(27,"a",26),e.EFF(28),e.nI1(29,"translate"),e.k0s()()()(),e.DNE(30,cb,7,9,"div",28),e.k0s(),e.bVm()}if(2&n){const t=e.XpG(),i=e.sdS(20);e.R7$(3),e.Y8G("ngClass",e.l_i(25,sp,"employeesAbsentList"===t.selectedTab,!t.isBaseDomain())),e.R7$(),e.Y8G("ngIf",!t.countsLoading&&t.revealedTiles.has("EMPLOYEES_ABSENT"))("ngIfElse",i),e.R7$(3),e.SpI(" ",e.bMT(8,17,"employeesAbsent")," "),e.R7$(3),e.Y8G("ngClass",e.l_i(28,sp,"employeesWithApprovedLeaveList"===t.selectedTab,!t.isBaseDomain())),e.R7$(),e.Y8G("ngIf",!t.countsLoading&&t.revealedTiles.has("EMPLOYEES_WITH_APPROVED_LEAVE"))("ngIfElse",i),e.R7$(3),e.JRh(e.bMT(15,19,"employeesWithApprovedLeave")),e.R7$(3),e.Y8G("ngClass",e.l_i(31,sp,"employeesWithPendingLeaveList"===t.selectedTab,!t.isBaseDomain())),e.R7$(),e.Y8G("ngIf",!t.countsLoading&&t.revealedTiles.has("EMPLOYEES_WITH_PENDING_LEAVE"))("ngIfElse",i),e.R7$(3),e.JRh(e.bMT(22,21,"employeesWithPendingLeave")),e.R7$(3),e.Y8G("ngClass",e.l_i(34,sp,"leavesEndingList"===t.selectedTab,!t.isBaseDomain())),e.R7$(),e.Y8G("ngIf",!t.countsLoading&&t.revealedTiles.has("LEAVES_ENDING"))("ngIfElse",i),e.R7$(3),e.JRh(e.bMT(29,23,"leavesEnding")),e.R7$(2),e.Y8G("ngIf",t.showActionNeededByYouTab())}}function ub(n,d){1&n&&(e.j41(0,"div",30)(1,"span",31),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.JRh(e.bMT(3,1,"summaryCountsError")))}function jh(n,d){if(1&n&&(e.j41(0,"div",32),e.nI1(1,"translate"),e.nrm(2,"img",33),e.nI1(3,"translate"),e.k0s()),2&n){const t=e.XpG();e.BMQ("aria-label",e.bMT(1,4,"ariaLabel.loadingSummaryCounts")),e.R7$(2),e.Mz_("src","",t.domainResourcePath,"/gfx/big-loader.gif",e.B4B),e.FS9("alt",e.bMT(3,6,"ariaLabel.loadingSummaryCounts"))}}function Jf(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",37)(1,"div",38)(2,"h2"),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"button",39),e.nI1(6,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.closeDetails())}),e.nrm(7,"img",40),e.k0s()()()}2&n&&(e.R7$(3),e.SpI(" ",e.bMT(4,2,"details")," "),e.R7$(2),e.BMQ("aria-label",e.bMT(6,4,"ariaLabel.alt.close")))}function Xl(n,d){1&n&&(e.j41(0,"div",41)(1,"span",31),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.JRh(e.bMT(3,1,"summaryDetailsError")))}function $I(n,d){if(1&n&&(e.j41(0,"div",75)(1,"span"),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(e.bMT(3,1,t.detailsSlowLoad?"detailsSlowLoadMessage":"detailsConnectingMessage"))}}function UI(n,d){if(1&n&&(e.j41(0,"option",76),e.EFF(1),e.k0s()),2&n){const t=d.$implicit;e.Y8G("value",t),e.R7$(),e.SpI(" ",t," ")}}function Qf(n,d){1&n&&(e.j41(0,"option"),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"myAbsences.viewLeave.leave")," "))}function GI(n,d){1&n&&(e.j41(0,"option"),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"workplaceAccommodation")," "))}function rp(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",50)(1,"label",77),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"select",78),e.mxI("ngModelChange",function(r){e.eBV(t);const u=e.XpG(3);return e.DH7(u.selectedRequestType,r)||(u.selectedRequestType=r),e.Njj(r)}),e.bIt("change",function(r){e.eBV(t);const u=e.XpG(3);return e.Njj(u.handleRequestTypeFilter(r.target.value))}
1),e.j41(5,"option",54),e.EFF(6),e.nI1(7,"translate"),e.k0s(),e.DNE(8,Qf,3,3,"option",12)(9,GI,3,3,"option",12),e.k0s()()}if(2&n){const t=e.XpG(3);e.R7$(2),e.JRh(e.bMT(3,6,"requestType")),e.R7$(2),e.R50("ngModel",t.selectedRequestType),e.Y8G("disabled",t.detailsLoading),e.R7$(2),e.JRh(e.bMT(7,8,"all")),e.R7$(2),e.Y8G("ngIf",t.showLeaveRequestType),e.R7$(),e.Y8G("ngIf",t.showWpaRequestType)}}function pb(n,d){if(1&n&&(e.j41(0,"option",76),e.EFF(1),e.k0s()),2&n){const t=d.$implicit;e.Y8G("value",t),e.R7$(),e.SpI(" ",t," ")}}function qd(n,d){if(1&n&&e.nrm(0,"img",79),2&n){const t=e.XpG(3);e.Mz_("src","",t.domainResourcePath,"/gfx/filterIcons/filter_disabled.svg",e.B4B)}}function op(n,d){if(1&n&&e.nrm(0,"img",79),2&n){const t=e.XpG(3);e.Mz_("src","",t.domainResourcePath,"/gfx/filterIcons/filter.svg",e.B4B)}}function Zf(n,d){if(1&n){const t=e.RV6();e.j41(0,"th",80),e.bIt("sort",function(r){e.eBV(t);const u=e.XpG(3);return e.Njj(u.onSort(r))}),e.EFF(1),e.nI1(2,"translate"),e.nrm(3,"span",66),e.k0s()}2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"metricDetails.columns.frequency")," "))}function ap(n,d){if(1&n){const t=e.RV6();e.j41(0,"th",81),e.bIt("sort",function(r){e.eBV(t);const u=e.XpG(3);return e.Njj(u.onSort(r))}),e.EFF(1),e.nI1(2,"translate"),e.nrm(3,"span",66),e.k0s()}2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"metricDetails.columns.requestType")," "))}function hb(n,d){if(1&n){const t=e.RV6();e.j41(0,"th",82),e.EFF(1),e.nI1(2,"translate"),e.j41(3,"a",83,4),e.bIt("click",function(){e.eBV(t);const r=e.sdS(4);return e.Njj(r.open())})("blur",function(){e.eBV(t);const r=e.sdS(4);return e.Njj(r.close())})("keydown.escape",function(){e.eBV(t);const r=e.sdS(4);return e.Njj(r.close())})("keydown.space",function(){e.eBV(t);const r=e.sdS(4);return e.Njj(r.open())})("keydown.enter",function(){e.eBV(t);const r=e.sdS(4);return e.Njj(r.open())}),e.nrm(5,"img",84),e.k0s()()}if(2&n){e.XpG(3);const t=e.sdS(24);e.R7$(),e.SpI(" ",e.bMT(2,2,"metricDetails.columns.decisionReason")," "),e.R7$(2),e.Y8G("ngbTooltip",t)}}function mb(n,d){1&n&&(e.j41(0,"td"),e.nrm(1,"span",86),e.k0s())}function VI(n,d){1&n&&(e.j41(0,"td"),e.nrm(1,"span",86),e.k0s())}function HI(n,d){1&n&&(e.j41(0,"td"),e.nrm(1,"span",86),e.k0s())}function WI(n,d){if(1&n&&(e.j41(0,"tr")(1,"td"),e.nrm(2,"span",86),e.k0s(),e.j41(3,"td"),e.nrm(4,"span",86),e.k0s(),e.DNE(5,mb,2,0,"td",12)(6,VI,2,0,"td",12),e.j41(7,"td"),e.nrm(8,"span",86),e.k0s(),e.DNE(9,HI,2,0,"td",12),e.j41(10,"td"),e.nrm(11,"span",86),e.k0s()()),2&n){const t=e.XpG(4);e.R7$(5),e.Y8G("ngIf",t.isActionNeededByYouTab),e.R7$(),e.Y8G("ngIf",t.isActionNeededByYouTab),e.R7$(3),e.Y8G("ngIf",t.isActionNeededByYouTab)}}function qI(n,d){if(1&n&&(e.j41(0,"tbody"),e.DNE(1,WI,12,3,"tr",85),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",t.skeletonRows)}}function fb(n,d){if(1&n&&(e.j41(0,"td"),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",t.leaveActionFrequencyCodeDesc?t.leaveActionFrequencyCodeDesc:"N/A"," ")}}function Bh(n,d){if(1&n&&(e.j41(0,"td"),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",t.requestType," ")}}function XI(n,d){if(1&n&&(e.j41(0,"td"),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit,i=e.XpG(4);e.R7$(),e.SpI(" ",i.getDecisionReasons(t)," ")}}function sk(n,d){if(1&n){const t=e.RV6();e.j41(0,"a",89),e.nI1(1,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG().$implicit,u=e.XpG(4);return e.Njj(u.workOnBehalf(r.employeeFSPSystemId,r.leaveRequestId,r.wpaId))})("keydown.enter",function(){e.eBV(t);const r=e.XpG().$implicit,u=e.XpG(4);return e.Njj(u.workOnBehalf(r.employeeFSPSystemId,r.leaveRequestId,r.wpaId))})("keydown.space",function(){e.eBV(t);const r=e.XpG().$implicit,u=e.XpG(4);return e.Njj(u.workOnBehalf(r.employeeFSPSystemId,r.leaveRequestId,r.wpaId))}),e.EFF(2),e.nI1(3,"translate"),e.k0s()}if(2&n){const t=e.XpG().$implicit;e.BMQ("aria-label",e.bMT(1,2,"viewRequest")+" "+t.employeeFullName),e.R7$(2),e.SpI(" ",e.bMT(3,4,"viewRequest")," ")}}function zI(n,d){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td"),e.EFF(2),e.k0s(),e.j41(3,"td"),e.EFF(4),e.k0s(),e.DNE(5,fb,2,1,"td",12)(6,Bh,2,1,"td",12),e.j41(7,"td"),e.EFF(8),e.k0s(),e.DNE(9,XI,2,1,"td",12),e.j41(10,"td")(11,"a",87),e.nI1(12,"translate"),e.bIt("click",function(){const r=e.eBV(t).$implicit,u=e.XpG(4);return e.Njj(u.workOnBehalf(r.employeeFSPSystemId,null,null))})("keydown.enter",function(){const r=e.eBV(t).$implicit,u=e.XpG(4);return e.Njj(u.workOnBehalf(r.employeeFSPSystemId,null,null))})("keydown.space",function(){const r=e.eBV(t).$implicit,u=e.XpG(4);return e.Njj(u.workOnBehalf(r.employeeFSPSystemId,null,null))}),e.EFF(13),e.nI1(14,"translate"),e.k0s(),e.DNE(15,sk,4,6,"a",88),e.k0s()()}if(2&n){const t=d.$implicit,i=e.XpG(4);e.R7$(2),e.SpI(" ",t.employeeNumber," "),e.R7$(2),e.SpI(" ",t.employeeFullName," "),e.R7$(),e.Y8G("ngIf",i.isActionNeededByYouTab),e.R7$(),e.Y8G("ngIf",i.isActionNeededByYouTab),e.R7$(2),e.SpI(" ",t.leaveReasonCodeDe
1sc?t.leaveReasonCodeDesc:"N/A"," "),e.R7$(),e.Y8G("ngIf",i.isActionNeededByYouTab),e.R7$(2),e.BMQ("aria-label",e.bMT(12,9,"wob")+" "+t.employeeFullName),e.R7$(2),e.SpI(" ",e.bMT(14,11,"wob")," "),e.R7$(2),e.Y8G("ngIf",i.isActionNeededByYouTab)}}function KI(n,d){if(1&n&&(e.j41(0,"tbody"),e.DNE(1,zI,16,13,"tr",85),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",t.tableDataDisp)}}function _b(n,d){if(1&n&&(e.j41(0,"tr",92)(1,"td",93)(2,"span",94)(3,"strong"),e.EFF(4),e.k0s()()()()),2&n){const t=e.XpG(4);e.R7$(4),e.JRh(t.noResultText)}}function JI(n,d){if(1&n&&(e.j41(0,"tfoot",90),e.DNE(1,_b,5,1,"tr",91),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",0===t.tableDataDisp.length)}}function QI(n,d){if(1&n){const t=e.RV6();e.j41(0,"select",98),e.nI1(1,"translate"),e.mxI("ngModelChange",function(r){e.eBV(t);const u=e.XpG(4);return e.DH7(u.pageSize,r)||(u.pageSize=r),e.Njj(r)}),e.bIt("ngModelChange",function(){e.eBV(t);const r=e.XpG(4);return e.Njj(r.refreshTableData())}),e.j41(2,"option",99),e.EFF(3,"10"),e.k0s(),e.j41(4,"option",100),e.EFF(5,"25"),e.k0s(),e.j41(6,"option",100),e.EFF(7,"50"),e.k0s(),e.j41(8,"option",100),e.EFF(9,"100"),e.k0s()()}if(2&n){const t=e.XpG(4);e.R50("ngModel",t.pageSize),e.BMQ("aria-label",e.bMT(1,6,"ariaLabel.selectResults")),e.R7$(2),e.Y8G("ngValue",10),e.R7$(2),e.Y8G("ngValue",25),e.R7$(2),e.Y8G("ngValue",50),e.R7$(2),e.Y8G("ngValue",100)}}function gb(n,d){if(1&n&&(e.j41(0,"div",95)(1,"span"),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div",96),e.EFF(5),e.nI1(6,"translate"),e.DNE(7,QI,10,8,"select",97),e.k0s()()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(e.bMT(3,3,"dataDelayText")),e.R7$(3),e.SpI(" ",e.bMT(6,5,"caseActivity.resultsPerPage")," "),e.R7$(2),e.Y8G("ngIf",t.tableDataDisp.length)}}function e_(n,d){if(1&n){const t=e.RV6();e.qex(0),e.DNE(1,$I,4,3,"div",42),e.j41(2,"div",43)(3,"div",44)(4,"label",45),e.EFF(5),e.nI1(6,"translate"),e.k0s(),e.j41(7,"label",46),e.EFF(8),e.nI1(9,"translate"),e.k0s()()(),e.j41(10,"div",47)(11,"input",48),e.nI1(12,"translate"),e.nI1(13,"translate"),e.mxI("ngModelChange",function(r){e.eBV(t);const u=e.XpG(2);return e.DH7(u.searchText,r)||(u.searchText=r),e.Njj(r)}),e.bIt("input",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.Search())}),e.k0s(),e.j41(14,"div",49)(15,"div",50)(16,"label",51),e.EFF(17),e.nI1(18,"translate"),e.k0s(),e.j41(19,"label",52),e.EFF(20),e.nI1(21,"translate"),e.k0s(),e.j41(22,"select",53),e.mxI("ngModelChange",function(r){e.eBV(t);const u=e.XpG(2);return e.DH7(u.selectedFrequency,r)||(u.selectedFrequency=r),e.Njj(r)}),e.bIt("change",function(r){e.eBV(t);const u=e.XpG(2);return e.Njj(u.handleFrequencyFilter(r.target.value))}),e.j41(23,"option",54),e.EFF(24),e.nI1(25,"translate"),e.k0s(),e.DNE(26,UI,2,2,"option",55),e.k0s()(),e.DNE(27,rp,10,10,"div",56),e.j41(28,"div",50)(29,"label",57),e.EFF(30),e.nI1(31,"translate"),e.k0s(),e.j41(32,"select",58),e.mxI("ngModelChange",function(r){e.eBV(t);const u=e.XpG(2);return e.DH7(u.selectedLeaveReason,r)||(u.selectedLeaveReason=r),e.Njj(r)}),e.bIt("change",function(r){e.eBV(t);const u=e.XpG(2);return e.Njj(u.handleLeaveReasonFilter(r.target.value))}),e.j41(33,"option",54),e.EFF(34),e.nI1(35,"translate"),e.k0s(),e.DNE(36,pb,2,2,"option",55),e.k0s()(),e.j41(37,"div",59)(38,"button",60),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.moreFilters())}),e.DNE(39,qd,1,2,"img",61)(40,op,1,2,"img",61),e.EFF(41),e.nI1(42,"translate"),e.k0s()()()(),e.j41(43,"div",62)(44,"table",63)(45,"thead")(46,"tr",64)(47,"th",65),e.bIt("sort",function(r){e.eBV(t);const u=e.XpG(2);return e.Njj(u.onSort(r))}),e.EFF(48),e.nI1(49,"translate"),e.nrm(50,"span",66),e.k0s(),e.j41(51,"th",67),e.bIt("sort",function(r){e.eBV(t);const u=e.XpG(2);return e.Njj(u.onSort(r))}),e.EFF(52),e.nI1(53,"translate"),e.nrm(54,"span",66),e.k0s(),e.DNE(55,Zf,4,3,"th",68)(56,ap,4,3,"th",69),e.j41(57,"th",70),e.EFF(58),e.nI1(59,"translate"),e.k0s(),e.DNE(60,hb,6,4,"th",71),e.j41(61,"th",72),e.EFF(62),e.nI1(63,"translate"),e.k0s()()(),e.DNE(64,qI,2,1,"tbody",12)(65,KI,2,1,"tbody",12),e.k0s(),e.DNE(66,JI,2,1,"tfoot",73)(67,gb,8,7,"div",74),e.k0s(),e.bVm()}if(2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.detailsLoading),e.R7$(3),e.Y8G("ngClass",e.eq3(63,Rl,"actionsNeededByYouList"!==t.selectedTab)),e.R7$(),e.JRh(e.bMT(6,35,"search")),e.R7$(3),e.JRh(e.bMT(9,37,"filterBy")),e.R7$(3),e.FS9("placeholder",e.bMT(12,39,"searchPlaceholder")),e.R50("ngModel",t.searchText),e.Y8G("disabled",t.detailsLoading),e.BMQ("aria-label",e.bMT(13,41,"searchPlaceholder")),e.R7$(6),e.JRh(e.bMT(18,43,"filterBy")),e.R7$(3),e.JRh(e.bMT(21,45,"frequency")),e.R7$(2),e.R50("ngModel",t.selectedFrequency),e.Y8G("disabled",t.detailsLoading),e.R7$(2),e.JRh(e.bMT(25,47,"all")),e.R7$(2),e.Y8G("ngForOf",t.frequencyOptions),e.R7$(),e.Y8G("ngIf",t.isActionNeededByYouTab),e.R7$(3),e.JRh(e.bMT(31,49,"leaveReason")),e.R7$(2),e.R50("ngModel",t.selectedLeaveReason),e.Y8G("disabled",t.detailsLoading),e.R7$(2),e.JRh(e.bMT(35,51,"all")),e.R7$(2),e.Y8G("ngForOf",t.leaveReasonOptions),e.R7$(2),e.Y8G("disabled",t.detailsLoading||0===(null==t.metricDetails[t.selectedTab]?null:t.metricDetails[t.selectedTab].length)),e.R7$(),e.Y8G("ngIf",t.isBaseDomain()&&0===(null==t.metricDetails[t.selectedTab]?null:t.metricDetails[t.selectedTab].length)),e.R7$(),e.Y8G("ngIf",0!==(null==t.metricDetails[t.selectedTab]?null:t.metricDetails[t.selectedTab].length)),e.R7$(),e.SpI(" ",e.bMT(42,53,"moreFilters"),""),e.R7$(7),e.SpI(" ",e.bMT(49,55,"metricDetails.columns.employeeId")," "),e.R7$(4),e.SpI(" ",e.bMT(53,57,"metricDetails.columns.employeeName")," "),e.R7$(3),e.Y8G("ngIf",t.isActionNeededByYouTab),e.R7$(),e.Y8G("ngIf",t.isActionNeededByYouTab),e.R7$(2),e.SpI(" ",e.bMT(59,59,"leaveReason")," "),e.R7$(2),e.Y8G("ngIf",t.isActionNeededByYouTab),e.R7$(2),e.SpI(" ",e.bMT(63,61,"metricDetails.columns.actions")," "),e.R7$(2),e.Y8G("ngIf",t.detailsLoading),e.R7$(),e.Y8G("ngIf",!t.detailsLoading),e.R7$(),e.Y8G("ngIf",!t.detailsLoading),e.R7$(),e.Y8G("ngIf",!t.detailsLoading&&t.tableDataDisp.length>0)}}function bb(n,d){if(1&n&&(e.j41(0,"div",34),e.DNE(1,Jf,8,6,"div",35)(2,Xl,4,3,"div",36)(3,e_,68,65,"ng-container",12),e.k0s()),2&n){const t=e.XpG();
1e.Y8G("ngClass",e.lJ4(4,jI)),e.R7$(),e.Y8G("ngIf",!t.showNoMetricText),e.R7$(),e.Y8G("ngIf",!t.showNoMetricText&&t.detailsError),e.R7$(),e.Y8G("ngIf",!t.showNoMetricText&&!t.detailsError)}}function lp(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",102)(1,"div",103)(2,"ngb-pagination",104),e.nI1(3,"translate"),e.mxI("pageChange",function(r){e.eBV(t);const u=e.XpG(2);return e.DH7(u.page,r)||(u.page=r),e.Njj(r)}),e.bIt("pageChange",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.refreshTableData())}),e.k0s()(),e.j41(4,"div",105),e.EFF(5),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(2),e.Y8G("collectionSize",t.uniqueMetricsSize),e.R50("page",t.page),e.Y8G("pageSize",t.pageSize)("maxSize",10)("rotate",!0)("ellipses",!1)("boundaryLinks",!0),e.BMQ("aria-label",e.bMT(3,9,"ariaLabel.summaryTablePagination")),e.R7$(3),e.SpI(" ",t.showingOfText," ")}}function cp(n,d){if(1&n&&(e.j41(0,"div"),e.DNE(1,lp,6,11,"div",101),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.tableDataDisp.length>0)}}function dp(n,d){1&n&&(e.j41(0,"span",107)(1,"span",31),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.EFF(4),e.nI1(5,"translate"),e.k0s()),2&n&&(e.R7$(2),e.SpI("",e.bMT(3,2,"hrReviewNeeded"),":"),e.R7$(2),e.SpI(" ",e.bMT(5,4,"hrReviewNeededDetails")," "))}function ZI(n,d){1&n&&(e.j41(0,"span",107)(1,"span",31),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.EFF(4),e.nI1(5,"translate"),e.k0s()),2&n&&(e.R7$(2),e.SpI("",e.bMT(3,2,"eligibilityVerificationNeeded"),":"),e.R7$(2),e.SpI(" ",e.bMT(5,4,"eligibilityVerificationNeededDetails")," "))}function eD(n,d){1&n&&(e.j41(0,"span",107)(1,"div")(2,"span",31),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.EFF(5),e.nI1(6,"translate"),e.k0s(),e.j41(7,"div")(8,"span",31),e.EFF(9),e.nI1(10,"translate"),e.k0s(),e.EFF(11),e.nI1(12,"translate"),e.k0s()()),2&n&&(e.R7$(3),e.SpI("",e.bMT(4,4,"employerReviewNeededLeave"),":"),e.R7$(2),e.SpI(" ",e.bMT(6,6,"employerReviewNeededLeaveDetails")," "),e.R7$(4),e.SpI("",e.bMT(10,8,"employerReviewNeededWPA"),":"),e.R7$(2),e.SpI(" ",e.bMT(12,10,"employerReviewNeededWPADetails")," "))}function tD(n,d){if(1&n&&e.DNE(0,dp,6,6,"span",106)(1,ZI,6,6,"span",106)(2,eD,13,12,"span",106),2&n){const t=e.XpG();e.Y8G("ngIf",null==t.userInfo||null==t.userInfo.userPrivilege?null:t.userInfo.userPrivilege.allowLoggedUserApproveDenyHrReviewNeededLeaves),e.R7$(),e.Y8G("ngIf",null==t.userInfo||null==t.userInfo.userPrivilege?null:t.userInfo.userPrivilege.allowLoggedUserReviewEligibilityVerificationNeededLeaves),e.R7$(),e.Y8G("ngIf",null==t.userInfo||null==t.userInfo.userPrivilege?null:t.userInfo.userPrivilege.allowLoggedUserApproveDenyCoachingProcessLeaves)}}const Yh={asc:"desc",desc:"asc","":"asc"};let up=(()=>{class n{constructor(){this.sortable="",this.direction="",this.sort=new e.bkB}rotate(){this.direction=Yh[this.direction],this.sort.emit({column:this.sortable,direction:this.direction})}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275dir=e.FsC({type:n,selectors:[["th","sortable",""]],hostVars:4,hostBindings:function(i,r){1&i&&e.bIt("click",function(){return r.rotate()}),2&i&&e.AVh("asc","asc"===r.direction)("desc","desc"===r.direction)},inputs:{sortable:"sortable",direction:"direction"},outputs:{sort:"sort"}})}}return n})(),rk=(()=>{class n{constructor(t,i,r){this.calendar=t,this.formatter=i,this.domainConfigService=r,this.action=new e.bkB(!0),this.hoveredDate=null,this.selectedDate=t.getToday(),this.fromDate=t.getToday(),this.toDate=t.getNext(t.getToday(),"d",10)}ngOnInit(){if(this.config=new Yt.R(this.config),this.config.defaultSelectedDate){const t=new G.gj(this.config.defaultSelectedDate.getFullYear(),this.config.defaultSelectedDate.getMonth()+1,this.config.defaultSelectedDate.getDate());this.fromDate=t,this.toDate=t,this.selectedDate=t}else this.fromDate=this.calendar.getToday(),this.toDate=this.calendar.getToday(),this.selectedDate=this.calendar.getToday();this.isEspLocaleId=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)).localeId===p.YM.SPANISH_LOCALE_ID}onDateRangeSelection(t){this.fromDate||this.toDate?this.fromDate&&!this.toDate&&t&&t.after(this.fromDate)?this.toDate=t:(this.toDate=null,this.fromDate=t):this.fromDate=t}resetDates(){this.fromDate=this.calendar.getToday(),this.toDate=this.calendar.getToday()}isHovered(t){return this.fromDate&&!this.toDate&&this.hoveredDate&&t.after(this.fromDate)&&t.before(this.hoveredDate)}isInside(t){return this.toDate&&t.after(this.fromDate)&&t.before(this.toDate)}isRange(t){return t.equals(this.fromDate)||this.toDate&&t.equals(this.toDate)||this.isInside(t)||this.isHovered(t)}validateInput(t,i){const r=this.formatter.parse(i);return r&&this.calendar.isValid(G.gj.from(r))?G.gj.from(r):t}clickDone(){this.datepicker.close(),this.action.emit({action:Yt.kl.DATE_SELECTED,data:{fromDate:this.fromDate,toDate:this.toDate}})}
1static{this.\u0275fac=function(i){return new(i||n)(e.rXU(G.iF),e.rXU(G.tN),e.rXU(xe.K))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-date-picker"]],viewQuery:function(i,r){if(1&i&&e.GBs(ob,5),2&i){let u;e.mGM(u=e.lsd())&&(r.datepicker=u.first)}},inputs:{config:"config",readonly:"readonly"},outputs:{action:"action"},features:[e.Jv_([{provide:G.tN,useClass:b.ls},[b.F2,{provide:G.G7,useClass:b.Y7}]])],decls:28,vars:27,consts:[["datepicker","ngbDatepicker"],["dpFromDate",""],["dpToDate",""],["dayTemplate",""],["footerTemplate",""],[1,"datepicker",3,"ngClass"],[1,"row","row-cols-sm-auto"],[1,"col-12"],[1,"dp-hidden","position-absolute",3,"ngClass"],[1,"input-group","datePickerZIndex"],["name","datepicker","ngbDatepicker","","outsideDays","hidden","tabindex","-1","placement","top-end",1,"form-control","hide-border",3,"dateSelect","autoClose","displayMonths","dayTemplate","startDate","footerTemplate","firstDayOfWeek","minDate","maxDate"],["placeholder","yyyy-mm-dd","name","dpFromDate",1,"form-control","d-none",3,"input","value"],["type","button",1,"btn","btn-outline-secondary","dateRangeBtn",3,"click","disabled"],["alt","","aria-hidden","true","src","./assets/baseResources/gfx/redesignIcons/calendar.svg","id","redesignViewLeaveReqImg",1,"calendar-icon"],[1,"datePickerLabel"],[1,"col-12","d-none"],["placeholder","yyyy-mm-dd","name","dpToDate",1,"form-control",3,"input","value"],["role","button","aria-label","toggle date picker","type","button","tabindex","0",1,"btn","btn-outline-secondary",3,"click"],[1,"custom-day",3,"mouseenter","mouseleave"],[1,"reset-btn",3,"click"],["class","dp-footer",4,"ngIf"],[1,"dp-footer"],[1,"footer-text"],[1,"footer-btn",3,"click"]],template:function(i,r){if(1&i){const u=e.RV6();e.j41(0,"div",5)(1,"form",6),e.qex(2),e.j41(3,"div",7)(4,"div",8)(5,"div",9)(6,"input",10,0),e.nI1(8,"translate"),e.bIt("dateSelect",function(V){return e.eBV(u),e.Njj(r.onDateRangeSelection(V))}),e.k0s()()(),e.j41(9,"div",9)(10,"input",11,1),e.nI1(12,"translate"),e.bIt("input",function(){e.eBV(u);const V=e.sdS(11);return e.Njj(r.fromDate=r.validateInput(r.fromDate,V.value))}),e.k0s(),e.j41(13,"button",12),e.bIt("click",function(){e.eBV(u);const V=e.sdS(7);return e.Njj(V.toggle())}),e.nrm(14,"img",13),e.j41(15,"label",14),e.EFF(16),e.nI1(17,"translate"),e.k0s()()()(),e.j41(18,"div",15)(19,"div",9)(20,"input",16,2),e.nI1(22,"translate"),e.bIt("input",function(){e.eBV(u);const V=e.sdS(21);return e.Njj(r.toDate=r.validateInput(r.toDate,V.value))}),e.k0s(),e.j41(23,"button",17),e.bIt("click",function(){e.eBV(u);const V=e.sdS(7);return e.Njj(V.toggle())}),e.k0s()()(),e.bVm(),e.k0s(),e.DNE(24,OI,2,7,"ng-template",null,3,e.C5r)(26,FI,4,4,"ng-template",null,4,e.C5r),e.k0s()}if(2&i){const u=e.sdS(25),v=e.sdS(27);e.Y8G("ngClass",e.eq3(25,NI,null==r.config?null:r.config.enableDateRange)),e.R7$(4),e.Y8G("ngClass",r.isEspLocaleId?"dateRangeTitleEsp":"dateRangeTitle"),e.R7$(2),e.Y8G("autoClose","outside")("displayMonths",2)("dayTemplate",u)("startDate",r.fromDate)("footerTemplate",v)("firstDayOfWeek",7)("minDate",r.config.minDate)("maxDate",r.config.maxDate),e.BMQ("aria-label",e.bMT(8,17,"ariaLabel.selectDateRange")),e.R7$(4),e.Y8G("value",r.formatter.format(r.fromDate)),e.BMQ("aria-label",e.bMT(12,19,"ariaLabel.dateRangeStart")),e.R7$(3),e.Y8G("disabled",r.readonly),e.R7$(3),e.JRh(e.bMT(17,21,"submitDecision.dateRange")),e.R7$(4),e.Y8G("value",r.formatter.format(r.toDate)),e.BMQ("aria-label",e.bMT(22,23,"ariaLabel.dateRangeEnd"))}},dependencies:[ie.YU,ie.bT,ge.qT,ge.cb,ge.cV,G.cw,Y.D9],encapsulation:2})}}return n})(),nD=(()=>{class n{constructor(t,i,r,u,v,V,Ce,it){this.translate=t,this.service=i,this.userService=r,this.router=u,this.modalService=v,this.eventService=V,this.leaveReqService=Ce,this.domainConfigService=it,this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)),this.page=1,this.pageSize=10,this.summaryItemNumberStart=1,this.metricDetails=new Yt.LM,this.data=history.state.data,this.searchText="",this.requestBody=new Yt.jv,this.selectedFrequency=p.YM.ALL,this.selectedLeaveReason=p.YM.ALL,this.selectedRequestType=p.YM.ALL,this.leaveReasonCodeMap=new Map,this.frequencyCodeMap=new Map,this.tileRevealOrder=[p.YM.EMPLOYEES_ABSENT,p.YM.EMPLOYEES_WITH_APPROVED_LEAVE,p.YM.EMPLOYEES_WITH_PENDING_LEAVE,p.YM.LEAVES_ENDING,p.YM.ACTIONS_NEEDED_BY_YOU],this.SUMMARY_CACHE_TTL_MS=3e5,this.revealedTiles=new Set,this.revealTimers=[],this.countsRequestId=0,this.subscriptions=new Od.yU,this.loadedCategoryData=new Map,this.DETAILS_SLOW_LOAD_THRESHOLD_MS=3e3,this.skeletonRows=new Array(10),this.tabToMetricType={employeesAbsentList:p.YM.EMPLOYEES_ABSENT,employeesWithApprovedLeaveList:p.YM.EMPLOYEES_WITH_APPROVED_LEAVE,employeesWithPendingLeaveList:p.YM.EMPLOYEES_WITH_PENDING_LEAVE,leavesEndingList:p.YM.LEAVES_ENDING,actionsNeededByYouList:p.YM.ACTIONS_NEEDED_BY_YOU},this.detailsRequestId=0}ngOnInit(){this.absenceResource=!se.z.isDomainBlockedFromRedesignUpdates(),this.showNoMetricText=!0;const t=on().subtract(90,"days").toDate(),i=on().add(90,"day").toDate(),r={year:t.getFullYear(),month:t.getMonth()+1,day:t.getDate()},u={year:i.getFullYear(),month:i.getMonth()+1,day:i.getDate()};this.domainResourcePath=se.z.getBaseResourcePath(),this.datePickerConfig=new Yt.R({minDate:r,maxDate:u,defaultSelectedDate:new Date,footerText:this.translate.instant("datepicker.footertext"),footerVisibility:!0,enableDateRange:!0});const v=this.userInfo.userPrivilege.superUser;this.showMyTeam=v&&this.userInfo.webEmployerContact,v&&(this.metricFor=p.YM.ORGANIZATION),this.userInfo.userPrivilege.mgrOrHR&&
1!v&&(this.metricFor=p.YM.CONTACT_PERSON),this.leaveReqService.getCodeMap("LeaveReasonMap").subscribe(V=>{const Ce=new Map(Object.entries(V));this.leaveReasonCodeMap=new Map(Object.entries(Ce.get("LeaveReasonMap")))}),this.leaveReqService.getCodeMap("FrequencyCodeMap").subscribe(V=>{const Ce=new Map(Object.entries(V));this.frequencyCodeMap=new Map(Object.entries(Ce.get("FrequencyCodeMap")))}),this.fromDate=on().format("DD-MMM-YYYY"),this.toDate=on().format("DD-MMM-YYYY"),this.eventService.logEvent(p.sb.VIEW_DASHBOARD,p.sb.MY_ABSENCES_MGR_EVENT_MSG,this.userInfo.employeeSystemId.toString()),this.getMetricCounts()}ngOnDestroy(){this.clearPendingRevealTimers(),this.clearDetailsSlowLoadTimer(),this.subscriptions.unsubscribe()}getMetricCounts(){this.clearPendingRevealTimers(),this.countsLoading=!0,this.countsError=!1,this.revealedTiles=new Set;const t=++this.countsRequestId;this.subscriptions.add(this.service.getMetricCounts(this.buildCountsRequestBody(!1)).subscribe(i=>{if(t===this.countsRequestId){if(this.countsLoading=!1,i&&i.errorMessage)return this.logDashboardFailure(i.errorMessage),void(this.countsError=!0);this.countsFetchedAt=Date.now(),this.metricCounts=i,this.scheduleTileReveal()}},i=>{if(t!==this.countsRequestId)return;let r=p.sb.MGR_DASHBOARD_FAILED_MSG;i.error&&i.error.errorMessage&&(r=r+". Error: "+i.error.errorMessage),this.eventService.logEvent(p.sb.VIEW_DASHBOARD,r,this.userInfo.employeeSystemId.toString()),this.countsLoading=!1,this.countsError=!0}))}refreshCountsIfStale(){if(!this.countsFetchedAt||Date.now()-this.countsFetchedAt<this.SUMMARY_CACHE_TTL_MS)return;const t=++this.countsRequestId;this.subscriptions.add(this.service.getMetricCounts(this.buildCountsRequestBody(!0)).subscribe(i=>{if(t===this.countsRequestId){if(this.countsLoading=!1,i&&i.errorMessage)return void this.logDashboardFailure(i.errorMessage);this.countsFetchedAt=Date.now(),this.metricCounts=i}},i=>{if(t!==this.countsRequestId)return;this.countsLoading=!1;let r=p.sb.MGR_DASHBOARD_FAILED_MSG;i.error&&i.error.errorMessage&&(r=r+". Error: "+i.error.errorMessage),this.eventService.logEvent(p.sb.VIEW_DASHBOARD,r,this.userInfo.employeeSystemId.toString())}))}buildCountsRequestBody(t){const i=on().subtract(90,"days").format("DD-MMM-YYYY"),r=on().add(5,"years").format("DD-MMM-YYYY"),u={metricTypeEnum:p.YM.EMPLOYEES_ABSENT,startDate:this.fromDate,endDate:this.toDate},v={metricTypeEnum:p.YM.EMPLOYEES_WITH_APPROVED_LEAVE,startDate:this.fromDate,endDate:this.toDate},V={metricTypeEnum:p.YM.EMPLOYEES_WITH_PENDING_LEAVE,startDate:this.fromDate,endDate:this.toDate},Ce={metricTypeEnum:p.YM.LEAVES_ENDING,startDate:this.fromDate,endDate:this.toDate},it={metricTypeEnum:p.YM.ACTIONS_NEEDED_BY_YOU,startDate:i,endDate:r};return this.requestBody.metricFor=this.metricFor,this.requestBody.requestedMetrics=[u,v,V,Ce,it],this.requestBody.forceRefresh=t,this.requestBody}scheduleTileReveal(){this.tileRevealOrder.forEach((t,i)=>{this.revealTimers.push(setTimeout(()=>this.revealedTiles.add(t),150*i))})}clearPendingRevealTimers(){this.revealTimers.forEach(t=>clearTimeout(t)),this.revealTimers=[]}selectMyTeam(t){t?(this.eventService.logEvent(p.sb.VIEW_DASHBOARD,p.sb.MGR_DASHBOARD_FOR_MY_TEAM_MSG,this.userInfo.employeeSystemId.toString()),this.metricFor=p.YM.CONTACT_PERSON):this.metricFor=p.YM.ORGANIZATION,this.loadedCategoryData.clear(),this.selectedTab=void 0,this.closeDetails(),this.getMetricCounts(),this.refreshTableData()}actionHandler(t){this.actionInfo=t,this.showNoMetricText=!0,this.toDate=this.actionInfo.data.toDate?on(new Date(this.actionInfo.data.toDate.year,this.actionInfo.data.toDate.month-1,this.actionInfo.data.toDate.day)).format("DD-MMM-YYYY"):on(new Date(this.actionInfo.data.fromDate.year,this.actionInfo.data.fromDate.month-1,this.actionInfo.data.fromDate.day)).format("DD-MMM-YYYY"),this.fromDate=this.actionInfo.data.fromDate?on(new Date(this.actionInfo.data.fromDate.year,this.actionInfo.data.fromDate.month-1,this.actionInfo.data.fromDate.day)).format("DD-MMM-YYYY"):on(new Date(this.actionInfo.data.toDate.year,this.actionInfo.data.toDate.month-1,this.actionInfo.data.toDate.day)).format("DD-MMM-YYYY"),(this.fromDate||this.toDate)&&(this.eventService.logEvent(p.sb.VIEW_DASHBOARD,p.sb.MGR_DASHBOARD_FOR_DATE_RANGE_MSG,this.userInfo.employeeSystemId.toString()),this.loadedCategoryData.clear(),this.selectedTab=void 0,this.closeDetails(),this.getMetricCounts())}selectSummaryTab(t,i){if(!t&&!i)return void(this.showNoMetricText=!1);this.selectedFrequency=p.YM.ALL,this.selectedLeaveReason=p.YM.ALL,this.searchText="",this.pageSize=10,this.page=1,this.showNoMetricText=!1,this.selectedTab=t,this.selectedFilters=[],this.detailsError=!1,this.refreshCountsIfStale();const r=this.loadedCategoryData.get(t);if(r&&Date.now()-r.fetchedAt<this.SUMMARY_CACHE_TTL_MS)return this.detailsLoading=!1,this.clearDetailsSlowLoadTimer(),this.metricDetails[t]=r.data,void this.renderSelectedTabData(t,i);this.detailsLoading=!0,this.fetchCategoryDetails(t,!!r,i)}detailsContextKey(){return`${this.metricFor}|${this.fromDate}|${this.toDate}`}fetchCategoryDetails(t,i,r){this.startDetailsSlowLoadTimer();const u=this.detailsContextKey(),v=++this.detailsRequestId,V=this.tabToMetricType[t],Ce=V===p.YM.ACTIONS_NEEDED_BY_YOU,it=Ce?on().subtract(90,"days").format("DD-MMM-YYYY"):this.fromDate,At=Ce?on().add(5,"years").format("DD-MMM-YYYY"):this.toDate,Ot=new Yt.jv;
1Ot.metricFor=this.metricFor,Ot.requestedMetrics=[{metricTypeEnum:V,startDate:it,endDate:At}],Ot.forceRefresh=i,this.subscriptions.add(this.service.getDashboardMetrics(Ot).subscribe(Jt=>{if(u!==this.detailsContextKey())return;if(Jt&&Jt.errorMessage){if(v!==this.detailsRequestId||this.selectedTab!==t)return;return this.clearDetailsSlowLoadTimer(),this.logDashboardFailure(Jt.errorMessage),this.detailsLoading=!1,void(this.detailsError=!0)}const wn=Jt[t];this.loadedCategoryData.set(t,{data:wn,fetchedAt:Date.now()}),this.metricDetails[t]=wn,v===this.detailsRequestId&&this.selectedTab===t&&(this.clearDetailsSlowLoadTimer(),this.detailsLoading=!1,this.detailsError=!1,this.renderSelectedTabData(t,r))},Jt=>{if(v!==this.detailsRequestId||u!==this.detailsContextKey()||this.selectedTab!==t)return;this.clearDetailsSlowLoadTimer();let wn=p.sb.MGR_DASHBOARD_FAILED_MSG;Jt.error&&Jt.error.errorMessage&&(wn=wn+". Error: "+Jt.error.errorMessage),this.eventService.logEvent(p.sb.VIEW_DASHBOARD,wn,this.userInfo.employeeSystemId.toString()),this.detailsLoading=!1,this.detailsError=!0}))}logDashboardFailure(t){this.eventService.logEvent(p.sb.VIEW_DASHBOARD,p.sb.MGR_DASHBOARD_FAILED_MSG+". Error: "+t,this.userInfo.employeeSystemId.toString())}startDetailsSlowLoadTimer(){this.clearDetailsSlowLoadTimer(),this.detailsSlowLoadTimer=setTimeout(()=>{this.detailsSlowLoad=!0},this.DETAILS_SLOW_LOAD_THRESHOLD_MS)}clearDetailsSlowLoadTimer(){clearTimeout(this.detailsSlowLoadTimer),this.detailsSlowLoad=!1}renderSelectedTabData(t,i){this.tableData=this.metricDetails[t],this.isActionNeededByYouTab=t===p.YM.ACTION_NEEDED_BY_YOU_LIST,this.noResultText=this.translate.instant("metrics.noResultText")+this.translate.instant(i),this.updateMetricLeaveReasonDescriptionByLocale(),this.updateMetricFrequencyDescriptionByLocale(),this.updateMetricRequestTypeByLocale(),this.frequencyOptions=[...new Set(this.tableData.map(r=>r.leaveActionFrequencyCodeDesc).filter(r=>null!==r&&""!==r.trim()))],this.leaveReasonOptions=[...new Set(this.tableData.map(r=>r.leaveReasonCodeDesc).filter(r=>null!==r&&""!==r.trim()))],this.showLeaveRequestType=this.tableData.some(r=>null!=r.leaveRequestId),this.showWpaRequestType=this.tableData.some(r=>null!=r.wpaId),this.refreshTableData(),this.updatedSummaryData=this.tableData,this.eventService.logEvent(p.sb.VIEW_DASHBOARD,p.sb.VIEW_PORTAL_METRIC_DETAILS_MSG,this.translate.instant(i))}updateMetricLeaveReasonDescriptionByLocale(){this.tableData&&this.leaveReasonCodeMap&&this.leaveReasonCodeMap.forEac
1h((t,i)=>{this.tableData.forEach(r=>{r.leaveReasonCodeId===+i&&p.YM.SPANISH_LOCALE_ID===this.userInfo.localeId?r.leaveReasonCodeDesc=t.displayValueEsp:r.leaveReasonCodeId===+i&&p.YM.ENGLISH_LOCALE_ID===this.userInfo.localeId&&(r.leaveReasonCodeDesc=t.displayValueEng)})})}updateMetricFrequencyDescriptionByLocale(){this.tableData&&this.frequencyCodeMap&&this.frequencyCodeMap.forEach((t,i)=>{this.tableData.forEach(r=>{r.leaveActionFrequencyCodeId===+i&&p.YM.SPANISH_LOCALE_ID===this.userInfo.localeId?r.leaveActionFrequencyCodeDesc=t.displayValueEsp:r.leaveActionFrequencyCodeId===+i&&p.YM.ENGLISH_LOCALE_ID===this.userInfo.localeId&&(r.leaveActionFrequencyCodeDesc=t.displayValueEng)})})}updateMetricRequestTypeByLocale(){this.tableData&&this.tableData.forEach(t=>{t.leaveRequestId?t.requestType=this.translate.instant("myAbsences.viewLeave.leave"):t.wpaId&&(t.requestType=this.translate.instant("workplaceAccommodation"))})}workOnBehalf(t,i,r){if(!t)return;this.userService.isWob.subscribe(v=>{this.isWob=v});const u=new Yt.EK(t);this.userService.workOnBehalf(u).subscribe(v=>{v&&this.userService.getUserInfo().subscribe(V=>{sessionStorage.setItem(p.YM.USER_INFO,JSON.stringify(V)),this.userService.isWob.next(V.wob),this.router.navigateByUrl(i?"leaveDetails?leaveID="+i+"&mapTypes=lrHCPSpecialtyMap,DecisionReasonDeniedMap,DecisionReasonCancelledMap,LeaveDecisionStatusMap":r?"viewWorkplaceAccommodation?workplaceAccommodationId="+r+"&mapTypes=WorkplaceAccommodationTypeMap,DecisionReasonDeniedMap,DecisionReasonCancelledMap,LeaveDecisionStatusMap,lrHCPSpecialtyMap":"absences")})})}onKeyDown(t){if("Enter"===t.key||" "===t.key){const i=document.activeElement;"TH"===i.nodeName&&(t.preventDefault(),i.dispatchEvent(new MouseEvent("click")))}}onSort(t){const i=t.column,r=t.direction;this.headers.forEach(u=>{u.sortable!==i&&(u.direction="")}),this.tableData=""===i||""===r?this.tableData:[...this.tableData].sort((u,v)=>{const V=((n,d)=>n<d?-1:n>d?1:0)(u[i],v[i]);return"asc"===r?V:-V}),this.refreshTableData()}refreshTableData(){this.tableDataDisp=[];let t=[];this.tableData&&(t=this.isActionNeededByYouTab?[...new Map(this.tableData.map(i=>[i.leaveRequestId+"-"+i.wpaId,i])).values()]:[...new Map(this.tableData.map(i=>[i.employeeNumber,i])).values()],this.uniqueMetricsSize=t.length,this.tableDataDisp=t.map((i,r)=>({id:r+1,...i})).slice((this.page-1)*this.pageSize,(this.page-1)*this.pageSize+this.pageSize),this.summaryItemNumberStart=(this.page-1)*this.pageSize+1,this.summaryItemNumberEnd=t.length<this.pageSize*this.page?t.length:this.pageSize*this.page,this.frequencyOptions=[...new Set(t.map(i=>i.leaveActionFrequencyCodeDesc).filter(i=>null!=i&&""!==i.trim()))],this.leaveReasonOptions=[...new Set(t.map(i=>i.leaveReasonCodeDesc).filter(i=>null!==i&&""!==i.trim()))]),this.showingOfText=this.translate.instant("showingOf",{start:this.summaryItemNumberStart,end:this.summaryItemNumberEnd,total:t.length})}closeDetails(){this.selectSummaryTab("",""),this.showNoMetricText=!0,this.detailsError=!1}getDecisionReasons(t){const i={desc1:t.leaveActionDecisionReason1Desc?this.translate.instant("leaveActionDecisionReason1Desc"):null,desc2:t.leaveActionDecisionReason2Desc?this.translate.instant("leaveActionDecisionReason2Desc"):null,desc3:t.leaveActionDecisionReason3Desc?this.translate.instant("leaveActionDecisionReason3Desc"):null},r={desc1:t.wpaDecisionReason1Desc?this.translate.instant("wpaDecisionReason1Desc"):null,desc2:t.wpaDecisionReason2Desc?this.translate.instant("wpaDecisionReason2Desc"):null,desc3:t.wpaDecisionReason3Desc?this.translate.instant("wpaDecisionReason3Desc"):null};return t.leaveRequestId?Object.values(i).filter(Boolean).join(","):Object.values(r).filter(Boolean).join(",")}buildEmployeeGroupFilter(t,i){return[...new Set(t.map(u=>u[i]))].filter(u=>null!==u).map(u=>({name:u,value:u})).sort((u,v)=>u.name.localeCompare(v.name))}showActionNeededByYouTab(){return this.userInfo.userPrivilege.allowLoggedUserApproveDenyHrReviewNeededLeaves||this.userInfo.userPrivilege.allowLoggedUserApproveDenyCoachingProcessLeaves||this.userInfo.userPrivilege.allowLoggedUserReviewEligibilityVerificationNeededLeaves}moreFilters(){const t=this.modalService.open(xI,{centered:!0,windowClass:"more-filters-modal"}),i=this.metricDetails[this.selectedTab];let r=[];function u(Un,ys){return Un.filter((_r,eo)=>null!==_r[ys]&&Un.findIndex(is=>_r[ys]===is[ys])===eo).sort((_r,eo)=>
1_r[ys].localeCompare(eo[ys])).reduce((_r,eo)=>{const is=eo[ys][0];return _r[is]?_r[is].options.push({name:eo[ys],value:eo[ys]}):_r[is]={group:is,options:[{name:eo[ys],value:eo[ys]}]},_r},{})}function v(Un,ys){return Un.filter((eo,is)=>null!==eo[ys]&&Un.findIndex(Xs=>eo[ys]===Xs[ys])===is).sort((eo,is)=>is[ys].localeCompare(eo[ys])).reduce((eo,is)=>{const Xs="1"===is[ys]?"Y":"N",pT="1"===is[ys]?"Yes":"No";return eo[Xs]?eo[Xs].options.push({name:pT,value:is[ys]}):eo[Xs]={group:Xs,options:[{name:pT,value:is[ys]}]},eo},{})}r=this.isActionNeededByYouTab?[...new Map(i.map(Un=>[`${Un.leaveRequestId}_${Un.wpaId}`,Un])).values()]:[...new Map(i.map(Un=>[Un.employeeNumber,Un])).values()];const V=u(r,"businessUnitName"),Ce=u(r.filter(Un=>null!==Un.subBusinessUnitName),"subBusinessUnitName"),it=u(r,"locationName"),At=u(r.filter(Un=>Un.orgParentId===this.userInfo.accountId&&null!==Un.orgName),"orgName"),Ot=v(r.filter(Un=>null!==Un.workersCompInd),"workersCompInd"),Jt=v(r.filter(Un=>null!==Un.hrVerifiedWorkerCompInd),"hrVerifiedWorkerCompInd");let wn=[];const ns=[{group:r.filter(Un=>null!==Un.employeeGroup1Label).map(Un=>Un.employeeGroup1Label)[0],options:this.buildEmployeeGroupFilter(r,"employeeGroup1Desc")},{group:r.filter(Un=>null!==Un.employeeGroup2Label).map(Un=>Un.employeeGroup2Label)[0],options:this.buildEmployeeGroupFilter(r,"employeeGroup2Desc")},{group:r.filter(Un=>null!==Un.employeeGroup3Label).map(Un=>Un.employeeGroup3Label)[0],options:this.buildEmployeeGroupFilter(r,"employeeGroup3Desc")},{group:r.filter(Un=>null!==Un.employeeGroup4Label).map(Un=>Un.employeeGroup4Label)[0],options:this.buildEmployeeGroupFilter(r,"employeeGroup4Desc")},{group:r.filter(Un=>null!==Un.employeeGroup5Label).map(Un=>Un.employeeGroup5Label)[0],options:this.buildEmployeeGroupFilter(r,"employeeGroup5Desc")},{group:r.filter(Un=>null!==Un.employeeGroup6Label).map(Un=>Un.employeeGroup6Label)[0],options:this.buildEmployeeGroupFilter(r,"employeeGroup6Desc")},{group:r.filter(Un=>null!==Un.employeeGroup7Label).map(Un=>Un.employeeGroup7Label)[0],options:this.buildEmployeeGroupFilter(r,"employeeGroup7Desc")},{group:r.filter(Un=>null!==Un.employeeGroup8Label).map(Un=>Un.employeeGroup8Label)[0],options:this.buildEmployeeGroupFilter(r,"employeeGroup8Desc")}],yo={id:"sub_account",icon:"./assets/baseResources/icon-filter_subAccount.png",name:this.translate.instant("subAccount"),notificationCount:0,optionType:Yt.CN.HEADER,options:Object.values(At)},Zo={id:"employee_groups",icon:"./assets/baseResources/icon-filter_employee-groups.png",name:this.translate.instant("employeeGroups"),notificationCount:0,optionType:Yt.CN.ACCORDIAN,options:ns.filter(Un=>Un.options.length>0)},cd={id:"businessUnitName",icon:"./assets/baseResources/icon-filter_business_unit.png",name:this.translate.instant("label.businessUnit"),notificationCount:0,optionType:Yt.CN.HEADER,options:Object.values(V)};Object.values(At).length>0&&wn.push(yo),Object.values(V).length>0&&wn.push(cd);const cT={id:"subBusinessUnitName",icon:"./assets/baseResources/icon-filter_organization.png",name:this.translate.instant("label.organization"),notificationCount:0,optionType:Yt.CN.HEADER,options:Object.values(Ce)};Object.values(Ce).length>0&&wn.push(cT);const dT={id:"locationName",icon:"./assets/baseResources/icon-filter_location.png",name:this.translate.instant("label.location"),notificationCount:0,optionType:Yt.CN.HEADER,options:Object.values(it)};Object.values(it).length>0&&wn.push(dT),ns.filter(Un=>Un.options.length>0).length>0&&wn.push(Zo);const uT={id:"workersCompInd",icon:"./assets/baseResources/icon-filter_EmployeeReportedWC.png",name:this.translate.instant("label.empReportedWorkCompRelated"),notificationCount:0,optionType:Yt.CN.HEADER,options:Object.values(Ot)};Object.values(Ot).length>0&&wn.push(uT);const Gg={id:"hrVerifiedWorkerCompInd",icon:"./assets/baseResources/icon-filter_EmployerVerifiedWC.png",name:this.translate.instant("label.employerVerifiedWorkCompRelated"),notificationCount:0,optionType:Yt.CN.HEADER,options:Object.values(Jt)};Object.values(Jt).length>0&&wn.push(Gg),this.selectedFilters?.some(Un=>Un.notificationCount>0)&&(wn=this.selectedFilters),t.componentInstance.filterOptions=wn,t.result.then(Un=>{if(this.selectedFilters=Un,Un?.some(ys=>ys.notificationCount>0)){const ys=Un.filter(is=>is.notificationCount>0).reduce((is,Xs)=>(is[Xs.id]=Xs.options.map(pT=>pT.options.filter(vO=>vO.checked)),is),{}),_r={},eo=Object.keys(ys);for(const is of eo)"employee_groups"===is?(_r.employeeGroup1Desc=ys[is][0]?.flat().map(Xs=>Xs.value),_r.employeeGroup2Desc=ys[is][1]?.flat().map(Xs=>Xs.value),_r.employeeGroup3Desc=ys[is][2]?.flat().map(Xs=>Xs.value),_r.employeeGroup4Desc=ys[is][3]?.flat().map(Xs=>Xs.value),_r.employeeGroup5Desc=ys[is][4]?.flat().map(Xs=>Xs.value),_r.employeeGroup6Desc=ys[is][5]?.flat().map(Xs=>Xs.value),_r.employeeGroup7Desc=ys[is][6]?.flat().map(Xs=>Xs.value),_r.employeeGroup8Desc=ys[is][7]?.flat().map(Xs=>Xs.value)):"sub_account"===is?_r.orgName=ys[is]?.flat().map(Xs=>Xs.value):_r[is]=ys[is].flat().map(Xs=>Xs.value);Object.keys(_r).forEach(is=>void 0===_r[is]&&delete _r[is]),this.selectedMoreFilters=_r,this.eventService.logEvent(p.sb.VIEW_DASHBOARD,p.sb.MGR_DASHBOARD_FILTERS_USED_FOR_MSG,this.userInfo.employeeSystemId.toString())}else this.selectedMoreFilters={};this.handleFrequencyFilter(this.selectedFrequency)})}handleFrequencyFilter(t){this.selectedFrequency=t;let i=[];if(i=this.metricDetails[this.selectedTab],this.selectedFilters?.some(r=>r.notificationCount>0)){const r=[];
1Object.entries(this.selectedMoreFilters).forEach(([v,V])=>{if(V){const Ce=i.filter(it=>V.includes(it[v]));r.push(...Ce)}}),i=r}t!==p.YM.ALL&&(this.tableData=i.filter(this.selectedLeaveReason!==p.YM.ALL&&this.selectedRequestType!==p.YM.ALL?r=>r.leaveActionFrequencyCodeDesc===t&&r.requestType===this.selectedRequestType&&r.leaveReasonCodeDesc===this.selectedLeaveReason:this.selectedLeaveReason!==p.YM.ALL&&this.selectedRequestType===p.YM.ALL?r=>r.leaveActionFrequencyCodeDesc===t&&r.leaveReasonCodeDesc===this.selectedLeaveReason:this.selectedLeaveReason===p.YM.ALL&&this.selectedRequestType!==p.YM.ALL?r=>r.leaveActionFrequencyCodeDesc===t&&r.requestType===this.selectedRequestType:r=>r.leaveActionFrequencyCodeDesc===t)),t===p.YM.ALL&&""!==this.searchText&&(this.tableData=this.handleEmployeeSearchWithFilter(i)),t===p.YM.ALL&&""===this.searchText&&(this.tableData=this.selectedLeaveReason!==p.YM.ALL&&this.selectedRequestType!==p.YM.ALL?i.filter(r=>r.leaveReasonCodeDesc===this.selectedLeaveReason&&r.requestType===this.selectedRequestType):this.selectedLeaveReason!==p.YM.ALL&&this.selectedRequestType===p.YM.ALL?i.filter(r=>r.leaveReasonCodeDesc===this.selectedLeaveReason):this.selectedLeaveReason===p.YM.ALL&&this.selectedRequestType!==p.YM.ALL?i.filter(r=>r.requestType===this.selectedRequestType):i),this.updatedSummaryData=this.tableData,this.page=1,this.refreshTableData()}handleLeaveReasonFilter(t){this.selectedLeaveReason=t;let i=[];if(i=this.metricDetails[this.selectedTab],this.selectedFilters?.some(r=>r.notificationCount>0)){const r=[];Object.entries(this.selectedMoreFilters).forEach(([v,V])=>{if(V){const Ce=i.filter(it=>V.includes(it[v]));r.push(...Ce)}}),i=r}t!==p.YM.ALL&&(this.tableData=i.filter(this.selectedFrequency!==p.YM.ALL&&this.selectedRequestType!==p.YM.ALL?r=>r.leaveReasonCodeDesc===t&&r.requestType===this.selectedRequestType&&r.leaveActionFrequencyCodeDesc===this.selectedFrequency:this.selectedFrequency!==p.YM.ALL&&this.selectedRequestType===p.YM.ALL?r=>r.leaveReasonCodeDesc===t&&r.leaveActionFrequencyCodeDesc===this.selectedFrequency:this.selectedFrequency===p.YM.ALL&&this.selectedRequestType!==p.YM.ALL?r=>r.leaveReasonCodeDesc===t&&r.requestType===this.selectedRequestType:r=>r.leaveReasonCodeDesc===t)),t===p.YM.ALL&&""!==this.searchText&&(this.tableData=this.handleEmployeeSearchWithFilter(i)),t===p.YM.ALL&&""===this.searchText&&(this.tableData=this.selectedFrequency!==p.YM.ALL&&this.selectedRequestType!==p.YM.ALL?i.filter(r=>r.leaveActionFrequencyCodeDesc===this.selectedFrequency&&r.requestType===this.selectedRequestType):this.selectedFrequency!==p.YM.ALL&&this.selectedRequestType===p.YM.ALL?i.filter(r=>r.leaveActionFrequencyCodeDesc===this.selectedFrequency):this.selectedFrequency===p.YM.ALL&&this.selectedRequestType!==p.YM.ALL?i.filter(r=>r.requestType===this.selectedRequestType):i),this.updatedSummaryData=this.tableData,this.page=1,this.refreshTableData()}handleRequestTypeFilter(t){this.selectedRequestType=t;let i=[];if(i=this.metricDetails[this.selectedTab],this.selectedFilters?.some(r=>r.notificationCount>0)){const r=[];Object.entries(this.selectedMoreFilters).forEach(([v,V])=>{if(V){const Ce=i.filter(it=>V.includes(it[v]));r.push(...Ce)}}),i=r}t!==p.YM.ALL&&(this.tableData=i.filter(this.selectedLeaveReason!==p.YM.ALL&&this.selectedFrequency!==p.YM.ALL?r=>r.requestType===t&&r.leaveReasonCodeDesc===this.selectedLeaveReason&&r.leaveActionFrequencyCodeDesc===this.selectedFrequency:this.selectedLeaveReason!==p.YM.ALL&&this.selectedFrequency===p.YM.ALL?r=>r.requestType===t&&r.leaveReasonCodeDesc===this.selectedLeaveReason:this.selectedLeaveReason===p.YM.ALL&&this.selectedFrequency!==p.YM.ALL?r=>r.requestType===t&&r.leaveActionFrequencyCodeDesc===this.selectedFrequency:r=>r.requestType===t)),t===p.YM.ALL&&""!==this.searchText&&(this.tableData=this.handleEmployeeSearchWithFilter(i)),t===p.YM.ALL&&""===this.searchText&&(this.tableData=this.selectedFrequency!==p.YM.ALL&&this.selectedLeaveReason!==p.YM.ALL?i.filter(r=>r.leaveActionFrequencyCodeDesc===this.selectedFrequency&&r.leaveReasonCodeDesc===this.selectedLeaveReason):this.selectedFrequency!==p.YM.ALL&&this.selectedLeaveReason===p.YM.ALL?i.filter(r=>
1r.leaveReasonCodeDesc===this.selectedLeaveReason):this.selectedFrequency===p.YM.ALL&&this.selectedLeaveReason!==p.YM.ALL?i.filter(r=>r.leaveActionFrequencyCodeDesc===this.selectedFrequency):i),this.updatedSummaryData=this.tableData,this.page=1,this.refreshTableData()}handleEmployeeSearchWithFilter(t){return t.filter(i=>i.employeeNumber.toLocaleLowerCase().match(this.searchText)||i.employeeFullName.toLocaleLowerCase().match(this.searchText))}Search(){const t=this.updatedSummaryData;""===this.searchText&&(this.tableData=t),""!==this.searchText&&(this.tableData=t.filter(i=>i.employeeNumber.toLocaleLowerCase().match(this.searchText.toLocaleLowerCase())||i.employeeFullName.toLocaleLowerCase().match(this.searchText.toLocaleLowerCase()))),this.page=1,this.refreshTableData()}isBaseDomain(){return this.domainConfigService.isBaseDomain}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(Y.c$),e.rXU(M.HI),e.rXU(M.DL),e.rXU(q.Ix),e.rXU(G.Bq),e.rXU(M.US),e.rXU(M.IT),e.rXU(xe.K))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-summary"]],viewQuery:function(i,r){if(1&i&&e.GBs(up,5),2&i){let u;e.mGM(u=e.lsd())&&(r.headers=u)}},hostBindings:function(i,r){1&i&&e.bIt("keydown",function(v){return r.onKeyDown(v)},!1,e.tSv)},decls:25,vars:20,consts:[["countsErrorBlock",""],["tileSpinner",""],["decisionReasonToolTip",""],["myTeamCheckbox",""],["tooltip","ngbTooltip"],[1,"absence-summary-div"],["id","SummaryDateRangeAndTiles",1,"summary-tiles-background",3,"ngClass"],["id","SummaryTitleAndDateRange",1,"row","dashboard","headRow50","summary-margin","d-flex"],[1,"col-lg-6","col-md-6","col-sm-6","h2Row","summary-padding"],[1,"col-lg-6","col-md-6","col-sm-6","h1Row","d-flex","select-date-range-smaller-screens","select-date-range-big-screens","date-picker-padding"],[1,"selectedDateRange","me-5"],[1,"w-100"],[4,"ngIf"],[1,"me-5","date-picker-margin",3,"action","ngClass","config"],["class","d-flex align-items-center me-3 my-team-margin",4,"ngIf"],[4,"ngIf","ngIfElse"],["class","p-3 scrollableDetailsSection details-padding","id","DetailsSection",3,"ngClass",4,"ngIf"],[1,"d-flex","align-items-center","me-3","my-team-margin"],["for","myTeamCheckbox",1,"myTeamLabel","mt-3"],["tabindex","0",1,"mt-2","me-2","switch",3,"keydown.enter","keydown.space","click"],["type","checkbox","id","myTeamCheckbox",1,"sliderCheckbox"],[1,"slider","round"],["id","SummarySection",1,"row","dashboard","mt-2"],[1,"dashboard-col"],["tabindex","0",1,"summary-dashboard","mgr-tile",3,"click","keydown.enter","keydown.space","ngClass"],["class","summary-tile",4,"ngIf","ngIfElse"],[1,"icon-text-link","mgr-summary-tile"],["tabindex","0","role","button",1,"summary-dashboard","mgr-tile",3,"click","keydown.enter","keydown.space","ngClass"],["class","dashboard-col",4,"ngIf"],[1,"summary-tile"],[1,"d-flex","justify-content-center","mt-5"],[1,"bold"],["role","status",1,"spinner","mx-auto"],[3,"src","alt"],["id","DetailsSection",1,"p-3","scrollableDetailsSection","details-padding",3,"ngClass"],["class","row dashboard headRow50 details-margins",4,"ngIf"],["class","p-3",4,"ngIf"],[1,"row","dashboard","headRow50","details-margins"],[1,"col","h2Row","d-flex"],["type","button",1,"closeIconBtn",3,"click"],["alt","","src","./assets/baseResources/icon_close.png",1,"closeIcon"],[1,"p-3"],["class","px-3","role","status",4,"ngIf"],[1,"px-3"],[1,"col","h1Row","search-filter-margin",2,"text-align","left","display","flex"],[1,"searchLabel","col-3",3,"ngClass"],[1,"filterByLabel","hideForSmallerScreens"],[1,"d-flex","d-flex-ext","px-3"],["type","search","id","srch",1,"detailsInputHeight","searchInputSize",3,"ngModelChange","input","placeholder","ngModel","disabled"],[1,"d-flex","d-flex-ext","justify-content-start","col","details-inner-padding"],[2,"display","contents"],[1,"filterByLabel","hideForBigScreens","mt-3","summaryLabel"],["for","frequency",1,"frequencyLabel","summaryLabel"],["id","frequency",1,"max-width-select-frequency","detailsInputHeight",3,"ngModelChange","change","ngModel","disabled"],["value","all"],[3,"value",4,"ngFor","ngForOf"],["style","display: contents",4,"ngIf"],["for","leaveReason",1,"leaveReasonLabel","summaryLabel"],["id","leaveReason",1,"max-width-select-leave-reason","detailsInputHeight",3,"ngModelChange","change","ngModel","disabled"],[1,"ml-auto","summaryButton"],[1,"moreFiltersBtn",3,"click","disabled"],["alt","","aria-hidden","true","class","filter-icon",3,"src",4,"ngIf"],[1,"tableContainer","details-table-container","details-inner-padding"],[1,"rf-dt","dataTable","clickableLastCells","w-100"],[1,"rf-dt-shdr","sortableTH"],["tabindex","0","scope","col","sortable","employeeNumber","id","employeeIdHeader",1,"rf-dt-metric-dashboard",3,"sort"],[1,"glyphicon","sortText"],["tabindex","0","scope","col","sortable","employeeFullName","
1id","employeeNameHeader",1,"rf-dt-metric-dashboard",3,"sort"],["tabindex","0","scope","col","sortable","leaveActionFrequencyCodeDesc","id","frequencyHeader","class","rf-dt-metric-dashboard",3,"sort",4,"ngIf"],["tabindex","0","scope","col","sortable","leaveActionFrequencyCodeDesc","id","requestTypeHeader","class","rf-dt-metric-dashboard",3,"sort",4,"ngIf"],["tabindex","0","scope","col","id","leaveRequestHeader",1,"rf-dt-metric-dashboard"],["tabindex","0","scope","col","id","decisionReasonHeader","class","rf-dt-metric-dashboard",4,"ngIf"],["tabindex","0","scope","col","id","actionsHeader",1,"rf-dt-metric-dashboard"],["class","rf-dt-tft",4,"ngIf"],["class","d-flex justify-content-between",4,"ngIf"],["role","status",1,"px-3"],[3,"value"],["for","requestType",1,"requestTypeLabel","summaryLabel"],["id","requestType",1,"max-width-select-request-type","detailsInputHeight",3,"ngModelChange","change","ngModel","disabled"],["alt","","aria-hidden","true",1,"filter-icon",3,"src"],["tabindex","0","scope","col","sortable","leaveActionFrequencyCodeDesc","id","frequencyHeader",1,"rf-dt-metric-dashboard",3,"sort"],["tabindex","0","scope","col","sortable","leaveActionFrequencyCodeDesc","id","requestTypeHeader",1,"rf-dt-metric-dashboard",3,"sort"],["tabindex","0","scope","col","id","decisionReasonHeader",1,"rf-dt-metric-dashboard"],["placement","top","triggers","manual","tabindex","0",3,"click","blur","keydown.escape","keydown.space","keydown.enter","ngbTooltip"],["alt","","aria-hidden","true","src","./assets/baseResources/gfx/redesignIcons/info.svg",1,"small-icon"],[4,"ngFor","ngForOf"],[1,"summary-skeleton-bar"],["href","javascript:void(0)","tabindex","0",1,"noBackgroundCell",3,"click","keydown.enter","keydown.space"],["href","javascript:void(0)","id","action_view_request","tabindex","0","class","noBackgroundCell",3,"click","keydown.enter","keydown.space",4,"ngIf"],["href","javascript:void(0)","id","action_view_request","tabindex","0",1,"noBackgroundCell",3,"click","keydown.enter","keydown.space"],[1,"rf-dt-tft"],["class","rf-dt-ftr",4,"ngIf"],[1,"rf-dt-ftr"],["colspan","5",1,"noTableData"],["id","noResultText2"],[1,"d-flex","justify-content-between"],[1,"pl-0","text-right","col-show-row","d-flex","align-items-baseline","ms-auto"],["class","form-select ms-1","style","width: auto","name","pageSize",3,"ngModel","ngModelChange",4,"ngIf"],["name","pageSize",1,"form-select","ms-1",2,"width","auto",3,"ngModelChange","ngModel"],["selected","",3,"ngValue"],[3,"ngValue"],["class","row justify-content-end d-flex",4,"ngIf"],[1,"row","justify-content-end","d-flex"],[1,"col-lg-8","ms-5"],["id","pageNumber",3,"pageChange","collectionSize","page","pageSize","maxSize","rotate","ellipses","boundaryLinks"],[1,"col-lg-2","ms-5","align-self-center"],["class","d-inline-block",4,"ngIf"],[1,"d-inline-block"]],template:function(i,r){if(1&i){const u=e.RV6();e.j41(0,"div",5)(1,"div",6)(2,"div",7)(3,"div",8)(4,"h2"),e.EFF(5),e.nI1(6,"translate"),e.k0s()(),e.j41(7,"div",9)(8,"div",10)(9,"label",11),e.EFF(10),e.nI1(11,"translate"),e.k0s(),e.DNE(12,zf,4,8,"span",12)(13,BI,3,4,"span",12),e.k0s(),e.j41(14,"app-date-picker",13),e.bIt("action",function(V){return e.eBV(u),e.Njj(r.actionHandler(V))}),e.k0s(),e.DNE(15,YI,8,3,"div",14),e.k0s()(),e.DNE(16,db,31,37,"ng-container",15)(17,ub,4,3,"ng-template",null,0,e.C5r)(19,jh,4,8,"ng-template",null,1,e.C5r),e.k0s(),e.DNE(21,bb,4,5,"div",16)(22,cp,2,1,"div",12)(23,tD,3,3,"ng-template",null,2,e.C5r),e.k0s()}if(2&i){const u=e.sdS(18);e.R7$(),e.Y8G("ngClass",e.eq3(16,LI,!r.isBaseDomain())),e.R7$(4),e.SpI(" ",e.bMT(6,12,"myDashboard.summary")," "),e.R7$(5),e.SpI("",e.bMT(11,14,"selectedDateRange"),":"),e.R7$(2),e.Y8G("ngIf",r.fromDate!==r.toDate),e.R7$(),e.Y8G("ngIf",r.fromDate===r.toDate),e.R7$(),e.Y8G("ngClass",e.eq3(18,PI,!r.isBaseDomain()))("config",r.datePickerConfig),e.R7$(),e.Y8G("ngIf",r.showMyTeam),e.R7$(),e.Y8G("ngIf",!r.countsError)("ngIfElse",u),e.R7$(5),e.Y8G("ngIf",!r.countsError&&!r.showNoMetricText),e.R7$(),e.Y8G("ngIf",!r.countsError&&!r.showNoMetricText&&!r.detailsLoading)}},styles:[".summary-skeleton-bar[_ngcontent-%COMP%]{display:inline-block;width:100%;height:.9rem;border-radius:4px;background:linear-gradient(90deg,#e6e6e6 25%,#f2f2f2 37%,#e6e6e6 63%);background-size:400% 100%;animation:_ngcontent-%COMP%_summary-skeleton-shimmer 1.4s ease infinite}@keyframes _ngcontent-%COMP%_summary-skeleton-shimmer{0%{background-position:100% 50%}to{background-position:0 50%}}"]})}}return n})();const iD=n=>({portalView:n}),sD=()=>({standalone:!0});function ok(n,d){1&n&&(e.j41(0,"h1",28),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.JRh(e.bMT(2,1,"mgr.reportIncidental")))}function rD(n,d){if(1&n&&(e.j41(0,"h1",29),e.EFF(1),e.nI1(2,"async"),e.nI1(3,"translate"),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.JRh(e.bMT(3,3,null!==e.bMT(2,1,t.userService.portalPermission$)?"wob.partnerContactTitle":"wob.title"))}}function ak(n,d){if(1&n&&(e.j41(0,"span",30)(1,"span",31)(2,"span",32),e.EFF(3),e.k0s()()()),2&n){const t=e.XpG();e.R7$(3),e.JRh(t.errorMsg)}}function oD(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",33)(1,"label",34),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div",35)(5,"ng-select",36),e.nI1(6,"translate"),e.mxI("ngModelChange",function(r){e.eBV(t);const u=e.XpG();return e.DH7(u.partnerContactAccountId,r)||(u.partnerContactAccountId=r),e.Njj(r)}),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(2),e.JRh(e.bMT(3,5,"wob.accountName")),e.R7$(3),e.Y8G("ngModelOptions",e.lJ4(9,sD))("items",null==t.partnerContact?null:t.partnerContact.accounts),e.R50("ngModel",t.partnerContactAccountId),e.Y8G("placeholder",e.bMT(6,7,"myAbsences.reportTime.pleaseSelect"))}}function aD(n,d){1&n&&(e.j41(0,"div",11)(1,"label",37),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.nrm(4,"input",38),e.k0s()),2&n&&(e.R7$(2),e.JRh(e.bMT(3,1,"wpaRequestId")))}function lD(n,d){if(1&n){const t=e.RV6();e.j41(0,"input",39),e.nI1(1,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.goBack())}),e.k0s()}2&n&&e.FS9("value",e.bMT(1,1,"login.back"))}function n_(n,d){1&n&&(e.j41(0,"h1",40),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.JRh(e.bMT(2,1,"mgr.reportIncidental")))}function pp(n,d){if(1&n&&(e.j41(0,"h1",41),e.EFF(1),e.nI1(2,"async"),e.nI1(3,"translate"),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",e.bMT(3,3,null!==e.bMT(2,1,t.userService.portalPermission$)?"wob.partnerContactTitle":"wob.title")," ")}}function i_(n,d){if(1&n){const t=e.RV6();e.j41(0,"tr",54)(1,"td",55)(2,"a",56),e.bIt("click",function(){const r=e.eBV(t).$implicit,u=e.XpG(2);return e.Njj(u.workOnBehalf(r.employeeId))})("keydown",function(r){const u=e.eBV(t).$implicit,v=e.XpG(2);return e.Njj("Enter"===r.key&&v.workOnBehalf(u.employeeId)||"Tab"===r.key)}),e.EFF(3),e.k0s()(),e.j41(4,"td",57),e.EFF(5),e.k0s(),e.j41(6,"td",58),e.EFF(7),e.k0s()()}if(2&n){const t=d.$implicit;e.R7$(3),e.JRh(t.lastName),e.R7$(2),e.JRh(t.firstName),e.R7$(2),e.JRh(t.employeeNumber)}}
1function $h(n,d){1&n&&(e.j41(0,"tr",59)(1,"td",60)(2,"span",61)(3,"strong"),e.EFF(4),e.nI1(5,"translate"),e.k0s()()()()),2&n&&(e.R7$(4),e.JRh(e.bMT(5,1,"wob.noResult.text")))}function vb(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",62)(1,"ngb-pagination",63),e.mxI("pageChange",function(r){e.eBV(t);const u=e.XpG(2);return e.DH7(u.page,r)||(u.page=r),e.Njj(r)}),e.bIt("pageChange",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.refreshUsers(!0))}),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(),e.Y8G("collectionSize",t.partialUsers.length),e.R50("page",t.page),e.Y8G("maxSize",5)("rotate",!0)("ellipses",!1)("boundaryLinks",!0)("pageSize",t.pageSize)}}function hp(n,d){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"div",42)(2,"table",43)(3,"thead")(4,"tr",44)(5,"th",45),e.bIt("sort",function(r){e.eBV(t);const u=e.XpG();return e.Njj(u.onSort(r))}),e.EFF(6),e.nI1(7,"translate"),e.nrm(8,"span",46),e.k0s(),e.j41(9,"th",47),e.bIt("sort",function(r){e.eBV(t);const u=e.XpG();return e.Njj(u.onSort(r))}),e.EFF(10),e.nI1(11,"translate"),e.nrm(12,"span",46),e.k0s(),e.j41(13,"th",48),e.bIt("sort",function(r){e.eBV(t);const u=e.XpG();return e.Njj(u.onSort(r))}),e.EFF(14),e.nI1(15,"translate"),e.nrm(16,"span",49),e.k0s()()(),e.j41(17,"tbody"),e.DNE(18,i_,8,3,"tr",50),e.k0s(),e.j41(19,"tfoot",51),e.DNE(20,$h,6,3,"tr",52),e.k0s()(),e.DNE(21,vb,2,7,"div",53),e.k0s(),e.bVm()}if(2&n){const t=e.XpG();e.R7$(6),e.SpI(" ",e.bMT(7,6,"wob.lastName")," "),e.R7$(4),e.SpI(" ",e.bMT(11,8,"wob.firstName")," "),e.R7$(4),e.SpI(" ",e.bMT(15,10,"wob.empNum")," "),e.R7$(4),e.Y8G("ngForOf",t.partialDispUsers),e.R7$(2),e.Y8G("ngIf",0===(null==t.partialUsers?null:t.partialUsers.length)),e.R7$(),e.Y8G("ngIf",(null==t.partialUsers?null:t.partialUsers.length)>t.pageSize)}}function yb(n,d){1&n&&(e.j41(0,"table",64)(1,"thead")(2,"tr",65)(3,"th",66),e.EFF(4),e.nI1(5,"translate"),e.k0s(),e.j41(6,"th",67),e.EFF(7),e.nI1(8,"translate"),e.k0s(),e.j41(9,"th",68),e.EFF(10),e.nI1(11,"translate"),e.k0s()()()()),2&n&&(e.R7$(4),e.SpI(" ",e.bMT(5,3,"wob.lastName")," "),e.R7$(3),e.SpI(" ",e.bMT(8,5,"wob.firstName")," "),e.R7$(3),e.SpI(" ",e.bMT(11,7,"wob.empNum")," "))}const cD={asc:"desc",desc:"asc","":"asc"};let Xd=(()=>{class n{constructor(){this.sortable="",this.direction="",this.sort=new e.bkB}rotate(){this.direction=cD[this.direction],this.sort.emit({column:this.sortable,direction:this.direction})}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275dir=e.FsC({type:n,selectors:[["th","sortable",""]],hostVars:4,hostBindings:function(i,r){1&i&&e.bIt("click",function(){return r.rotate()}),2&i&&e.AVh("asc","asc"===r.direction)("desc","desc"===r.direction)},inputs:{sortable:"sortable",direction:"direction"},outputs:{sort:"sort"}})}}return n})(),dD=(()=>{class n{constructor(t,i,r,u,v,V){this.formBuilder=t,this.userService=i,this.translate=r,this.eventService=u,this.router=v,this.activatedRoute=V,this.partnerContactAccountId=null,this.isWob=!1,this.page=1,this.pageSize=10}ngOnInit(){this.isAbsenceResourcesDomain=!se.z.isDomainBlockedFromRedesignUpdates(),this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)),this.createForm(),this.canSearchByWpaId();let t=p.sb.WORK_ON_BEHALF_EVENT_MSG,i=p.sb.WORK_ON_BEHALF_OF_EMPLOYEE;if(this.userService.isWob.subscribe(r=>{this.isWob=r}),this.activatedRoute.queryParams.subscribe(r=>{this.incidentalAbsence=JSON.parse(r.incidentalAbsence),this.incidentalAbsence&&(t=p.sb.REPORT_INCIDENTAL_EVENT_MSG,i=p.sb.REPORT_INCIDENTAL,this.partialUsers=JSON.parse(sessionStorage.getItem(p.YM.INCIDENTAL_SEARCH_RESULT)),this.partialUsers&&this.refreshUsers(!1)),this.eventService.logEvent(i,t,null)}),this.userInfo.userPrivilege.portalPermission){const r=this.userInfo.fmlaUserId.toString();this.userService.getPartnerContact(r).subscribe(u=>{u.accounts=u.accounts.sort((v,V)=>v.accountName.localeCompare(V.accountName,void 0,{sensitivity:"base"})),this.partnerContact=u,console.log(" getPartnerContact:",u)},u=>{console.error("getPartnerContact failed:",u)})}}createForm(){this.searchEmployeeForm=this.formBuilder.group({lastName:["",[]],firstName:[""],employeeNumber:["",[]],leaveRequestId:[""],wpaRequestId:[""]})}showEmployees(){const t=new String(this.searchEmployeeForm.controls.lastName.value).trim(),i=new String(this.searchEmployeeForm.controls.firstName.value).trim(),r
1=new String(this.searchEmployeeForm.controls.employeeNumber.value).trim(),u=new String(this.searchEmployeeForm.controls.leaveRequestId.value).trim(),v=new String(this.searchEmployeeForm.controls.wpaRequestId.value).trim(),V=null!=this.partnerContactAccountId?String(this.partnerContactAccountId):null;this.errorMsg="",this.partialDispUsers=[],this.isFormValid(t,r,u,v,V)&&this.userService.searchEmployees(t,i,r,u,v,V).subscribe(Ce=>{this.partialUsers=Ce,this.refreshUsers(!1),this.incidentalAbsence&&sessionStorage.setItem(p.YM.INCIDENTAL_SEARCH_RESULT,JSON.stringify(Ce))},Ce=>Ce.status===eI.v.GATEWAY_TIMEOUT?void(this.errorMsg=this.translate.instant("wob.searchTimeoutError")):void(this.errorMsg=this.translate.instant("wob.error")))}isFormValid(t,i,r,u,v){return this.userInfo.userPrivilege.portalPermission&&!v?(this.errorMsg=this.translate.instant("wob.partnerContactAccountRequired"),!1):(null==t||t.length<2)&&(null==i||i.length<2)&&!r&&!u?(this.errorMsg=this.translate.instant("wob.requiredFields"),!1):!r||!u||(this.errorMsg=this.translate.instant("wob.bothRequestIdsPresent"),!1)}workOnBehalf(t){const i=new Yt.EK(t);this.userService.workOnBehalf(i).subscribe({next:r=>{this.onBehalfUser=r,r&&this.userService.getUserInfo().subscribe(u=>{sessionStorage.setItem(p.YM.USER_INFO,JSON.stringify(u)),this.userService.isWob.next(!this.incidentalAbsence),this.router.navigateByUrl(this.incidentalAbsence?"incidentalAbsence":"absences")})},error:()=>{this.errorMsg=this.translate.instant("wob.error")}})}canSearchByWpaId(){this.userService.canUserSearchByWpaId().subscribe(t=>{this.allowWpaIdSearch=!!t})}refreshUsers(t){let i,r;t?(i=(this.page-1)*this.pageSize,r=(this.page-1)*this.pageSize+this.pageSize):(i=0,r=10,this.page=1),this.partialUsers.length&&(this.partialDispUsers=this.partialUsers.map((u,v)=>({employeeId:v+1,...u})).slice(i,r))}goBack(){const t=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)).wob;this.incidentalAbsence&&t?this.userService.endWob().subscribe(i=>{i&&(this.userService.isWob.next(!1),this.userService.getUserInfo().subscribe(r=>{sessionStorage.setItem(p.YM.USER_INFO,JSON.stringify(r)),this.router.navigateByUrl("mgr-dashboard")}))}):this.router.navigateByUrl("mgr-dashboard")}onSort({column:t,direction:i}){this.headers.forEach(r=>{r.sortable!==t&&(r.direction="")}),this.partialUsers=""===t||""===i?this.partialUsers:[...this.partialUsers].sort((r,u)=>{const v=((n,d)=>n<d?-1:n>d?1:0)(r[t],u[t]);return"asc"===i?v:-v}),this.refreshUsers(!1)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(ge.ok),e.rXU(M.DL),e.rXU(Y.c$),e.rXU(M.US),e.rXU(q.Ix),e.rXU(q.nX))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-work-on-behalf"]],viewQuery:function(i,r){if(1&i&&e.GBs(Xd,5),2&i){let u;e.mGM(u=e.lsd())&&(r.headers=u)}},decls:48,vars:41,consts:[["noUsers",""],[1,"plainRestyled",3,"ngClass"],["id","wobTitle",4,"ngIf"],["id","incidentalTitle",4,"ngIf"],[1,"formPage"],[1,"introText","bold-subtitle"],["id","wobIntro"],["id","searchEmployeeForm","name","","novalidate","novalidate",1,"behalfForm",3,"formGroup"],["id","wobTimeMessages",1,"messageContainer"],["class","rf-msgs",4,"ngIf"],["id","partnerContactAccounts","class","",4,"ngIf"],[1,"form-inline","boxText"],["for","lastName",1,"subLabel"],["id","lastName","type","text","name","lastName","value","","size","23","formControlName","lastName","required","",1,"form-control","input","inputContainer"],["for","firstName",1,"subLabel"],["id","firstName","type","text","name","firstName","value","","size","23","formControlName","firstName",1,"form-control","inputContainer"],["for","employeeNumber",1,"subLabel"],["id","employeeNumber","type","text","name","employeeNumber","value","","size","23","formControlName","employeeNumber","required","",1,"form-control","inputContainer"],["for","leaveRequestId",1,"subLabel"],["id","leaveRequestId","type","text","name","leaveRequestId","value","","size","23","formControlName","leaveRequestId","required","",1,"form-control","inputContainer"],["class","form-inline boxText",4,"ngIf"],[1,"formBtns","restyledSmBtns"],["id","backButton","name","backButton","class","submit secondaryBtn secondaryBack","type","reset",3,"value","click",4,"ngIf"],["type","submit","id","searchButton",1,"submit","primaryBtn","primaryContinue",3,"click","value"],["id","wobSearchResTitle",4,"ngIf"],["id","incidentalSearchResTitle",4,"ngIf"],["id","resultTitle"],[4,"ngIf","ngIfElse"],["id","wobTitle"],["id","incidentalTitle"],[1,"rf-msgs"],[1,"rf-msgs-inf"],["id","errorMsg",1,"rf-msgs-err"],["id","partnerContactAccounts",1,""],["for","accountsDropdown",1,"subLabel"],[1,"accountsDropdownContainer"],["id","accountsDropdown","bindLabel","accountName","bindValue","accountId","appendTo","body",3,"ngModelChange","ngModelOptions","items","ngModel","placeholder"],["for","wpaRequestId",1,"subLabel"],["id","wpaRequestId","type","text","name","wpaRequestId","value","","size","23","formControlName","wpaRequestId","required","",1,"form-control","inputContainer"],["id","backButton","
1name","backButton","type","reset",1,"submit","secondaryBtn","secondaryBack",3,"click","value"],["id","wobSearchResTitle"],["id","incidentalSearchResTitle"],[1,"tableContainer"],[1,"rf-dt","dataTable","clickableCells"],[1,"rf-dt-shdr","sortableTH"],["tabindex","0","scope","col","sortable","lastName","id","lastNameHeader",1,"rf-dt-shdr-c",3,"sort"],[1,"glyphicon","sortText"],["tabindex","0","scope","col","sortable","firstName","id","firstNameHeader",1,"rf-dt-shdr-c",3,"sort"],["tabindex","0","scope","col","sortable","employeeNumber","id","empNumHeader",1,"rf-dt-shdr-c",3,"sort"],[1,"glyphicon","sortNum"],["class","rf-dt-r rf-dt-fst-r",4,"ngFor","ngForOf"],[1,"rf-dt-tft"],["class","rf-dt-ftr",4,"ngIf"],["class","wobPagination",4,"ngIf"],[1,"rf-dt-r","rf-dt-fst-r"],["role","button","id","lastNameData",1,"rf-dt-c"],["tabindex","0",3,"click","keydown"],["id","firstNameData",1,"rf-dt-c"],["id","empNumData",1,"rf-dt-c","right"],[1,"rf-dt-ftr"],["colspan","5",1,"rf-dt-ftr-c"],["id","noResultText2"],[1,"wobPagination"],[3,"pageChange","collectionSize","page","maxSize","rotate","ellipses","boundaryLinks","pageSize"],[1,"rf-dt","dataTable","w50p"],[1,"rf-dt-shdr"],["tabindex","0","scope","col","sortable","lastName","id","lastNameHeader2",1,"rf-dt-shdr-c"],["tabindex","0","scope","col","sortable","firstName","id","firstNameHeader2",1,"rf-dt-shdr-c"],["tabindex","0","scope","col","sortable","employeeNumber","id","empNumHeader2",1,"rf-dt-shdr-c"]],template:function(i,r){if(1&i){const u=e.RV6();e.j41(0,"div",1),e.nI1(1,"async"),e.DNE(2,ok,3,3,"h1",2)(3,rD,4,5,"h1",3),e.j41(4,"div",4)(5,"div",5)(6,"span",6),e.EFF(7),e.nI1(8,"translate"),e.k0s()(),e.j41(9,"form",7)(10,"div",8),e.DNE(11,ak,4,1,"span",9),e.k0s(),e.DNE(12,oD,7,10,"div",10),e.nI1(13,"async"),e.j41(14,"div",11)(15,"label",12),e.EFF(16),e.nI1(17,"translate"),e.k0s(),e.nrm(18,"input",13),e.k0s(),e.j41(19,"div",11)(20,"label",14),e.EFF(21),e.nI1(22,"translate"),e.k0s(),e.nrm(23,"input",15),e.k0s(),e.j41(24,"div",11)(25,"label",16),e.EFF(26),e.nI1(27,"translate"),e.k0s(),e.nrm(28,"input",17),e.k0s(),e.j41(29,"div",11)(30,"label",18),e.EFF(31),e.nI1(32,"translate"),e.k0s(),e.nrm(33,"input",19),e.k0s(),e.DNE(34,aD,5,3,"div",20),e.j41(35,"div",21),e.DNE(36,lD,2,3,"input",22),e.nI1(37,"async"),e.j41(38,"input",23),e.nI1(39,"translate"),e.bIt("click",function(){return e.eBV(u),e.Njj(r.showEmployees())}),e.k0s()()(),e.DNE(40,n_,3,3,"h1",24)(41,pp,4,5,"h1",25),e.j41(42,"h2",26),e.EFF(43),e.nI1(44,"translate"),e.k0s(),e.DNE(45,hp,22,12,"ng-container",27)(46,yb,12,9,"ng-template",null,0,e.C5r),e.k0s()()}if(2&i){const u=e.sdS(47);e.Y8G("ngClass",e.eq3(39,iD,null!==e.bMT(1,19,r.userService.portalPermission$))),e.R7$(2),e.Y8G("ngIf",r.incidentalAbsence),e.R7$(),e.Y8G("ngIf",!r.incidentalAbsence),e.R7$(4),e.SpI(" ",e.bMT(8,21,"wob.requirementText")," "),e.R7$(2),e.Y8G("formGroup",r.searchEmployeeForm),e.R7$(2),e.Y8G("ngIf",r.errorMsg),e.R7$(),e.Y8G("ngIf",null!==e.bMT(13,23,r.userService.portalPermission$)),e.R7$(4),e.JRh(e.bMT(17,25,"wob.lastName")),e.R7$(5),e.JRh(e.bMT(22,27,"wob.firstName")),e.R7$(5),e.JRh(e.bMT(27,29,"wob.empNum")),e.R7$(5),e.JRh(e.bMT(32,31,"leaveRequestId")),e.R7$(3),e.Y8G("ngIf",r.allowWpaIdSearch),e.R7$(2),e.Y8G("ngIf",!r.isWob&&null==e.bMT(37,33,r.userService.portalPermission$)),e.R7$(2),e.FS9("value",e.bMT(39,35,"wob.searchBtn")),e.R7$(2),e.Y8G("ngIf",r.incidentalAbsence),e.R7$(),e.Y8G("ngIf",!r.incidentalAbsence),e.R7$(2),e.JRh(e.bMT(44,37,"wob.searchResult.title")),e.R7$(2),e.Y8G("ngIf",r.partialUsers)("ngIfElse",u)}},dependencies:[ie.YU,ie.Sq,ie.bT,ge.qT,ge.me,ge.BC,ge.cb,ge.YS,ge.vS,ge.j4,ge.JD,G.s5,Vf,Xd,up,ie.Jj,Y.D9],styles:[".plainRestyled[_ngcontent-%COMP%]{color:#070f36!important;font-size:18px;h2,label{color:inherit!important}label{font-weight:400}.formBtns{input{padding:0!important}}.subLabel{width:100%!important}.subLabel,.introText,h2,table,.formBtns{margin-left:0!important}.introText{font-size:18px}}.portalView[_ngcontent-%COMP%]{ng-select input{border:none!important}#accountsDropdown{max-width:415px!important;width:100%!important;display:inline-block}#incidentalSearchResTitle{color:#666!important;font-size:24px!important;line-height:20px;padding-top:20px}#incidentalTitle{color:#666!important;font-size:24px!important;line-height:20px;padding-top:20px!important}#partnerContactAccounts{margin-bottom:15px}#resultTitle{font-size:20px!important;line-height:20px;margin-left:0!important}#wobIntro{color:#070f36;font-size:14px;line-height:23px;font-weight:400;margin-left:.5em}.form-inline,#partnerContactAccounts{margin-left:2rem!important}.formPage table{margin-left:0!important}.restyledSmBtns{max-width:325px!important;display:flex;align-content:start;margin-left:2em!important;justify-content:start}.subLabel{margin:0 0 4px!important;font-size:14px;line-height:20px;font-weight:700}}.introText[_ngcontent-%COMP%]{margin-bottom:10px}#wobTimeMessages[_ngcontent-%COMP%]{margin:0 0 15px}select[_ngcontent-%COMP%]{margin-left:0!important;width:50%;max-width:360px!important;border-radius:2px!important;border:1px solid #ccc!important;height:32px;font-size:12px!important;color:#555!important}@media (max-width: 565px){select[_ngcontent-%COMP%]{margin-left:1em!important;width:95%;max-width:95%!important}.portalView[_ngcontent-%COMP%]{#accountsDropdown{max-width:95%!important}#partnerContactAccounts,.form-inline{margin-left:0!important}.restyledSmBtns{max-width:unset!important}}}"]})}}return n})();function Eb(n,d){1&n&&(e.j41(0,"a",15),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.JRh(e.bMT(2,1,"currentRequests")))}function uD(n,d){1&n&&(e.j41(0,"a",16),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.JRh(e.bMT(2,1,"recentlyClosedRequests")))}function Uh(n,d){1&n&&(e.j41(0,"li",36)(1,"a",37),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.JRh(e.bMT(3,1,"contact.leaveRequest")))}function pD(n,d){1&n&&(e.j41(0,"li",38)(1,"a",39),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.JRh(e.bMT(3,1,"workplaceAccommodationRequests")))}function hD(n,d){1&n&&(e.j41(0,"li",40)(1,"a",41),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.JRh(e.bMT(3,1,"disabilityClaims")))}function mD(n,d){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"th",42),e.bIt("sort",function(r){e.eBV(t);const u=e.XpG(2);return e.Njj(u.onSort(r))}),e.EFF(2),e.nrm(3,"span",28),e.k0s(),e.bVm()}if(2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",t.leaveRequestStatusReasonColumnHeader," ")}}function fD(n,d){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",t.leaveReason," ")}}function _D(n,d){if(1&n&&(e.j41(0,"div"),e.EFF(1),e.k0s()),2&n){const t=d.$implicit;e.R7$(),e.SpI(" ",t," ")}}function s_(n,d){if(1&n&&e.DNE(0,_D,2,1,"div",45),2&n){const t=e.XpG().$implicit,i=e.XpG(2);e.Y8G("ngForOf",i.getDisplayNames(t.typeCodeId))}}function fp(n,d){if(1&n&&(e.qex(0),e.j41(1,"td"),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(2),e.SpI(" ",t.leaveReqStatusReason," ")}}function gD(n,d){if(1&n){const t=e.RV6();e.j41(0,"tr",43)(1,"td",44),e.bIt("click",function(){const r=e.eBV(t).$implicit,u=e.XpG(2);return e.Njj(u.goToViewLeaveDetails(r))})("keydown.enter",function(r){return e.eBV(t),r.preventDefault(),e.Njj(r.target.click())}),e.EFF(2),e.k0s(),e.j41(3,"td"),e.DNE(4,fD,2,1,"ng-container",14)(5,s_,1,1,"ng-template",null,2,e.C5r),e.k0s(),e.j41(7,"td"),e.EFF(8),e.k0s(),e.j41(9,"td"),e.EFF(10),e.k0s(),e.DNE(11,fp,3,1,"ng-container",32),e.k0s()}if(2&n){const t=d.$implicit,i=e.sdS(6),r=e.XpG(2);e.R7$(2),e.SpI(" ",t.absenceId||t.workplaceAccommodationId," "),e.R7$(2),e.Y8G("ngIf",t.leaveReason)("ngIfElse",i),e.R7$(4),e.SpI(" ",t.createdOn," "),e.R7$(2),e.SpI(" ",t.dateModified," "),e.R7$(),e.Y8G("ngIf",r.showLeaveReqCols)}}function Gh(n,d){if(1&n&&(e.j41(0,"tr",46)(1,"td",47)(2,"span",48)(3,"strong"),e.EFF(4),e.k0s()()()()),2&n){const t=e.XpG(2);e.R7$(4),e.JRh(t.showNoResultText())}}function Vh(n,d){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"div",17)(2,"div",18)(3,"ul",19,0),e.bIt("navChange",function(r){e.eBV(t);const u=e.XpG();return e.Njj(u.changeAbsenceTypeTab(r))}),e.DNE(5,Uh,4,3,"li",20)(6,pD,4,3,"li",21)(7,hD,4,3,"li",22),e.k0s(),e.nrm(8,"div",23),e.k0s(),e.j41(9,"div",24)(10,"table",25)(11,"thead")(12,"tr",26)(13,"th",27),e.bIt("sort",function(r){e.eBV(t);const u=e.XpG();return e.Njj(u.onSort(r))}),e.EFF(14),e.nI1(15,"translate"),e.nrm(16,"span",28),e.k0s(),e.j41(17,"th",29),e.bIt("sort",function(r){e.eBV(t);const u=e.XpG();return e.Njj(u.onSort(r))}),e.EFF(18),e.nrm(19,"span",28),e.k0s(),e.j41(20,"th",30),e.bIt("sort",function(r){e.eBV(t);const u=e.XpG();return e.Njj(u.onSort(r))}),e.EFF(21),e.nrm(22,"span",28),e.k0s(),e.j41(23,"th",31),e.bIt("sort",function(r){e.eBV(t);const u=e.XpG();return e.Njj(u.onSort(r))}),e.EFF(24),e.nrm(25,"span",28),e.k0s(),e.DNE(26,mD,4,1,"ng-container",32),e.k0s()(),e.j41(27,"tbody"),e.DNE(28,gD,12,6,"tr",33),e.k0s(),e.j41(29,"tfoot",34),e.DNE(30,Gh,5,1,"tr",35),e.k0s()()()(),e.bVm()}if(2&n){const t=e.XpG();e.R7$(),e.Y8G("id",t.absenceStatusTab),e.BMQ("aria-labelledby",t.absenceStatusTab),e.R7$(2),e.Y8G("activeId",t.absenceTypeTab),e.R7$(2),e.Y8G("ngIf",(null==t.userInfo||null==t.userInfo.userPrivilege?null:t.userInfo.userPrivilege.allowLoggedUserViewWorkplaceAccommodation)||(null==t.userInfo||null==t.userInfo.userPrivilege?null:t.userInfo.userPrivilege.dispDisabilityClaim)||(null==t.userInfo||null==t.userInfo.userPrivilege?null:t.userInfo.userPrivilege.portalPermission)),e.R7$(),e.Y8G("ngIf",(null==t.userInfo||null==t.userInfo.userPrivilege?null:t.userInfo.userPrivilege.allowLoggedUserViewWorkplaceAccommodation)||(null==t.userInfo||null==t.userInfo.userPrivilege?null:t.userInfo.userPrivilege.portalPermission)),e.R7$(),e.Y8G("ngIf",(null==t.userInfo||null==t.userInfo.userPrivilege?null:t.userInfo.userPrivilege.dispDisabilityClaim)||(null==t.userInfo||null==t.userInfo.userPrivilege?null:t.userInfo.userPrivilege.portalPermission)),e.R7$(2),e.Y8G("id",t.absenceTypeTab),e.BMQ("aria-labelledby",t.absenceTypeTab+"Tab"),e.R7$(5),e.SpI(" ",e.bMT(15,15,"absenceId")," "),e.R7$(4),e.SpI(" ",t.leaveReasonColumnHeader," "),e.R7$(3),e.SpI(" ",t.dateCreatedColumnHeader," "),e.R7$(3),e.SpI(" ",t.dateModifiedColumnHeader," "),e.R7$(2),e.Y8G("ngIf",t.showLeaveReqCols),e.R7$(2),e.Y8G("ngForOf",t.absencesList),e.R7$(2),e.Y8G("ngIf",0===(null==t.absencesList?null:t.absencesList.length))}}function lk(n,d){1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.JRh(e.bMT(2,1,"myAbsences.viewLeave.noLeave")))}const bD={asc:"desc",desc:"asc","":"asc"};let r_=(()=>{class n{constructor(){this.sortable="",this.direction="",this.sort=new e.bkB}rotate(){this.direction=bD[this.direction],this.sort.emit({column:this.sortable,direction:this.direction})}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275dir=e.FsC({type:n,selectors:[["th","sortable",""]],hostVars:4,hostBindings:function(i,r){1&i&&e.bIt("click",function(){return r.rotate()}),2&i&&e.AVh("asc","asc"===r.direction)("desc","desc"===r.direction)},inputs:{sortable:"sortable",direction:"direction"},outputs:{sort:"sort"}})}}return n})(),yD=(()=>{class n{constructor(t,i,r,u){this.router=t,this.translate=i,this.activatedRoute=r,this.service=u,this.dateFormatter=ho,this.absenceStatusTab="absenceOpenedList",this.absenceTypeTab="leaveRequestsList",this.workplaceAccommodationTypeMap=new Map}ngOnInit(){this.workplaceAccommodations=this.activatedRoute.snapshot.data.workplaceAccommodations,this.domainResourcePath=se.z.getBaseResourcePath(),this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)||"{}"),this.refreshAbsencesList(),this.disabilityTabSelected="disabilityClaims"===this.absenceTypeTab,this.service.getCodeMap("WorkplaceAccommodationTypeMap").subscribe(t=>{const i=new Map(Object.entries(t));this.workplaceAccommodationTypeMap=new Map(Object.entries(i.get("WorkplaceAccommodationTypeMap")))})}changeAbsenceStatusTab(t){this.absenceStatusTab=t.nextId,this.refreshAbsencesList()}
1changeAbsenceTypeTab(t){this.absenceTypeTab=t.nextId,this.refreshAbsencesList()}showNoResultText(){return this.translate.instant("leaveRequestsList"===this.absenceTypeTab?"employeeDashboard.noLeaveRequest":"disabilityClaims"===this.absenceTypeTab?"employeeDashboard.noDisabilityClaims":"employeeDashboard.noWorkPlaceAccommodation")}refreshAbsencesList(){"disabilityClaims"===this.absenceTypeTab?(this.leaveReasonColumnHeader=this.translate.instant("viewDocumentation.type"),this.datesColumnHeader=this.translate.instant("dates"),this.absencesList=(this.managedAbsences?.[this.absenceStatusTab]??[]).filter(t=>!t.leaveRequest&&!t.workplaceAccommodationRequest),this.showLeaveReqCols=!1,this.showTabs=!0):"leaveRequestsList"===this.absenceTypeTab?(this.showLeaveReqCols=!0,this.showTabs=!0,this.leaveReasonColumnHeader=this.translate.instant("myAbsences.viewLeave.reason"),this.dateCreatedColumnHeader=this.translate.instant("myAbsences.viewLeave.leaveReqDateCreated"),this.dateModifiedColumnHeader=this.translate.instant("myAbsences.viewLeave.leaveReqDateModified"),this.leaveRequestStatusReasonColumnHeader=this.translate.instant("myAbsences.viewLeave.leaveReqStatusReason"),this.absencesList=(this.managedAbsences?.[this.absenceStatusTab]??[]).filter(t=>t.leaveRequest)):(this.leaveReasonColumnHeader=this.translate.instant("viewWorkplaceAccommodation.accommodationType"),this.showTabs=!0,this.leaveRequestStatusReasonColumnHeader=this.translate.instant("myAbsences.viewLeave.leaveReqStatusReason"),this.absencesList=(this.managedAbsences?.[this.absenceStatusTab]??[]).filter(t=>t.workplaceAccommodationRequest),this.showLeaveReqCols=!0)}onSort({column:t,direction:i}){this.headers.forEach(r=>{r.sortable!==t&&(r.direction="")}),t&&i&&(this.absencesList=[...this.absencesList].sort((r,u)=>{let v;return v="dateModified"===t||"createdOn"===t?new Date(r[t]).getTime()-new Date(u[t]).getTime():((n,d)=>n<d?-1:n>d?1:0)(r[t],u[t]),"asc"===i?v:-v}))}getWorkplaceAccommodationTypeDispValue(t){return this.userInfo.localeId===p.YM.ENGLISH_LOCALE_ID?this.workplaceAccommodationTypeMap.get(String(t))&&this.workplaceAccommodationTypeMap.get(String(t)).displayValue:this.workplaceAccommodationTypeMap.get(String(t))&&this.workplaceAccommodationTypeMap.get(String(t)).displayValueEsp}getDisplayNames(t){let i=[];return t&&Array.isArray(t)?(t.forEach(r=>{this.workplaceAccommodationTypeMap.has(String(r))&&this.workplaceAccommodationTypeMap.get(String(r))&&i.push(this.userInfo.localeId===p.YM.ENGLISH_LOCALE_ID?this.workplaceAccommodationTypeMap.get(String(r)).displayValue:this.workplaceAccommodationTypeMap.get(String(r)).displayValueEsp)}),[...new Set(i)]):i}goToViewLeaveDetails(t){this.router.navigateByUrl(t.leaveRequest?"leaveDetails?leaveID="+t.absenceId+"&mapTypes=lrHCPSpecialtyMap,DecisionReasonDeniedMap,DecisionReasonCancelledMap,LeaveDecisionStatusMap":t.absenceFspId?`viewDisabilityClaim/${t.absenceFspId}`:"viewWorkplaceAccommodation?workplaceAccommodationId="+t.workplaceAccommodationId+"&mapTypes=WorkplaceAccommodationTypeMap,DecisionReasonDeniedMap,DecisionReasonCancelledMap,LeaveDecisionStatusMap,lrHCPSpecialtyMap")}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(q.Ix),e.rXU(Y.c$),e.rXU(q.nX),e.rXU(M.IT))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-managed-absences"]],viewQuery:function(i,r){if(1&i&&e.GBs(r_,5),2&i){let u;e.mGM(u=e.lsd())&&(r.headers=u)}},inputs:{managedAbsences:"managedAbsences"},decls:19,vars:11,consts:[["nav","ngbNav"],["emptyAbsence",""],["displayNamesContainer",""],[1,"employeeDashboard"],[1,"row","headRow","headRow50","employee-dashboard-header"],["id","myAbsencesManagedTitle"],["ngbNav","","role","tablist",1,"nav-tabs",3,"navChange","activeId"],["ngbNavItem","absenceOpenedList","role","presentation",1,"me-2"],["id","absenceOpenedList","role","tab","tabindex","0","ngbNavLink","",4,"ngIf"],["ngbNavItem","absenceClosedList","role","presentation",1,"me-2"],["id","absenceClosedList","tabindex","0","ngbNavLink","",4,"ngIf"],["ngbNavItem","absenceList","role","presentation"],["id","absenceList","tabindex","0","ngbNavLink",""],[1,"mt-2"],[4,"ngIf","ngIfElse"],["id","absenceOpenedList","role","tab","tabindex","0","ngbNavLink",""],["id","absenceClosedList","tabindex","0","ngbNavLink",""],["role","tabpanel",1,"absencesTables","scrollingCal","absenceTable","mCustomScrollbar",3,"id"],[1,"d-flex"],["ngbNav","","role","tablist",1,"nav-pills","absence-type-list",3,"navChange","activeId"],["ngbNavItem","leaveRequestsList","domId","leaveRequestsList","class","me-2","role","presentation",4,"ngIf"],["ngbNavItem","workplaceAccommodations","domId","workplaceAccommodations","class","me-2","role","presentation",4,"ngIf"],["ngbNavItem","disabilityClaims","domId","disabilityClaims","class","me-2","role","presentation",4,"ngIf"],[1,"ms-4"],["role","tabpanel",1,"tableContainer","employee-dashboard-table",3,"id"],[1,"rf-dt","dataTable","clickableCells"],[1,"rf-dt-shdr","sortableTH","dashboard-header"],["tabindex","0","scope","col","sortable","absenceId","id","absenceIdHeader",1,"col-lg-2",3,"sort"],[1,"glyphicon","sortText"],["tabindex","0","scope","col","sortable","leaveReason","id","typeHeader",1,"col-lg-2",3,"sort"],["tabindex","0","id","DateCreatedColumnHeader","scope","col","sortable","createdOn",1,"col-lg-2",3,"sort"],["tabindex","0","id","DateModifiedColumnHeader","scope","col","sortable","dateModified",1,"col-lg-2",3,"sort"],[4,"ngIf"],["id","absencesList",4,"ngFor","ngForOf"],[1,"rf-dt-tft"],["class","rf-dt-ftr noRecordBlueBkgrnd",4,"ngIf"],["ngbNavItem","leaveRequestsList","domId","leaveRequestsList","role","presentation",1,"me-2"],["id","leaveRequestsListTab","tabindex","0","ngbNavLink","",1,"absence-type-tab"],["ngbNavItem","workplaceAccommodations","domId","workplaceAccommodations","role","presentation",1,"me-2"],["id","workplaceAccommodationsTab","tabindex","0","ngbNavLink","",1,"absence-type-tab"],["ngbNavItem","disabilityClaims","domId","disabilityClaims","role","presentation",1,"me-2"],["id","disabilityClaimsTab","tabindex","0","ngbNavLink","",1,"absence-type-tab"],["tabindex","0","id","leaveRequestStatus","scope","col","sortable","leaveReqStatusReason",1,"col-lg-2",3,"sort"],["id","absencesList"],["id","absencesData","tabindex","0",3,"click","keydown.enter"],[4,"ngFor","ngForOf"],[1,"rf-dt-ftr","noRecordBlueBkgrnd"],["colspan","5",1,"rf-dt-ftr-c"],["
1id","noResultText2"]],template:function(i,r){if(1&i){const u=e.RV6();e.j41(0,"div",3)(1,"div",4)(2,"h2",5),e.EFF(3),e.nI1(4,"translate"),e.k0s()(),e.j41(5,"ul",6,0),e.bIt("navChange",function(V){return e.eBV(u),e.Njj(r.changeAbsenceStatusTab(V))}),e.j41(7,"li",7),e.DNE(8,Eb,3,3,"a",8),e.k0s(),e.j41(9,"li",9),e.DNE(10,uD,3,3,"a",10),e.k0s(),e.j41(11,"li",11)(12,"a",12),e.EFF(13),e.nI1(14,"translate"),e.k0s()()(),e.nrm(15,"div",13),e.DNE(16,Vh,31,17,"ng-container",14)(17,lk,3,3,"ng-template",null,1,e.C5r),e.k0s()}if(2&i){const u=e.sdS(18);e.R7$(3),e.JRh(e.bMT(4,7,"myAbsences.manageAbsencesTitle")),e.R7$(2),e.Y8G("activeId",r.absenceStatusTab),e.R7$(3),e.Y8G("ngIf",r.showTabs),e.R7$(2),e.Y8G("ngIf",r.showTabs),e.R7$(3),e.JRh(e.bMT(14,9,"allRequests")),e.R7$(3),e.Y8G("ngIf",r.managedAbsences)("ngIfElse",u)}},dependencies:[ie.Sq,ie.bT,G.X9,G.sy,G.Gx,G.Ri,G.WA,Xd,up,Y.D9]})}}return n})();function Tb(n,d){1&n&&(e.j41(0,"div",3)(1,"h2",4),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.JRh(e.bMT(3,1,"employerActions")))}function ED(n,d){if(1&n&&(e.j41(0,"div",5)(1,"div",6),e.nrm(2,"img",7),e.nI1(3,"translate"),e.j41(4,"a",8),e.EFF(5),e.nI1(6,"translate"),e.k0s()()()),2&n){const t=e.XpG();e.R7$(2),e.Mz_("src","",t.domainResourcePath,"/gfx/mgrActionIcons/case_activity.svg",e.B4B),e.FS9("alt",e.bMT(3,4,"myAbsences.viewCaseActivity")),e.R7$(3),e.SpI(" ",e.bMT(6,6,"myAbsences.viewCaseActivity")," ")}}function TD(n,d){if(1&n&&(e.j41(0,"div",5)(1,"div",6),e.nrm(2,"img",9),e.nI1(3,"translate"),e.j41(4,"a",10),e.EFF(5),e.nI1(6,"translate"),e.k0s()()()),2&n){const t=e.XpG();e.R7$(2),e.Mz_("src","",t.domainResourcePath,"/gfx/mgrActionIcons/notes.svg",e.B4B),e.FS9("alt",e.bMT(3,4,"notes")),e.R7$(3),e.SpI(" ",e.bMT(6,6,"notes")," ")}}let Ib=(()=>{class n{constructor(t){this.domainConfigService=t}ngOnInit(){this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)),this.domainResourcePath=se.z.getBaseResourcePath()}isBaseDomain(){return this.domainConfigService.isBaseDomain}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(xe.K))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-dashboard-employer-action"]],decls:5,vars:3,consts:[["class","row dashboard headRow10 actions-margin",4,"ngIf"],[1,"row"],["class","dashboard-col",4,"ngIf"],[1,"row","dashboard","headRow10","actions-margin"],["id","myAbsencesActionTitle"],[1,"dashboard-col"],[1,"icon-dashboard"],["id","viewCaseActivityImg",1,"dashboard-icons",3,"src","alt"],["routerLink","/caseActivityReport","id","caseActivityReportLink",1,"icon-text-link"],["id","viewNotesImg",1,"dashboard-icons",3,"src","alt"],["routerLink","/notes","id","notesLink",1,"icon-text-link"]],template:function(i,r){1&i&&(e.j41(0,"div"),e.DNE(1,Tb,4,3,"div",0),e.j41(2,"div",1),e.DNE(3,ED,7,8,"div",2)(4,TD,7,8,"div",2),e.k0s()()),2&i&&(e.R7$(),e.Y8G("ngIf",r.userInfo.userPrivilege.allowLoggedUserViewCaseActivity||r.userInfo.userPrivilege.allowViewNotes),e.R7$(2),e.Y8G("ngIf",r.userInfo.userPrivilege.allowLoggedUserViewCaseActivity),e.R7$(),e.Y8G("ngIf",r.userInfo.userPrivilege.allowViewNotes))},dependencies:[ie.bT,q.Wk,Y.D9]})}}return n})();const ID=()=>({mapTypes:"lrHCPSpecialtyMap,DecisionReasonDeniedMap,DecisionReasonCancelledMap,LeaveDecisionStatusMap"});function DD(n,d){if(1&n){const t=e.RV6();e.j41(0,"p")(1,"a",11),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.changeLocale())}),e.EFF(2),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.languageDisp)}}function zd(n,d){if(1&n&&(e.j41(0,"div",10),e.DNE(1,DD,3,1,"p",8),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",!t.isMobileApp)}}function Hh(n,d){if(1&n&&(e.j41(0,"h1",12)(1,"span",13),e.EFF(2),e.nI1(3,"translate"),e.j41(4,"span",14),e.EFF(5),e.k0s()()()),2&n){const t=e.XpG();e.R7$(2),e.SpI(" ",e.bMT(3,4,"workingAs")," "),e.R7$(3),e.E5c(" ",t.userInfo.onBehalfFirstName," ",t.userInfo.onBehalfLastName," (",t.userInfo.onBehalfEmplNumber,") ")}}function CD(n,d){if(1&n&&(e.j41(0,"div",15),e.nrm(1,"img",16),e.j41(2,"div")(3,"h2",17),e.EFF(4),e.k0s(),e.nrm(5,"div",18),e.nI1(6,"safeHtml"),e.k0s()()),2&n){const t=e.XpG();e.R7$(4),e.JRh(t.announcment.title),e.R7$(),e.Y8G("innerHTML",e.bMT(6,2,null==t.announcment?null:t.announcment.description),e.npT)}}function Db(n,d){1&n&&(e.j41(0,"span",22),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"portal.clickThroughInfo2")," "))}function MD(n,d){if(1&n&&(e.j41(0,"div",19)(1,"div"),e.EFF(2),e.nI1(3,"async"),e.nI1(4,"translate"),e.k0s(),e.j41(5,"p",20)(6,"span"),e.EFF(7),e.nI1(8,"async"),e.nI1(9,"translate"),e.k0s(),e.DNE(10,Db,3,3,"span",21),e.nI1(11,"async"),e.k0s(),e.nrm(12,"p"),e.k0s()),2&n){const t=e.XpG();e.R7$(2),e.JRh(e.bMT(4,5,e.bMT(3,3,t.userService.portalPermission$)===t.PortalPermission.ClickThru?"portal.accessLevel.clickThrough":"portal.accessLevel.viewOnly")),e.R7$(5),e.SpI("",e.bMT(9,9,e.bMT(8,7,t.userService.portalPermission$)===t.PortalPermission.ClickThru?"portal.clickThroughInfo1":"portal.viewOnlyInfo")," "),e.R7$(3),e.Y8G("ngIf",e.bMT(11,11,t.userService.portalPermission$)===t.PortalPermission.ClickThru)}}function Cb(n,d){if(1&n&&(e.qex(0),e.j41(1,"li"),e.EFF(2),e.nI1(3,"translate"),e.j41(4,"a",29),e.EFF(5),e.k0s(),e.EFF(6),e.nI1(7,"translate"),e.k0s(),e.bVm()),2&n){const t=d.$implicit;e.R7$(2),e.SpI(" ",e.bMT(3,6,"myAbsences.notificationText1")," "),e.R7$(2),e.Mz_("routerLink","/leaveDetails/",t,""),e.Y8G("queryParams",e.lJ4(10,ID)),e.R7$(),e.SpI(" ",t," "),e.R7$(),e.SpI(" ",e.bMT(7,8,"myAbsences.notificationText2")," ")}}function ck(n,d){if(1&n&&(e.qex(0),e.DNE(1,Cb,8,11,"ng-container",28),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngForOf",t.absenceNotificationList)}}function SD(n,d){1&n&&(e.qex(0),e.j41(1,"li"),e.EFF(2),e.nI1(3,"translate"),e.j41(4,"a",30),e.EFF(5),e.nI1(6,"translate"),e.k0s()(),e.bVm()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,2,"letters.notification")," "),e.R7$(3),e.SpI(" ",e.bMT(6,4,"myAbsences.notification.newLetters")," "))}function Wh(n,d){1&n&&(e.qex(0),e.j41(1,"li"),e.EFF(2),e.nI1(3,"translate"),e.j41(4,"a",31),e.EFF(5),e.nI1(6,"translate"),e.k0s()(),e.bVm()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,2,"letters.notification")," "),e.R7$(3),e.SpI(" ",e.bMT(6,4,"myAbsences.notification.newDocuments")," "))}function Mb(n,d){if(1&n&&(e.j41(0,"div",23),e.nrm(1,"img",16),e.j41(2,"div",24)(3,"h2",25),e.EFF(4),e.nI1(5,"translate"),e.k0s(),e.j41(6,"div",26)(7,"ul",27),e.DNE(8,ck,2,1,"ng-container",8)(9,SD,7,6,"ng-container",8)(10,Wh,7,6,"ng-container",8),e.k0s()()()()),2&n){const t=e.XpG();e.R7$(4),e.JRh(e.bMT(5,4,"myAbsences.notificationTitle")),e.R7$(4),e.Y8G("ngIf",t.absenceNotificationList.length>0),e.R7$(),e.Y8G("ngIf",t.userInfo.hasNewLetters),e.R7$(),e.Y8G("ngIf",t.userInfo.hasNewDocuments)}}function RD(n,d){1&n&&e.nrm(0,"app-dashboard-employer-action")}let wD=(()=>{class n{constructor(t,i,r,u,v,V){this.translate=t,this.activatedRoute=i,this.router=r,this.sessionService=u,this.eventService=v,this.userService=V,this.isWob=!1,this.PortalPermission=p.A$}ngOnInit(){this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)||"{}
1"),this.isMobileApp=this.userInfo.mobileApp,this.userService.isWob.next(this.userInfo.wob),this.isWob=this.userInfo.wob,this.localeId=null!=this.userInfo?this.userInfo.localeId:p.YM.ENGLISH_LOCALE_ID,this.managedAbsences=this.activatedRoute.snapshot.data.viewLeaves,this.announcment=this.activatedRoute.snapshot.data.announcment,this.absenceNotificationList=this.managedAbsences?.absenceNotificationList??[],this.languageDisp=$i.H.getLocaleDispByLocaleId(this.localeId),this.domainResourcePath=se.z.getBaseResourcePath(),this.isLocalized=JSON.parse(sessionStorage.getItem(p.YM.DOMAIN_INFO)||"{}")?.isLocalized;let t=p.sb.MY_ABSENCES_EMP_EVENT_MSG;this.isWob&&(t=p.sb.MY_ABSENCES_MGR_EVENT_MSG),this.announcment?.title&&(this.showAnnouncment=!0),this.eventService.logEvent(p.sb.VIEW_DASHBOARD,t,"")}changeLocale(){this.languageDisp==p.YM.SPANISH_DISP?(this.translate.use(p.YM.SPANISH_US_LOCALE),this.languageDisp=p.YM.ENGLISH_DISP,this.localeId=p.YM.SPANISH_LOCALE_ID):(this.translate.use(p.YM.ENGLISH_US_LOCALE),this.languageDisp=p.YM.SPANISH_DISP,this.localeId=p.YM.ENGLISH_LOCALE_ID),this.sessionService.changeLocale(this.localeId).subscribe(()=>{const t=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)||"{}");t.localeId=this.localeId,sessionStorage.setItem(p.YM.USER_INFO,JSON.stringify(t)),window.location.reload()})}getDetailLink(t){return"/fmlaNg/#/leaveDetails?leaveID="+encodeURIComponent(t)+"&mapTypes=lrHCPSpecialtyMap,DecisionReasonDeniedMap,DecisionReasonCancelledMap,LeaveDecisionStatusMap"}displayNotification(){return this.absenceNotificationList.length>0||this.userInfo.hasNewLetters||this.userInfo.hasNewDocuments}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(Y.c$),e.rXU(q.nX),e.rXU(q.Ix),e.rXU(m.Qo),e.rXU(M.US),e.rXU(M.DL))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-my-absences"]],decls:13,vars:12,consts:[["style","text-align: right","id","locLink",4,"ngIf"],["class","hoverable","id","wobAbsTitle",4,"ngIf"],["class","announcement announcement-horizontal",4,"ngIf"],["class","portalAccessInfo",4,"ngIf"],[1,"row"],[1,"col","notificationBar","h1Row"],["class","noteBox horizontal","id","notificationItem",4,"ngIf"],[3,"myAbsence"],[4,"ngIf"],[3,"managedAbsences"],["id","locLink",2,"text-align","right"],["role","button","id","localeLink","tabindex","0",3,"click"],["id","wobAbsTitle",1,"hoverable"],[1,"font-italic"],[1,"user-info-header"],[1,"announcement","announcement-horizontal"],["alt","","placement","auto","adaptivePosition","true","triggers","click:blur","src","assets/baseResources/gfx/redesignIcons/info.svg",1,"info-icon-style","hide-img"],["id","announcementTitle"],["id","announcement",3,"innerHTML"],[1,"portalAccessInfo"],[1,"greenText"],["style","font-weight: bold",4,"ngIf"],[2,"font-weight","bold"],["id","notificationItem",1,"noteBox","horizontal"],[1,"flex-flip"],["id","myAbsNotfnTitle"],[1,"notifications"],[1,"n
1otification-bullets"],[4,"ngFor","ngForOf"],["id","myAbsNotfnIdLink",3,"routerLink","queryParams"],["routerLink","/viewLetters","id","letterNotification"],["routerLink","/viewLetters","id","docNotification"]],template:function(i,r){1&i&&(e.j41(0,"div"),e.DNE(1,zd,2,1,"div",0)(2,Hh,6,6,"h1",1)(3,CD,7,4,"div",2)(4,MD,13,13,"div",3),e.nI1(5,"async"),e.j41(6,"div",4)(7,"div",5),e.DNE(8,Mb,11,6,"div",6),e.k0s()(),e.nrm(9,"app-dashboard-action",7),e.DNE(10,RD,1,0,"app-dashboard-employer-action",8),e.nI1(11,"async"),e.nrm(12,"app-managed-absences",9),e.k0s()),2&i&&(e.R7$(),e.Y8G("ngIf",r.isLocalized),e.R7$(),e.Y8G("ngIf",r.isWob),e.R7$(),e.Y8G("ngIf",r.showAnnouncment),e.R7$(),e.Y8G("ngIf",null!==e.bMT(5,8,r.userService.portalPermission$)),e.R7$(4),e.Y8G("ngIf",r.displayNotification()),e.R7$(),e.Y8G("myAbsence",null==r.userInfo?null:r.userInfo.userPrivilege),e.R7$(),e.Y8G("ngIf",r.isWob&&null===e.bMT(11,10,r.userService.portalPermission$)),e.R7$(2),e.Y8G("managedAbsences",r.managedAbsences))},dependencies:[ie.Sq,ie.bT,q.Wk,w1,yD,Ib,ie.Jj,Y.D9,Dn.$],styles:[".hide-img[_ngcontent-%COMP%]{display:none}.portalAccessInfo[_ngcontent-%COMP%]{color:#628000;font-size:23px;line-height:27px;display:flex;flex-direction:column;gap:22px;padding-top:16px}.announcement[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .noteBox[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{display:block}#announcementTitle[_ngcontent-%COMP%]{font-weight:700;margin-bottom:15px!important}.announcement[_ngcontent-%COMP%]{background-color:#e5f3ff;border:1px solid #070F36;padding:30px 35px;margin-bottom:15px;border-radius:20px}.announcement-horizontal[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:normal}.noteBox[_ngcontent-%COMP%]{padding:25px 35px;border-radius:20px;border:1px solid #070F36;margin-bottom:50px}.info-icon-style[_ngcontent-%COMP%]{margin-top:0!important;margin-right:25px}.notificationBar[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin-bottom:0;font-weight:700;font-size:20px!important}.notification-bullets[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{list-style-type:disc;color:#070f36;font-size:14px}.flex-flip[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center}@media (max-width: 617px){#announcementTitle[_ngcontent-%COMP%], #myAbsNotfnTitle[_ngcontent-%COMP%]{margin-top:0!important}#notificationItem[_ngcontent-%COMP%]{align-items:normal}.flex-flip[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:normal}@media (min-width: 440px){.notifications[_ngcontent-%COMP%]{margin-left:-7px}}}@media (max-width: 460px){.announcement[_ngcontent-%COMP%], .noteBox[_ngcontent-%COMP%]{padding:15px 10px}.info-icon-style[_ngcontent-%COMP%]{margin-right:10px}}"]})}}return n})();const kD=()=>({incidentalAbsence:!1}),o_=n=>({mgrLocale:n}),dk=()=>({incidentalAbsence:!0});function Sb(n,d){if(1&n){const t=e.RV6();e.j41(0,"p",16)(1,"a",17),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.changeLocale())}),e.EFF(2),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngClass",e.eq3(2,o_,0===t.domainId)),e.R7$(),e.SpI(" ",t.languageDisp,"")}}function wl(n,d){if(1&n&&(e.j41(0,"div",14),e.DNE(1,Sb,3,4,"p",15),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",!t.isMobileApp)}}function Rb(n,d){if(1&n&&(e.qex(0),e.j41(1,"div",5)(2,"div",6),e.nrm(3,"img",18),e.j41(4,"a",19),e.EFF(5),e.nI1(6,"translate"),e.k0s()()(),e.bVm()),2&n){const t=e.XpG();e.R7$(3),e.Mz_("src","",t.domainResourcePath,"/gfx/mgrActionIcons/generate_reports.svg",e.B4B),e.R7$(2),e.SpI(" ",e.bMT(6,3,"myAbsences.reports.generateReports")," ")}}function AD(n,d){if(1&n&&(e.qex(0),e.j41(1,"div",5)(2,"div",6),e.nrm(3,"img",20),e.j41(4,"a",21),e.EFF(5),e.nI1(6,"translate"),e.k0s()()(),e.bVm()),2&n){const t=e.XpG();e.R7$(3),e.Mz_("src","",t.domainResourcePath,"/gfx/mgrActionIcons/account_materials.svg",e.B4B),e.R7$(2),e.SpI(" ",e.bMT(6,3,"myAbsences.reports.viewAccountMaterials")," ")}}function uk(n,d){if(1&n&&(e.qex(0),e.j41(1,"div",5)(2,"div",6),e.nrm(3,"img",22),e.j41(4,"a",23),e.EFF(5),e.nI1(6,"translate"),e.k0s()()(),e.bVm()),2&n){const t=e.XpG();e.R7$(3),e.Mz_("src","",t.domainResourcePath,"/gfx/mgrActionIcons/report_recipients.svg",e.B4B),e.R7$(2),e.SpI(" ",e.bMT(6,3,"myAbsences.reports.maintainReportRecipients")," ")}}function Br(n,d){if(1&n&&(e.qex(0),e.j41(1,"div",5)(2,"div",6),e.nrm(3,"img",24),e.j41(4,"a",25),e.EFF(5),e.nI1(6,"translate"),e.k0s()()(),e.bVm()),2&n){const t=e.XpG();e.R7$(3),e.Mz_("src","",t.domainResourcePath,"/gfx/mgrActionIcons/incidental_absence.svg",e.B4B),e.R7$(),e.Y8G("queryParams",e.lJ4(6,dk)),e.R7$(),e.SpI(" ",e.bMT(6,4,"mgr.reportIncidental")," ")}}function xD(n,d){if(1&n&&(e.j41(0,"div",5)(1,"div",6),e.nrm(2,"img",26),e.j41(3,"a",27),e.EFF(4," Access Sun Life Connect "),e.k0s()()()),2&n){const t=e.XpG();e.R7$(2),e.Mz_("src","",t.sunlifePath,"/slConnect.png",e.B4B)}}function a_(n,d){if(1&n&&(e.qex(0),e.j41(1,"div",5)(2,"div",6),e.nrm(3,"img",28),e.j41(4,"a",29),e.EFF(5),e.nI1(6,"translate"),e.k0s()()(),e.bVm()),2&n){const t=e.XpG();e.R7$(3),e.Mz_("src","",t.domainResourcePath,"/gfx/mgrActionIcons/letter_attachments.svg",e.B4B),e.R7$(2),e.SpI(" ",e.bMT(6,3,"viewLetterAttachments")," ")}}function ND(n,d){if(1&n&&(e.qex(0),e.j41(1,"div",5)(2,"div",6),e.nrm(3,"img",30),e.j41(4,"a",31),e.EFF(5),e.nI1(6,"translate"),e.k0s()()(),e.bVm()),2&n){const t=e.XpG();e.R7$(3),e.Mz_("src","",t.domainResourcePath,"/gfx/mgrActionIcons/communication_materials.svg",e.B4B),e.R7$(2),e.SpI(" ",e.bMT(6,3,"viewCommunicationMaterials")," ")}}function OD(n,d){if(1&n&&(e.qex(0),e.j41(1,"div",5)(2,"div",6),e.nrm(3,"img",32),e.j41(4,"a",33),e.EFF(5),e.nI1(6,"translate"),e.k0s()()(),e.bVm()),2&n){const t=e.XpG();e.R7$(3),e.Mz_("src","",t.domainResourcePath,"/gfx/mgrActionIcons/accommodation_coaching.svg",e.B4B),e.R7$(2),e.SpI(" ",e.bMT(6,3,"rac.button")," ")}}function l_(n,d){if(1&n&&(e.qex(0),e.j41(1,"div",5)(2,"div",6),e.nrm(3,"img",34),e.nI1(4,"translate"),e.j41(5,"a",35),e.EFF(6),e.nI1(7,"translate"),e.k0s()()(),e.bVm()),2&n){const t=e.XpG();e.R7$(3),e.Mz_("src","",t.domainResourcePath,"/gfx/empActionIcons/data_visualization.svg",e.B4B),e.FS9("alt",e.bMT(4,4,"powerbi.dashboard.tile")),e.R7$(3),e.SpI(" ",e.bMT(7,6,"powerbi.dashboard.tile")," ")}}function wb(n,d){1&n&&(e.qex(0),e.nrm(1,"div",36),e.j41(2,"div"),e.nrm(3,"app-summary")(4,"div",0),e.k0s(),e.bVm())}let kb=(()=>{class n{constructor(t,i,r,u,v,V,Ce,it){this.translate=t,this.sessionService=i,this.eventService=r,this.dashboardVisibilityService=u,this.domainConfigService=v,this.windowService=V,this.router=Ce,this.userService=it,this.destroy$=new Gn.B,this.dashboardCards=[],this.dashboardScenario=p.ww.SCENARIO_NO_ACCESS}ngOnInit(){JSON.parse(sessionStorage.getItem(p.YM.USER_INFO))?.w
1ob?this.userService.endWob().subscribe(()=>{this.userService.getUserInfo().subscribe(i=>{this.userService.isWob.next(!1),sessionStorage.setItem(p.YM.USER_INFO,JSON.stringify(i)),this.initDashboard()})}):this.initDashboard()}initDashboard(){const t=JSON.parse(sessionStorage.getItem(p.YM.DOMAIN_INFO));this.domainResourcePath=se.z.getBaseResourcePath(),this.isLocalized=t.isLocalized,this.displaySlfConnect=4==t.domainId,this.domainId=t.domainId,this.displaySlfConnect&&(this.sunlifePath=se.z.getDomainResourcePath(t.folderName)),this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)),this.isMobileApp=this.userInfo.mobileApp,this.isMobileDevice=this.windowService.isMobileDevice,this.localeId=null!=this.userInfo?this.userInfo.localeId:p.YM.ENGLISH_LOCALE_ID,this.languageDisp=$i.H.getLocaleDispByLocaleId(this.localeId),this.showLetters=this.userInfo.userPrivilege.allowLoggedUserViewLetterAttachments&&this.userInfo.userPrivilege.superUser,this.initializeDashboardVisibility(),this.showPowerBIDashboard=this.userInfo.userPrivilege.mgrOrHR,sessionStorage.getItem(p.YM.INCIDENTAL_SEARCH_RESULT)&&sessionStorage.removeItem(p.YM.INCIDENTAL_SEARCH_RESULT),this.eventService.logEvent(p.sb.VIEW_DASHBOARD,p.sb.MGR_DASHBOARD_EVENT_MSG,"")}changeLocale(){this.languageDisp==p.YM.SPANISH_DISP?(this.translate.use(p.YM.SPANISH_US_LOCALE),this.languageDisp=p.YM.ENGLISH_DISP,this.localeId=p.YM.SPANISH_LOCALE_ID):(this.translate.use(p.YM.ENGLISH_US_LOCALE),this.languageDisp=p.YM.SPANISH_DISP,this.localeId=p.YM.ENGLISH_LOCALE_ID),this.sessionService.changeLocale(this.localeId).subscribe(()=>{const t=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)||"{}");t.localeId=this.localeId,sessionStorage.setItem(p.YM.USER_INFO,JSON.stringify(t)),window.location.reload()})}getViewLeaveReqText(){return this.translate.instant(this.userInfo.userPrivilege.dispDisabilityClaim?"myAbsences.viewLeaveRequestsDisability":"viewMyRequests")}initializeDashboardVisibility(){this.dashboardVisibilityService.getDashboardVisibility().pipe((0,Kn.Q)(this.destroy$)).subscribe(t=>{this.dashboardVisibility=t,this.dashboardScenario=t.scenario,this.showReportsTile=!!this.dashboardVisibility?.showLeadershipDashboard}),this.dashboardVisibilityService.getDashboardCards().pipe((0,Kn.Q)(this.destroy$)).subscribe(t=>{this.dashboardCards=t})}hasAccessToDashboard(t){if(!this.dashboardVisibility)return!1;switch(t){case"employer-contacts":return this.dashboardVisibility.showEmployerContactsDashboard;case"leadership":return this.dashboardVisibility.showLeadershipDashboard;case"powerbi":return this.userInfo.userPrivilege.mgrOrHR&&this.dashboardVisibility.showReportsMenu;default:return!1}}isBaseDomain(){return this.domainConfigService.isBaseDomain}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(Y.c$),e.rXU(m.Qo),e.rXU(M.US),e.rXU(M.ks),e.rXU(xe.K),e.rXU(m.s7),e.rXU(q.Ix),e.rXU(M.DL))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-mgr-dashboard"]],decls:31,vars:24,consts:[[1,"row"],[1,"col","h1Row"],["style","text-align: right",4,"ngIf"],[1,"row","dashboard","ms-2","reset-margins"],[1,"reset-padding"],[1,"dashboard-col"],[1,"icon-dashboard","mgr-tile"],["alt","","aria-hidden","true","id","behalfImg",1,"dashboard-icons",3,"src"],["routerLink","/workOnBehalf","id","behalfLink",1,"icon-text-link","reset-font-weight",3,"queryParams"],[4,"ngIf"],["id","leaveDisClaimReq",1,"icon-dashboard","mgr-tile"],["alt","","aria-hidden","true","id","viewLeaveReqImg",1,"dashboard-icons",3,"src"],["routerLink","/absences","id","viewLeaveReqLink",1,"icon-text-link","reset-font-weight"],["class","dashboard-col",4,"ngIf"],[2,"text-align","right"],["class","locale",4,"ngIf"],[1,"locale"],["tabindex","0","id","localeLink",3,"click","ngClass"],["alt","","aria-hidden","true","id","reportsImg",1,"dashboard-icons",3,"src"],["routerLink","/generateReports","id","reportsLink",1,"icon-text-link","reset-font-weight"],["alt","","aria-hidden","true","id","acctMaterialsImg",1,"dashboard-icons",3,"src"],["routerLink","/generateReports","id","viewAccountMaterialsLink",1,"icon-text-link","reset-font-we
1ight"],["alt","","aria-hidden","true","id","maintainReportRecipientsImg",1,"dashboard-icons",3,"src"],["routerLink","/account-report-selection","id","maintainReportRecipientsLink",1,"icon-text-link","reset-font-weight"],["alt","","aria-hidden","true","id","incidentalImg",1,"dashboard-icons",3,"src"],["routerLink","/workOnBehalf","id","incidentalLink",1,"icon-text-link","reset-font-weight",3,"queryParams"],["alt","","aria-hidden","true",1,"dashboard-icons",3,"src"],["href","https://login.sunlifeconnect.com/commonlogin/","id","sunLifeConnectLink",1,"icon-text-link","reset-font-weight"],["alt","","aria-hidden","true","id","viewLetterAttachmentsImg",1,"dashboard-icons",3,"src"],["routerLink","/viewLetterAttachments","id","viewLetterAttachmentsLink",1,"icon-text-link","reset-font-weight"],["alt","","aria-hidden","true","id","communicationMaterialsImg",1,"dashboard-icons",3,"src"],["routerLink","/viewCommunicationMaterials","id","viewCommunicationMaterialsLink",1,"icon-text-link","reset-font-weight"],["alt","","aria-hidden","true","id","RequestCoachingImg",1,"dashboard-icons",3,"src"],["routerLink","/requestAccommodationsCoaching","id","requestCoachingLink",1,"icon-text-link","reset-font-weight"],["id","powerBIReportsImg",1,"dashboard-icons",3,"src","alt"],["routerLink","/reportsDashboard","id","powerBIReportsLink",1,"icon-text-link"],[1,"mt-4"]],template:function(i,r){1&i&&(e.j41(0,"div")(1,"div",0)(2,"div",1),e.DNE(3,wl,2,1,"div",2),e.k0s()(),e.j41(4,"div")(5,"div",3)(6,"h2",4),e.EFF(7),e.nI1(8,"translate"),e.k0s()(),e.j41(9,"div",0)(10,"div",5)(11,"div",6),e.nrm(12,"img",7),e.j41(13,"a",8),e.EFF(14),e.nI1(15,"translate"),e.k0s()()(),e.DNE(16,Rb,7,5,"ng-container",9)(17,AD,7,5,"ng-container",9),e.j41(18,"div",5)(19,"div",10),e.nrm(20,"img",11),e.j41(21,"a",12),e.EFF(22),e.k0s()()(),e.DNE(23,uk,7,5,"ng-container",9)(24,Br,7,7,"ng-container",9)(25,xD,5,2,"div",13)(26,a_,7,5,"ng-container",9)(27,ND,7,5,"ng-container",9)(28,OD,7,5,"ng-container",9)(29,l_,8,8,"ng-container",9),e.k0s()(),e.DNE(30,wb,5,0,"ng-container",9),e.k0s()),2&i&&(e.R7$(3),e.Y8G("ngIf",r.isLocalized),e.R7$(4),e.SpI(" ",e.bMT(8,19,"myAbsences.actionTitle")," "),e.R7$(5),e.Mz_("src","",r.domainResourcePath,"/gfx/mgrActionIcons/wob.svg",e.B4B),e.R7$(),e.Y8G("queryParams",e.lJ4(23,kD)),e.R7$(),e.SpI(" ",e.bMT(15,21,"wob")," "),e.R7$(2),e.Y8G("ngIf",null==r.userInfo||null==r.userInfo.userPrivilege?null:r.userInfo.userPrivilege.displayReportsLink),e.R7$(),e.Y8G("ngIf",null==r.userInfo||null==r.userInfo.userPrivilege?null:r.userInfo.userPrivilege.dispAccountMaterials),e.R7$(3),e.Mz_("src","",r.domainResourcePath,"/gfx/redesignIcons/clock.svg",e.B4B),e.R7$(2),e.JRh(r.getViewLeaveReqText()),e.R7$(),e.Y8G("ngIf",null==r.userInfo||null==r.userInfo.userPrivilege?null:r.userInfo.userPrivilege.allowHrSuperMaintainReportRecipients),e.R7$(),e.Y8G("ngIf",null==r.userInfo||null==r.userInfo.userPrivilege?null:r.userInfo.userPrivilege.displayIncidentAbsence),e.R7$(),e.Y8G("ngIf",r.displaySlfConnect),e.R7$(),e.Y8G("ngIf",r.showLetters),e.R7$(),e.Y8G("ngIf",null==r.userInfo||null==r.userInfo.userPrivilege?null:r.userInfo.userPrivilege.allowLoggedUserViewCommunicationMaterials),e.R7$(),e.Y8G("ngIf",null==r.userInfo||null==r.userInfo.userPrivilege?null:r.userInfo.userPrivilege.allowRequestAccommodationsCoaching),e.R7$(),e.Y8G("ngIf",r.showReportsTile&&!r.isMobileApp&&!r.isMobileDevice),e.R7$(),e.Y8G("ngIf",!(null!=r.userInfo&&null!=r.userInfo.userPrivilege&&r.userInfo.userPrivilege.portalPermission)))},dependencies:[ie.YU,ie.bT,q.Wk,nD,Y.D9],styles:[".locale[_ngcontent-%COMP%]{font-weight:bolder}@media (max-width: 850px){.mgrLocale[_ngcontent-%COMP%]{bottom:59px!important}}"]})}}return n})();function Ab(n,d){if(1&n&&(e.qex(0),e.j41(1,"div",3)(2,"div",8),e.nrm(3,"img",9),e.nI1(4,"translate"),e.j41(5,"a",10),e.EFF(6),e.nI1(7,"translate"),e.k0s()()(),e.bVm()),2&n){const t=e.XpG();e.R7$(3),e.Mz_("src","",t.domainResourcePath,"/gfx/empActionIcons/data_visualization.svg",e.B4B),e.FS9("alt",e.bMT(4,4,"powerbi.dashboard.tile")),e.R7$(3),e.SpI(" ",e.bMT(7,6,"powerbi.dashboard.tile")," ")}}let FD=(()=>{class n{constructor(t,i,r){this.translate=t,this.windowService=i,this.domainConfigService=r}ngOnInit(){this.domainResourcePath=se.z.getBaseResourcePath(),this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)),this.isMobileApp=this.userInfo.mobileAp
1p,this.isMobileDevice=this.windowService.isMobileDevice}getViewLeaveReqText(){return this.translate.instant(this.userInfo.userPrivilege.dispDisabilityClaim?"myAbsences.viewLeaveRequestsDisability":"viewMyRequests")}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(Y.c$),e.rXU(m.s7),e.rXU(xe.K))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-employer-contact-dashboard"]],decls:12,vars:7,consts:[[1,"row","dashboard","ms-2","reset-margins"],[1,"reset-padding"],[1,"row"],[1,"dashboard-col"],["id","leaveDisClaimReq",1,"icon-dashboard","mgr-tile"],["alt","","aria-hidden","true","id","viewLeaveReqImg",1,"dashboard-icons",3,"src"],["routerLink","/absences","id","viewLeaveReqLink",1,"icon-text-link","reset-font-weight"],[4,"ngIf"],[1,"icon-dashboard","mgr-tile"],["id","powerBIReportsImg",1,"dashboard-icons",3,"src","alt"],["routerLink","/reportsDashboard","id","powerBIReportsLink",1,"icon-text-link"]],template:function(i,r){1&i&&(e.j41(0,"div")(1,"div",0)(2,"h2",1),e.EFF(3),e.nI1(4,"translate"),e.k0s()(),e.j41(5,"div",2)(6,"div",3)(7,"div",4),e.nrm(8,"img",5),e.j41(9,"a",6),e.EFF(10),e.k0s()()(),e.DNE(11,Ab,8,8,"ng-container",7),e.k0s()()),2&i&&(e.R7$(3),e.SpI(" ",e.bMT(4,5,"myAbsences.actionTitle")," "),e.R7$(5),e.Mz_("src","",r.domainResourcePath,"/gfx/redesignIcons/clock.svg",e.B4B),e.R7$(2),e.SpI(" ",r.getViewLeaveReqText()," "),e.R7$(),e.Y8G("ngIf",!r.isMobileApp&&!r.isMobileDevice))},dependencies:[ie.bT,q.Wk,Y.D9],encapsulation:2})}}return n})();function LD(n,d){if(1&n){const t=e.RV6();e.j41(0,"div")(1,"div",3)(2,"span",4),e.EFF(3),e.nI1(4,"translate"),e.k0s()(),e.j41(5,"div",5)(6,"div",6)(7,"label",7),e.EFF(8),e.nI1(9,"translate"),e.k0s(),e.j41(10,"span",8),e.EFF(11),e.k0s()(),e.j41(12,"div",6)(13,"label",9),e.EFF(14),e.nI1(15,"translate"),e.k0s(),e.j41(16,"span",10),e.EFF(17),e.k0s()(),e.j41(18,"div",6)(19,"label",11),e.EFF(20),e.nI1(21,"translate"),e.k0s(),e.j41(22,"span",12),e.EFF(23),e.nI1(24,"translate"),e.k0s()(),e.j41(25,"div",6)(26,"label",13),e.EFF(27),e.nI1(28,"translate"),e.k0s(),e.j41(29,"span",14),e.EFF(30),e.k0s()(),e.j41(31,"div",6)(32,"label",15),e.EFF(33),e.nI1(34,"translate"),e.k0s(),e.j41(35,"span",16),e.EFF(36),e.nI1(37,"date"),e.k0s()(),e.j41(38,"div",6)(39,"label",17),e.EFF(40),e.nI1(41,"translate"),e.k0s(),e.j41(42,"span",18),e.EFF(43),e.k0s()(),e.j41(44,"div",6)(45,"label",19),e.EFF(46),e.nI1(47,"translate"),e.k0s(),e.j41(48,"span",20),e.EFF(49),e.k0s()()(),e.j41(50,"div",21)(51,"input",22),e.nI1(52,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.onDeleteConfirm())}),e.k0s(),e.j41(53,"input",23),e.nI1(54,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.onCancel())}),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(3),e.JRh(e.bMT(4,17,"label.reportTime.confirmDelete.title")),e.R7$(5),e.SpI(" ",e.bMT(9,19,"label.leaveTime.leaveId")," "),e.R7$(3),e.JRh(t.deletedLeave.leaveTimeId),e.R7$(3),e.JRh(e.bMT(15,21,"label.leaveTime.leaveReq")),e.R7$(3),e.SpI(" ",t.deletedLeave.leaveRequestId>0?t.deletedLeave.leaveRequestId:"N/A"," "),e.R7$(3),e.JRh(e.bMT(21,23,"label.leaveTime.leaveDesc")),e.R7$(3),e.SpI(" ",t.deletedLeave.leaveRequestId>0?t.deletedLeave.leaveDescription:e.bMT(24,25,"incidentalAbsence.label")," "),e.R7$(4),e.JRh(e.bMT(28,27,"label.leaveTime.absReason")),e.R7$(3),e.JRh(t.deletedLeave.absenseReason),e.R7$(3),e.JRh(e.bMT(34,29,"myAbsences.reportTime.leaveDate")),e.R7$(3),e.JRh(e.i5U(37,31,t.deletedLeave.leaveDate,"MM/dd/yyyy")),e.R7$(4),e.JRh(e.bMT(41,34,"myAbsences.reportTime.hours")),e.R7$(3),e.JRh(t.deletedLeave.leaveHours),e.R7$(3),e.JRh(e.bMT(47,36,"myAbsences.reportTime.minutes")),e.R7$(3),e.JRh(t.deletedLeave.leaveMinutes),e.R7$(2),e.FS9("value",e.bMT(52,38,"label.leaveTime.delete")),e.R7$(2),e.FS9("value",e.bMT(54,40,"myAbsences.reportTime.cancelBtn"))}}function Jc(n,d){if(1&n&&(e.qex(0),e.j41(1,"span",38),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.bVm()),2&n){const t=d.$implicit;e.R7$(2),e.JRh(e.bMT(3,1,t))}}function xb(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",24),e.DNE(1,Jc,4,3,"ng-container",25),e.k0s(),e.j41(2,"div",5)(3,"div",26)(4,"label",27),e.EFF(5),e.nI1(6,"translate"),e.k0s(),e.j41(7,"span",28),e.EFF(8),e.k0s()(),e.j41(9,"div",26)(10,"label",29),e.EFF(11),e.nI1(12,"translate"),e.k0s(),e.j41(13,"span",30),e.EFF(14),e.k0s()(),e.j41(15,"div",26)(16,"label",31),e.EFF(17),e.nI1(18,"translate"),e.k0s(),e.j41(19,"span",32),e.EFF(20),e.k0s()(),e.j41(21,"div",26)(22,"label",33),e.EFF(23),e.nI1(24,"translate"),e.k0s(),e.j41(25,"span",34),e.EFF(26),e.k0s()(),e.j41(27,"div",26)(28,"label",35),e.EFF(29),e.nI1(30,"translate"),e.k0s(),e.j41(31,"span",36),e.EFF(32),e.k0s()(),e.j41(33,"div",37)(34,"input",22),e.nI1(35,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.onConfirm())}),e.k0s(),e.j41(36,"input",23),e.nI1(37,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.onCancel())}),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.fspWarningKeys),e.R7$(4),e.SpI(" ",e.bMT(6,13,"myAbsences.reportTime.override.leaveDesc")," "),e.R7$(3),e.JRh(t.FSPWarning.leaveRequestDescription),e.R7$(3),e.SpI(" ",e.bMT(12,15,"myAbsences.reportTime.absenceReason")," "),e.R7$(3),e.JRh(t.FSPWarning.absenceReason),e.R7$(3),e.SpI(" ",e.bMT(18,17,"myAbsences.reportTime.leaveDate")," "),e.R7$(3),e.JRh(t.FSPWarning.leaveDate),e.R7$(3),e.SpI(" ",e.bMT(24,19,"myAbsences.reportTime.hours")," "),e.R7$(3),e.JRh(t.reportTimeRequest.leaveTimeHours),e.R7$(3),e.SpI(" ",e.bMT(30,21,"myAbsences.reportTime.minutes")," "),e.R7$(3),e.JRh(t.reportTimeRequest.leaveTimeMinutes),e.R7$(2),e.FS9("value",e.bMT(35,23,"myAbsences.reportTime.confirmBtn")),e.R7$(2),e.FS9("value",e.bMT(37,25,"myAbsences.reportTime.cancelBtn"))}}let qh=(()=>{class n{constructor(t,i){this.activeModal=t,this.reportTimeService=i}onConfirm(){this.reportTimeRequest.override=!0,this.reportTimeService.submitReportTime(this.reportTimeRequest).subscribe(t=>{-1!=t.confirmationId&&this.activeModal.close(t.confirmationId)})}onCancel(){this.activeModal.dismiss()}onDeleteConfirm(){this.reportTimeService.deleteReportTime(this.deletedLeave).subscribe(t=>{this.activeModal.close(t)})}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(G.Lw),e.rXU(M.Vc))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-report-time-warning"]],inputs:{fspWarningKeys:"fspWarningKeys",FSPWarning:"FSPWarning",reportTimeRequest:"reportTimeRequest",deletedLeave:"deletedLeave"},decls:4,vars:2,consts:[["warning",""],[1,"absenceResources"],[4,"ngIf","ngIfElse"],[1,"modal-header","delete-modal-title",2,"display","block"],["id","titleId",1,"title-text"],[1,"modal-body","confirmBody"],[1,"form-inline","boxText","centered-horizontally"],["id","leaveTimeIdLabel","for","leaveTimeId",1,"subLabel","body-text"],["id","leaveTimeId",1,"readonlyDataCol"],["for","leaveReqId",1,"subLabel","body-text"],["id","leaveReqId",1,"readonlyDataCol"],["for","leaveDescReqId",1,"subLabel","body-text"],["id","leaveDescReqId",1,"readonlyDataCol"],["for","leaveAbsReqId",1,"subLabel","body-text"],["id","leaveAbsReqId",1,"readonlyDataCol"],["for","leaveDateReqId",1,"subLabel","body-text"],["id","leaveDateReqId",1,"readonlyDataCol"],["for","leaveHoursReqId",1,"subLabel","body-text"],["id","leaveHoursReqId",1,"readonlyDataCol"],["for","leaveMinReqd",1,"subLabel","body-text"],["id","leaveMinReqd",1,"readonlyDataCol"],[1,"modal-footer","flip-buttons"],["
1id","reportTimeButtonOverride","type","submit","name","reportTimeButtonOverride",1,"submit","primaryBtn",3,"click","value"],["id","cancelOverride","type","submit","name","cancelOverride",1,"submit","secondaryBtn",3,"click","value"],[1,"modal-header",2,"display","block"],[4,"ngFor","ngForOf"],[1,"form-inline","boxText"],["id","leaveDescConfirmLabel","for","leaveDescConfirm",1,"subLabel"],["id","leaveDescConfirm",1,"readonlyDataCol"],["id","leaveReasonConfirmLabel","for","leaveReasonConfirm",1,"subLabel"],["id","leaveReasonConfirm",1,"readonlyDataCol"],["id","leaveDateConfirmLabel","for","leaveDateConfirm",1,"subLabel"],["id","leaveDateConfirm",1,"readonlyDataCol"],["id","hoursConfirmLabel","for","hoursConfirm",1,"subLabel"],["id","hoursConfirm",1,"readonlyDataCol"],["id","minutesConfirmLabel","for","minutesConfirm",1,"subLabel"],["id","minutesConfirm",1,"readonlyDataCol"],[1,"modal-footer"],["id","errMsg"]],template:function(i,r){if(1&i&&(e.j41(0,"div",1),e.DNE(1,LD,55,42,"div",2)(2,xb,38,27,"ng-template",null,0,e.C5r),e.k0s()),2&i){const u=e.sdS(3);e.R7$(),e.Y8G("ngIf",r.deletedLeave)("ngIfElse",u)}},dependencies:[ie.Sq,ie.bT,ie.vh,Y.D9],styles:[".absenceResources[_ngcontent-%COMP%]{.delete-modal-title{text-align:center}.title-text{font-size:35px!important}.modal-body{margin-left:60px}.modal-header{padding-top:40px}.modal-footer{border-top:none}.flip-buttons{display:flex;flex-direction:row-reverse;justify-content:center}.body-text,span{font-size:22px!important;font-weight:400!important}.submit{margin-top:0;margin-bottom:20px}@media (max-width: 905px){.modal-body{margin-left:0}.body-text{width:100px!important;margin-right:10px!important}.readonlyDataCol{width:200px!important;margin-right:0}.centered-horizontally{display:flex;justify-content:center}}@media (max-width: 565px){#reportTimeButtonOverride,#cancelOverride{width:100%;margin-left:20px!important}}}"]})}}return n})();class Ec{static createDate(d,t,i){const r=new Date;return r.setDate(r.getDate()+d),r.setMonth(r.getMonth()+t),r.setFullYear(r.getFullYear()+i),new Date(r.getFullYear(),r.getMonth()+1,r.getDate())}static isValidDate(d,t,i){let r=!isNaN(d)&&!isNaN(t)&&!isNaN(i);return!(!r||isNaN(d)||isNaN(t)||isNaN(i))&&((d<1||d>12||t<1||t>31||(4==d||6==d||9==d||11==d)&&t>30||2==d&&(i%400==0||i%4==0)&&i%100!=0&&t>29||2==d&&i%100==0&&t>29||2==d&&t>28)&&(r=!1),r)}static isStringValidDate(d){if(Number(d.length)<=0)return!1;let t=!0;const i=d.split("/");if(3==+i.length){const r=Number(i[2]),u=Number(i[0]),v=Number(i[1]);if(t=!isNaN(u)&&!isNaN(v)&&!isNaN(r),!t||isNaN(u)||isNaN(v)||isNaN(r))return!1;(u<1||u>12||v<1||v>31||(4==u||6==u||9==u||11==u)&&v>30||2==u&&(r%400==0||r%4==0)&&r%100!=0&&v>29||2==u&&r%100==0&&v>29||2==u&&v>28)&&(t=!1)}else t=!1;return t}}class Kr{static{this.BEREAVEMENT_LEAVE=123}static{this.CRIME_VICTIM_COURT_WITNESS=11135}static{this.JURY_DUTY_WITNESS_DUTY=128}static{this.MILITARY_LEAVE=130}static{this.QUALIFYING_EXIGENCY=133}static{this.SCHOOL_VISITATION=11134}static{this.CIVIC=11133}static{this.MATERNITY_LEAVE=129}static{this.PARENTAL_LEAVE=131}static{this.MATERNITY_AND_PARENTAL_LEAVE=134}static{this.neitherLeaveReasonsForReportTime=new Set([Kr.BEREAVEMENT_LEAVE,Kr.CRIME_VICTIM_COURT_WITNESS,Kr.JURY_DUTY_WITNESS_DUTY,Kr.MILITARY_LEAVE,Kr.CIVIC,Kr.QUALIFYING_EXIGENCY,Kr.SCHOOL_VISITATION])}static isNeitherLeaveReasonsForReportTime(d){return Kr.neitherLeaveReasonsForReportTime.has(d)}static isMaternityOrMaternityAndParental(d){return Kr.MATERNITY_LEAVE===d||Kr.MATERNITY_AND_PARENTAL_LEAVE===d}}var c_=I(3482),Ka=I(3794);const Qc=n=>n.split(/[?#]/)[0];let Kd=(()=>{class n{static{this.STORAGE_KEY="abiSelfServicePending"}constructor(t,i){this.router=t,this.abiEvents=i,this.router.events.pipe((0,ye.p)(r=>r instanceof q.wF)).subscribe(r=>this.onNavigated(Qc(r.urlAfterRedirects))),B.T.beforeLogout(()=>this.finish("abandoned"))}started(t){const i=t?Ka.s7[t]:void 0;if(!i)return;const r=this.load();if(r?.arrived&&r.path===i.path&&Qc(this.router.url)===i.path)return;this.finish("abandoned");const u=Qc(this.router.url)===i.path;this.save({...i,arrived:u}),u&&this.onArrived()}notOpened(){!1===this.load()?.arrived&&this.clear()}pageCompleted(t){const i=this.load();i?.arrived&&i.path===t&&this.finish("completed")}onNavigated(t){const i=this.load();i&&(i.arrived?t!==i.path&&this.finish("abandoned"):t===i.path?(this.save({...i,arrived:!0}
1),this.onArrived()):this.clear())}onArrived(){"leave_status"===this.load()?.action&&this.finish("completed")}finish(t){const i=this.load();i&&(this.clear(),this.abiEvents.selfServiceOutcome(i.action,t))}load(){try{return JSON.parse(sessionStorage.getItem(n.STORAGE_KEY)??"null")}catch{return null}}save(t){sessionStorage.setItem(n.STORAGE_KEY,JSON.stringify(t))}clear(){sessionStorage.removeItem(n.STORAGE_KEY)}static{this.\u0275fac=function(i){return new(i||n)(e.KVO(q.Ix),e.KVO(c_.K))}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();const Ja=n=>({fieldError:n}),_p=n=>({disabled:n});function Nb(n,d){if(1&n&&(e.j41(0,"h1")(1,"span",47),e.EFF(2),e.nI1(3,"translate"),e.j41(4,"span",48),e.EFF(5),e.k0s()()()),2&n){const t=e.XpG();e.R7$(2),e.SpI(" ",e.bMT(3,4,"workingAs")," "),e.R7$(3),e.E5c(" ",t.userInfo.onBehalfFirstName," ",t.userInfo.onBehalfLastName," (",t.userInfo.onBehalfEmplNumber,") ")}}function gp(n,d){if(1&n&&(e.j41(0,"span",49)(1,"span",50)(2,"span",51),e.EFF(3),e.k0s()()()),2&n){const t=e.XpG();e.R7$(3),e.JRh(t.confirmMsg)}}function PD(n,d){if(1&n&&(e.j41(0,"span",50)(1,"span",54),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n){const t=d.$implicit;e.R7$(2),e.JRh(e.bMT(3,1,t))}}function jD(n,d){if(1&n&&(e.j41(0,"span",52),e.DNE(1,PD,4,3,"span",53),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.errorMsgs)}}function d_(n,d){if(1&n&&(e.j41(0,"div",35)(1,"label",55),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",56),e.EFF(5),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.JRh(e.bMT(3,2,"label.leaveTime.leaveId")),e.R7$(3),e.JRh(t.editLeaveTimeId)}}function Ob(n,d){if(1&n&&(e.j41(0,"option",57),e.EFF(1),e.k0s()),2&n){const t=d.$implicit;e.Y8G("value",t.absenceId),e.R7$(),e.SpI(" ",t.leaveRequestDescription," ")}}function Tc(n,d){1&n&&(e.j41(0,"div",58)(1,"span",59),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"label.reportTime.leaveReqBlank")," "))}function bp(n,d){if(1&n&&(e.j41(0,"option",57),e.EFF(1),e.k0s()),2&n){const t=d.$implicit;e.Y8G("value",t.key),e.R7$(),e.SpI(" ",t.value," ")}}function pk(n,d){1&n&&(e.j41(0,"div",60)(1,"span",61),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"label.reportTime.absenceCodeMissing")," "))}function Xh(n,d){if(1&n&&(e.j41(0,"div",60)(1,"span",62),e.EFF(2),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.SpI(" ",t.absenceErrorMessage," ")}}function Fb(n,d){1&n&&(e.j41(0,"span",66),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"label.reportTime.dateBlank")," "))}function Lb(n,d){1&n&&(e.j41(0,"span",67),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"label.reportTime.dateInPast")," "))}function BD(n,d){1&n&&(e.j41(0,"span",68),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"label.reportTime.dateInFuture")," "))}function zh(n,d){if(1&n&&(e.j41(0,"div",60),e.DNE(1,Fb,3,3,"span",63)(2,Lb,3,3,"span",64)(3,BD,3,3,"span",65),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.f.leaveDate.hasError("missingDate")),e.R7$(),e.Y8G("ngIf",t.f.leaveDate.hasError("invalidDatePast")),e.R7$(),e.Y8G("ngIf",t.f.leaveDate.hasError("invalidDateFuture"))}}function vp(n,d){1&n&&(e.j41(0,"span",72),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"label.reportTime.hours24")," "))}function YD(n,d){1&n&&(e.j41(0,"span",73),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"myAbsences.reportTime.hoursInvalid")," "))}function $D(n,d){if(1&n&&(e.j41(0,"div",69),e.DNE(1,vp,3,3,"span",70)(2,YD,3,3,"span",71),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.f.hours.hasError("invalidHour24")),e.R7$(),e.Y8G("ngIf",t.f.hours.hasError("invalidHour0"))}}function UD(n,d){1&n&&(e.j41(0,"span",76),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"label.reportTime.minutesInvalid59")," "))}function GD(n,d){1&n&&(e.j41(0,"span",77),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"label.reportTime.minutesInvalid0")," "))}function VD(n,d){if(1&n&&(e.j41(0,"div",60),e.DNE(1,UD,3,3,"span",74)(2,GD,3,3,"span",75),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.f.minutes.hasError("invalidMinute59")),e.R7$(),e.Y8G("ngIf",t.f.minutes.hasError("invalidMinute0"))}}function HD(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",78),e.nrm(1,"input",79),e.j41(2,"label",80),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"a",81),e.nI1(6,"translate"),e.nI1(7,"translate"),e.nI1(8,"translate"),e.bIt("keydown.enter",function(r){return e.eBV(t),r.preventDefault(),e.Njj(r.target.click())}),e.nrm(9,"img",23),e.k0s()()}2&n&&(e.R7$(3),e.JRh(e.bMT(4,5,"myAbsences.reportTime.confirm.web")),e.R7$(2),e.yjJ("ngbTooltip","\n        ",e.bMT(6,7,"myAbsences.reportTime.confirmation.first"),"\n        ",e.bMT(7,9,"myAbsences.reportTime.confirmation.second"),"\n        ",e.bMT(8,11,"myAbsences.reportTime.confirmation.third"),""))}function WD(n,d){1&n&&(e.j41(0,"div",60)(1,"span",82),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"label.reportTime.confirm")," "))}function qD(n,d){1&n&&e.nrm(0,"span",83)}function Kh(n,d){1&n&&(e.j41(0,"span",84),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.JRh(e.bMT(2,1,"myAbsences.reportTime.submit")))}function XD(n,d){1&n&&(e.j41(0,"span",85),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.JRh(e.bMT(2,1,"myAbsences.reportTime.wob.submitTime")))}function zD(n,d){if(1&n){const t=e.RV6();e.j41(0,"button",86),e.nI1(1,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.resetForm())}),e.EFF(2),e.nI1(3,"translate"),e.k0s()}if(2&n){const t=e.XpG();e.FS9("value",e.bMT(1,4,"myAbsences.reportTime.cancelBtn")),e.Y8G("ngClass",e.eq3(8,_p,t.submitted))("disabled",t.submitted),e.R7$(2),e.SpI(" ",e.bMT(3,6,"myAbsences.reportTime.cancelBtn")," ")}}let u_=(()=>{class n{constructor(t,i,r,u,v,V,Ce,it){this.formBuilder=t,this.activatedRoute=i,this.reportTimeService=r,this.modalService=u,this.eventService=v,this.translate=V,this.userService=Ce,this.abiSelfService=it,this.errorMsgs=[],this.submitted=!1,this.fspWarning={},this.isWob=!1,this.isEdit=!1,this.highlightedLeave=0}ngOnInit(){this.absenceResource=!se.z.isDomainBlockedFromRedesignUpdates(),this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)),this.activatedRoute.queryParams.subscribe(r=>{this.userSelectedLeaveId=null!=r.leaveId?r.leaveId:void 0}),this.leaveRequestDescription=this.activatedRoute.snapshot.data.leaveRequestDescription,this.recentTimeLeave=this.activatedRoute.snapshot.data.recentLeave,this.absenceReasonObj=new Map(Object.entries(this.activatedRoute.snapshot.data.absenceReasons)),this.reportTimeRequest=new Yt.j2,this.reportTimeObject=ne
1w Yt.pS,this.reportTimeObject.displayTime=!0,this.reportTimeObject.fullDayUsed=!1,this.userService.isWob.subscribe(r=>{this.isWob=r}),this.isHasBeenSubmitted=!1,this.terms=!0,this.leaveRequestMap=new Map,this.leaveRequestDescription.forEach(r=>{this.leaveRequestMap.set(+r.absenceId,r)}),this.recentTimeLeave.forEach(r=>{r.isEditable=null!=this.leaveRequestMap.get(r.leaveRequestId)}),this.domainResourcePath=se.z.getBaseResourcePath(),this.createForm(),this.userSelectedLeaveId&&this.submitTimeForm.get("selectedLeaveId").patchValue(this.userSelectedLeaveId);let i=Ec.createDate(0,-6,0);this.minLeaveDate={year:i.getFullYear(),month:i.getMonth(),day:i.getDate()},i=Ec.createDate(0,0,1),this.maxLeaveDate={year:i.getFullYear(),month:i.getMonth(),day:i.getDate()},this.eventService.logEvent(p.sb.LOAD_REPORT_TIME,p.sb.REPORT_TIME_EVENT_MSG,null)}onSubmit(){this.submitted=!0,this.confirmMsg="",this.setupFieldsForSubmission(),this.fieldsValidated()?this.reportTimeService.submitReportTime(this.reportTimeRequest).subscribe(t=>{if(t.confirmationId>-1)this.abiSelfService.pageCompleted(Ka.BV.reportTime),this.submitted=!1,this.confirmMsg=this.translate.instant("myAbsences.reportTime.override.submitSuccess",{value:String(t.confirmationId)}),this.highlightedLeave=t.confirmationId,this.reportTimeObject.leaveTimeId=t.confirmationId,this.recentTimeLeave.push(this.reportTimeObject),this.recentTimeLeave.sort((i,r)=>this.getDateTime(r.leaveDate)-this.getDateTime(i.leaveDate)),this.createForm();else if(t.fspErrorKeys)this.submitted=!1,this.errorMsgs=t.fspErrorKeys;else if(t.fspWarningKeys){const i=this.modalService.open(qh,{centered:!0});i.componentInstance.fspWarningKeys=t.fspWarningKeys,i.componentInstance.reportTimeRequest=this.reportTimeRequest,i.componentInstance.FSPWarning=this.fspWarning,i.result.then(r=>{this.abiSelfService.pageCompleted(Ka.BV.reportTime),this.submitted=!1,this.isEdit=!1,this.editLeaveTimeId=void 0,this.createForm(),this.confirmMsg=this.translate.instant("myAbsences.reportTime.override.submitSuccess",{value:String(r)}),this.reportTimeObject.leaveTimeId=r,this.highlightedLeave=r,this.recentTimeLeave.forEach((u,v)=>{u.leaveTimeId===r&&this.recentTimeLeave.splice(v,1)}),this.recentTimeLeave.push(this.reportTimeObject),this.recentTimeLeave=this.recentTimeLeave.slice(),this.recentTimeLeave.sort((u,v)=>this.getDateTime(v.leaveDate)-this.getDateTime(u.leaveDate))},()=>{this.submitted=!1})}}):this.submitted=!1}fieldsValidated(){let t=!0;if(this.errorMsgs=[],Object.keys(this.submitTimeForm.controls).forEach(i=>{this.submitTimeForm.controls[i].markAsTouched(),this.submitTimeForm.controls[i].errors&&(t=!1)}),this.reportTimeRequest.leaveId){let i=this.leaveRequestMap.get(+this.reportTimeRequest.leaveId).leaveReasonId;(+p.YM.ABSENCE_REASON_CODE_ID_EPISODE_INCAPCITY==+this.reportTimeRequest.absenceReasonCodeId||+p.YM.ABSENCE_REASON_CODE_ID_EPISODE_TREATMENT==+this.reportTimeRequest.absenceReasonCodeId)&&Kr.isNeitherLeaveReasonsForReportTime(i)&&(this.absenceErrorMessage=this.translate.instant("label.reportTime.invalidAbsenceReasonEpisodeTreatment"),t=!1)}return 0===Number(this.reportTimeRequest.leaveTimeMinutes)&&0===Number(this.reportTimeRequest.leaveTimeHours)?(this.errorMsgs.push(this.translate.instant("label.reportTime.hoursOrMinutesBlank")),t=!1):24===Number(this.reportTimeRequest.leaveTimeHours)&&Number(this.reportTimeRequest.leaveTimeMinutes)>0&&(this.errorMsgs.push(this.translate.instant("label.reportTime.maximumReached")),t=!1),t}onReasonSelected(){this.errorMsgs=[],this.absenceErrorMessage=""}onOptionsSelected(t){this.errorMsgs=[],this.fspWarning.leaveRequestDescription=t.target.options[t.target.options.selectedIndex].text}setupFieldsForSubmission(){this.reportTimeRequest.leaveId=this.submitTimeForm.get("selectedLeaveId").value,this.reportTimeRequest.id=this.submitTimeForm.get("leaveTimeId").value,this.reportTimeObject=new Yt.pS,this.reportTimeRequest.absenceReasonCodeId=this.submitTimeForm.get("absenceReason").value;let t=this.absenceReasonObj.get(String(this.reportTimeRequest.absenceReasonCodeId));if(this.reportTimeObject.absenseReason=t,this.fspWarning.absenceReason=t,null==this.reportTimeObject.absenseReasonId&&(this.reportTimeObject.absenseReasonId=this.reportTimeRequest.absenceReasonCodeId),this.fspWarning&&this.fspWarning.leaveRequestDescription?this.reportTimeObject.leaveDescription=this.fspWarning.leaveRequestDescription.split("- ").pop():this.leaveRequestDescription.forEach(i=>
1{+i.absenceId==+this.reportTimeRequest.leaveId&&(this.reportTimeObject.leaveDescription=i.leaveRequestDescription.split("- ").pop(),this.fspWarning.leaveRequestDescription=this.reportTimeObject.leaveDescription)}),this.reportTimeObject.leaveRequestId=+this.reportTimeRequest.leaveId,this.submittedDate=this.submitTimeForm.get("leaveDate").value,this.reportTimeRequest.day=this.submittedDate.day,this.reportTimeRequest.month=this.submittedDate.month,this.reportTimeRequest.year=this.submittedDate.year,null==this.submitTimeForm.get("leaveDate").value.year){let i=new Date(this.submitTimeForm.get("leaveDate").value);this.reportTimeRequest.year=i.getFullYear(),this.reportTimeRequest.month=i.getMonth()+1,this.reportTimeRequest.day=i.getDate()}else this.fspWarning.leaveDate=this.submittedDate.month+"/"+this.submittedDate.day+"/"+this.submittedDate.year,this.reportTimeObject.leaveDate=new Date(this.submittedDate.year,this.submittedDate.month-1,this.submittedDate.day);this.reportTimeRequest.override=!1,this.reportTimeRequest.leaveTimeHours=this.submitTimeForm.get("hours").value,this.reportTimeObject.leaveHours=this.reportTimeRequest.leaveTimeHours,this.reportTimeRequest.leaveTimeMinutes=this.submitTimeForm.get("minutes").value,this.reportTimeObject.leaveMinutes=this.reportTimeRequest.leaveTimeMinutes,this.reportTimeRequest.edit=this.isEdit}cleanMsg(){this.errorMsgs=[]}createForm(){this.submitTimeForm=this.formBuilder.group({leaveTimeId:["",""],selectedLeaveId:["",ge.k0.required],absenceReason:["",ge.k0.required],leaveDate:["",this.validateDate],hours:["0",this.validateHours],minutes:["0",this.validateMinutes],terms:[!0,this.validateCheckBox]})}validateDate(t){let i=Ec.createDate(0,-7,0),r=Ec.createDate(0,-1,1);const u=t.value;if(!(u&&u.year&&u.month&&u.day))return{missingDate:!0};let v=new Date(u.year,u.month-1,u.day);return v.getTime()<=i.getTime()?{invalidDatePast:!0}:v.getTime()>r.getTime()?{invalidDateFuture:!0}:null}validateCheckBox(t){return!1===t.value?{validateCheckBox:{valid:!1}}:null}validateHours(t){return Number(t.value)>24?{invalidHour24:!0}:Number(t.value)<0||!t.value&&0!==t.value?{invalidHour0:!0}:null}validateMinutes(t){return Number(t.value)>59?{invalidMinute59:!0}:Number(t.value)<0||!t.value&&0!==t.value?{invalidMinute0:!0}:null}resetForm(){this.isEdit=!1,this.createForm()}onLeaveEditing(t){this.confirmMsg="";const i=t.value;this.isEdit=t.key,this.editLeaveTimeId=i.leaveTimeId,this.submitTimeForm.get("hours").setValue(i.leaveHours),this.submitTimeForm.get("minutes").setValue(i.leaveMinutes),this.submitTimeForm.get("leaveTimeId").setValue(i.leaveTimeId);let r=new Date(i.leaveDate);this.submitTimeForm.get("leaveDate").setValue({year:r.getFullYear(),month:r.getMonth()+1,day:r.getDate()}),this.submitTimeForm.get("selectedLeaveId").setValue(i.leaveRequestId),this.submitTimeForm.get("absenceReason").patchValue(i.absenseReasonId)}onLeaveDeleting(t){this.resetForm(),1==t?this.confirmMsg=this.translate.instant("leaveTime.successfulDelete"):this.errorMsgs.push("leaveTime.failDelete")}getDateTime(t){return null!=t?new Date(t).getTime():0}get f(){return this.submitTimeForm.controls}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(ge.ok),e.rXU(q.nX),e.rXU(M.Vc),e.rXU(G.Bq),e.rXU(M.US),e.rXU(Y.c$),e.rXU(M.DL),e.rXU(Kd))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-report-time"]],features:[e.Jv_([{provide:G.tN,useClass:b.ls},[b.F2,{provide:G.G7,useClass:b.Y7}]])],decls:85,vars:87,consts:[["mySelect",""],["d","ngbDatepicker"],[4,"ngIf"],[1,"card","reportTime"],[1,"col-lg-6","col-md-6","col-sm-6","h1Row"],["id","myReportTimeTitle"],["id","submitTimeForm","name","","novalidate","novalidate",1,"behalfForm",3,"ngSubmit","keydown.enter","formGroup"],["id","reportTimeMessages",1,"messageContainer"],["class","rf-msgs",4,"ngIf"],["role","alert","class","rf-msgs reset-font-weight",4,"ngIf"],["class","form-inline boxText",4,"ngIf"],[1,"boxText","vertical-layout"],["for","selectedLeave","id","descriptionLabel",1,"subLabel","reportTimeFont"],[1,"reqError"],["formControlName","selectedLeaveId","id","selectedLeave","tabindex","0",1,"reportTimeBox",3,"change","ngClass"],["value","","disabled",""],[3,"value",4,"ngFor","ngForOf"],["class","rf-msgs-err",4,"ngIf"],["for","absenceReason","id","absenceReasonLabel",1,"subLabel","reportTimeFont"],[1,"helpText"],["formControlName","absenceReason","id","absenceReason","tabindex","0",1,"reportTimeBox","absence-reason-select",3,"change","ngClass"],[1,"clearFix",2,"margin-bottom","10px"],["id","treatmentBtn","triggers","click:blur","placement","bottom-left","role","button","tabindex","0",1,"absence-faq-icon",3,"keydown.enter","ngbTooltip"],["alt","more information","src","assets/baseResources/gfx/redesignIcons/faqs.svg",1,"small-icon","ms-2"],["triggers","click:blur","id","episodeBtn","placement","top","role","button","tabindex","0",1,"absence-faq-icon",3,"keydown.enter","ngbTooltip"],["class","rf-msgs-err reset-font-we
1ight",4,"ngIf"],["for","leaveDate","id","leaveDateLabel",1,"subLabel","reportTimeFont"],[1,"report-time-calendar-cont"],["ngbDatepicker","","id","leaveDate","formControlName","leaveDate","placeholder","mm/dd/yyyy",1,"rf-cal-inp","reportTimeBox",3,"firstDayOfWeek","navigation","outsideDays","displayMonths","ngClass"],["alt","Calendar","id","datePicker","tabindex","0",1,"report-time-calendar","calendar-scale",3,"click","keydown.enter","src"],[1,"form-inline","hours-and-minutes"],[1,"boxText"],["for","hours","id","hoursLabel",1,"subLabel","reportTimeFont"],["id","hours","type","text","name","hours","value","0","min","0","max","24","maxlength","2","size","5","formControlName","hours","autocomplete","off","oninput","this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\\..*)\\./g, '$1');",1,"reportTimeBox",3,"change","ngClass"],["class","rf-msgs-err reset-font-weight","id","hoursErr",4,"ngIf"],[1,"form-inline","boxText"],["for","minutes","id","mintesLabel",1,"subLabel","reportTimeFont"],["id","minutes","type","text","name","minutes","value","0","min","0","max","59","maxlength","2","size","5","formControlName","minutes","autocomplete","off","oninput","this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\\..*)\\./g, '$1');",1,"reportTimeBox",3,"change","ngClass"],["class","form-inline boxText reportCheckSet",4,"ngIf"],["id","reportTimeForm"],[1,"reportTimeBtn"],["id","reportSubmit","type","submit",1,"submit","primaryBtn",3,"ngClass","disabled"],["class","spinner-border spinner-border-sm","role","status","aria-hidden","true",4,"ngIf"],["id","reportSubmitSpan",4,"ngIf"],["id","wobReportSubmitSpan",4,"ngIf"],["id","reportCancel","class","submit secondary-btn","type","button",3,"ngClass","value","disabled","click",4,"ngIf"],[3,"onLeaveEdit","onLeaveDelete","recentLeaveTimes","isWob","highlightedLeave"],[1,"font-italic"],[1,"user-info-header"],[1,"rf-msgs"],[1,"rf-msgs-inf"],["id","confirmMsg",1,"rf-msgs-sum"],["role","alert",1,"rf-msgs","reset-font-weight"],["class","rf-msgs-inf",4,"ngFor","ngForOf"],["id","errorMsg",1,"rf-msgs-err","reset-font-weight"],["for","leaveId",1,"subLabel","leaveid-styles"],["id","leaveId",1,"form-control","leaveid-margin"],[3,"value"],[1,"rf-msgs-err"],["id","errleaveRequestReq","role","alert",1,"rf-msgs-sum","reset-font-weight"],[1,"rf-msgs-err","reset-font-weight"],["id","errAbsenceReasonReq","role","alert",1,"rf-msgs-sum","reset-font-weight"],["id","errAbsenceMsg","role","alert",1,"rf-msgs-sum","reset-font-weight"],["id","errDateBlank","role","alert","class","rf-msgs-sum reset-font-weight",4,"ngIf"],["id","errDateInPast","role","alert","class","rf-msgs-sum reset-font-weight",4,"ngIf"],["id","errDateInFuture","role","alert","class","rf-msgs-sum reset-font-weight",4,"ngIf"],["id","errDateBlank","role","alert",1,"rf-msgs-sum","reset-font-weight"],["id","errDateInPast","role","alert",1,"rf-msgs-sum","reset-font-weight"],["id","errDateInFuture","role","alert",1,"rf-msgs-sum","reset-font-weight"],["id","hoursErr",1,"rf-msgs-err","reset-font-weight"],["id","invalidHour24","role","alert","class","rf-msgs-sum reset-font-weight",4,"ngIf"],["id","invalidHour0","role","alert","class","rf-msgs-sum reset-font-weight",4,"ngIf"],["id","invalidHour24","role","alert",1,"rf-msgs-sum","reset-font-weight"],["id","invalidHour0","role","alert",1,"rf-msgs-sum","reset-font-weight"],["id","invalidMinute59","role","alert","class","rf-msgs-sum reset-font-weight",4,"ngIf"],["id","invalidMinute0","role","alert","class","rf-msgs-sum reset-font-weight",4,"ngIf"],["id","invalidMinute59","role","alert",1,"rf-msgs-sum","reset-font-weight"],["id","invalidMinute0","role","alert",1,"rf-msgs-sum","reset-font-weight"],[1,"form-inline","boxText","reportCheckSet"],["id","terms","name","terms","type","checkbox","checked","checked","formControlName","terms",1,"reportTimeCheck"],["for","terms",1,"normalLabel","tipLabel","reportTimeFont"],["triggers","click:blur","id","termsBtn","placement","top","role","button","tabindex","0",1,"absence-faq-icon",3,"keydown.enter","ngbTooltip"],["id","termsCheck",1,"rf-msgs-sum","reset-font-weight"],["role","status","aria-hidden","true",1,"spinner-border","spinner-border-sm"],["id","reportSubmitSpan"],["id","wobReportSubmitSpan"],["id","reportCancel","type","button",1,"submit","secondary-btn",3,"click","ngClass","value","disabled"]],template:function(i,r){if(1&i){const u=e.RV6();e.DNE(0,Nb,6,6,"h1",2),e.j41(1,"div",3)(2,"div",4)(3,"h1",5),e.EFF(4),e.nI1(5,"translate"),e.k0s()(),e.j41(6,"form",6),e.bIt("ngSubmit",function(){return e.eBV(u),e.Njj(r.onSubmit())})("keydown.enter",function(V){return e.eBV(u),e.Njj(V.preventDefault())}),e.j41(7,"div",7),e.DNE(8,gp,4,1,"span",8)(9,jD,2,1,"span",9),e.k0s(),e.DNE(10,d_,6,4,"div",10),e.j41(11,"div",11)(12,"label",12),e.
1EFF(13),e.nI1(14,"translate"),e.j41(15,"span",13),e.EFF(16,"*"),e.k0s()(),e.j41(17,"select",14,0),e.bIt("change",function(V){return e.eBV(u),e.Njj(r.onOptionsSelected(V))}),e.j41(19,"option",15),e.EFF(20),e.nI1(21,"translate"),e.k0s(),e.DNE(22,Ob,2,2,"option",16),e.k0s()(),e.DNE(23,Tc,4,3,"div",17),e.j41(24,"div",11)(25,"label",18),e.EFF(26),e.nI1(27,"translate"),e.j41(28,"span",13),e.EFF(29,"*"),e.k0s()(),e.j41(30,"div",19)(31,"select",20),e.bIt("change",function(){return e.eBV(u),e.Njj(r.onReasonSelected())}),e.j41(32,"option",15),e.EFF(33),e.nI1(34,"translate"),e.k0s(),e.DNE(35,bp,2,2,"option",16),e.nI1(36,"keyvalue"),e.k0s(),e.nrm(37,"div",21),e.j41(38,"a",22),e.nI1(39,"translate"),e.bIt("keydown.enter",function(V){return e.eBV(u),V.preventDefault(),e.Njj(V.target.click())}),e.EFF(40),e.nI1(41,"translate"),e.nrm(42,"img",23),e.k0s(),e.j41(43,"a",24),e.nI1(44,"translate"),e.bIt("keydown.enter",function(V){return e.eBV(u),V.preventDefault(),e.Njj(V.target.click())}),e.EFF(45),e.nI1(46,"translate"),e.nrm(47,"img",23),e.k0s()()(),e.DNE(48,pk,4,3,"div",25)(49,Xh,3,1,"div",25),e.j41(50,"div",11)(51,"label",26),e.EFF(52),e.nI1(53,"translate"),e.j41(54,"span",13),e.EFF(55,"*"),e.k0s()(),e.j41(56,"div",27),e.nrm(57,"input",28,1),e.j41(59,"img",29),e.bIt("click",function(){e.eBV(u);const V=e.sdS(58);return e.Njj(V.toggle())})("keydown.enter",function(V){return e.eBV(u),V.preventDefault(),e.Njj(V.target.click())}),e.k0s()()(),e.DNE(60,zh,4,3,"div",25),e.j41(61,"div",30)(62,"div",31)(63,"label",32),e.EFF(64),e.nI1(65,"translate"),e.k0s(),e.j41(66,"input",33),e.bIt("change",function(){return e.eBV(u),e.Njj(r.cleanMsg())}),e.k0s()(),e.DNE(67,$D,3,2,"div",34),e.j41(68,"div",35)(69,"label",36),e.EFF(70),e.nI1(71,"translate"),e.k0s(),e.j41(72,"input",37),e.bIt("change",function(){return e.eBV(u),e.Njj(r.cleanMsg())}),e.k0s()(),e.DNE(73,VD,3,2,"div",25),e.k0s(),e.DNE(74,HD,10,13,"div",38)(75,WD,4,3,"div",25),e.j41(76,"div",39)(77,"div",40)(78,"button",41),e.nI1(79,"async"),e.DNE(80,qD,1,0,"span",42)(81,Kh,3,3,"span",43)(82,XD,3,3,"span",44),e.k0s(),e.DNE(83,zD,4,10,"button",45),e.k0s()()(),e.j41(84,"app-view-used-time",46),e.bIt("onLeaveEdit",function(V){return e.eBV(u),e.Njj(r.onLeaveEditing(V))})("onLeaveDelete",function(V){return e.eBV(u),e.Njj(r.onLeaveDeleting(V))}),e.k0s()()}2&i&&(e.Y8G("ngIf",r.userInfo.wob),e.R7$(4),e.SpI(" ",e.bMT(5,47,"myAbsences.reportTime")," "),e.R7$(2),e.Y8G("formGroup",r.submitTimeForm),e.R7$(2),e.Y8G("ngIf",r.confirmMsg),e.R7$(),e.Y8G("ngIf",r.errorMsgs.length>0),e.R7$(),e.Y8G("ngIf",r.isEdit),e.R7$(3),e.SpI(" ",e.bMT(14,49,"myAbsences.reportTime.leaveRequestDescription")," "),e.R7$(4),e.Y8G("ngClass",e.eq3(75,Ja,r.f.selectedLeaveId.touched&&r.f.selectedLeaveId.errors&&r.f.selectedLeaveId.errors.required)),e.R7$(3),e.JRh(e.bMT(21,51,"myAbsences.reportTime.pleaseSelect")),e.R7$(2),e.Y8G("ngForOf",r.leaveRequestDescription),e.R7$(),e.Y8G("ngIf",r.f.selectedLeaveId.touched&&r.f.selectedLeaveId.errors&&r.f.selectedLeaveId.errors.required),e.R7$(3),e.SpI(" ",e.bMT(27,53,"myAbsences.reportTime.absenceReason")," "),e.R7$(5),e.Y8G("ngClass",e.eq3(77,Ja,r.f.absenceReason.touched&&r.f.absenceReason.errors&&r.f.absenceReason.errors.required||r.f.absenceReason.touched&&r.absenceErrorMessage)),e.R7$(2),e.JRh(e.bMT(34,55,"myAbsences.reportTime.pleaseSelect")),e.R7$(2),e.Y8G("ngForOf",e.bMT(36,57,r.absenceReasonObj)),e.R7$(3),e.FS9("ngbTooltip",e.bMT(39,59,"myAbsences.reportTime.treatment")),e.R7$(2),e.SpI(" ",e.bMT(41,61,"label.reportTime.treatment")," "),e.R7$(3),e.FS9("ngbTooltip",e.bMT(44,63,"myAbsences.reportTime.episode")),e.R7$(2),e.SpI(" ",e.bMT(46,65,"label.reportTime.episode")," "),e.R7$(3),e.Y8G("ngIf",r.f.absenceReason.touched&&r.f.absenceReason.errors&&r.f.absenceReason.errors.required),e.R7$(),e.Y8G("ngIf",r.f.absenceReason.touched&&r.absenceErrorMessage),e.R7$(3),e.SpI(" ",e.bMT(53,67,"myAbsences.reportTime.leaveDate")," "),e.R7$(5),e.Y8G("firstDayOfWeek",7)("navigation","select")("outsideDays","visible")("displayMonths",1)("ngClass",e.eq3(79,Ja,r.f.leaveDate.touched&&r.f.leaveDate.errors)),e.R7$(2),e.Mz_("src","",r.domainResourcePath,"/gfx/redesignIcons/calendar.svg",e.B4B),e.R7$(),e.Y8G("ngIf",r.f.leaveDate.touched&&r.f.leaveDate.errors),e.R7$(4),e.JRh(e.bMT(65,69,"myAbsences.reportTime.hours")),e.R7$(2),e.Y8G("ngClass",e.eq3(81,Ja,r.f.hours.touched&&r.f.hours.errors)),e.R7$(),e.Y8G("ngIf",r.f.hours.touched&&r.f.hours.errors),e.R7$(3),e.JRh(e.bMT(71,71,"myAbsences.reportTime.minutes")),e.R7$(2),e.Y8G("ngClass",e.eq3(83,Ja,r.f.minutes.touched&&r.f.minutes.errors)),e.R7$(),e.Y8G("ngIf",r.f.minutes.touched&&r.f.minutes.errors),e.R7$(),e.Y8G("ngIf",!r.isEdit),e.R7$(),e.Y8G("ngIf",r.f.terms.touched&&r.f.terms.errors),e.R7$(3),e.Y8G("ngClass",e.eq3(85,_p,r.submitted))("disabled",r.submitted||null!==e.bMT(79,73,r.userService.portalPermission$)),e.R7$(2),e.Y8G("ngIf",r.submitted),e.R7$(),e.Y8G("ngIf",!r.isEdit),e.R7$(),e.Y8G("ngIf",r.isEdit),e.R7$(),e.Y8G("ngIf",r.isEdit),e.R7$(),e.Y8G("recentLeaveTimes",r.recentTimeLeave)("isWob",r.isWob)("highlightedLeave",r.highlightedLeave))},styles:["label[_ngcontent-%COMP%]:disabled{opacity:.5}.absence-faq-icon[_ngcontent-%COMP%]{margin-right:10px;font-size:16px!important}.form-control[_ngcontent-%COMP%]{border:none;height:60px}.leaveid-styles[_ngcontent-%COMP%]{width:100%;font-weight:400}.leaveid-margin[_ngcontent-%COMP%]{padding-left:32px}#reportSubmit[_ngcontent-%COMP%], #reportCancel[_ngcontent-%COMP%]{margin:0 0 15px}.report-time-calendar[_ngcontent-%COMP%]:focus-visible{outline-offset:4px;outline:2px solid #000000}"]})}}return n})();const yp=n=>null==n?"":"$"+(Math.ceil(Number((100*n).toFixed(6)))/100).toLocaleStr
1ing("en-US",{minimumFractionDigits:2,maximumFractionDigits:2}),Jd=n=>{const[d,t,i]=(n??"").split("-").map(Number);return d&&t&&i?new Date(d,t-1,i):null},Pb=n=>{const d=Jd(n);return d?d.toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"}):n},Qd=n=>{const d=Jd(n);return d?d.toLocaleDateString("en-US",{month:"short",day:"numeric"}):n},p_=n=>{const d=Jd(n);return d?`${d.toLocaleDateString("en-US",{month:"long"})} ${jb(d.getDate())}`:n},h_=(n,d)=>{const t=Jd(n);if(!t)return n;t.setDate(t.getDate()+d);const i=String(t.getMonth()+1).padStart(2,"0"),r=String(t.getDate()).padStart(2,"0");return`${t.getFullYear()}-${i}-${r}`},jb=n=>{const d=n%100;if(d>=11&&d<=13)return`${n}th`;switch(n%10){case 1:return`${n}st`;case 2:return`${n}nd`;case 3:return`${n}rd`;default:return`${n}th`}},Jh=1e5/52*.5,La=n=>{if(!n||!/^\d{4}-\d{2}-\d{2}$/.test(n))return NaN;const d=Date.parse(`${n}T00:00:00Z`);return Number.isFinite(d)&&new Date(d).toISOString().slice(0,10)===n?d/864e5:NaN},Qh=n=>new Date(864e5*n).toISOString().slice(0,10),Zh=n=>`${n.toLocaleString("en-US",{maximumFractionDigits:2})} ${1===n?"week":"weeks"}`,$b=n=>{const d=La(n?.start_date),t=La(n?.end_date);if(!Number.isFinite(d)||!Number.isFinite(t)||t<d)return null;const i=d+7,r=Math.max(0,Math.min(42,t-i+1)),u=r/7;return{start:r?Qh(i):null,end:r?Qh(i+r-1):null,paidDays:r,paidWeeks:u,duration:Zh(u),weeklyPay:Jh,totalPay:Jh*u}};let Ub=(()=>{class n{constructor(){this.timeline=[]}set(t,i,r){const u=((n,d,t)=>{if(d.some(r=>"std"===r.type)||n.rows.some(r=>"std"===r.type))return{plan:n,timeline:d};const i=$b(t);return i?.paidDays?{timeline:[...d,{label:"STD",type:"std",phase:null,start:i.start,end:i.end}],plan:{...n,rows:[...n.rows,{period:`${Qd(i.start)} \u2013 ${Qd(i.end)}`,label:"Short-term disability pay",type:"std",phase:null,paid:!0,weeklyAmount:i.weeklyPay,notes:`Per your STD plan \u2014 50% of your pay for ${i.duration}.`}]}}:{plan:n,timeline:d}})(t,i,r);this.plan=u.plan,this.timeline=u.timeline,this.intakeState=r}clear(){this.plan=void 0,this.timeline=[],this.intakeState=void 0}get hasPlan(){return!!this.plan}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();const m_=/^\s*[-*\u2022]?\s*\**([A-F])\)\**\s+(.+?)(?:\*+)?$/,em=n=>{const d=n.indexOf("|");return-1===d?{title:n.trim(),subtitle:""}:{title:n.slice(0,d).trim(),subtitle:n.slice(d+1).trim()}},f_=n=>{const{title:d,subtitle:t}=em(n);return{title:d,help:t}},tC=n=>n.split("\n").filter(d=>!m_.test(d)).join("\n").trimEnd(),__=n=>{const d=(n=>{const d=(n=>{const d=n.split("\n").map(t=>t.match(m_)).filter(t=>null!==t).map(t=>({key:t[1],label:t[2].trim()}));return d.length>=2?d:null})(n);return d?d.map(t=>({...t,...f_(t.label)})):(n=>{const d=n.toLowerCase();return d.includes("yes or no")||d.includes("(yes/no)")||d.includes("yes/no")||/^\s*yes\s*$/im.test(n)&&/^\s*no\s*$/im.test(n)||/\bor are you\b/i.test(n)||/\bwill you be\b.{0,120}\bor\b/i.test(n)})(n)?[{key:"Yes",label:"Yes",title:"Yes",help:""},{key:"No",label:"No",title:"No",help:""}]:null})(n);return d?{message:tC(n),options:d}:null},Wb=n=>{const d=(n??"").trim();if(!d)return"";if(/^\d{4}-\d{2}-\d{2}$/.test(d)){const[i,r,u]=d.split("-").map(Number);return new Date(i,r-1,u).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"})}if("c_section"===d.toLowerCase()||"c-section"===d.toLowerCase())return"C-section";const t=d.replace(/_/g," ");return t.charAt(0).toUpperCase()+t.slice(1)},Ep=n=>{const d=n.replace(/([a-z0-9])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().toLowerCase();return d.charAt(0).toUpperCase()+d.slice(1)},g_=(n,d)=>{const t=d.trim().toLowerCase();for(const i of n)if(1===i.key.length){if(t===`${i.key}) ${i.label}`.toLowerCase()||t===i.key.toLowerCase()||t===i.label.toLowerCase()||t===i.title.toLowerCase())return i.key}else if(t===i.label.toLowerCase())return i.key;return null},v_=["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","N
1orth Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West Virginia","Wisconsin","Wyoming"],y_=["frustration_detected","off_topic","is_complete","salary_asked","employee_id","delivery_type","life_event_raw"];function qb(n,d){if(1&n&&e.nrm(0,"span",13),2&n){const t=d.index,i=e.XpG();e.AVh("is-active",t===i.activeStep)("is-done",t<i.activeStep)}}function E_(n,d){if(1&n&&(e.j41(0,"div",14)(1,"span",15),e.EFF(2),e.k0s(),e.j41(3,"span",16),e.EFF(4),e.k0s()()),2&n){const t=d.$implicit;e.R7$(2),e.JRh(t.label),e.R7$(2),e.JRh(t.value)}}function Xb(n,d){1&n&&(e.j41(0,"div",17),e.EFF(1,"No details captured yet."),e.k0s())}let zb=(()=>{class n{constructor(){this.steps=["Your details","Timing","Income","Your plan"],this.activeStep=0,this.collected=null,this.progress=0,this.rows=[],this.order=[]}ngOnChanges(){const t=this.visibleIntake(this.collected??{}),i=Object.keys(t);if(i.length)for(const v of i)!this.order.includes(v)&&this.hasValue(t[v])&&this.order.push(v);else this.order=[];const r=[];for(const v of this.order){const V=Wb(String(t[v]??""));V&&r.push({label:Ep(v),value:V})}const u=this.durationRow(Object.entries(t));u&&r.push(u),this.rows=r}visibleIntake(t){const i={};for(const[r,u]of Object.entries(t))y_.includes(r)||(i[r]=u);return i}hasValue(t){return null!=t&&""!==String(t).trim()}get progressPct(){return Math.round(100*Math.max(0,Math.min(1,this.progress||0)))}durationRow(t){const i=it=>it.toLowerCase().replace(/[_\s]/g,""),r=it=>{for(const[At,Ot]of t)if(it.includes(i(At))&&null!=Ot&&""!==String(Ot).trim())return String(Ot).trim();return null};if(r(["duration"]))return null;const u=r(["startdate","leavestart","leavestarts"]),v=r(["enddate","leaveend","leaveends"]);if(!u||!v)return null;const V=new Date(v).getTime()-new Date(u).getTime();if(isNaN(V)||V<=0)return null;const Ce=Math.ceil(V/6048e5);return{label:"Duration",value:`${Ce} ${1===Ce?"week":"weeks"}`}}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-lp-checklist"]],inputs:{collected:"collected",progress:"progress"},features:[e.OA$],decls:16,vars:7,consts:[[1,"lpc"],[1,"lpc-head"],[1,"lpc-title"],[1,"lpc-pct"],[1,"lpc-stepper"],[1,"lpc-track"],[1,"lpc-track-fill"],[1,"lpc-steps"],["class","lpc-step",3,"is-active","is-done",4,"ngFor","ngForOf"],[1,"lpc-section"],[1,"lpc-card"],["class","lpc-row",4,"ngFor","ngForOf"],["class","lpc-empty",4,"ngIf"],[1,"lpc-step"],[1,"lpc-row"],[1,"lpc-row-label"],[1,"lpc-row-value","is-set"],[1,"lpc-empty"]],template:function(i,r){1&i&&(e.j41(0,"div",0)(1,"div",1)(2,"span",2),e.EFF(3,"Your absence plan"),e.k0s(),e.j41(4,"span",3),e.
1EFF(5),e.k0s()(),e.j41(6,"div",4)(7,"div",5),e.nrm(8,"div",6),e.k0s(),e.j41(9,"div",7),e.DNE(10,qb,1,4,"span",8),e.k0s()(),e.j41(11,"div",9),e.EFF(12),e.k0s(),e.j41(13,"div",10),e.DNE(14,E_,5,2,"div",11)(15,Xb,2,0,"div",12),e.k0s()()),2&i&&(e.R7$(5),e.SpI("",r.progressPct,"%"),e.R7$(3),e.xc7("width",r.progressPct,"%"),e.R7$(2),e.Y8G("ngForOf",r.steps),e.R7$(2),e.JRh(r.steps[r.activeStep]),e.R7$(2),e.Y8G("ngForOf",r.rows),e.R7$(),e.Y8G("ngIf",0===r.rows.length))},dependencies:[ie.Sq,ie.bT],styles:[".lpc[_ngcontent-%COMP%]{flex:1;height:100%;overflow-y:auto;padding:20px 24px;background:#fff}.lpc-head[_ngcontent-%COMP%]{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:16px}.lpc-title[_ngcontent-%COMP%]{font-size:22px;font-weight:700;color:#070f36}.lpc-pct[_ngcontent-%COMP%]{font-size:14px;font-weight:700;color:#075cba}.lpc-stepper[_ngcontent-%COMP%]{position:relative;padding:6px 0;margin-bottom:10px}.lpc-track[_ngcontent-%COMP%]{position:absolute;top:50%;left:9px;right:9px;height:2px;background:#e5e7eb;transform:translateY(-50%);border-radius:2px}.lpc-track-fill[_ngcontent-%COMP%]{height:100%;background:#075cba;border-radius:2px;transition:width .3s ease}.lpc-steps[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:space-between}.lpc-step[_ngcontent-%COMP%]{width:18px;height:18px;border-radius:50%;background:#fff;border:2px solid #CBD5E1;box-sizing:border-box}.lpc-step.is-active[_ngcontent-%COMP%]{border-color:#075cba;border-width:3px}.lpc-step.is-done[_ngcontent-%COMP%]{background:#075cba;border-color:#075cba}.lpc-section[_ngcontent-%COMP%]{font-size:14px;font-weight:700;color:#1b1d22;margin-bottom:14px}.lpc-card[_ngcontent-%COMP%]{border:1px solid #E5E7EB;border-radius:12px;padding:0 16px}.lpc-row[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #F1F3F5}.lpc-row[_ngcontent-%COMP%]:last-child{border-bottom:none}.lpc-row-label[_ngcontent-%COMP%]{font-size:14px;color:#475569}.lpc-row-value[_ngcontent-%COMP%]{font-size:14px;color:#b6bdc7;text-align:right}.lpc-row-value.is-set[_ngcontent-%COMP%]{color:#1b1d22;font-weight:600}.lpc-empty[_ngcontent-%COMP%]{padding:14px 0;font-size:14px;color:#b6bdc7}"]})}}return n})();function Kb(n,d){if(1&n&&(e.j41(0,"p",9),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.JRh(t.prompt)}}let Jb=(()=>{class n{constructor(){this.prompt="",this.confirmed=new e.bkB,this.value=""}confirm(){if(!this.value)return;const[t,i,r]=this.value.split("-").map(Number),u=new Date(t,i-1,r).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"});this.confirmed.emit(u)}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-lp-date-picker"]],inputs:{prompt:"prompt"},outputs:{confirmed:"confirmed"},decls:10,vars:3,consts:[[1,"dp"],["class","dp__prompt",4,"ngIf"],[1,"dp__row"],["aria-hidden","true",1,"dp__icon"],["viewBox","0 0 24 24","width","20","height","20","fill","none","stroke","currentColor","stroke-width","1.8","stroke-linecap","round","stroke-linejoin","round"],["x","3","y","4.5","width","18","height","16","rx","2"],["d","M3 9h18M8 2.5v4M16 2.5v4"],["type","date","aria-label","Select a date",1,"dp__input",3,"ngModelChange","ngModel"],["type","button",1,"dp__confirm",3,"click","disabled"],[1,"dp__prompt"]],template:function(i,r){1&i&&(e.j41(0,"div",0),e.DNE(1,Kb,2,1,"p",1),e.j41(2,"div",2)(3,"span",3),e.qSk(),e.j41(4,"svg",4),e.nrm(5,"rect",5)(6,"path",6),e.k0s()(),e.joV(),e.j41(7,"input",7),e.mxI("ngModelChange",function(v){return e.DH7(r.value,v)||(r.value=v),v}),e.k0s(),e.j41(8,"button",8),e.bIt("click",function(){return r.confirm()}),e.EFF(9,"Confirm"),e.k0s()()()),2&i&&(e.R7$(),e.Y8G("ngIf",r.prompt),e.R7$(6),e.R50("ngModel",r.value),e.R7$(),e.Y8G("disabled",!r.value))},dependencies:[ie.bT,ge.me,ge.BC,ge.vS],styles:["[_nghost-%COMP%]{align-self:flex-start;max-width:100%}.dp[_ngcontent-%COMP%]{display:inline-flex;flex-direction:column;gap:12px;background:#fff;border:1px solid #d7dbe0;border-radius:16px;padding:16px;box-shadow:0 2px 8px #0000000a,0 2px 4px #0000000f}.dp__prompt[_ngcontent-%COMP%]{margin:0;font-size:16px;line-height:24px;color:#1b1d22}.dp__row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px}.dp__icon[_ngcontent-%COMP%]{display:inline-flex;flex-shrink:0;color:#565f6c}.dp__input[_ngcontent-%COMP%]{border:1.5px solid #d7dbe0;border-radius:8px;padding:9px 12px;font-size:14px;color:#1b1d22;background:#fff;font-family:inherit;outline:none}.dp__input[_ngcontent-%COMP%]:focus{border-color:#075cba}.dp__confirm[_ngcontent-%COMP%]{flex-shrink:0;border:none;border-radius:999px;background:#075cba;color:#fff;font-size:14px;font-weight:600;padding:9px 20px;cursor:pointer;transition:opacity .15s ease}.dp__confirm[_ngcontent-%COMP%]:hover:not(:disabled){opacity:.92}.dp__confirm[_ngcontent-%COMP%]:disabled{background:#b6c2d2;cursor:default}"]})}}return n})();function nC(n,d){if(1&n&&(e.j41(0,"div",16)(1,"span",17),e.EFF(2),e.k0s(),e.j41(3,"span",18),e.EFF(4),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.JRh(t.weeklyBenefitFmt),e.R7$(2),e.SpI("",t.rateInfo.label," \xb7 caps may apply")}}function fk(n,d){1&n&&(e.j41(0,"div",19)(1,"span",18),e.EFF(2,"Benefit rate depends on your state's program (60\u201390% of weekly base)"),e.k0s()())}const _k={California:{rate:.65,label:"CA SDI/PFL \xb7 65%"},"New York":{rate:.67,label:"NY DBL/PFL \xb7 67%"},Washington:{rate:.9,label:"WA PFML \xb7 90%"},Massachusetts:{rate:.8,label:"MA PFML \xb7 80%"},"New Jersey":{rate:.85,label:"NJ TDI/FLI \xb7 85%"},Connecticut:{rate:.6,label:"CT PFML \xb7 60%"},Oregon:{rate:.6,label:"OR PFML \xb7 60%"},Colorado:{rate:.9,label:"CO FAMLI \xb7 90%"},Delaware:{rate:.8,label:"DE PFML \xb7 80%"},"Rhode Island":{rate:.6,label:"RI TCI \xb7 60%"}};let gk=(()=>{class n{constructor(){this.state="",this.confirmed=new e.bkB,this.skipped=new e.bkB,this.MIN=3e4,this.MAX=3e5,this.STEP=5e3,this.salary=8e4}get sliderPct(){return(this.salary-this.MIN)/(this.MAX-this.MIN)*100+"%"}get rateInfo(){return _k[this.state]??null}get weeklyBenefit(){return this.rateInfo?10*Math.round(this.salary/52*this.rateInfo.rate/10):null}get weeklyBenefitFmt(){return null!==this.weeklyBenefit?`~$${this.weeklyBenefit.toLocaleStr
1ing()}/week`:""}fmtSalary(t){return"$"+t.toLocaleString()}confirm(){this.confirmed.emit(`My annual salary is approximately ${this.fmtSalary(this.salary)}.`)}skip(){this.skipped.emit()}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-lp-salary-slider"]],inputs:{state:"state"},outputs:{confirmed:"confirmed",skipped:"skipped"},decls:24,vars:9,consts:[[1,"ss-card"],[1,"ss-reassurance"],["viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg",1,"ss-lock"],["x","5","y","11","width","14","height","10","rx","2","stroke","currentColor","stroke-width","1.8"],["d","M8 11V7a4 4 0 0 1 8 0v4","stroke","currentColor","stroke-width","1.8","stroke-linecap","round"],[1,"ss-value-display"],[1,"ss-salary-num"],[1,"ss-salary-unit"],[1,"ss-track-wrap"],[1,"ss-range-label"],["type","range","aria-label","Annual salary",1,"ss-slider",3,"ngModelChange","ngModel","min","max","step"],["class","ss-estimate",4,"ngIf"],["class","ss-estimate ss-estimate--generic",4,"ngIf"],[1,"ss-actions"],["type","button",1,"ss-confirm-btn",3,"click"],["type","button",1,"ss-skip-btn",3,"click"],[1,"ss-estimate"],[1,"ss-est-value"],[1,"ss-est-meta"],[1,"ss-estimate","ss-estimate--generic"]],template:function(i,r){1&i&&(e.j41(0,"div",0)(1,"div",1),e.qSk(),e.j41(2,"svg",2),e.nrm(3,"rect",3)(4,"path",4),e.k0s(),e.EFF(5," Used only to estimate your benefit \u2014 not stored or shared. "),e.k0s(),e.joV(),e.j41(6,"div",5)(7,"span",6),e.EFF(8),e.k0s(),e.j41(9,"span",7),e.EFF(10,"/ year"),e.k0s()(),e.j41(11,"div",8)(12,"span",9),e.EFF(13,"$30K"),e.k0s(),e.j41(14,"input",10),e.mxI("ngModelChange",function(v){return e.DH7(r.salary,v)||(r.salary=v),v}),e.k0s(),e.j41(15,"span",9),e.EFF(16,"$300K+"),e.k0s()(),e.DNE(17,nC,5,2,"div",11)(18,fk,3,0,"div",12),e.j41(19,"div",13)(20,"button",14),e.bIt("click",function(){return r.confirm()}),e.EFF(21,"Use This Salary"),e.k0s(),e.j41(22,"button",15),e.bIt("click",function(){return r.skip()}),e.EFF(23,"Prefer Not to Share"),e.k0s()()()),2&i&&(e.R7$(8),e.JRh(r.fmtSalary(r.salary)),e.R7$(6),e.xc7("--pct",r.sliderPct),e.R50("ngModel",r.salary),e.Y8G("min",r.MIN)("max",r.MAX)("step",r.STEP),e.R7$(3),e.Y8G("ngIf",r.rateInfo),e.R7$(),e.Y8G("ngIf",!r.rateInfo))},dependencies:[ie.bT,ge.me,ge.MR,ge.BC,ge.vS],styles:[".ss-card[_ngcontent-%COMP%]{margin:0;background:#fff;border:1.5px solid #E0ECFF;border-radius:12px;padding:14px 16px;max-width:320px;box-shadow:0 2px 10px #2766ac14}.ss-reassurance[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;font:400 11px/1.4 Aptos,Inter,sans-serif;color:#616161;background:#f9f9f9;border-radius:6px;padding:5px 8px;margin-bottom:14px}.ss-lock[_ngcontent-%COMP%]{width:14px;height:14px;color:#757575;flex-shrink:0}.ss-value-display[_ngcontent-%COMP%]{display:flex;align-items:baseline;gap:6px;margin-bottom:10px}.ss-salary-num[_ngcontent-%COMP%]{font:700 22px/1 Aptos,Inter,sans-serif;color:#070f36}.ss-salary-unit[_ngcontent-%COMP%]{font:400 13px/1 Aptos,Inter,sans-serif;color:#9aa5b4}.ss-track-wrap[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;margin-bottom:12px}.ss-range-label[_ngcontent-%COMP%]{font:600 10px/1 Aptos,Inter,sans-serif;color:#b0b8cc;white-space:nowrap;flex-shrink:0}.ss-slider[_ngcontent-%COMP%]{flex:1;appearance:none;height:6px;border-radius:3px;background:linear-gradient(to right,#2766AC 0%,#2766AC var(--pct, 50%),#D0E3FF var(--pct, 50%),#D0E3FF 100%);outline:none;cursor:pointer}.ss-slider[_ngcontent-%COMP%]::-webkit-slider-thumb{-webkit-appearance:none;width:20px;height:20px;border-radius:50%;background:#2766ac;border:3px solid #ffffff;box-shadow:0 1px 6px #2766ac66;cursor:pointer;-webkit-transition:box-shadow .15s;transition:box-shadow .15s}.ss-slider[_ngcontent-%COMP%]:hover::-webkit-slider-thumb{box-shadow:0 2px 10px #2766ac8c}.ss-slider[_ngcontent-%COMP%]::-moz-range-thumb{width:20px;height:20px;border-radius:50%;background:#2766ac;border:3px solid #ffffff;box-shadow:0 1px 6px #2766ac66;cursor:pointer}.ss-estimate[_ngcontent-%COMP%]{display:flex;align-items:baseline;gap:8px;padding:8px 10px;background:#eef5ff;border-radius:8px;margin-bottom:14px;flex-wrap:wrap}.ss-estimate.ss-estimate--generic[_ngcontent-%COMP%]{background:#f5f5f5}.ss-est-value[_ngcontent-%COMP%]{font:700 16px/1 Aptos,Inter,sans-serif;color:#2766ac}.ss-est-meta[_ngcontent-%COMP%]{font:400 11px/1.3 Aptos,Inter,sans-serif;color:#616161}.ss-actions[_ngcontent-%COMP%]{display:flex;gap:8px}.ss-confirm-btn[_ngcontent-%COMP%]{flex:1;height:36px;background:#2766ac;color:#fff;border:none;border-radius:8px;font:700 12px/1 Aptos,Inter,sans-serif;cursor:pointer;transition:background .15s}.ss-confirm-btn[_ngcontent-%COMP%]:hover{background:#1a5296}.ss-skip-btn[_ngcontent-%COMP%]{flex:1;height:36px;background:transparent;color:#616161;border:1px solid #d0d7e0;border-radius:8px;font:400 12px/1 Aptos,Inter,sans-serif;cursor:pointer;transition:background .15s,color .15s}.ss-skip-btn[_ngcontent-%COMP%]:hover{background:#f5f5f5;color:#333}"]})}}return n})();function bk(n,d){if(1&n){const t=e.RV6();e.j41(0,"li",6),e.bIt("click",function(){const r=e.eBV(t).$implicit,u=e.XpG(2);return e.Njj(u.select(r))}),e.EFF(1),e.k0s()}if(2&n){const t=d.$implicit,i=d.index,r=e.XpG(2);e.AVh("lp-state-option--active",i===r.listIdx),e.R7$(),e.JRh(t)}}function vk(n,d){if(1&n&&(e.j41(0,"ul",4),e.DNE(1,bk,2,3,"li",5),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.filtered)}}function yk(n,d){if(1&n&&(e.j41(0,"div",7),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(' No states match "',t.search,'" ')}}let Ek=(()=>{class n{constructor(){this.selected=new e.bkB,this.search="",this.listIdx=-1,this.filtered=[]}onSearchChange(){const t=this.search.trim().toLowerCase();this.filtered=t?v_.filter(i=>i.toLowerCase().startsWith(t)):[],this.listIdx=-1}select(t){this.search="",this.filtered=[],this.listIdx=-1,this.selected.emit(t)}onKeydown(t){const i=this.filtered.length;!i&&"Escape"!==t.key||("ArrowDown"===t.key?(t.preventDefault(),this.listIdx=Math.min(this.listIdx+1,i-1)):"ArrowUp"===t.key?(t.preventDefault(),this.listIdx=Math.max(this.listIdx-1,0)):"Enter"===t.key&&this.listIdx>=0?(t.preventDefault(),this.select(this.filtered[this.listIdx])):"Escape"===t.key&&(this.search="",this.filtered=[],this.listIdx=-1))}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-lp-state-picker"]],outputs:{selected:"selected"},decls:4,vars:3,consts:[[1,"lp-state-picker"],["type","text","placeholder","Type your state (e.g., California)...","autocomplete","off","spellcheck","fal
1se","aria-label","Search for your state",1,"lp-state-filter",3,"ngModelChange","keydown","ngModel"],["class","lp-state-list","role","listbox",4,"ngIf"],["class","lp-state-no-match",4,"ngIf"],["role","listbox",1,"lp-state-list"],["class","lp-state-option","role","option",3,"lp-state-option--active","click",4,"ngFor","ngForOf"],["role","option",1,"lp-state-option",3,"click"],[1,"lp-state-no-match"]],template:function(i,r){1&i&&(e.j41(0,"div",0)(1,"input",1),e.mxI("ngModelChange",function(v){return e.DH7(r.search,v)||(r.search=v),v}),e.bIt("ngModelChange",function(){return r.onSearchChange()})("keydown",function(v){return r.onKeydown(v)}),e.k0s(),e.DNE(2,vk,2,1,"ul",2)(3,yk,2,1,"div",3),e.k0s()),2&i&&(e.R7$(),e.R50("ngModel",r.search),e.R7$(),e.Y8G("ngIf",r.filtered.length>0),e.R7$(),e.Y8G("ngIf",r.search.length>0&&0===r.filtered.length))},dependencies:[ie.Sq,ie.bT,ge.me,ge.BC,ge.vS],styles:[".lp-state-picker[_ngcontent-%COMP%]{position:relative;align-self:flex-start;width:100%;max-width:360px;padding:4px 0 8px}.lp-state-filter[_ngcontent-%COMP%]{width:100%;box-sizing:border-box;height:38px;border:1.5px solid #D1D5DB;border-radius:8px;padding:0 12px;font-size:14px;color:#1f2937;outline:none;background:#fff;transition:border-color .15s}.lp-state-filter[_ngcontent-%COMP%]:focus{border-color:#2766ac}.lp-state-filter[_ngcontent-%COMP%]::placeholder{color:#9ca3af}.lp-state-list[_ngcontent-%COMP%]{position:absolute;top:calc(100% - 4px);left:0;right:0;background:#fff;border:1px solid #E5E7EB;border-radius:8px;box-shadow:0 4px 16px #0000001a;list-style:none;margin:0;padding:4px 0;max-height:200px;overflow-y:auto;z-index:50}.lp-state-option[_ngcontent-%COMP%]{padding:8px 14px;font-size:13px;color:#374151;cursor:pointer}.lp-state-option[_ngcontent-%COMP%]:hover, .lp-state-option--active[_ngcontent-%COMP%]{background:#eef5ff;color:#0f172a}.lp-state-no-match[_ngcontent-%COMP%]{padding:6px 2px;font-size:12px;color:#9ca3af}"]})}}return n})();const Tk=["*"];function Qb(n,d){1&n&&(e.j41(0,"span",11),e.nrm(1,"app-abi-orb",12),e.k0s()),2&n&&(e.R7$(),e.Y8G("size",24))}function Zb(n,d){if(1&n&&(e.j41(0,"p",13),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.JRh(t.prompt)}}function Ik(n,d){if(1&n&&(e.j41(0,"span",20),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(t.help)}}function Dk(n,d){if(1&n){const t=e.RV6();e.j41(0,"button",15),e.bIt("click",function(){const r=e.eBV(t).$implicit,u=e.XpG(3);return e.Njj(u.selectOption(r))}),e.nrm(1,"span",16),e.j41(2,"span",17)(3,"span",18),e.EFF(4),e.k0s(),e.DNE(5,Ik,2,1,"span",19),e.k0s()()}if(2&n){const t=d.$implicit,i=e.XpG(3);e.AVh("is-selected",t.key===i.selectedKey),e.Y8G("disabled",!i.interactive),e.R7$(4),e.JRh(t.title),e.R7$(),e.Y8G("ngIf",t.help)}}function Ck(n,d){if(1&n&&(e.qex(0),e.DNE(1,Dk,6,5,"button",14),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngForOf",t.options)}}function Mk(n,d){if(1&n){const t=e.RV6();e.j41(0,"button",22),e.bIt("click",function(){const r=e.eBV(t).$implicit,u=e.XpG(3);return e.Njj(u.selectOption(r))}),e.EFF(1),e.k0s()}if(2&n){const t=d.$implicit,i=e.XpG(3);e.AVh("is-selected",t.key===i.selectedKey),e.Y8G("disabled",!i.interactive),e.R7$(),e.SpI(" ",t.label," ")}}function Sk(n,d){if(1&n&&(e.qex(0),e.DNE(1,Mk,2,4,"button",21),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngForOf",t.options)}}function Rk(n,d){if(1&n&&(e.j41(0,"div",7),e.DNE(1,Qb,2,1,"span",8)(2,Zb,2,1,"p",9)(3,Ck,2,1,"ng-container",10)(4,Sk,2,1,"ng-container",10),e.k0s()),2&n){const t=e.XpG();e.AVh("lp-choices--locked",!t.interactive),e.R7$(),e.Y8G("ngIf",t.mobile&&"user"!==t.role),e.R7$(),e.Y8G("ngIf",t.prompt),e.R7$(),e.Y8G("ngIf",t.options[0]&&1===t.options[0].key.length),e.R7$(),e.Y8G("ngIf",t.options[0]&&t.options[0].key.length>1)}}function wk(n,d){if(1&n){const t=e.RV6();e.j41(0,"app-lp-date-picker",23),e.bIt("confirmed",function(r){e.eBV(t);const u=e.XpG();return e.Njj(u.onConfirm(r))}),e.k0s()}if(2&n){const t=e.XpG();e.Y8G("prompt",t.content)}}function kk(n,d){1&n&&(e.j41(0,"span",11),e.nrm(1,"app-abi-orb",12),e.k0s()),2&n&&(e.R7$(),e.Y8G("size",24))}function Ak(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",24)(1,"div",25),e.DNE(2,kk,2,1,"span",8),e.EFF(3),e.k0s(),e.j41(4,"app-lp-state-picker",26),e.bIt("selected",function(r){e.eBV(t);const u=e.XpG();return e.Njj(u.onConfirm(r))}),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(2),e.Y8G("ngIf",t.mobile),e.R7$(),e.JRh(t.content)}}function iC(n,d){1&n&&(e.j41(0,"span",11),e.nrm(1,"app-abi-orb",12),e.k0s()),2&n&&(e.R7$(),e.Y8G("size",24))}function Zd(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",24)(1,"div",25),e.DNE(2,iC,2,1,"span",8),e.EFF(3),e.k0s(),e.j41(4,"app-lp-salary-slider",27),e.bIt("confirmed",function(r){e.eBV(t);const u=e.XpG();return e.Njj(u.onConfirm(r))})("skipped",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.onSalarySkip())}),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(2),e.Y8G("ngIf",t.mobile),e.R7$(),e.JRh(t.content),e.R7$(),e.Y8G("state",t.detectedState)}}function Tp(n,d){1&n&&(e.j41(0,"span",11),e.nrm(1,"app-abi-orb",12),e.k0s()),2&n&&(e.R7$(),e.Y8G("size",24))}function sC(n,d){if(1&n&&(e.qex(0),e.j41(1,"span",30),e.EFF(2),e.k0s(),e.j41(3,"span",31),e.EFF(4),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.parts.title),e.R7$(2),e.JRh(t.parts.subtitle)}}function xk(n,d){if(1&n&&e.EFF(0),2&n){const t=e.XpG(3);e.JRh(t.content)}}function ev(n,d){if(1&n&&(e.qex(0),e.DNE(1,sC,5,2,"ng-container",29)(2,xk,1,1,"ng-template",null,1,e.C5r),e.bVm()),2&n){const t=e.sdS(3),i=e.XpG(2);e.R7$(),e.Y8G("ngIf",i.parts.subtitle)("ngIfElse",t)}}function rC(n,d){1&n&&e.SdG(0)}function Nk(n,d){if(1&n&&(e.j41(0,"div",28),e.DNE(1,Tp,2,1,"span",8)(2,ev,4,2,"ng-container",29)(3,rC,1,0,"ng-template",null,0,e.C5r),e.k0s()),2&n){const t=e.sdS(4),i=e.XpG();e.AVh("lp-message--user","user"===i.role)("lp-message--assistant","assistant"===i.role)("lp-message--error","error"===i.role),e.R7$(),e.Y8G("ngIf",i.mobile&&"user"!==i.role),e.R7$(),e.Y8G("ngIf",i.content)("ngIfElse",t)}}let oC=(()=>{class n{constructor(){this.role="assistant",this.content="",this.interactive=!1,this.answer=null,this.detectedState="",this.mobile=!1,this.plain=!1,this.send=new e.bkB,this.kind="text",this.options=[],this.prompt="",this.selectedKey=null,this.parts={title:"",subtitle:""}}get fill(){return"text"!==this.kind}ngOnChanges(){if(this.parts=em(this.content),this.plain)return this.options=[],this.prompt="",this.selectedKey=null,void(this.kind="text");const t=__(this.content);if(t)return this.kind="options",this.options=t.options,this.prompt=t.message,void(this.selectedKey=this.answer?g_(t.options,this.answer):null);if(this.options=[],this.prompt="",this.selectedKey=null,this.interactive){if((n=>{const d=this.content.toLowerCase();return d.includes("what state")||d.includes("which state")||d.includes("u.s. state")||d.includes("us state")})())return void(this.kind="state");if((n=>{const d=this.content.toLowerCase();return d.includes("leave date")||d.includes("start date")||d.includes("when does your")||d.includes("when do you")||d.includes("when will")})())return void(this.kind="date");if((n=>{const d=this.content.toLowerCase();return d.includes("annual salary")||d.includes("your salary")||d.includes("your income")||d.includes("how much do you earn")||d.includes("how much do you make")||d.includes("gross income")||d.includes("your annual")||d.includes("salary estimate")||d.includes("salary information")})())return void(this.kind="salary")}this.kind="text"}selectOption(t){this.interactive&&this.send.emit(1===t.key.length?`${t.key}) ${t.label}`:t.label)}onConfirm(t){this.send.emit(t)}onSalarySkip(){this.send.emit("I prefer not to share my salary.")}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-lp-message-bubble"]],hostVars:2,hostBindings:function(i,r){2&i&&e.AVh("lp-bubble--fill",r.fill)},inputs:{role:"role",content:"content",interactive:"interactive",answer:"answer",detectedState:"detectedState",mobile:"mobile",plain:"plain"},outputs:{send:"send"},features:[e.OA$],ngContentSelectors:Tk,decls:6,vars:5,consts:[["projected",""],["plain",""],[3,"ngSwitch"],["class","lp-ch
1oices",3,"lp-choices--locked",4,"ngSwitchCase"],[3,"prompt","confirmed",4,"ngSwitchCase"],["class","lp-bubble-stack",4,"ngSwitchCase"],["class","lp-message",3,"lp-message--user","lp-message--assistant","lp-message--error",4,"ngSwitchDefault"],[1,"lp-choices"],["class","lp-bubble-orb",4,"ngIf"],["class","lp-options__prompt",4,"ngIf"],[4,"ngIf"],[1,"lp-bubble-orb"],[3,"size"],[1,"lp-options__prompt"],["class","lp-optioncard","type","button",3,"is-selected","disabled","click",4,"ngFor","ngForOf"],["type","button",1,"lp-optioncard",3,"click","disabled"],[1,"lp-optioncard__radio"],[1,"lp-optioncard__body"],[1,"lp-optioncard__title"],["class","lp-optioncard__help",4,"ngIf"],[1,"lp-optioncard__help"],["class","lp-yn-btn","type","button",3,"is-selected","disabled","click",4,"ngFor","ngForOf"],["type","button",1,"lp-yn-btn",3,"click","disabled"],[3,"confirmed","prompt"],[1,"lp-bubble-stack"],[1,"lp-message","lp-message--assistant"],[3,"selected"],[3,"confirmed","skipped","state"],[1,"lp-message"],[4,"ngIf","ngIfElse"],[1,"lp-msg-title"],[1,"lp-msg-subtitle"]],template:function(i,r){1&i&&(e.NAR(),e.qex(0,2),e.DNE(1,Rk,5,6,"div",3)(2,wk,1,1,"app-lp-date-picker",4)(3,Ak,5,2,"div",5)(4,Zd,5,3,"div",5)(5,Nk,5,9,"div",6),e.bVm()),2&i&&(e.Y8G("ngSwitch",r.kind),e.R7$(),e.Y8G("ngSwitchCase","options"),e.R7$(),e.Y8G("ngSwitchCase","date"),e.R7$(),e.Y8G("ngSwitchCase","state"),e.R7$(),e.Y8G("ngSwitchCase","salary"))},dependencies:[ie.Sq,ie.bT,ie.ux,ie.e1,ie.fG,Jb,gk,Ha,Ek],styles:["[_nghost-%COMP%]{display:block;max-width:80%;min-width:0}.lp-bubble--fill[_nghost-%COMP%]{max-width:100%;flex:1 1 auto}.lp-bubble-stack[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px;align-items:flex-start}.lp-message[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:10px 14px;border-radius:12px;font-size:16px;line-height:1.5;word-wrap:break-word;overflow-wrap:anywhere;white-space:pre-line}.lp-message--user[_ngcontent-%COMP%]{background:#2766ac;color:#fff;border-bottom-right-radius:4px}.lp-message--assistant[_ngcontent-%COMP%]{background:#fff;color:#1b1d22;border:1px solid #d7dbe0;border-bottom-left-radius:4px;box-shadow:0 2px 8px #0000000a,0 2px 4px #0000000f}.lp-message--error[_ngcontent-%COMP%]{background:#fff;color:#000;border:1px solid #d7dbe0;border-bottom-left-radius:4px;box-shadow:0 2px 8px #0000000a,0 2px 4px #0000000f}.lp-msg-title[_ngcontent-%COMP%]{font-weight:600}.lp-msg-subtitle[_ngcontent-%COMP%]{font-size:14px;line-height:20px;color:#565f6c;margin-top:2px}.lp-message--user[_ngcontent-%COMP%]   .lp-msg-subtitle[_ngcontent-%COMP%]{color:#ffffffd9}.lp-choices[_ngcontent-%COMP%]{flex:1;min-width:0;display:flex;flex-direction:column;gap:10px;background:#fff;border:1px solid #d7dbe0;border-radius:16px;padding:16px;box-shadow:0 2px 8px #0000000a,0 2px 4px #0000000f}.lp-options__prompt[_ngcontent-%COMP%]{margin:0 0 4px;font-size:16px;line-height:24px;color:#1b1d22}.lp-optioncard[_ngcontent-%COMP%]{display:flex;gap:12px;padding:14px 16px;border:1.5px solid #d7dbe0;border-radius:16px;background:#f3f4f6;cursor:pointer;text-align:left;transition:border-color .15s ease,background .15s ease}.lp-optioncard[_ngcontent-%COMP%]:not(:disabled):hover{border-color:#075cba;background:#f7fafe}.lp-optioncard__radio[_ngcontent-%COMP%]{flex-shrink:0;margin-top:2px;width:20px;height:20px;border-radius:999px;border:1.5px solid #d7dbe0;transition:border-color .15s ease,box-shadow .15s ease}.lp-optioncard[_ngcontent-%COMP%]:not(:disabled):hover   .lp-optioncard__radio[_ngcontent-%COMP%]{border-color:#075cba}.lp-optioncard.is-selected[_ngcontent-%COMP%]{border-color:#075cba;background:#eff5fd}.lp-optioncard.is-selected[_ngcontent-%COMP%]   .lp-optioncard__radio[_ngcontent-%COMP%]{border-color:#075cba;box-shadow:inset 0 0 0 5px #075cba}.lp-optioncard[_ngcontent-%COMP%]:disabled{cursor:default}.lp-choices--locked[_ngcontent-%COMP%]   .lp-optioncard[_ngcontent-%COMP%]:not(.is-selected){opacity:.55}.lp-optioncard__body[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:3px}.lp-optioncard__title[_ngcontent-%COMP%]{font-size:16px;font-weight:600;color:#1b1d22}.lp-optioncard__help[_ngcontent-%COMP%]{font-size:14px;line-height:20px;color:#565f6c}.lp-yn-btn[_ngcontent-%COMP%]{background:#fff;border:1.5px solid #D1D5DB;border-radius:8px;padding:10px 20px;font-size:14px;font-weight:600;color:#374151;cursor:pointer;transition:border-color .15s,background .15s;text-align:center}.lp-yn-btn[_ngcontent-%COMP%]:not(:disabled):hover{border-color:#2766ac;background:#eef5ff;color:#2766ac}.lp-yn-btn[_ngcontent-%COMP%]:disabled{cursor:default}.lp-yn-btn.is-selected[_ngcontent-%COMP%]{border-color:#075cba;background:#eff5fd;color:#075cba}.lp-choices--locked[_ngcontent-%COMP%]   .lp-yn-btn[_ngcontent-%COMP%]:not(.is-selected){opacity:.55}.lp-bubble-orb[_ngcontent-%COMP%]{display:inline-flex;align-items:center;margin-bottom:6px}@media (max-width: 768px){[_nghost-%COMP%]{max-width:100%}.lp-message[_ngcontent-%COMP%]{font-size:12px}.lp-msg-subtitle[_ngcontent-%COMP%]{font-size:10.5px;line-height:15px}.lp-options__prompt[_ngcontent-%COMP%]{font-size:12px;line-height:18px}.lp-optioncard__title[_ngcontent-%COMP%]{font-size:12px}.lp-optioncard__help[_ngcontent-%COMP%]{font-size:10.5px;line-height:15px}.lp-yn-btn[_ngcontent-%COMP%]{font-size:10.5px}}"]})}}return n})();const aC=["messageArea"],lC=["inputField"];function tm(n,d){1&n&&(e.j41(0,"span",23),e.nrm(1,"app-abi-orb",24),e.k0s()),2&n&&(e.R7$(),e.Y8G("size",28))}function tv(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",20),e.DNE(1,tm,2,1,"span",21),e.j41(2,"app-lp-message-bubble",22),e.bIt("send",function(r){e.eBV(t);const u=e.XpG();return e.Njj(u.onBubbleSend(r))}),e.k0s()()}if(2&n){const t=d.$implicit,i=e.XpG();e.AVh("lp-row--user","user"===t.role),e.R7$(),e.Y8G("ngIf",!i.isMobile&&"user"!==t.role),e.R7$(),e.Y8G("role",t.role)("content",t.content)("interactive",t.interactive)("answer",t.answer)("detectedState",i.detectedState)("mobile",i.isMobile)("plain",t.plain)}}function cC(n,d){1&n&&(e.j41(0,"span",23),e.nrm(1,"app-abi-orb",24),e.k0s()),2&n&&(e.R7$(),e.Y8G("size",28))}function nv(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",20),e.DNE(1,cC,2,1,"span",21),e.j41(2,"button",25),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.openPlanSummary())}),e.EFF(3," Open full plan summary "),e.qSk(),e.j41(4,"svg",26),e.nrm(5,"path",27),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",!t.isMobile)}}function Ok(n,d){1&n&&(e.j41(0,"span",23),e.nrm(1,"app-abi-orb",24),e.k0s()),2&n&&(e.R7$(),e.Y8G("size",28))}function iv(n,d){if(1&n&&(e.j41(0,"div",20),e.DNE(1,Ok,2,1,"span",21),e.j41(2,"app-lp-message-bubble",28)(3,"span",29),e.nrm(4,"span",30)(5,"span",30)(6,"span",30),e.k0s()()()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",!t.isMobile),e.R7$(),e.Y8G("mobile",t.isMobile)}}let Fk=(()=>{class n{constructor(t,i,r,u,v,V){this.router=t,this.chatApiService=i,this.projectionApiService=r,this.planResult=u,this.userService=v,this.cdRef=V,this.messages=[],this.displayMessages=[],this.inputText="",this.loading=!1,this.planReady=!1,this.view=[],this.intakeState={},this.progress=0,this.greetingName="",this.isMobile=!1,this.mobileQuery=window.matchMedia("(max-width: 768px)"),this.onMobileChange=Ce=>{this.isMobile=Ce.matches,this.cdRef.detectChanges()},this.destroy$=new Gn.B}ngOnInit(){this.isMobile=this.mobileQuery.matches,this.mobileQuery.addEventListener("change",this.onMobileChange),this.loadUser(),this.displayMessages=[{role:"assistant",content:this.welcomeMessage()}],this.rebuildView(),this.focusInput(),this.userService.getProfile().pipe((0,Kn.Q)(this.destroy$)).subscribe({next:t=>{this.state=t?.contacts?.find(i=>!!i.address?.stateName)?.address?.stateName||void 0,this.sendInit()},error:()=>this.sendInit()})}loadUser(){const t=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)??"null");t&&(this.employeeId=t.employeeSystemId,this.greetingName=(t.wob?t.onBehalfFirstName:t.firstName)??"")}welcomeMessage(){return(this.greetingName?`Hi ${this.greetingName}`:"Hi")+", I'm Ava \u2014 I'm here to help!\n\nNavigating leave or an accommodation can sometimes feel overwhelming, but I'm here to supp
1ort you every step of the way. I'm an AI Agent \u2014 not a human. I'm here 24/7 to make things easier and can help you plan or navigate your Leave or ADA request, answer common questions about FMLA, ADA, and other leave options, or point you toward wellbeing resources and support. I won't be making any decisions \u2014 that's always handled by a real person on our team. And when I can't help, I'll connect you with a human Absence Specialist who can."}goBack(){this.router.navigate(["/absences"])}openPlanSummary(){this.router.navigate(["/leavePlanSummary"])}newChat(){this.messages=[],this.displayMessages=[{role:"assistant",content:this.welcomeMessage()}],this.inputText="",this.loading=!1,this.planReady=!1,this.planResult.clear(),this.intakeState={},this.progress=0,this.rebuildView(),this.sendInit()}sendMessage(){const t=this.inputText.trim();if(!t||this.loading)return;const i={role:"user",content:t};this.messages=[...this.messages,i],this.displayMessages=[...this.displayMessages,i],this.inputText="",this.postChat()}sendInit(){this.loading||(this.messages=[...this.messages,{role:"user",content:"__init__"}],this.postChat())}postChat(){this.loading=!0,this.rebuildView(),this.cdRef.detectChanges(),this.scrollToBottom();const t=this.messages.filter(i=>"error"!==i.role);this.chatApiService.chat({messages:t,employeeId:this.employeeId,state:this.state,annualSalary:1e5}).pipe((0,Kn.Q)(this.destroy$)).subscribe({next:i=>{this.messages=i.messages,i.intake_state&&(this.intakeState={...this.intakeState,...i.intake_state}),null!=i.progress&&(this.progress=i.progress),i.intake_state?.is_complete&&this.callProjection(this.intakeState),i.reply&&(this.displayMessages=[...this.displayMessages,{role:"assistant",content:i.reply,plain:!!i.intake_state?.is_complete}]),this.loading=!1,this.rebuildView(),this.scrollToBottom(),this.focusInput()},error:()=>{const i={role:"error",content:"The chat service is not available at the moment"};this.messages=[...this.messages,i],this.displayMessages=[...this.displayMessages,i],this.loading=!1,this.rebuildView(),this.scrollToBottom(),this.focusInput()}})}rebuildView(){const t=this.displayMessages,i=t.length-1,r=[];for(let u=0;u<t.length;u++){const v=t[u];if("user"!==v.role)if("assistant"!==v.role)r.push({role:v.role,content:v.content,interactive:!1,answer:null,plain:!1});else{const V=t[u+1];r.push({role:"assistant",content:v.content,interactive:u===i&&!this.loading,answer:V&&"user"===V.role?V.content:null,plain:!!v.plain})}else{const V=t[u-1];if(V&&"assistant"===V.role){const Ce=__(V.content);if(Ce&&g_(Ce.options,v.content))continue}r.push({role:"user",content:v.content,interactive:!1,answer:null,plain:!1})}}this.view=r}get detectedState(){for(const t of this.displayMessages.filter(i=>"user"===i.role))for(const i of v_)if(t.content.toLowerCase().includes(i.toLowerCase()))return i;return""}onBubbleSend(t){this.inputText=t,this.sendMessage()}onKeydown(t){"Enter"===t.key&&!t.shiftKey&&(t.preventDefault(),this.sendMessage())}scrollToBottom(){setTimeout(()=>{this.messageArea&&(this.messageArea.nativeElement.scrollTop=this.messageArea.nativeElement.scrollHeight)})}focusInput(){setTimeout(()=>this.inputField?.nativeElement?.focus())}callProjection(t){console.log("[LeavePlan] callProjection intakeState:",JSON.stringify(t));const i={personId:String(this.employeeId),leaveReason:t.life_event??t.life_event_raw??"",childLeaveType:t.child_leave_type??null,leaveContinuity:t.leave_continuity??"",requestedStartDate:t.start_date??"",requestedEndDate:t.end_date??"",deliveryDate:t.due_date??null,deliveryMethod:t.delivery_type??null};console.log("[LeavePlan] projection request:",JSON.stringify(i)),this.projectionApiService.project(i).pipe((0,Kn.Q)(this.destroy$)).subscribe({next:r=>{this.planResult.set(r.plan,r.timeline,t),this.planReady=!0,this.cdRef.detectChanges()},error:()=>{this.displayMessages=[...this.displayMessages,{role:"error",content:"Unable to generate your leave plan. Please try again."}],this.rebuildView(),this.cdRef.detectChanges()}})}ngOnDestroy(){this.mobileQuery.removeEventListener("change",this.onMobileChange),this.destroy$.next(),this.destroy$.complete()}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(q.Ix),e.rXU(M.yw),e.rXU(M.hE),e.rXU(Ub),e.rXU(M.DL),e.rXU(e.gRc))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-leave-planning-chat"]],viewQuery:function(i,r){if(1&i&&(e.GBs(aC,5),e.GBs(lC,5)),2&i){let u;e.mGM(u=e.lsd())&&(r.messageArea=u.first),e.mGM(u=e.lsd())&&(r.inputField=u.first)}},decls:25,vars:8,consts:[["messageArea",""],["inputField",""],["role","regi
1on","aria-label","Plan with Ava",1,"lp-page"],[1,"lp-page-head"],["id","planMyLeaveTitle",1,"lp-page-title"],[1,"lp-page-head-actions"],["type","button",1,"lp-btn-new-chat",3,"click"],[1,"lp-page-body","lp-page-body--split"],[1,"lp-chat-pane"],[1,"lp-messages"],["class","lp-row",3,"lp-row--user",4,"ngFor","ngForOf"],["class","lp-row",4,"ngIf"],[1,"lp-input-row"],[1,"lp-composer"],["type","text","placeholder","Message Ava\u2026",1,"lp-input",3,"ngModelChange","keydown","ngModel","disabled"],["type","button","aria-label","Send",1,"lp-btn-send",3,"click","disabled"],["viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg","width","20","height","20"],["d","M12 19V5M12 5l-6 6M12 5l6 6","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],[1,"lp-summary-pane"],[3,"collected","progress"],[1,"lp-row"],["class","lp-avatar",4,"ngIf"],[3,"send","role","content","interactive","answer","detectedState","mobile","plain"],[1,"lp-avatar"],[3,"size"],["type","button",1,"lp-plan-cta",3,"click"],["viewBox","0 0 24 24","width","18","height","18","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round","aria-hidden","true"],["d","M5 12h14M13 6l6 6-6 6"],["role","assistant",3,"mobile"],[1,"lp-loading"],[1,"lp-dot"]],template:function(i,r){if(1&i){const u=e.RV6();e.j41(0,"div",2)(1,"div",3)(2,"h1",4),e.EFF(3,"Plan with Ava"),e.k0s(),e.j41(4,"div",5)(5,"button",6),e.bIt("click",function(){return e.eBV(u),e.Njj(r.goBack())}),e.EFF(6,"Back to Dashboard"),e.k0s(),e.j41(7,"button",6),e.bIt("click",function(){return e.eBV(u),e.Njj(r.newChat())}),e.EFF(8,"New Chat"),e.k0s()()(),e.j41(9,"div",7)(10,"div",8)(11,"div",9,0),e.DNE(13,tv,3,10,"div",10)(14,nv,6,1,"div",11)(15,iv,7,2,"div",11),e.k0s(),e.j41(16,"div",12)(17,"div",13)(18,"input",14,1),e.mxI("ngModelChange",function(V){return e.eBV(u),e.DH7(r.inputText,V)||(r.inputText=V),e.Njj(V)}),e.bIt("keydown",function(V){return e.eBV(u),e.Njj(r.onKeydown(V))}),e.k0s(),e.j41(20,"button",15),e.bIt("click",function(){return e.eBV(u),e.Njj(r.sendMessage())}),e.qSk(),e.j41(21,"svg",16),e.nrm(22,"path",17),e.k0s()()()()(),e.joV(),e.j41(23,"div",18),e.nrm(24,"app-lp-checklist",19),e.k0s()()()}2&i&&(e.R7$(13),e.Y8G("ngForOf",r.view),e.R7$(),e.Y8G("ngIf",r.planReady&&!r.loading),e.R7$(),e.Y8G("ngIf",r.loading),e.R7$(3),e.R50("ngModel",r.inputText),e.Y8G("disabled",r.loading),e.R7$(2),e.Y8G("disabled",!r.inputText.trim()||r.loading),e.R7$(4),e.Y8G("collected",r.intakeState)("progress",r.progress))},dependencies:[ie.Sq,ie.bT,ge.me,ge.BC,ge.vS,Ha,zb,oC],styles:[".lp-page[_ngcontent-%COMP%]{display:flex;flex-direction:column}.lp-page-head[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.lp-page-title[_ngcontent-%COMP%]{font-size:24px;font-weight:600;color:#0f172a;margin:0}.lp-page-body[_ngcontent-%COMP%]{display:flex;flex-direction:row;height:calc(100vh - 320px);min-height:460px;border:1px solid #E5E7EB;border-radius:12px;overflow:hidden;background:#fff}.lp-chat-pane[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex:1;min-width:0;height:100%;overflow:hidden;background:#f3f4f6}.lp-page-body--split[_ngcontent-%COMP%]   .lp-chat-pane[_ngcontent-%COMP%]{flex:0 0 67%;min-width:340px}.lp-summary-pane[_ngcontent-%COMP%]{flex:1;height:100%;overflow:hidden;display:flex;flex-direction:column;border-left:1px solid #E5E7EB;background:#fff}.lp-btn-new-chat[_ngcontent-%COMP%]{background:#fff;border:1.5px solid #D1D5DB;border-radius:6px;font-size:13px;font-weight:600;color:#374151;padding:7px 14px;cursor:pointer;transition:background .15s}.lp-btn-new-chat[_ngcontent-%COMP%]:hover{background:#f3f4f6}.lp-page-head-actions[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;margin-left:auto;margin-right:16px}.lp-messages[_ngcontent-%COMP%]{flex:1;overflow-y:auto;padding:20px;display:flex;flex-direction:column;gap:12px}.lp-row[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:10px}.lp-row--user[_ngcontent-%COMP%]{justify-content:flex-end}
1.lp-avatar[_ngcontent-%COMP%]{flex-shrink:0;width:36px;height:36px;border-radius:50%;border:1px solid #d7dbe0;background:#fff;display:grid;place-items:center}.lp-empty[_ngcontent-%COMP%]{color:#9ca3af;font-size:14px;text-align:center;margin-top:40px}.lp-input-row[_ngcontent-%COMP%]{flex-shrink:0;padding:12px 16px 18px;background:#f3f4f6}.lp-composer[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;padding:8px 8px 8px 20px;background:#fff;border:1px solid #d7dbe0;border-radius:999px;box-shadow:0 2px 8px #0000000a,0 2px 4px #0000000f}.lp-input[_ngcontent-%COMP%]{flex:1;border:none!important;outline:none!important;box-shadow:none!important;background:transparent;padding:6px 0;font-size:16px!important;line-height:1.5;color:#1b1d22}.lp-input[_ngcontent-%COMP%]::placeholder{color:#9ca3af;font-size:16px}.lp-btn-send[_ngcontent-%COMP%]{flex-shrink:0;width:40px;height:40px;border:none;border-radius:999px;background:#075cba;color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0;transition:opacity .15s ease,background .15s ease}.lp-btn-send[_ngcontent-%COMP%]:hover:not(:disabled){opacity:.92}.lp-btn-send[_ngcontent-%COMP%]:disabled{background:#b6c2d2;cursor:default}.lp-plan-cta[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:8px;padding:12px 20px;border:none;border-radius:999px;background:#075cba;color:#fff;font-size:15px;font-weight:700;cursor:pointer;box-shadow:0 2px 8px #00000014;transition:opacity .15s ease}.lp-plan-cta[_ngcontent-%COMP%]:hover{opacity:.92}.lp-plan-cta[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{flex-shrink:0}.lp-loading[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:4px}.lp-dot[_ngcontent-%COMP%]{width:7px;height:7px;border-radius:50%;background:#9ca3af;animation:_ngcontent-%COMP%_lp-bounce 1.2s ease-in-out infinite}.lp-dot[_ngcontent-%COMP%]:nth-child(1){animation-delay:0s}.lp-dot[_ngcontent-%COMP%]:nth-child(2){animation-delay:.2s}.lp-dot[_ngcontent-%COMP%]:nth-child(3){animation-delay:.4s}@keyframes _ngcontent-%COMP%_lp-bounce{0%,60%,to{transform:translateY(0);opacity:.4}30%{transform:translateY(-5px);opacity:1}}@media (max-width: 768px){.lp-page-body--split[_ngcontent-%COMP%]   .lp-summary-pane[_ngcontent-%COMP%]{display:none}.lp-page-body--split[_ngcontent-%COMP%]   .lp-chat-pane[_ngcontent-%COMP%]{flex:1 1 100%;min-width:0}.lp-page-head[_ngcontent-%COMP%]{flex-direction:column;align-items:stretch}.lp-page-head-actions[_ngcontent-%COMP%]{margin-left:0;margin-right:0;gap:8px}.lp-page-head-actions[_ngcontent-%COMP%]   .lp-btn-new-chat[_ngcontent-%COMP%]{flex:1}}"]})}}return n})();function dC(n,d){if(1&n&&(e.j41(0,"div",10)(1,"span",11),e.EFF(2),e.k0s(),e.j41(3,"span",12),e.EFF(4),e.k0s()()),2&n){const t=d.$implicit;e.R7$(2),e.JRh(t.label),e.R7$(2),e.JRh(t.value)}}function sv(n,d){1&n&&(e.j41(0,"span",15),e.EFF(1,"Estimated"),e.k0s())}function T_(n,d){if(1&n&&(e.j41(0,"div",10)(1,"span",11),e.EFF(2),e.k0s(),e.j41(3,"span",12),e.EFF(4),e.DNE(5,sv,2,0,"span",14),e.k0s()()),2&n){const t=d.$implicit;e.R7$(2),e.JRh(t.label),e.R7$(2),e.JRh(t.value),e.R7$(),e.Y8G("ngIf",t.estimated)}}function uC(n,d){if(1&n&&(e.j41(0,"div",7)(1,"div",13),e.EFF(2,"Leave dates"),e.k0s(),e.DNE(3,T_,6,3,"div",8),e.k0s()),2&n){const t=e.XpG(2);e.R7$(3),e.Y8G("ngForOf",t.dates)}}function pC(n,d){if(1&n&&(e.j41(0,"div",6)(1,"div",7),e.DNE(2,dC,5,2,"div",8),e.k0s(),e.DNE(3,uC,4,1,"div",9),e.k0s()),2&n){const t=e.XpG();e.R7$(2),e.Y8G("ngForOf",t.situation),e.R7$(),e.Y8G("ngIf",t.dates.length)}}const nm=/^\d{4}-\d{2}-\d{2}$/,hC=["end_date"];let mC=(()=>{class n{constructor(){this.open=!1,this.situation=[],this.dates=[]}ngOnChanges(){const t=[],i=[];for(const[r,u]of Object.entries(this.intake??{})){if(y_.includes(r)||null==u||""===String(u).trim())continue;const v=String(u).trim();nm.test(v)?i.push({label:Ep(r),value:Pb(v),estimated:hC.includes(r)}):t.push({label:Ep(r),value:Wb(v)})}this.situation=t,this.dates=i}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-lp-summary-inputs"]],inputs:{intake:"intake"},features:[e.OA$],decls:9,vars:4,consts:[[1,"sp-card"],["type","button",1,"cardtoggle",3,"click"],[1,"material-symbols-outlined","cardtoggle__icon"],[1,"cardtoggle__title"],[1,"material-symbols-outlined","cardtoggle__chev"],["class","card-body",4,"ngIf"],[1,"card-body"],[1,"rail-group"],["class","rail-field",4,"ngFor","ngForOf"],["class","rail-group",4,"ngIf"],[1,"rail-field"],[1,"rail-field__label"],[1,"rail-field__value"],[1,"rail-group__label"],["class","rail-field__badge",4,"ngIf"],[1,"rail-field__badge"]],template:function(i,r){1&i&&(e.j41(0,"section",0)(1,"button",1),e.bIt("click",function(){return r.open=!r.open}),e.j41(2,"span",2),e.EFF(3,"fact_check"),e.k0s(),e.j41(4,"h2",3),e.EFF(5,"Your details"),e.k0s(),e.j41(6,"span",4),e.EFF(7,"expand_more"),e.k0s()(),e.DNE(8,pC,4,2,"div",5),e.k0s()),2&i&&(e.R7$(),e.AVh("is-open",r.open),e.BMQ("aria-expanded",r.open),e.R7$(7),e.Y8G("ngIf",r.open))},dependencies:[ie.Sq,ie.bT],styles:["[_nghost-%COMP%]{display:block}.sp-card[_ngcontent-%COMP%]{background:var(--sys-surface-container-lowest);border-radius:var(--sys-radius-lg);box-shadow:var(--elevation-lv1);padding:24px 28px}.cardtoggle[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;width:100%;background:none;border:0;padding:0;cursor:pointer;text-align:left}.cardtoggle__icon[_ngcontent-%COMP%]{color:var(--sys-primary);font-size:22px;flex:none}.cardtoggle__title[_ngcontent-%COMP%]{margin:0;font-size:17px;font-weight:600;color:var(--sys-on-surface)}.cardtoggle__chev[_ngcontent-%COMP%]{margin-left:auto;color:var(--sys-on-surface-variant);font-size:24px;flex:none;transition:transform .2s ease}.cardtoggle.is-open[_ngcontent-%COMP%]   .cardtoggle__chev[_ngcontent-%COMP%]{transform:rotate(180deg)}.card-body[_ngcontent-%COMP%]{margin-top:16px;padding-top:16px;border-top:var(--sys-stroke-thin) solid var(--sys-outline-variant)}.rail-group[_ngcontent-%COMP%]{margin-bottom:18px}.rail-group[_ngcontent-%COMP%]:last-child{margin-bottom:0}.rail-group__label[_ngcontent-%COMP%]{margin-bottom:8px;font-size:var(--label-small-size);font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--sys-on-surface-variant)}.rail-field[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:3px;padding:10px 12px}.rail-field__label[_ngcontent-%COMP%]{font-size:var(--label-medium-size);color:var(--sys-on-surface-variant)}.rail-field__value[_ngcontent-%COMP%]{font-size:var(--body-medium-size);font-weight:600;color:var(--sys-on-surface)}.rail-field__badge[_ngcontent-%COMP%]{margin-left:8px;font-size:10px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--sys-on-surface-variant);background:var(--sys-surface);border-radius:var(--sys-radius-full);padding:2px 8px;vertical-align:middle}"]})}}return n})();function fC(n,d){if(1&n&&(e.j41(0,"div",10)(1,"div",11),e.EFF(2),e.j41(3,"span",12),e.EFF(4,"/week"),e.k0s()(),e.j41(5,"div",13),e.EFF(6),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.fmtMoney(t.std.weeklyPay)),e.R7$(4),e.SpI(" STD pays you 50% of your pay for ",t.std.duration,", starting after your 1-week waiting period. ")}}function _C(n,d){1&n&&(e.j41(0,"div",11),e.EFF(1,"$0"),e.j41(2,"span",12),e.EFF(3,"/week"),e.k0s()())}function gC(n,d){if(1&n&&(e.j41(0,"div",10),e.DNE(1,_C,4,0,"div",14),e.j41(2,"div",13),e.EFF(3),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.std),e.R7$(2),e.JRh(t.std?"No STD payments are due because your leave ends within the 1-week waiting period.":"Your requested leave start and end dates are needed to estimate STD pay.")}}function bC(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",16),e.EFF(2,"info"),e.k0s(),e.j41(3,"span"),e.EFF(4),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(4),e.JRh(t.disclaimer)}}function rv(n,d){if(1&n&&(e.j41(0,"div",7),e.DNE(1,fC,7,2,"div",8)(2,gC,4,2,"ng-template",null,0,e.C5r)(4,bC,5,1,"div",9),e.k0s()),2&n){const t=e.sdS(3),i=e.XpG();e.R7$(),e.Y8G("ngIf",i.paid)("ngIfElse",t),e.R7$(3),e.Y8G("ngIf",i.disclaimer)}}let ov=(()=>{class n{constructor(){this.std=null,this.open=!1,this.title="Your short-term disability pay",this.paid=!1,this.disclaimer="",this.fmtMoney=yp}ngOnChanges(){this.paid=!!this.std?.paidDays,this.title=this.std?this.paid?`STD pays 50% of your pay for ${this.std.duration}`:"Your leave ends before STD payments begin":"Your short-term disability pay",this.disclaimer="Based on an annual salary of $100,000: $100,000 \xf7 52 weeks \xd7 50%. STD starts after a 1-week waiting period and pays for up to 6 weeks or until your leave ends, whichever comes first. Partial weeks are prorated."}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-lp-summary-pay"]],inputs:{std:"std"},features:[e.OA$],decls:9,vars:5,consts:[["unpaid",""],[1,"sp-card"],["type","button",1,"cardtoggle",3,"click"],[1,"material-symbols-outlined","cardtoggle__icon"],[1,"cardtoggle__title"],[1,"material-symbols-outlined","cardtoggle__chev"],["class","card-body",4,"ngIf"],[1,"card-body"],["class","payout",4,"ngIf","ngIfElse"],["class","salary__note",4,"ngIf"],[1,"payout"],[1,"payout__amt"],[1,"payout__unit"],[1,"payout__sub"],["class","payout__amt",4,"ngIf"],[1,"salary__note"],[1,"material-symbols-outlined"]],template:function(i,r){1&i&&(e.j41(0,"section",1)(1,"button",2),e.bIt("click",function(){return r.open=!r.open}
1),e.j41(2,"span",3),e.EFF(3,"payments"),e.k0s(),e.j41(4,"h2",4),e.EFF(5),e.k0s(),e.j41(6,"span",5),e.EFF(7,"expand_more"),e.k0s()(),e.DNE(8,rv,5,3,"div",6),e.k0s()),2&i&&(e.R7$(),e.AVh("is-open",r.open),e.BMQ("aria-expanded",r.open),e.R7$(4),e.JRh(r.title),e.R7$(3),e.Y8G("ngIf",r.open))},dependencies:[ie.bT],styles:["[_nghost-%COMP%]{display:block}.sp-card[_ngcontent-%COMP%]{background:var(--sys-surface-container-lowest);border-radius:var(--sys-radius-lg);box-shadow:var(--elevation-lv1);padding:24px 28px}.cardtoggle[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;width:100%;background:none;border:0;padding:0;cursor:pointer;text-align:left}.cardtoggle__icon[_ngcontent-%COMP%]{color:var(--sys-primary);font-size:22px;flex:none}.cardtoggle__title[_ngcontent-%COMP%]{margin:0;font-size:17px;font-weight:600;color:var(--sys-on-surface)}.cardtoggle__chev[_ngcontent-%COMP%]{margin-left:auto;color:var(--sys-on-surface-variant);font-size:24px;flex:none;transition:transform .2s ease}.cardtoggle.is-open[_ngcontent-%COMP%]   .cardtoggle__chev[_ngcontent-%COMP%]{transform:rotate(180deg)}.card-body[_ngcontent-%COMP%]{margin-top:16px;padding-top:16px;border-top:var(--sys-stroke-thin) solid var(--sys-outline-variant)}.payout[_ngcontent-%COMP%]{margin-bottom:18px;padding-bottom:16px;border-bottom:var(--sys-stroke-thin) solid var(--sys-outline-variant)}.payout__amt[_ngcontent-%COMP%]{font-size:34px;font-weight:800;letter-spacing:-.02em;line-height:1;color:#2f7d34}.payout__unit[_ngcontent-%COMP%]{font-size:18px;font-weight:700;color:var(--sys-on-surface-variant);margin-left:4px}.payout__sub[_ngcontent-%COMP%]{font-size:var(--label-large-size);color:var(--sys-on-surface-variant);margin-top:7px}.salary__note[_ngcontent-%COMP%]{display:flex;gap:8px;margin:16px 0 0;padding:12px 14px;background:#eef4fb;border-radius:var(--sys-radius-sm);font-size:var(--body-small-size);line-height:var(--body-small-line);color:var(--sys-on-surface-variant)}.salary__note[_ngcontent-%COMP%]   .material-symbols-outlined[_ngcontent-%COMP%]{color:var(--sys-primary);font-size:20px;flex:none}"]})}}return n})();function av(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",22)(1,"span",23),e.bIt("click",function(){const r=e.eBV(t).$implicit,u=e.XpG(2);return e.Njj(u.selectBar(r))})("keydown.enter",function(){const r=e.eBV(t).$implicit,u=e.XpG(2);return e.Njj(u.selectBar(r))})("keydown.space",function(r){const u=e.eBV(t).$implicit,v=e.XpG(2);return r.preventDefault(),e.Njj(v.selectBar(u))}),e.EFF(2),e.j41(3,"span",24),e.EFF(4,"info"),e.k0s()()()}if(2&n){const t=d.$implicit,i=e.XpG(2);e.R7$(),e.xc7("left",t.leftPct,"%")("width",t.widthPct,"%"),e.AVh("cov-bar--paid",t.paid)("is-dim",i.selectedKey&&i.selectedKey!==t.key)("is-selected",i.selectedKey===t.key),e.BMQ("aria-pressed",i.selectedKey===t.key),e.R7$(),e.SpI(" ",t.label,"")}}function vC(n,d){if(1&n&&(e.j41(0,"span",25),e.EFF(1),e.k0s()),2&n){const t=d.$implicit;e.xc7("left",t.leftPct,"%"),e.R7$(),e.JRh(t.label)}}function Lk(n,d){if(1&n&&(e.j41(0,"span",36)(1,"span",14),e.EFF(2),e.k0s(),e.EFF(3),e.nI1(4,"translate"),e.k0s()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh("bonding"===t.detail.phase?"child_care":"favorite"),e.R7$(),e.SpI(" ",e.bMT(4,2,"bonding"===t.detail.phase?"leavePlanDrawer.bonding":"leavePlanDrawer.recovery")," ")}}function lv(n,d){if(1&n&&(e.j41(0,"span",37)(1,"span",14),e.EFF(2),e.k0s(),e.EFF(3),e.nI1(4,"translate"),e.k0s()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.detail.federal?"account_balance":"location_on"),e.R7$(),e.SpI(" ",e.bMT(4,2,t.detail.federal?"leavePlanDrawer.federal":"leavePlanDrawer.state")," ")}}function cv(n,d){if(1&n&&(e.j41(0,"p",38),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.JRh(t.detail.info)}}function Zc(n,d){if(1&n&&(e.j41(0,"div",39)(1,"strong",40),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",41),e.EFF(5),e.k0s()()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(e.bMT(3,2,"leavePlanDrawer.youQualify")),e.R7$(3),e.JRh(t.detail.qualify)}}function dv(n,d){if(1&n&&(e.j41(0,"div",26)(1,"div",27)(2,"span",28)(3,"span",14),e.EFF(4),e.k0s(),e.EFF(5),e.nI1(6,"translate"),e.k0s(),e.DNE(7,Lk,5,4,"span",29)(8,lv,5,4,"span",30),e.k0s(),e.j41(9,"div",31)(10,"span",32),e.EFF(11),e.k0s()(),e.j41(12,"div",33),e.EFF(13),e.k0s(),e.DNE(14,cv,2,1,"p",34)(15,Zc,6,4,"div",35),e.k0s()),2&n){const t=e.XpG(2);e.xc7("--drawer-accent",t.detail.accent),e.R7$(4),e.JRh(t.detail.paid?"payments":"shield"),e.R7$(),e.SpI(" ",e.bMT(6,10,t.detail.paid?"leavePlanDrawer.paysYou":"leavePlanDrawer.protectsJob")," "),e.R7$(2),e.Y8G("ngIf","recovery"===t.detail.phase||"bonding"===t.detail.phase),e.R7$(),e.Y8G("ngIf",!t.detail.std),e.R7$(3),e.JRh(t.detail.label),e.R7$(2),e.JRh(t.detail.datesText),e.R7$(),e.Y8G("ngIf",t.detail.info),e.R7$(),e.Y8G("ngIf",t.detail.qualify)}}function yC(n,d){if(1&n&&(e.j41(0,"div",42)(1,"div",43)(2,"span",44),e.EFF(3),e.k0s(),e.j41(4,"span",45),e.EFF(5),e.k0s()()()),2&n){const t=e.XpG(2);e.R7$(3),e.JRh(t.startBookend.date),e.R7$(2),e.JRh(t.startBookend.label)}}function Pk(n,d){if(1&n&&(e.j41(0,"p",53),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(t.note)}}function I_(n,d){if(1&n&&(e.j41(0,"div",46)(1,"div",47)(2,"div",48)(3,"span",49),e.EFF(4),e.k0s(),e.j41(5,"span",50),e.EFF(6),e.k0s()(),e.j41(7,"span",51)(8,"span",14),e.EFF(9),e.k0s(),e.EFF(10),e.k0s()(),e.DNE(11,Pk,2,1,"p",52),e.k0s()),2&n){const t=d.$implicit;e.xc7("--phs-accent",t.paid?"#2f7d34":"#075cba"),e.R7$(4),e.JRh(t.range),e.R7$(2),e.JRh(t.title),e.R7$(),e.AVh("phs__pay--paid",t.paid)("phs__pay--protected",!t.paid),e.R7$(2),e.JRh(t.paid?"payments":"shield"),e.R7$(),e.SpI(" ",t.payLabel," "),e.R7$(),e.Y8G("ngIf",t.note)}}function D_(n,d){if(1&n&&(e.j41(0,"div",54)(1,"div",43)(2,"span",44),e.EFF(3),e.k0s(),e.j41(4,"span",45),e.EFF(5),e.k0s()()()),2&n){const t=e.XpG(2);e.R7$(3),e.JRh(t.endBookend.date),e.R7$(2),e.JRh(t.endBookend.label)}}function EC(n,d){if(1&n&&(e.j41(0,"div",6)(1,"p",7),e.EFF(2,"These are the plans that cover you"),e.k0s(),e.j41(3,"div",8),e.DNE(4,av,5,12,"div",9),e.k0s(),e.j41(5,"div",10),e.DNE(6,vC,2,3,"span",11),e.k0s(),e.j41(7,"div",12)(8,"span",13)(9,"span",14),e.EFF(10,"flag"),e.k0s()(),e.j41(11,"span",15)(12,"span",14),e.EFF(13,"sports_score"),e.k0s()()(),e.DNE(14,dv,16,12,"div",16),e.j41(15,"h3",17),e.EFF(16,"What your leave would look like"),e.k0s(),e.j41(17,"div",18),e.DNE(18,yC,6,2,"div",19)(19,I_,12,11,"div",20)(20,D_,6,2,"div",21),e.k0s()()),2&n){const t=e.XpG();e.R7$(4),e.Y8G("ngForOf",t.bars),e.R7$(),e.AVh("is-dim",t.selectedKey),e.R7$(),e.Y8G("ngForOf",t.months),e.R7$(),e.AVh("is-dim",t.selectedKey),e.R7$(7),e.Y8G("ngIf",t.detail),e.R7$(4),e.Y8G("ngIf",t.startBookend),e.R7$(),e.Y8G("ngForOf",t.phases),e.R7$(),e.Y8G("ngIf",t.endBookend)}}let uv=(()=>{class n{constructor(t){this.translate=t,this.timeline=[],this.std=null,this.open=!0,this.title="Your leave timeline",this.bars=[],this.months=[],this.startBookend=null,this.endBookend=null,this.phases=[],this.selectedKey=null,this.detail=null}ngOnChanges(){const t=(this.timeline??[]).filter(Ot=>"overall"!==Ot.type),i=(this.timeline??[]).find(Ot=>"overall"===Ot.type),r=this.intake?.start_date||i?.start||(t.length?t.reduce((Ot,Jt)=>La(Jt.start)<La(Ot)?Jt.start:Ot,t[0].start):""),u=this.intake?.end_date||i?.end||(t.length?t.reduce((Ot,Jt)=>La(Jt.end)>La(Ot)?Jt.end:Ot,t[0].end):"");this.title=r&&u?`Your leave runs ${p_(r)} to ${p_(u)}`:"Your leave timeline";const v=La(r),V=La(u),Ce=Math.max(1,V-v+1),it=Ot=>Math.max(0,Math.min(100,Ot)),At=[...t.filter(Ot=>"std"!==Ot.type),...t.filter(Ot=>"std"===Ot.type)];this.bars=At.map(Ot=>{const Jt=it((La(Ot.start)-v)/Ce*100),wn=it((La(Ot.end)+1-v)/Ce*100);return{key:Ot.label.toLowerCase().replace(/[^a-z0-9]+/g,""),label:Ot.label,type:Ot.type,phase:Ot.phase,paid:"pfml"===Ot.type||"std"===Ot.type,start:Ot.start,end:Ot.end,leftPct:Jt,widthPct:Math.max(0,wn-Jt)}}),this.selectedKey=null,this.detail=null,this.months=this.buildMonths(v,V,Ce,it),this.phases=(this.plan?.rows??[]).map(Ot=>({range:Ot.period,title:Ot.label,note:Ot.notes,paid:Ot.paid,payLabel:Ot.paid?`Paid ${yp(Ot.weeklyAmount)}/wk`:"Job-protected"})),this.startBookend=r?{date:Qd(r),label:"Your leave begins"}:null,this.endBookend=u?{date:Qd(h_(u,1)),label:"Back to work"}:null}selectBar(t){if(this.selectedKey===t.key)return this.selectedKey=null,void(this.detail=null);this.selectedKey=t.key,this.detail={label:t.label,paid:t.paid,accent:t.paid?"#2f7d34":"#075cba",phase:t.phase,federal:"fmla"===t.type,std:"std"===t.type,datesText:`${Qd(t.start)} \u2013 ${Qd(t.end)}`,info:"std"===t.type?`Short-term disability pays 50% of your weekly salary (${yp(this.std?.weeklyPay)}/week) after a 1-week waiting period, for up to 6 weeks or until your requested leave ends, whichever comes first.`:this.tx(`leavePlanDrawer.${t.key}.info`),qualify:"std"===t.type?null:this.tx(`leavePlanDrawer.${t.key}.qualify`)}}tx(t){const i=this.translate.instant(t);return i&&i!==t?i:null}buildMonths(t,i,r,u){if(isNaN(t)||isNaN(i))return[];const v=[],V=864e5,Ce=new Date(t*V);Ce.setUTCDate(1);const it=new Date(i*V);for(;Ce<=it;)v.push({label:Ce.toLocaleDateString("en-US",{month:"short",timeZone:"UTC"}),leftPct:u((Ce.getTime()/V-t)/r*100)}),Ce.setUTCMonth(Ce.getUTCMonth()+1);return v}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(Y.c$))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-lp-summary-timeline"]],inputs:{intake:"intake",timeline:"timeline",plan:"plan",std:"std"},features:[e.OA$],decls:9,vars:5,consts:[[1,"sp-card"],["type","button",1,"cardtoggle",3,"click"],[1,"material-symbols-outlined","cardtoggle__icon"],[1,"cardtoggle__title"],[1,"material-symbols-outlined","cardtoggle__chev"],["class","card-body",4,"ngIf"],[1,"card-body"],[1,"lcb__caption"],[1,"cov"],["class","cov-row",4,"ngFor","ngForOf"],["aria-hidden","true",1,"lcb-axis"],["class","lcb-axis__m",3,"left",4,"ngFor","ngForOf"],["aria-hidden","true",1,"cov-line"],[1,"cov-end","cov-end--start"],[1,"material-symbols-outlined"],[1,"cov-end","cov-end--end"],["class","lcb-drawer",3,"--drawer-accent",4,"ngIf"],[1,"phs-section-head"],[1,"phs"],["class","phs-bookend",4,"ngIf"],["class","phs__card",3,"--phs-accent",4,"ngFor","ngForOf"],["class","phs-bookend phs-bookend--end",4,"ngIf"],[1,"cov-row"],["role","button","tabindex","0",1,"cov-bar",3,"click","keydown.enter","keydown.space"],[1,"material-symbols-outlined","cov-bar__i"],[1,"lcb-axis__m"],[1,"lcb-drawer"],[1,"lcb-drawer__tags"],[1,"lcb-drawer__pays"],["class","lcb-drawer__category",4,"ngIf"],["class","lcb-drawer__level",4,"ngIf"],[1,"lcb-drawer__title"],[1,"lcb-drawer__abbr"],[1,"lcb-drawer__dates"],["class","lcb-drawer__desc",4,"ngIf"],["class","lcb-drawer__qualify",4,"ngIf"],[1,"lcb-drawer__category"],[1,"lcb-drawer__level"],[1,"lcb-drawer__desc"],[1,"lcb-drawer__qualify"],[1,"lcb-drawer__qualify-label"],[1,"lcb-drawer__qualify-body"],[1,"phs-bookend"],[1,"phs-bookend__text"],[1,"phs-bookend__date"],[1,"phs-bookend__label"],[1,"phs__card"],[1,"phs__head"],[1,"phs__heading"],[1,"phs__range"],[1,"phs__title"],[1,"phs__pay"],["class","phs__note",4,"ngIf"],[1,"phs__note"],[1,"phs-bookend","phs-bookend--end"]],template:function(i,r){1&i&&(e.j41(0,"section",0)(1,"button",1),e.bIt("click",function(){return r.open=!r.open}),e.j41(2,"span",2),e.EFF(3,"show_chart"),e.k0s(),e.j41(4,"h2",3),e.EFF(5),e.k0s(),e.j41(6,"span",4),e.EFF(7,"expand_more"),e.k0s()(),e.DNE(8,EC,21,10,"div",5),e.k0s()),2&i&&(e.R7$(),e.AVh("is-open",r.open),e.BMQ("aria-expanded",r.open),e.R7$(4),e.JRh(r.title),e.R7$(3),e.Y8G("ngIf",r.open))},dependencies:[ie.Sq,ie.bT,Y.D9],styles:['[_nghost-%COMP%]{display:block}.sp-card[_ngcontent-%COMP%]{background:var(--sys-surface-container-lowest);border-radius:var(--sys-radius-lg);box-shadow:var(--elevation-lv1);padding:24px 28px}.cardtoggle[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;width:100%;background:none;border:0;padding:0;cursor:pointer;text-align:left}.cardtoggle__icon[_ngcontent-%COMP%]{color:var(--sys-primary);font-size:22px;flex:none}.cardtoggle__title[_ngcontent-%COMP%]{margin:0;font-size:17px;font-weight:600;color:var(--sys-on-surface)}.cardtoggle__chev[_ngcontent-%COMP%]{margin-left:auto;color:var(--sys-on-surface-variant);font-size:24px;flex:none;transition:transform .2s ease}.cardtoggle.is-open[_ngcontent-%COMP%]   .cardtoggle__chev[_ngcontent-%COMP%]{transform:rotate(180deg)}.card-body[_ngcontent-%COMP%]{margin-top:16px;padding-top:16px;border-top:var(--sys-stroke-thin) solid var(--sys-outline-variant)}.lcb__caption[_ngcontent-%COMP%]{margin:0 0 14px;font-size:var(--title-small-size);font-weight:700;color:var(--sys-on-surface)}.cov[_ngcontent-%COMP%]{position:relative}.cov-row[_ngcontent-%COMP%]{position:relative;height:34px;margin-bottom:6px}.cov-bar[_ngcontent-%COMP%]{position:absolute;top:0;height:34px;box-sizing:border-box;border-radius:var(--sys-radius-full);background:var(--sys-primary);color:#fff;font-size:14px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:6px;padding:0 12px;white-space:nowrap;overflow:hidden;cursor:pointer;transition:opacity .15s ease,box-shadow .15s ease,filter .15s ease}.cov-bar--paid[_ngcontent-%COMP%]{background:#2f7d34}.cov-bar__i[_ngcontent-%COMP%]{font-size:16px;opacity:.9}.cov-bar.is-dim[_ngcontent-%COMP%]{opacity:.25}.cov-bar.is-selected[_ngcontent-%COMP%]{box-shadow:0 2px 10px #10182838;filter:brightness(1.06)}.cov-bar[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--sys-primary);outline-offset:2px}.lcb-axis.is-dim[_ngcontent-%COMP%], .cov-line.is-dim[_ngcontent-%COMP%]{opacity:.22}.lcb-axis[_ngcontent-%COMP%]{position:relative;height:16px;margin-top:14px}.lcb-axis__m[_ngcontent-%COMP%]{position:absolute;top:0;transform:translate(-1px);font-size:var(--label-small-size);color:var(--sys-on-surface-variant)}.cov-line[_ngcontent-%COMP%]{position:relative;height:24px;margin-top:2px}.cov-line[_ngcontent-%COMP%]:before{content:"";position:absolute;top:50%;left:12px;right:12px;height:2px;background:var(--sys-outline-variant)}.cov-end[_ngcontent-%COMP%]{position:absolute;top:50%;transform:translateY(-50%);width:24px;height:24px;border-radius:var(--sys-radius-full);background:var(--sys-on-surface, #1b1d22);color:#fff;display:grid;place-items:center}.cov-end[_ngcontent-%COMP%]   .material-symbols-outlined[_ngcontent-%COMP%]{font-size:14px}.cov-end--start[_ngcontent-%COMP%]{left:0}.cov-end--end[_ngcontent-%COMP%]{right:0}.lcb-drawer[_ngcontent-%COMP%]{margin-top:14px;padding:14px 16px;border:var(--sys-stroke-thin) solid var(--sys-outline-variant);border-left:4px solid var(--drawer-accent, var(--sys-outline-variant));border-radius:var(--sys-radius-md);background:var(--sys-surface)}.lcb-drawer__tags[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:16px}.lcb-drawer__pays[_ngcontent-%COMP%], .lcb-drawer__category[_ngcontent-%COMP%], .lcb-drawer__level[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:6px;padding:4px 11px;border-radius:var(--sys-radius-full);border:var(--sys-stroke-thin) solid var(--sys-outline-variant);background:var(--sys-surface-container-lowest);font-size:var(--label-small-size);font-weight:700;color:var(--sys-on-surface-variant)}.lcb-drawer__tags[_ngcontent-%COMP%]   .material-symbols-outlined[_ngcontent-%COMP%]{font-size:16px}.lcb-drawer__title[_ngcontent-%COMP%]{font-size:var(--title-small-size);line-height:1.3;font-weight:700;color:var(--sys-on-surface)}.lcb-drawer__abbr[_ngcontent-%COMP%]{font-weight:700}.lcb-drawer__dates[_ngcontent-%COMP%]{margin-top:2px;font-size:var(--label-small-size);font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--sys-on-surface-variant)}.lcb-drawer__desc[_ngcontent-%COMP%]{margin:16px 0 0;font-size:var(--label-medium-size);line-height:1.5;color:var(--sys-on-surface)}.lcb-drawer__qualify[_ngcontent-%COMP%]{margin:16px 0 0;padding:10px 12px;border-radius:var(--sys-radius-sm);border:var(--sys-stroke-thin) solid var(--sys-outline-variant);background:var(--sys-surface-container-lowest)}.lcb-drawer__qualify-label[_ngcontent-%COMP%]{display:block;margin-bottom:4px;font-size:var(--label-medium-size);font-weight:700;color:#1c6b3a}.lcb-drawer__qualify-body[_ngcontent-%COMP%]{font-size:var(--label-medium-size);line-height:1.5;color:var(--sys-on-surface)}.phs-section-head[_ngcontent-%COMP%]{margin:30px 0 16px;font-size:var(--title-small-size);font-weight:700;color:var(--sys-on-surface)}.phs[_ngcontent-%COMP%]{
1display:flex;flex-direction:column;gap:14px;margin-top:4px}.phs__card[_ngcontent-%COMP%]{border:var(--sys-stroke-thin) solid var(--sys-outline-variant);border-left:4px solid var(--phs-accent, var(--sys-outline-variant));border-radius:var(--sys-radius-md);padding:14px 16px;background:var(--sys-surface)}.phs__head[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.phs__heading[_ngcontent-%COMP%]{display:flex;flex-direction:column;min-width:0}.phs__range[_ngcontent-%COMP%]{font-size:var(--label-small-size);font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--sys-on-surface-variant)}.phs__title[_ngcontent-%COMP%]{font-size:var(--title-small-size);font-weight:700;color:var(--sys-on-surface);margin-top:2px}.phs__pay[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:5px;flex:none;padding:4px 11px;border-radius:var(--sys-radius-full);font-size:var(--label-small-size);font-weight:700}.phs__pay[_ngcontent-%COMP%]   .material-symbols-outlined[_ngcontent-%COMP%]{font-size:15px}.phs__pay--paid[_ngcontent-%COMP%]{background:#e4f2ea;color:#1c6b3a}.phs__pay--protected[_ngcontent-%COMP%]{background:#e6eefc;color:#1a4fa0}.phs__note[_ngcontent-%COMP%]{margin:8px 0 0;font-size:var(--label-medium-size);line-height:1.45;color:var(--sys-on-surface-variant)}.phs-bookend[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;padding:12px 16px;border:var(--sys-stroke-thin) solid var(--sys-outline-variant);border-left:4px solid var(--sys-on-surface, #1b1d22);border-radius:var(--sys-radius-md);background:var(--sys-surface)}.phs-bookend__text[_ngcontent-%COMP%]{display:flex;flex-direction:column}.phs-bookend__date[_ngcontent-%COMP%]{font-size:var(--label-small-size);font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--sys-on-surface-variant)}.phs-bookend__label[_ngcontent-%COMP%]{font-size:var(--title-small-size);font-weight:700;color:var(--sys-on-surface);margin-top:2px}']})}}return n})();function C_(n,d){if(1&n&&(e.qex(0),e.EFF(1,", and you'll be paid up to about "),e.j41(2,"span",18),e.EFF(3),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(3),e.JRh(t.fmtMoney(t.totalPay))}}function TC(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",4)(1,"div",5),e.nrm(2,"app-abi-orb",6),e.EFF(3," Based on what you told us "),e.k0s(),e.j41(4,"p",7),e.EFF(5," Your leave can be covered by "),e.j41(6,"span",8),e.EFF(7),e.k0s(),e.EFF(8," for up to "),e.j41(9,"span",8),e.EFF(10),e.k0s(),e.DNE(11,C_,4,1,"ng-container",9),e.EFF(12,". "),e.k0s(),e.j41(13,"div",10)(14,"span",11),e.EFF(15,"info"),e.k0s(),e.j41(16,"span"),e.EFF(17,"This is just an estimate. We'll confirm what you qualify for and how much you'll be paid when you file your leave."),e.k0s()(),e.nrm(18,"app-lp-summary-timeline",12)(19,"app-lp-summary-inputs",13)(20,"app-lp-summary-pay",14),e.j41(21,"div",15)(22,"button",16),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.reworkWithAbi())}),e.nrm(23,"app-abi-orb",6),e.EFF(24," Rework with Ava "),e.k0s(),e.j41(25,"button",17),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.exportPdf())}),e.j41(26,"span",11),e.EFF(27,"picture_as_pdf"),e.k0s(),e.EFF(28," Export PDF "),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(2),e.Y8G("size",26),e.R7$(5),e.Lme("",t.planCount," ",1===t.planCount?"plan":"plans",""),e.R7$(3),e.SpI("",t.weeks," weeks"),e.R7$(),e.Y8G("ngIf",t.showPay),e.R7$(7),e.Y8G("intake",t.intake)("timeline",t.timeline)("plan",t.plan)("std",t.std),e.R7$(),e.Y8G("intake",t.intake),e.R7$(),e.Y8G("std",t.std),e.R7$(3),e.Y8G("size",22)}}function im(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",19)(1,"p"),e.EFF(2,"No leave plan to show yet."),e.k0s(),e.j41(3,"button",16),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.reworkWithAbi())}),e.nrm(4,"app-abi-orb",6),e.EFF(5," Plan with Ava "),e.k0s()()}2&n&&(e.R7$(4),e.Y8G("size",22))}let jk=(()=>{class n{constructor(t,i){this.router=t,this.result=i,this.timeline=[],this.std=null,this.planCount=0,this.weeks=0,this.totalPay=0,this.showPay=!1,this.fmtMoney=yp}ngOnInit(){this.plan=this.result.plan,this.timeline=this.result.timeline??[],this.intake=this.result.intakeState,this.std=((n,d,t)=>{const i=this.timeline.find(Ce=>"std"===Ce.type),r=n?.rows.find(Ce=>"std"===Ce.type);if(!i&&!r){const Ce=$b(t);return 0===Ce?.paidDays?Ce:null}if(!i||!r||null==r.weeklyAmount||!Number.isFinite(r.weeklyAmount))return null;const u=La(i.end)-La(i.start)+1;if(!Number.isFinite(u)||u<=0)return null;const v=u/7,V=r.paid?Math.max(0,r.weeklyAmount):0;return{start:i.start,end:i.end,paidDays:u,paidWeeks:v,duration:Zh(v),weeklyPay:V,totalPay:V*v}})(this.plan,0,this.intake),this.planCount=this.computePlanCount();const t=this.plan?.summary;this.weeks=t?.protectedWeeks??0,this.totalPay=this.std?.totalPay??0,this.showPay=this.totalPay>0}get hasPlan(){return this.result.hasPlan}computePlanCount(){return new Set(this.timeline.filter(i=>"overall"!==i.type&&"gap"!==i.type).map(i=>i.label)).size||(this.plan?.rows?.length??0)}reworkWithAbi(){this.router.navigate(["/planMyLeave"])}exportPdf(){window.print()}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(q.Ix),e.rXU(Ub))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-leave-plan-summary-page"]],decls:5,vars:2,consts:[["noPlan",""],[1,"sp-page"],[1,"sp-layout"],["class","sp-stack",4,"ngIf","ngIfElse"],[1,"sp-stack"],[1,"hero-eyebrow"],[3,"size"],[1,"hero-human"],[1,"numtip"],[4,"ngIf"],[1,"sp-warn"],[1,"material-symbols-outlined"],[3,"intake","timeline","plan","std"],[3,"intake"],[3,"std"],[1,"sp-actions"],["type","button",1,"act-abi",3,"click"],["type","button",1,"act-pdf",3,"click"],[1,"numtip","numtip--pay"],[1,"sp-empty"]],template:function(i,r){if(1&i&&(e.j41(0,"div",1)(1,"div",2),e.DNE(2,TC,29,12,"div",3)(3,im,6,1,"ng-template",null,0,e.C5r),e.k0s()()),2&i){const u=e.sdS(4);e.R7$(2),e.Y8G("ngIf",r.hasPlan)("ngIfElse",u)}},dependencies:[ie.bT,Ha,mC,ov,uv],styles:["[_nghost-%COMP%]{--sys-primary: #075cba;--sys-on-surface: #1b1d22;--sys-on-surface-variant: #565f6c;--sys-surface: #f3f4f6;--sys-surface-container-lowest: #ffffff;--sys-outline-variant: #d7dbe0;--sys-radius-sm: 8px;--sys-radius-md: 12px;--sys-radius-lg: 16px;--sys-radius-full: 999px;--sys-stroke-thin: 1px;--elevation-lv1: 0 2px 8px rgba(0, 0, 0, .04), 0 2px 4px rgba(0, 0, 0, .06);--label-small-size: 12px;--label-medium-size: 14px;--label-large-size: 16px;--title-small-size: 16px;--body-small-size: 14px;--body-small-line: 20px;--body-medium-size: 16px;display:block;background:var(--sys-surface)}.sp-page[_ngcontent-%COMP%]{background:var(--sys-surface);padding:24px 16px}.sp-layout[_ngcontent-%COMP%]{max-width:1084px;margin:0 auto}.sp-stack[_ngcontent-%COMP%]{max-width:880px;margin:0 auto;display:flex;flex-direction:column;gap:16px}.hero-eyebrow[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;margin:20px 0 8px;font-size:var(--label-large-size);font-weight:600;color:var(--sys-on-surface-variant)}.hero-human[_ngcontent-%COMP%]{margin:0 0 6px;font-size:clamp(32px,4.4vw,54px);line-height:1.3;font-weight:700;color:var(--sys-on-surface);letter-spacing:-.02em;max-width:24ch}.numtip[_ngcontent-%COMP%]{font-weight:800;color:var(--sys-primary);border-bottom:2px dotted var(--sys-primary);line-height:1.15}.numtip--pay[_ngcontent-%COMP%]{color:#2f7d34;border-bottom-color:#2f7d34}.sp-warn[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:8px;padding:12px 16px;border-radius:var(--sys-radius-sm);background:#fdf6e3;border:var(--sys-stroke-thin) solid #f0e3b8;color:#6b5d1f;font-size:var(--body-small-size);line-height:var(--body-small-line)}.sp-warn[_ngcontent-%COMP%]   .material-symbols-outlined[_ngcontent-%COMP%]{font-size:20px;flex:none}.sp-actions[_ngcontent-%COMP%]{display:flex;gap:12px;margin-top:4px}.sp-actions[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px;border-radius:var(--sys-radius-full);font-size:var(--body-medium-size);font-weight:700;border:0;cursor:pointer}.act-abi[_ngcontent-%COMP%]{background:#ece8fd;color:#5a34d6}.act-pdf[_ngcontent-%COMP%]{background:#eaf2fb;color:var(--sys-primary)}.sp-actions[_ngcontent-%COMP%]   .material-symbols-outlined[_ngcontent-%COMP%]{font-size:20px}.sp-empty[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:16px;margin:80px auto;color:var(--sys-on-surface-variant)}.sp-empty[_ngcontent-%COMP%]   .act-abi[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:8px;padding:12px 20px;border-radius:var(--sys-radius-full);font-weight:700}@media (max-width: 640px){.sp-actions[_ngcontent-%COMP%]{flex-direction:column}}@media print{.sp-actions[_ngcontent-%COMP%]{display:none}}"]})}}return n})();function Bk(n,d){if(1&n&&(e.j41(0,"div",4)(1,"span",5),e.nrm(2,"a",6),e.j41(3,"span",7),e.EFF(4),e.k0s()(),e.j41(5,"span",8),e.EFF(6),e.k0s()()),2&n){const t=d.$implicit;e.R7$(2),e.FS9("placement",(null==t||null==t.tooltipValue?null:t.tooltipValue.trim().length)>=35&&(null==t||null==t.fieldTitle?null:t.fieldTitle.trim().length)>=10?"top":"bottom-left"),e.FS9("ngbTooltip",t.tooltipValue),e.R7$(2),e.JRh(t.fieldTitle),e.R7$(2),e.JRh(t.fieldValue)}}let IC=(()=>{class n{constructor(t,i,r){this.activatedRoute=t,this.LRService=i,this.eventService=r}ngOnInit(){this.claimId=this.activatedRoute.snapshot.paramMap.get("claimId"),this.LRService.getDisabilityClaimDetails(+this.claimId).subscribe(t=>{this.disabilityClaimDetails=t}),this.eventService.logEvent(p.sb.VIEW_DISABILITY_CLAIM,p.sb.VIEW_DISABILITY_CLAIM_EVENT_MSG,this.claimId)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(q.nX),e.rXU(M.IT),e.rXU(M.US))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-view-disability-claim-details"]],decls:6,vars:4,consts:[[1,"details-view-container"],[1,"textContent"],["id","lettersTitle"],["class","form-inline boxText",4,"ngFor","ngForOf"],[1,"form-inline","boxText"],[1,"disabilityClaim"],["id","helpTip","triggers","click:blur",1,"helptip",3,"placement","ngbTooltip"],["id","fieldTitle",1,"textAsLabel"],["id","fieldValue",1,"disabilityClaimOutput"]],template:function(i,r){1&i&&(e.j41(0,"div",0)(1,"div",1)(2,"h1",2),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.DNE(5,Bk,7,4,"div",3),e.k0s()()),2&i&&(e.R7$(3),e.SpI(" ",e.bMT(4,2,"myAbsences.disabilityClaimDetails.title")," "),e.R7$(2),e.Y8G("ngForOf",r.disabilityClaimDetails))},dependencies:[ie.Sq,G.md,Y.D9]})}}return n})();function Yk(n,d){if(1&n&&(e.j41(0,"h1")(1,"span",8),e.EFF(2),e.nI1(3,"translate"),e.j41(4,"span",9),e.EFF(5),e.k0s()()()),2&n){const t=e.XpG();e.R7$(2),e.SpI(" ",e.bMT(3,4,"workingAs")," "),e.R7$(3),e.E5c(" ",t.userInfo.onBehalfFirstName," ",t.userInfo.onBehalfLastName," 
1(",t.userInfo.onBehalfEmplNumber,") ")}}function eu(n,d){if(1&n&&(e.j41(0,"option",37),e.EFF(1),e.k0s()),2&n){const t=d.$implicit;e.Y8G("value",t.id),e.R7$(),e.SpI(" ",t.name," ")}}function $k(n,d){if(1&n&&(e.qex(0),e.j41(1,"div",38)(2,"span",39),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"span",40),e.EFF(6),e.k0s()(),e.j41(7,"div",38)(8,"span",41),e.EFF(9),e.nI1(10,"translate"),e.k0s(),e.j41(11,"span",42),e.EFF(12),e.k0s()(),e.j41(13,"div",43)(14,"span",44),e.EFF(15),e.nI1(16,"translate"),e.k0s()(),e.bVm()),2&n){const t=e.XpG(4);e.R7$(3),e.SpI(" ",e.bMT(4,6,"myAbsences.viewTime.percentAvailable"),": "),e.R7$(3),e.SpI("",t.leavePlanDetails.availablePercentage,"%"),e.R7$(3),e.SpI(" ",e.bMT(10,8,"myAbsences.viewTime.hoursAvailable"),": "),e.R7$(3),e.Lme("",t.leaveHours,"h ",t.leaveMin,"m"),e.R7$(3),e.JRh(e.bMT(16,10,"myAbsences.viewTime.hoursText"))}}function sm(n,d){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"h2",29),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div",30)(5,"span",31),e.EFF(6),e.nI1(7,"translate"),e.k0s()(),e.j41(8,"div",32)(9,"label",33),e.EFF(10),e.nI1(11,"translate"),e.k0s(),e.j41(12,"select",34),e.bIt("change",function(r){e.eBV(t);const u=e.XpG(3);return e.Njj(u.onOptionsSelected(r.target.value))}),e.j41(13,"option",35),e.EFF(14),e.nI1(15,"translate"),e.k0s(),e.DNE(16,eu,2,2,"option",36),e.k0s()(),e.DNE(17,$k,17,12,"ng-container",2),e.bVm()}if(2&n){const t=e.XpG(3);e.R7$(2),e.JRh(e.bMT(3,6,"myAbsences.viewTime.subTitle")),e.R7$(4),e.JRh(e.bMT(7,8,"myAbsences.viewTime.selectPlanText")),e.R7$(4),e.SpI(" ",e.bMT(11,10,"myAbsences.viewTime.selectPlan"),": "),e.R7$(4),e.JRh(e.bMT(15,12,"myAbsences.reportTime.pleaseSelect")),e.R7$(2),e.Y8G("ngForOf",t.leavePlans),e.R7$(),e.Y8G("ngIf",t.showPlanDetails)}}function DC(n,d){1&n&&(e.j41(0,"h2",29),e.EFF(1),e.nI1(2,"translate"),e.k0s(),e.j41(3,"div",43)(4,"span",45),e.EFF(5),e.nI1(6,"translate"),e.k0s()(),e.j41(7,"div",46)(8,"div",47)(9,"label",48),e.
1EFF(10),e.nI1(11,"translate"),e.k0s(),e.j41(12,"select",49)(13,"option",35),e.EFF(14),e.nI1(15,"translate"),e.k0s()(),e.j41(16,"span",50),e.EFF(17),e.nI1(18,"translate"),e.k0s()()()),2&n&&(e.R7$(),e.JRh(e.bMT(2,5,"myAbsences.viewTime.subTitle")),e.R7$(4),e.JRh(e.bMT(6,7,"myAbsences.viewTime.selectPlanText")),e.R7$(5),e.SpI(" ",e.bMT(11,9,"myAbsences.viewTime.selectPlan"),": "),e.R7$(4),e.JRh(e.bMT(15,11,"myAbsences.reportTime.pleaseSelect")),e.R7$(3),e.JRh(e.bMT(18,13,"myAbsences.leavePlanNoInfo")))}function CC(n,d){if(1&n&&(e.j41(0,"div",28),e.DNE(1,sm,18,14,"ng-container",7)(2,DC,19,15,"ng-template",null,1,e.C5r),e.k0s()),2&n){const t=e.sdS(3),i=e.XpG(2);e.R7$(),e.Y8G("ngIf",i.leavePlans.length>0)("ngIfElse",t)}}function M_(n,d){if(1&n&&(e.j41(0,"td",60),e.EFF(1),e.nrm(2,"br"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",t.leaveRequestId," ")}}function MC(n,d){1&n&&(e.j41(0,"td",60),e.EFF(1," N/A "),e.nrm(2,"br"),e.k0s())}function kl(n,d){if(1&n&&(e.j41(0,"td",61),e.EFF(1),e.nrm(2,"br"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",t.leaveDescription," ")}}function Ip(n,d){1&n&&(e.j41(0,"td",61),e.EFF(1),e.nI1(2,"translate"),e.nrm(3,"br"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"incidentalAbsence.label")," "))}function kr(n,d){if(1&n){const t=e.RV6();e.j41(0,"a",65),e.bIt("keydown.enter",function(r){return e.eBV(t),r.preventDefault(),e.Njj(r.target.click())}),e.nrm(1,"img",66),e.nI1(2,"translate"),e.k0s()}if(2&n){const t=e.XpG(2).$implicit,i=e.XpG(2);e.Y8G("ngbTooltip",i.getToottipText(t.unprotectionReasonCodeId)),e.R7$(),e.FS9("alt",e.bMT(2,2,"ariaLabel.alt.showHelp"))}}function ed(n,d){if(1&n&&(e.j41(0,"td",62)(1,"div",63),e.EFF(2),e.DNE(3,kr,3,4,"a",64),e.k0s()()),2&n){const t=e.XpG().$implicit,i=e.XpG(2);e.R7$(2),e.SpI(" ",i.getProtectedMethodDispValue(t.protectionStatusCodeId,t.decisionStatusCodeId)," "),e.R7$(),e.Y8G("ngIf",i.showToolTip(t.protectionStatusCodeId,t.unprotectionReasonCodeId))}}function rm(n,d){1&n&&e.nrm(0,"td",62)}function Qa(n,d){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.JRh(t.leavePlanNames[0])}}function Dp(n,d){if(1&n){const t=e.RV6();e.j41(0,"a",69),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2).$implicit,u=e.XpG(2);return e.Njj(u.onPlanNameClick(r.leavePlanNames))})("keydown.enter",function(r){return e.eBV(t),r.preventDefault(),e.Njj(r.target.click())}),e.EFF(1),e.nI1(2,"translate"),e.k0s()}2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"label.view")," "))}function SC(n,d){if(1&n&&(e.j41(0,"td",67),e.DNE(1,Qa,2,1,"span",2)(2,Dp,3,3,"a",68),e.k0s()),2&n){const t=e.XpG().$implicit,i=e.XpG(2);e.R7$(),e.Y8G("ngIf",i.isOnePlanOnly(t.leavePlanNames)),e.R7$(),e.Y8G("ngIf",!i.isOnePlanOnly(t.leavePlanNames))}}function tu(n,d){1&n&&e.nrm(0,"td",67)}function pv(n,d){if(1&n&&(e.j41(0,"tr"),e.DNE(1,M_,3,1,"td",51)(2,MC,3,0,"td",51)(3,kl,3,1,"td",52)(4,Ip,4,3,"td",52),e.j41(5,"td",53),e.EFF(6),e.k0s(),e.j41(7,"td",54),e.EFF(8),e.nI1(9,"date"),e.k0s(),e.j41(10,"td",55)(11,"div"),e.EFF(12),e.nI1(13,"translate"),e.k0s()(),e.j41(14,"td",56),e.EFF(15),e.k0s(),e.DNE(16,ed,4,2,"td",57)(17,rm,1,0,"td",57)(18,SC,3,2,"td",58)(19,tu,1,0,"td",58),e.j41(20,"td",59),e.EFF(21),e.k0s()()),2&n){const t=d.$implicit,i=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.leaveRequestId>0),e.R7$(),e.Y8G("ngIf",0===t.leaveRequestId),e.R7$(),e.Y8G("ngIf",t.leaveRequestId>0),e.R7$(),e.Y8G("ngIf",0===t.leaveRequestId),e.R7$(2),e.JRh(t.absenseReason),e.R7$(2),e.JRh(e.i5U(9,13,t.leaveDate,"MM/dd/yyyy")),e.R7$(4),e.SpI(" ",t.fullDayUsed?e.bMT(13,16,"label.leaveTime.fullDayUsed"):t.leaveHours," "),e.R7$(3),e.JRh(t.fullDayUsed?"":t.leaveMinutes),e.R7$(),e.Y8G("ngIf",i.isValidProtectionStatusCodeId(t.protectionStatusCodeId)),e.R7$(),e.Y8G("ngIf",0===t.leaveRequestId),e.R7$(),e.Y8G("ngIf",t.leavePlanNames),e.R7$(),e.Y8G("ngIf",!t.leavePlanNames),e.R7$(2),e.JRh(i.getReportingMethod(t.frequencyCodeId,t.reportingMethodCodeId))}}function hv(n,d){1&n&&(e.j41(0,"div",43)(1,"span",70),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.JRh(e.bMT(3,1,"label.leaveTime.noLeaveTimes2")))}function RC(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",71)(1,"ngb-pagination",72),e.nI1(2,"translate"),e.mxI("pageChange",function(r){e.eBV(t);const u=e.XpG(2);return e.DH7(u.page,r)||(u.page=r),e.Njj(r)}),e.bIt("pageChange",function(){e.eBV(t);const r=e.XpG(2);
1return e.Njj(r.refreshLeavePlanTimes())}),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(),e.Y8G("collectionSize",t.leavePlanTimes.length),e.R50("page",t.page),e.Y8G("pageSize",t.pageSize)("maxSize",5)("rotate",!0)("ellipses",!1)("boundaryLinks",!0),e.BMQ("aria-label",e.bMT(2,8,"ariaLabel.reportAbsencesPagination"))}}function wC(n,d){if(1&n&&(e.qex(0),e.DNE(1,CC,4,2,"div",10),e.j41(2,"div",11)(3,"h2",12),e.EFF(4),e.nI1(5,"translate"),e.k0s(),e.j41(6,"div",13),e.EFF(7),e.nI1(8,"translate"),e.k0s(),e.j41(9,"div",14)(10,"table",15)(11,"thead")(12,"tr")(13,"th",16),e.EFF(14),e.nI1(15,"translate"),e.k0s(),e.j41(16,"th",17),e.EFF(17),e.nI1(18,"translate"),e.k0s(),e.j41(19,"th",18),e.EFF(20),e.nI1(21,"translate"),e.k0s(),e.j41(22,"th",19),e.EFF(23),e.nI1(24,"translate"),e.k0s(),e.j41(25,"th",20),e.EFF(26),e.nI1(27,"translate"),e.k0s(),e.j41(28,"th",21),e.EFF(29),e.nI1(30,"translate"),e.k0s(),e.j41(31,"th",22),e.EFF(32),e.nI1(33,"translate"),e.k0s(),e.j41(34,"th",23),e.EFF(35),e.nI1(36,"translate"),e.k0s(),e.j41(37,"th",24),e.EFF(38),e.nI1(39,"translate"),e.k0s()()(),e.j41(40,"tbody"),e.DNE(41,pv,22,18,"tr",25),e.k0s()()(),e.DNE(42,hv,4,3,"div",26)(43,RC,3,10,"div",27),e.k0s(),e.bVm()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.userInfo.userPrivilege.allowedViewLeaveTimeBalances),e.R7$(3),e.JRh(e.bMT(5,15,"myAbsences.viewTime.subTitle2")),e.R7$(3),e.SpI(" ",e.bMT(8,17,"myAbsences.viewTime.myReportedAbsencesText")," "),e.R7$(7),e.SpI("",e.bMT(15,19,"myAbsences.viewTime.request")," #"),e.R7$(3),e.SpI(" ",e.bMT(18,21,"myAbsences.viewTime.leaveDescription")," "),e.R7$(3),e.JRh(e.bMT(21,23,"myAbsences.viewTime.absReason")),e.R7$(3),e.JRh(e.bMT(24,25,"myAbsences.viewTime.date")),e.R7$(3),e.JRh(e.bMT(27,27,"myAbsences.viewTime.hours")),e.R7$(3),e.JRh(e.bMT(30,29,"myAbsences.viewTime.min")),e.R7$(3),e.JRh(e.bMT(33,31,"myAbsences.viewTime.status")),e.R7$(3),e.JRh(e.bMT(36,33,"myAbsences.viewTime.lPlan")),e.R7$(3),e.SpI(" ",e.bMT(39,35,"myAbsences.viewTime.reportingMethod")," "),e.R7$(3),e.Y8G("ngForOf",t.dispLeavePlanTimes),e.R7$(),e.Y8G("ngIf",0===t.leavePlanTimes.length),e.R7$(),e.Y8G("ngIf",t.leavePlanTimes.length>t.pageSize)}}function Ar(n,d){1&n&&(e.j41(0,"div",73),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"myAbsences.viewTime.notAllowed")," "))}function mv(n,d){if(1&n&&(e.j41(0,"span",5),e.EFF(1),e.k0s()),2&n){const t=d.$implicit;e.R7$(),e.SpI(" ",t," ")}}let kC=(()=>{class n{get dispLeavePlanTimes(){return this._dispLeavePlanTimes}constructor(t,i,r,u,v){this.service=t,this.activatedRoute=i,this.translate=r,this.recordEventService=u,this.modalService=v,this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)),this.showPlanDetails=!1,this.reportingMethodMap=new Map,this.protectionStatusTypeMap=new Map,this.leavePlansMap=new Map,this.page=1,this.pageSize=25}ngOnInit(){this.absenceResource=!se.z.isDomainBlockedFromRedesignUpdates(),this.recordEventService.logEvent(p.sb.VIEW_LEAVE_TIME,p.sb.VIEW_LEAVE_TIME_LOAD),this.leavePlans=this.activatedRoute.snapshot.data.leavePlans,this.leavePlanTimes=this.activatedRoute.snapshot.data.leavePlanTimes,this.codeMap=new Map(Object.entries(this.activatedRoute.snapshot.data.codeMap)),this.reportingMethodMap=new Map(Object.entries(this.codeMap.get("ReportingMethodMap"))),this.protectionStatusTypeMap=new Map(Object.entries(this.codeMap.get("ProtectionStatusTypeMap"))),this.refreshLeavePlanT
1imes()}getReportingMethod(t,i){if(this.isReduced(t))return this.translate.instant("leaveFrequency.203");if(this.isContinuous(t))return this.translate.instant("leaveFrequency.202");{let r=this.userInfo.localeId;return 0===i?"":this.translate.instant("reportingCode"+i)?this.translate.instant("reportingCode"+i):0===r?this.reportingMethodMap.get(String(i)).displayValueEng:this.reportingMethodMap.get(String(i)).displayValueEsp}}refreshLeavePlanTimes(){this._dispLeavePlanTimes=[],this._dispLeavePlanTimes=this.leavePlanTimes.map((t,i)=>({leaveTimeId:i+1,...t})).slice((this.page-1)*this.pageSize,(this.page-1)*this.pageSize+this.pageSize)}getProtectedMethodDispValue(t,i){return t===p.YM.FSP_STATUS_PROTECTED&&i===p.YM.FSP_DECISION_STATUS_REQUESTED?this.getProtectedMethodDispValueInternal(t)+"  "+this.translate.instant("leaveTable.requested"):this.getProtectedMethodDispValueInternal(t)}getProtectedMethodDispValueInternal(t){return 0===this.userInfo.localeId?this.protectionStatusTypeMap.get(String(t)).displayValueEng:this.protectionStatusTypeMap.get(String(t)).displayValueEsp}showToolTip(t,i){return t!=p.YM.FSP_STATUS_PROTECTED&&i>0}getToottipText(t){switch(t){case p.YM.STATUS_LATE_TRACKING:return this.translate.instant("myAbsences.viewTime.helper.lateTracking");case p.YM.STATUS_UNPROTECTED:return this.translate.instant("myAbsences.viewTime.helper.unprotected");case p.YM.STATUS_NOT_COVERED:return this.translate.instant("myAbsences.viewTime.helper.notCovered");case p.YM.STATUS_DENIED:return this.translate.instant("myAbsences.viewTime.helper.denied")}}onOptionsSelected(t){if(this.showPlanDetails=!0,this.leavePlansMap.has(t))this.leavePlanDetails=this.leavePlansMap.get(t),this.getHoursAndMin(this.leavePlanDetails.availableMinutes);else{let r="";for(var i=0;i<this.leavePlans.length;i++)this.leavePlans[i].id===+t&&(r=this.leavePlans[0].name);this.recordEventService.logEvent(p.sb.VIEW_LEAVE_TIME_BALANCES,p.sb.VIEW_LEAVE_TIME_BALANCES_TEXT,r),this.service.getleavePlanDetails(t).subscribe(u=>{this.leavePlanDetails=u,this.leavePlansMap.set(t,this.leavePlanDetails),this.getHoursAndMin(u.availableMinutes)})}}getHoursAndMin(t){this.leaveHours=Math.floor(t/60),this.leaveMin=t%60}isValidProtectionStatusCodeId(t){return null!=t&&t>0}isIntermittent(t){return t===p.YM.INTERMIITTENT_FREQUENCY}isContinuous(t){return t===p.YM.CONTINUOUS_FREQUENCY}isReduced(t){return t===p.YM.REDUCED_FREQUENCY}isOnePlanOnly(t){return 1===t.length&&"FMLA"===t[0]}onPlanNameClick(t){this.modalService.open(xr).componentInstance.plansName=t}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(M.IT),e.rXU(q.nX),e.rXU(Y.c$),e.rXU(M.US),e.rXU(G.Bq))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-view-leave-times"]],decls:10,vars:6,consts:[["notAllowd",""],["emptyLeavePlans",""],[4,"ngIf"],[1,"card","plainRestyled"],[1,"row"],[1,"col-lg-6","col-md-6","col-sm-6","h1Row"],["id","viewTimeTitle",1,"viewTimeTitle","page-title"],[4,"ngIf","ngIfElse"],[1,"font-italic"],[1,"user-info-header"],["id","viewTimeFormPage","class","formPage",4,"ngIf"],["id","viewTimeFormPageTable",1,"formPage","formPageTable"],["id","subTitle2",1,"page-subtitle"],["id","myReportedAbsencesText",1,"indent","page-text-light"],[1,"tableContainer"],["id","timeUsedTable",1,"rf-dt","dataTable"],["scope","col","id","lrequesTH",1,"rf-dt-shdr-c"],["scope","col","id","leaveDescriptionTH",1,"rf-dt-shdr-c"],["scope","col","id","absReasonTH",1,"rf-dt-shdr-c"],["scope","col","id","ldateTH",1,"rf-dt-shdr-c"],["scope","col","id","lhoursTH",1,"rf-dt-shdr-c"],["scope","col","id","lminTH",1,"rf-dt-shdr-c"],["scope","col","id","lstatusTH",1,"rf-dt-shdr-c"],["scope","col","id","lplanTH",1,"rf-dt-shdr-c"],["scope","col","id","reportingMethodTH",1,"rf-dt-shdr-c"],[4,"ngFor","ngForOf"],["class","indent",4,"ngIf"],["class","d-flex p-2 justify-content-center view-time-margin",4,"ngIf"],["id","viewTimeFormPage",1,"formPage"],["id","vtSubTitle",1,"page-subtitle"],["id","selectPlanTextDiv",1,"indent"],["id","selectPlanText",1,"page-text-light"],[1,"boxText","vertical"],["id","selectPlanLabel","for","selectedLeavePlan",1,"narrowLabel","subLabel","page-text"],["id","selectedLeavePlan","tabindex","0",3,"change"],["value","","disabled","","selected",""],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"form-inline","boxText","view-time-margin","statBox"],["id","percentAvailable",1,"textAsLabel","subLabel"],["id","availablePercentage",1,"readonlyDataCol"],["id","hoursAvailable",1,"textAsLabel","subLabel"],["id","leaveHM",1,"readonlyDataCol"],[1,"indent"],["id","hoursText"],["id","selectPlanText"],["id","noLeavePlans"],[1,"form-inline","boxText"],["id","selectPlanLabel","for","selectedLeavePlan",1,"narrowLabel","subLabel"],["id","selectedLeavePlan","tabindex","0"],[1,"rf-msgs-err",2,"margin-top","0 !important"],["class","right","id","leaveRequestId",4,"ngIf"],["id","leaveDescription",4,"ngIf"],["id","absenseReason"],["id","leaveDate"],["id","leaveH"],["id","leaveM"],["id","leaveStatus",4,"ngIf"],["id","leaveP",4,"ngIf"],["id","leaveRM"],["id","leaveRequestId",1,"right"],["id","leaveDescription"],["id","leaveStatus"],["id","protectionValue",1,"tipGroup"],["id","helpTipProtection","triggers","click:blur","placement","top","tabindex","0",3,"ngbTooltip","keydown.enter",4,"ngIf"],["id","helpTipProtection","triggers","click:blur","placement","top","tabindex","0",3,"keydown.enter","ngbTooltip"],["src","assets/baseResources/gfx/redesignIcons/faqs.svg",1,"small-icon","ms-2",3,"alt"],["id","leaveP"],["tabindex","0","class","underlineText",3,"click","keydown.enter",4,"ngIf"],["tabindex","0",1,"underlineText",3,"click","keydown.enter"],["id","noLeaveTimes2"],[1,"d-flex","p-2","justify-content-center","view-time-margin"],["id","pageNumber","id","pagination",1,"view-time-pagination",3,"pageChange","collectionSize","page","pageSize","maxSize","rotate","ellipses","boun
1daryLinks"],["id","notAllowed"]],template:function(i,r){if(1&i&&(e.DNE(0,Yk,6,6,"h1",2),e.j41(1,"div",3)(2,"div",4)(3,"div",5)(4,"h1",6),e.EFF(5),e.nI1(6,"translate"),e.k0s()()(),e.DNE(7,wC,44,37,"ng-container",7)(8,Ar,3,3,"ng-template",null,0,e.C5r),e.k0s()),2&i){const u=e.sdS(9);e.Y8G("ngIf",r.userInfo.wob),e.R7$(5),e.SpI(" ",e.bMT(6,4,"myAbsences.viewTime")," "),e.R7$(2),e.Y8G("ngIf",r.userInfo.userPrivilege.allowedViewLeaveTimes||r.userInfo.userPrivilege.portalPermission)("ngIfElse",u)}},dependencies:[ie.Sq,ie.bT,ge.xH,ge.y7,G.md,G.s5,ie.vh,Y.D9],styles:[".absenceResources[_ngcontent-%COMP%]{#percentAvailable,#availablePercentage,#hoursAvailable,#leaveHM{width:35%!important;line-height:22px}#availablePercentage,#leaveHM{margin:0!important;font-size:18px}.indent{margin-left:25px!important}}@media (max-width: 768px){.absenceResources[_ngcontent-%COMP%]{#hoursAvailable,#percentAvailable{width:65%!important;margin-right:0!important;line-height:30px}#availablePercentage,#leaveHM{width:120px!important;margin:0!important;font-weight:bolder;font-size:16px;text-align:end;line-height:30px}.statBox{max-width:600px}}}@media (max-width: 566px){.absenceResources[_ngcontent-%COMP%]{#hoursAvailable,#percentAvailable{min-width:-moz-fit-content;min-width:fit-content}#availablePercentage,#leaveHM{width:75px!important}}}"]})}}return n})(),xr=(()=>{class n{constructor(t){this.activeModal=t,this.isAbsenceResourcesDomain=!se.z.isDomainBlockedFromRedesignUpdates()}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(G.Lw))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["modal-content"]],inputs:{plansName:"plansName"},decls:6,vars:1,consts:[[1,"absenceConfirmModal"],[1,"modal-body"],["style","margin: 5px; display: block;","class","centered dataGroupTitle",4,"ngFor","ngForOf"],[1,"modal-footer","primaryLongContinue"],["type","button",1,"btn","btn-outline-dark",3,"click"],[1,"centered","dataGroupTitle",2,"margin","5px","display","block"]],template:function(i,r){1&i&&(e.j41(0,"div",0)(1,"div",1),e.DNE(2,mv,2,1,"span",2),e.k0s(),e.j41(3,"div",3)(4,"button",4),e.bIt("click",function(){return r.activeModal.close("Close click")}),e.EFF(5,"Close"),e.k0s()()()),2&i&&(e.R7$(2),e.Y8G("ngForOf",r.plansName))},dependencies:[ie.Sq],styles:[".modal-dialog[_ngcontent-%COMP%]{min-width:600px!important}.absenceConfirmModal[_ngcontent-%COMP%]{border-radius:30px!important;display:flex;flex-direction:column;max-width:750px!important;width:auto!important;hr{display:none}h2,#titleId{font: 35px/36px Aptos,sans-serif!important;text-align:center;color:#070f36!important;padding-bottom:20px}img{width:25px;height:25px;align-self:end}img:hover{cursor:pointer}span,#timeoutBody{font: 22px/36px Aptos,sans-serif!important;color:#070f36!important;word-break:normal!important}input.primaryLongContinue{border:none!important}.centered{text-align:center}.modal-header{padding-top:40px;justify-content:center}.exitCreateRequestModalTitle{color:#070f36!important;font-weight:400!important;padding-top:20px}.rf-pp-cnt{margin:20px 30px!important;display:flex;flex-direction:column}.dataGroupTitle{font: 25px/31px Aptos,sans-serif!important;padding:16px 0 4px}span.centered.dataGroupTitle{padding:30px 30px 10px}.restyledLabel{font: 22px/36px Aptos,sans-serif!important;color:#070f36!important;width:45%!important;margin-right:0;display:inline-block;margin-bottom:8px;text-align:left!important}.lighterLabel{font:lighter 22px/36px Aptos Light,sans-serif!important;color:#070f36!important;width:70%!important;margin-right:0;display:inline-block;text-align:left!important}.restyledValue{font: 22px/36px Aptos,sans-serif!important;color:#070f36!important;margin-right:0;display:inline-block;margin-bottom:8px;text-align:start!important}.lighterValue{font:lighter 22px/36px Aptos Light,sans-serif!important;color:#070f36!important;width:40%!important;margin-right:0;display:inline-block;text-align:start!important}.restyledSmBtns{flex-direction:row-reverse;justify-content:center;align-self:center;width:90%;margin-top:0;input{height:54px!important;width:50%!important;max-width:unset!important;padding:0 10px!important}}button.secondaryBtn:hover{background:transparent!important}.close-button{align-self:end;width:35px;height:35px}.secondaryLongBackButton,.twoSecondaryButtons{text-align:center;align-items:center;height:103px;input,button{height:54px!important;padding:0 10px!important;border-radius:30px!important;background:transparent!important;border:1px solid #070f36!important}}.twoSecondaryButtons input{width:50%!important;max-width:unset!important;margin:0}.secondaryLongBackButton{width:50%;button{width:100%}button:hover{color:#070f36!important}}.secondaryBack{color:#070f36!important}.confirmModal.textAsLabel{width:55%}.confirmModal.boxText{align-items:center}.modal-footer{border:none!important;padding-bottom:20px}.boxText{margin-left:8%}}@media (max-width: 850px){.absenceConfirmModal[_ngcontent-%COMP%]{.rf-pp-cnt{margin:20px 10px!important}.restyledLabel{width:100%!important}.restyledValue,.lighterValue,.lighterLabel{width:100%!important;max-width:unset!important}.lighterValue,.lighterLabel{margin-bottom:0!important}.restyledSmBtns{flex-direction:column!important;input{width:100%!important}.secondaryBack{margin:0!important}}.twoSecondaryButtons{flex-direction:column!important;input{width:100%!important;height:40px!important;margin:8px 0!important}}.indent{padding-left:0}.dataGroupTitle{padding:16px 0 0}.boxText{flex-direction:column;margin-left:8%}}}"]})}}return n})();const Cp=n=>({baseDomainName:n});function nu(n,d){if(1&n&&(e.j41(0,"div",16),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,"label.report."+t.reportNameCodeId+".description")," ")}}function om(n,d){if(1&n&&(e.j41(0,"div",17),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n){const t=e.XpG().$implicit,i=e.XpG();e.R7$(),e.SpI(" ",e.i5U(2,1,"label.report."+t.reportNameCodeId+".description",e.eq3(4,Cp,i.baseDomainName))," ")}}function Mp(n,d){if(1&n&&(e.j41(0,"a",8)(1,"div",9)(2,"div",10)(3,"div",11),e.nrm(4,"img",12),e.nI1(5,"translate"),e.k0s(),e.j41(6,"div",13),e.EFF(7),e.nI1(8,"translate"),e.k0s()(),e.DNE(9,nu,3,3,"div",14)(10,om,3,6,"div",15),e.k0s()()),2&n){const t=d.$implicit,i=e.XpG();e.FCK("routerLink","/reportCriteria/",t.reportNameCodeId,"/",t.reportId,""),e.R7$(4),e.Mz_("src","",i.domainResourcePath,"/gfx/redesignIcons/reports.png",e.B4B),e.Mz_("alt","",e.bMT(5,10,"label.report."+t.reportNameCodeId+".name")," icon"),e.R7$(3),e.SpI(" ",e.bMT(8,12,"label.report."+t.reportNameCodeId+".name")," "),e.R7$(2),e.Y8G("ngIf",11067!==t.reportNameCodeId),e.R7$(),e.Y8G("ngIf",11067===t.reportNameCodeId)}}let am=(()=>{class n{constructor(t,i,r){this.activatedRoute=t,this.eventService=i,this.domainConfigService=r}ngOnInit(){this.eventService.logEvent(p.sb.GENERATE_REPORT,p.sb.VIEW_REPORT_STEP_1),this.domainResourcePath=se.z.getBaseResourcePath(),this.reports=this.activatedRoute.snapshot.data.reports.filter(t=>!p.YM.EXCLUDED_ADMIN_REPORTS.includes(t?.reportNameCodeId)),this.baseDomainName=this.domainConfigService.baseDomainName}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(q.nX),e.rXU(M.US),e.rXU(xe.K))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-generate-report"]],decls:13,vars:10,consts:[[1,"whiteBackgroun
1d"],[1,"row"],[1,"col-lg-6","col-md-6","col-sm-6","h1Row"],["id","reportsTitle"],[1,"content"],[1,"introText","reportsIntroRestyling"],[1,"reportsContainer"],["class","restyledTitle",3,"routerLink",4,"ngFor","ngForOf"],[1,"restyledTitle",3,"routerLink"],[1,"restyledReport"],[1,"firstLine"],[1,"restyledImg"],["height","31px","width","27px",3,"src","alt"],[1,"restyledLink"],["class","restyledAbstractText","id","report-description",4,"ngIf"],["class","restyledAbstractText","id","report-description-AR",4,"ngIf"],["id","report-description",1,"restyledAbstractText"],["id","report-description-AR",1,"restyledAbstractText"]],template:function(i,r){1&i&&(e.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3),e.EFF(4),e.nI1(5,"translate"),e.k0s()()(),e.j41(6,"div",4)(7,"p",5),e.EFF(8),e.nI1(9,"translate"),e.nI1(10,"translate"),e.k0s(),e.j41(11,"div",6),e.DNE(12,Mp,11,14,"a",7),e.k0s()()()),2&i&&(e.R7$(4),e.SpI(" ",e.bMT(5,4,"myAbsences.reportsTitle")," "),e.R7$(4),e.Lme(" ",e.bMT(9,6,"label.report.selection.subtitle")," ",e.bMT(10,8,"label.report.selection.disclaimer")," "),e.R7$(4),e.Y8G("ngForOf",r.reports))},dependencies:[ie.Sq,ie.bT,q.Wk,Y.D9],styles:[".whiteBackground[_ngcontent-%COMP%]{background:#fff;padding:45px 50px;border-radius:40px}.reportsContainer[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;gap:12px}.restyledReport[_ngcontent-%COMP%]{border:2px solid #BADCFF;border-radius:10px;max-width:509px;display:flex;flex-direction:column;gap:8px;padding:20px 10px;height:100%}.firstLine[_ngcontent-%COMP%]{height:25px;display:flex;justify-content:start;align-items:center;gap:4px}.restyledImg[_ngcontent-%COMP%]{width:25px}.restyledImg[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{height:22px;width:18px}.restyledTitle[_ngcontent-%COMP%]{font: 20px/25px Aptos,sans-serif!important;color:#070f36!important}.restyledAbstractText[_ngcontent-%COMP%]{flex:1;padding-left:33px;font: lighter 17px/21px Aptos Light,sans-serif!important}@media (max-width: 850px){.whiteBackground[_ngcontent-%COMP%]{padding:25px 35px}.reportsContainer[_ngcontent-%COMP%]{grid-template-columns:1fr}.restyledReport[_ngcontent-%COMP%]{border-radius:15px;border:1px solid #707070}.restyledTitle[_ngcontent-%COMP%]{font: 16px/20px Aptos,sans-serif!important}.restyledAbstractText[_ngcontent-%COMP%]{font: lighter 14px/17px Aptos Light,sans-serif!important}}"]})}}return n})();function S_(n=0,d=ul.E){return n<0&&(n=0),(0,xf.O)(n,n,d)}function fv(n,d){1&n&&e.nrm(0,"div",10)}function _v(n,d){if(1&n){const t=e.RV6();e.qex(0),e.nrm(1,"img",19),e.j41(2,"h5",20),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"p",21),e.EFF(6),e.nI1(7,"translate"),e.k0s(),e.j41(8,"p",22),e.EFF(9),e.nI1(10,"translate"),e.k0s(),e.nrm(11,"div",23),e.j41(12,"button",24),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.cancelExport())}),e.EFF(13),e.nI1(14,"translate"),e.k0s(),e.bVm()}2&n&&(e.R7$(3),e.JRh(e.bMT(4,4,"reportsDashboard.export.generating")),e.R7$(3),e.JRh(e.bMT(7,6,"reportsDashboard.export.pleaseWait")),e.R7$(3),e.JRh(e.bMT(10,8,"reportsDashboard.export.mayTakeAMoment")),e.R7$(4),e.JRh(e.bMT(14,10,"reportsDashboard.export.cancelExport")))}function lm(n,d){1&n&&(e.qex(0),e.nrm(1,"i",25),e.j41(2,"h5"),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.bVm()),2&n&&(e.R7$(3),e.JRh(e.bMT(4,1,"reportsDashboard.export.success")))}function R_(n,d){if(1&n&&(e.qex(0),e.nrm(1,"i",26),e.j41(2,"h5"),e.EFF(3),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(3),e.JRh(t.exportError)}}function gv(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",27)(1,"button",28),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.dismissExportModal())}),e.EFF(2),e.nI1(3,"translate"),e.k0s()()}2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"reportsDashboard.export.dismiss")," "))}function cm(n,d){1&n&&(e.j41(0,"div",29)(1,"small",30),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.JRh(e.bMT(3,1,"reportsDashboard.export.navigateWarning")))}function td(n,d){if(1&n&&(e.j41(0,"div",11)(1,"div",12)(2,"div",13)(3,"div",14)(4,"div",15),e.DNE(5,_v,15,12,"ng-container",16)(6,lm,5,3,"ng-container",16)(7,R_,4,1,"ng-container",16),e.k0s(),e.DNE(8,gv,4,3,"div",17),e.k0s()(),e.DNE(9,cm,4,3,"div",18),e.k0s()()),2&n){const t=e.XpG();e.R7$(5),e.Y8G("ngIf",t.isExportInProgress),e.R7$(),e.Y8G("ngIf",t.exportState===t.PowerBIExportState.SUCCESS),e.R7$(),e.Y8G("ngIf",t.exportState===t.PowerBIExportState.ERROR),e.R7$(),e.Y8G("ngIf",t.exportState===t.PowerBIExportState.SUCCESS||t.exp
1ortState===t.PowerBIExportState.ERROR),e.R7$(),e.Y8G("ngIf",t.isExportInProgress)}}function AC(n,d){1&n&&(e.j41(0,"div",31)(1,"div",32),e.nrm(2,"div",33),e.j41(3,"h4"),e.EFF(4),e.nI1(5,"translate"),e.k0s(),e.j41(6,"p",34),e.EFF(7),e.nI1(8,"translate"),e.k0s()()()),2&n&&(e.R7$(4),e.SpI("\u{1f6e1}\ufe0f ",e.bMT(5,2,"reportsDashboard.checkingPermissions"),""),e.R7$(3),e.JRh(e.bMT(8,4,"reportsDashboard.securityCheck")))}function Pa(n,d){if(1&n&&(e.j41(0,"p")(1,"strong"),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.EFF(4),e.k0s()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,3,"reportsDashboard.currentUser")),e.R7$(2),e.Lme(" ",t.currentUser," (",t.currentUserRole,")")}}function xC(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",35)(1,"div",36)(2,"h4",37),e.nrm(3,"i",38),e.EFF(4),e.nI1(5,"translate"),e.k0s(),e.j41(6,"p")(7,"strong"),e.EFF(8),e.k0s()(),e.nrm(9,"hr"),e.j41(10,"div",39)(11,"p")(12,"strong"),e.EFF(13),e.nI1(14,"translate"),e.k0s(),e.EFF(15),e.k0s(),e.DNE(16,Pa,5,5,"p",16),e.j41(17,"small",34),e.EFF(18),e.nI1(19,"translate"),e.k0s()(),e.nrm(20,"hr"),e.j41(21,"p",40)(22,"button",41),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.checkUserPermissions())}),e.nrm(23,"i",42),e.EFF(24),e.nI1(25,"translate"),e.k0s()()()()}if(2&n){const t=e.XpG();e.R7$(4),e.SpI(" ",e.bMT(5,7,"reportsDashboard.accessRestricted")," "),e.R7$(4),e.JRh(t.errorMessage),e.R7$(5),e.JRh(e.bMT(14,9,"reportsDashboard.reason")),e.R7$(2),e.SpI(" ",t.accessDeniedReason,""),e.R7$(),e.Y8G("ngIf",t.currentUser),e.R7$(2),e.SpI(" ",e.bMT(19,11,"reportsDashboard.contactAdmin")," "),e.R7$(6),e.SpI(" ",e.bMT(25,13,"reportsDashboard.retryPermissionCheck")," ")}}function NC(n,d){1&n&&(e.j41(0,"div",31)(1,"div",32),e.nrm(2,"div",33),e.j41(3,"h4"),e.EFF(4),e.nI1(5,"translate"),e.k0s(),e.j41(6,"p",34),e.EFF(7),e.nI1(8,"translate"),e.k0s()()()),2&n&&(e.R7$(4),e.JRh(e.bMT(5,2,"reportsDashboard.loadingReport")),e.R7$(3),e.JRh(e.bMT(8,4,"reportsDashboard.connectingSecurely")))}function w_(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",35)(1,"div",43)(2,"h4",37),e.nrm(3,"i",44),e.EFF(4),e.nI1(5,"translate"),e.k0s(),e.j41(6,"p"),e.EFF(7),e.k0s(),e.nrm(8,"hr"),e.j41(9,"p",40)(10,"button",45),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.retryLoadReport())}),e.nrm(11,"i",42),e.EFF(12),e.nI1(13,"translate"),e.k0s(),e.j41(14,"small",46),e.EFF(15),e.nI1(16,"translate"),e.k0s()()()()}if(2&n){const t=e.XpG();e.R7$(4),e.SpI(" ",e.bMT(5,4,"reportsDashboard.reportError")," "),e.R7$(3),e.JRh(t.errorMessage),e.R7$(5),e.SpI(" ",e.bMT(13,6,"reportsDashboard.retry")," "),e.R7$(3),e.SpI(" ",e.bMT(16,8,"reportsDashboard.contactSupport")," ")}}function bv(n,d){if(1&n&&(e.j41(0,"div",47),e.nrm(1,"div",48),e.k0s()),2&n){const t=e.XpG();e.AVh("d-none",t.isLoading||t.hasError)}}let vv=(()=>{class n{constructor(t,i,r,u,v){this.powerBIConfigService=t,this.dashboardVisibilityService=i,this.route=r,this.eventService=u,this.translate=v,this.destroy$=new Gn.B,this.isLoading=!0,this.hasError=!1,this.errorMessage="",this.isSDKReady=!1,this.hasPermissionToView=!1,this.isDashboardAccessCheckComplete=!1,this.accessDeniedReason="",this.accessDeniedMessage="",this.currentUser="",this.currentUserRole="",this.dashboardVisibility=null,this.activeDashboardType="leadership",this.showDashboardTabs=!1,this.hasWPAAccess=!1,this.exportState=M.C9.IDLE,this.exportPercent=0,this.exportError="",this.showExportModal=!1,this.PowerBIExportState=M.C9,this.exportPollSubscription=null,this.exportCancelled=!1,this.EXPORT_POLL_INTERVAL_MS=2e3,this.EXPORT_TIMEOUT_MS=3e5}ngOnInit(){this.injectVersionedStylesheet(),this.checkUserPermissions(),this.eventService.logEvent(p.sb.VIEW_DATA_VISUALIZATION,p.sb.REPORT_USER_IN_DATA_VISUALIZATION_PAGE_EVENT_MSG,"")}injectVersionedStylesheet(){const t="reports-dashboard-styles";if(document.getElementById(t))return;const i=Math.floor(Date.now()/36e5),r=document.createElement("link");r.id=t,r.rel="stylesheet",r.type="text/css",r.href=`assets/css/reports-dashboard.css?v=${i}`,document.head.appendChild(r)}ngAfterViewInit(){}ngOnDestroy(){if(this.destroy$.next(),this.destroy$.complete(),this.cancelExport(!1),this.powerBIReport)try{this.powerBIReport.off("loaded"),this.powerBIReport.off("error")}catch{}}checkUserPermissions(){this.isLoading=!0,this.isDashboardAccessCheckComplete=!1,this.powerBIConfigService.checkPowerBIAccess().pipe((0,Kn.Q)(this.destroy$)).subscribe({next:t=>{this.isDashboardAccessCheckComplete=!0,this.hasPermissionToView=t.hasAccess,this.accessDeniedReason=t.reason,this.accessDeniedMessage=t.message,this.currentUser=t.user||"",this.currentUserRole=t.role||"",t.hasAccess?this.loadDashboardVisibility():(this.isLoading=!1,this.hasError=!0,this.errorMessage=t.message)},error:t=>{this.isDashboardAccessCheckComplete=!0,this.hasPermissionToView=!1,this.isLoading=!1,this.hasError=!0,this.errorMessage=this.translate.instant("reportsDashboard.errors.verifyPermissions"),this.accessDeniedReason="PERMISSION_CHECK_ERROR"}})}loadDashboardVisibility(){this.dashboardVisibilityService.getDashboardVisibility().pipe((0,Kn.Q)(this.destroy$)).subscribe({next:t=>{this.dashboardVisibility=t,this.loadPowerBISDK()},error:t=>{this.handleError(this.translate.instant("reportsDashboard.errors.dashboardVisibility"))}})}loadPowerBISDK(){if(window.powerbi)return this.isSDKReady=!0,void this.autoLoadCorrectReport();const t=document.createElement("script");t.src="assets/js/powerbi.min.js",t.async=!0,t.onload=()=>{this.isSDKReady=!0,this.autoLoadCorrectReport()},t.onerror=()=>{this.handleError(this.translate.instant("reportsDashboard.errors.loadSDK"))},document.head.appendChild(t)}autoLoadCorrectReport(){if(!this.isSDKReady||!this.dashboardVisibility)return;this.isLoading=!0,this.hasError=!1;
1const t=this.route.snapshot.queryParamMap.get("type");let i;if(this.dashboardVisibility.scenario===p.ww.SCENARIO_EMPLOYER_CONTACTS_ONLY)i=t||"employer-contacts",this.activeDashboardType="employer-contacts",this.showDashboardTabs=!1;else if(this.dashboardVisibility.scenario===p.ww.SCENARIO_LEADERSHIP_ONLY)i=t||"leadership",this.activeDashboardType="leadership",this.showDashboardTabs=!1;else{if(this.dashboardVisibility.scenario!==p.ww.SCENARIO_BOTH_DASHBOARDS)return void this.handleError(this.translate.instant("reportsDashboard.errors.noPermission"));i=t||"leadership",this.activeDashboardType=i,this.showDashboardTabs=!0}this.loadDashboard(i)}loadDashboard(t){this.isLoading=!0,this.hasError=!1,this.powerBIConfigService.getFMLAPowerBITokenForReport("",t).pipe((0,Kn.Q)(this.destroy$)).subscribe({next:i=>{this.embedPowerBIReport(i)},error:i=>{const r=i.message||i.error?.error||this.translate.instant("reportsDashboard.errors.unknown");this.handleError(`${this.translate.instant("reportsDashboard.errors.authenticate")}: ${r}`)}})}embedPowerBIReport(t){var i=this;this.hasWPAAccess=t.hasWPAAccess??!1,this.eventService.logEvent(p.sb.EXPORT_DASHBOARD_TYPE,this.hasWPAAccess?p.sb.REPORT_LOAD_DASHBOARD_WITH_WPA_EVENT_MSG:p.sb.REPORT_LOAD_DASHBOARD_WITHOUT_WPA_EVENT_MSG,"");try{const r={type:"report",id:t.reportId,embedUrl:t.embedUrl,accessToken:t.accessToken,tokenType:p.wr,settings:{filterPaneEnabled:!1,navContentPaneEnabled:!1,layoutType:p.Zh,customLayout:{displayOption:p.wn},commands:[{seeData:{displayOption:2},spotlight:{displayOption:2},insightsAnalysis:{displayOption:2},sort:{displayOption:2},copy:{displayOption:2},addComment:{displayOption:2}}]}},u=document.getElementById("fmla-powerbi-container");if(!u)throw new Error(this.translate.instant("reportsDashboard.errors.containerNotFound"));this.powerBIReport=window.powerbi.embed(u,r);let v=!1;this.powerBIReport.on("loaded",(0,rn.A)(function*(){i.isLoading=!1,i.hasError=!1;try{const V=yield i.powerBIReport.getPages();if(V&&V.length>0){const Ce=V.find(it=>it.isActive)||V[0];Ce.setActive(),Ce.setDisplayMode(p.Yx)}}catch{}if(!v){v=!0;const V=t?.hasWPAAccess?p.UR:p.a9;try{yield(yield i.powerBIReport.bookmarksManager).apply(V)}catch{}}"leadership"===i.activeDashboardType&&(yield i.autoSelectEmployerFilter())})),this.powerBIReport.on("error",V=>{this.handlePowerBIError(V.detail)})}catch(r){this.handleError(`${this.translate.instant("reportsDashboard.errors.embedFailed")}: ${r}`)}}handlePowerBIError(t){if(!t)return void this.handleError(this.translate.instant("reportsDashboard.errors.unknown"));const i=t.message||"",r=t.detailedMessage||"";if("QueryUserError"===i)return this.isLoading=!1,this.hasError=!0,void(this.errorMessage=this.translate.instant("reportsDashboard.errors.noData"));if(i.includes("Token")||i.includes("Authentication"))return void this.handleError(this.translate.instant("reportsDashboard.errors.authFailed"));if(i.includes("Network")||i.includes("Connection"))return void this.handleError(this.translate.instant("reportsDashboard.errors.network"));if(i.includes("Forbidden")||i.includes("Unauthorized"))return void this.handleError(this.translate.instant("reportsDashboard.errors.accessDenied"));const v=`${this.translate.instant("reportsDashboard.errors.unknown")}: ${i}${r?" - "+r:""}`;this.handleError(v)}handleError(t){this.isLoading=!1,this.hasError=!0,this.errorMessage=t}retryLoadReport(){this.hasError=!1,this.errorMessage="",this.powerBIReport=null,this.isSDKReady&&this.dashboardVisibility?this.autoLoadCorrectReport():this.loadDashboardVisibility()}switchDashboard(t){this.activeDashboardType!==t&&(this.activeDashboardType=t,this.destroyPowerBIEmbed(),this.loadDashboard(t))}destroyPowerBIEmbed(){if(this.powerBIReport)try{this.powerBIReport.off("loaded"),this.powerBIReport.off("error");const t=document.getElementById("fmla-powerbi-container");t&&window.powerbi.reset(t),this.powerBIReport=null}catch{}}getDashboardDisplayName(t){return this.translate.instant("leadership"===t?"reportsDashboard.leadershipDashboard":"reportsDashboard.employerContactsDashboard")}autoSelectEmployerFilter(){var t=this;return(0,rn.A)(function*(){try{const r=(yield t.powerBIReport.getPages()).find(At=>At.isActive);if(!r)return;const v=(yield r.getVisuals()).find(At=>"slicer"===At.type&&(At.name.toLowerCase().includes("employer")||At.name.toLowerCase().includes("account")||At.name.toLowerCase().includes("company")));if(!v)return;const V=yield v.getSlicerState(),Ce=t.extractFirstEmployerValue(V);if(!Ce)return;const it={filter:{target:V.target,logicalOperator:"Or",conditions:[{operator:"Equals",value:Ce}]},slicer:V.slicer};yield v.setSlicerState(it)}catch{}})()}exportDashboard(t){var i=this;return(0,rn.A)(function*(){if(!i.powerBIReport||i.exportState!==M.C9.IDLE)return;i.eventService.logEvent(p.sb.START_PDF_EXPORT,p.sb.REPORT_USER_INITIATED_EXPORT_OF_DASHBOARD_TO_PDF_EVENT_MSG,""),i.exportState=M.C9.CAPTURING,i.exportPercent=0,i.exportError="",i.exportCancelled=!1,i.showExportModal=!0;const r=yield i.powerBIReport.bookmarksManager,v=(yield r.capture({allPages:!0,personalizeVisuals:!1}))?.state??"",V=i.hasWPAAccess?p.LE:p.tB,Ce=[];for(let it=0;
1it<p.HW.length;it++){if(i.exportCancelled){if(v)try{yield r.applyState(v)}catch{}return}const At=V[it]??"";if(!At)continue;if(yield r.apply(At),yield new Promise(Jt=>{const wn=setTimeout(Jt,3e3),ns=()=>{clearTimeout(wn),i.powerBIReport.off("rendered",ns),Jt()};i.powerBIReport.on("rendered",ns)}),i.exportCancelled){if(v)try{yield r.applyState(v)}catch{}return}const Ot=yield r.capture({allPages:!1,personalizeVisuals:!1});Ce.push({pageName:p.HW[it],bookmarkState:Ot?.state??""})}var it;i.exportState=M.C9.EXPORTING,i.powerBIConfigService.startPdfExport({dashboardType:i.activeDashboardType,pages:Ce,format:t}).subscribe({next:(it=(0,rn.A)(function*(At){if(v)try{yield r.applyState(v)}catch{}i.pollExportStatus(At.exportId,t)}),function(Ot){return it.apply(this,arguments)}),error:()=>{i.eventService.logEvent(p.sb.EXPORT_DOWNLOAD_FAILED,p.sb.REPORT_EXPORT_ERROR_IN_DASHBOARD_PAGE_EVENT_MSG,""),i.exportState=M.C9.ERROR,i.exportError=i.translate.instant("reportsDashboard.export.startFailed")}})})()}pollExportStatus(t,i){const r=Date.now();this.exportPollSubscription=S_(this.EXPORT_POLL_INTERVAL_MS).pipe((0,Kn.Q)(this.destroy$)).subscribe(()=>{if(Date.now()-r>this.EXPORT_TIMEOUT_MS)return this.cancelExport(!1),this.eventService.logEvent(p.sb.EXPORT_DOWNLOAD_FAILED,p.sb.REPORT_EXPORT_ERROR_IN_DASHBOARD_PAGE_EVENT_MSG,""),this.exportState=M.C9.ERROR,void(this.exportError=this.translate.instant("reportsDashboard.export.timeout"));this.powerBIConfigService.getExportStatus(t).pipe((0,Kn.Q)(this.destroy$)).subscribe({next:u=>{this.exportPercent=u.percentComplete,"Succeeded"===u.status?(this.cancelExport(!1),this.downloadExport(t,i)):"Failed"===u.status&&(this.cancelExport(!1),this.eventService.logEvent(p.sb.EXPORT_DOWNLOAD_FAILED,p.sb.REPORT_EXPORT_ERROR_IN_DASHBOARD_PAGE_EVENT_MSG,""),this.exportState=M.C9.ERROR,this.exportError=this.translate.instant("reportsDashboard.export.exportFailed"))},error:()=>{this.cancelExport(!1),this.eventService.logEvent(p.sb.EXPORT_DOWNLOAD_FAILED,p.sb.REPORT_EXPORT_ERROR_IN_DASHBOARD_PAGE_EVENT_MSG,""),this.exportState=M.C9.ERROR,this.exportError=this.translate.instant("reportsDashboard.export.statusFailed")}})})}downloadExport(t,i){this.exportState=M.C9.DOWNLOADING,this.powerBIConfigService.downloadExport(t).subscribe({next:u=>{const v=URL.createObjectURL(u),V=document.createElement("a"),Ce=(new Date).toISOString().replace(/[:.]/g,"-").slice(0,19);V.href=v,V.download=`FMLA_Dashboard_${Ce}.pdf`,document.body.appendChild(V),V.click(),document.body.removeChild(V),URL.revokeObjectURL(v),this.exportState=M.C9.SUCCESS,this.eventService.logEvent(p.sb.EXPORT_DOWNLOAD_SUCCEEDED,p.sb.REPORT_EXPORT_SUCCESS_IN_DASHBOARD_PAGE_EVENT_MSG,""),setTimeout(()=>{this.exportState===M.C9.SUCCESS&&this.dismissExportModal()},3e3)},error:()=>{this.eventService.logEvent(p.sb.EXPORT_DOWNLOAD_FAILED,p.sb.REPORT_EXPORT_ERROR_IN_DASHBOARD_PAGE_EVENT_MSG,""),this.exportState=M.C9.ERROR,this.exportError=this.translate.instant("reportsDashboard.export.downloadFailed")}})}cancelExport(t=!0){t&&this.eventService.logEvent(p.sb.CANCEL_EXPORT_DASHBOARD,p.sb.REPORT_CANCEL_EXPORT_DASHBOARD_PAGE_EVENT_MSG,""),this.exportCancelled=!0,this.exportPollSubscription&&(this.exportPollSubscription.unsubscribe(),this.exportPollSubscription=null),this.exportState=M.C9.IDLE,this.showExportModal=!1}dismissExportModal(){this.exportState=M.C9.IDLE,this.showExportModal=!1}get isExportInProgress(){return this.exportState===M.C9.CAPTURING||this.exportState===M.C9.EXPORTING||this.exportState===M.C9.DOWNLOADING}extractFirstEmployerValue(t){try{if(t?.filter?.conditions&&t.filter.conditions.length>0){const i=t.filter.conditions[0];if(null!=i.value)return i.value}return t?.filter?.values&&t.filter.values.length>0?t.filter.values[0]:null}catch{return null}}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(M.EH),e.rXU(M.ks),e.rXU(q.nX),e.rXU(M.US),e.rXU(Y.c$))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-reports-dashboard"]],decls:14,vars:10,consts:[[1,"card","card-padding"],[1,"row","align-items-center","mb-2"],[1,"col-lg-6","col-md-6","col-sm-6","h1Row"],["id","reportsDashboardTitle"],["class","col-lg-6 col-md-6 col-sm-6 d-flex align-items-center justify-content-end",4,"ngIf"],["class","modal fade show d-block export-modal-backdrop","tabindex","-1","role","dialog",4,"ngIf"],[1,"content"],["class","fmla-powerbi-loading",4,"ngIf"],["class","fmla-powerbi-error",4,"ngIf"],["class","fmla-powerbi-container",3,"d-none",4,"ngIf"],[1,"col-lg-6","col-md-6","col-sm-6","d-flex","align-items-center","justify-content-end"],["tabindex","-1","role","dialog",1,"modal","fade","show","d-block","export-modal-backdrop"],[1,"export-modal-wrapper"],["role","document",1,"modal-dialog","export-modal-fullscreen"],[1,"modal-content"],[1,"modal-body","text-center","py-5"],[4,"ngIf"],["class","justify-content-center mb-3",4,"ngIf"],["class","text-center",4,"ngIf"],["src","assets/baseResources/PDF_file_icon.svg","alt","PDF",1,"export-pdf-icon","mx-auto","mb-4"],[1,"fw-bold","mb-2"],[1,"mb-1"],[1,"mb-4"],[1,"export-wave-bar","mx-auto","mb-4"],[1,"btn","btn-cancel-export",3,"click"],[1,"fa","fa-check-circle","export-modal-icon","export-modal-icon--success","mb-3"],[1,"fa","fa-exclamation-triangle","export-modal-icon","export-modal-icon--error","mb-3"],[1,"justify-content-center","mb-3"],[1,"btn","btn-secondary",3,"click"],[1,"text-center"],[1,"text-muted","text-white"],[1,"fmla-powerbi-loading"],[1,"text-center","p-5"],[1,"loading-spinner","mx-auto","mb-3"],[1,"text-muted"],[1,"fmla-powerbi-error"],["role","alert",1,"alert","alert-warning"],[1,"alert-heading"],[1,"fa","fa-shield"],[1,"permission-detail
1s"],[1,"mb-0"],[1,"btn","btn-outline-warning","btn-sm",3,"click"],[1,"fa","fa-refresh"],["role","alert",1,"alert","alert-danger"],[1,"fa","fa-exclamation-triangle"],[1,"btn","btn-outline-danger","btn-sm",3,"click"],[1,"text-muted","ml-3"],[1,"fmla-powerbi-container"],["id","fmla-powerbi-container",1,"powerbi-embed-container"]],template:function(i,r){1&i&&(e.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3),e.EFF(4),e.nI1(5,"translate"),e.k0s()(),e.DNE(6,fv,1,0,"div",4),e.k0s(),e.DNE(7,td,10,5,"div",5),e.j41(8,"div",6),e.DNE(9,AC,9,6,"div",7)(10,xC,26,15,"div",8)(11,NC,9,6,"div",7)(12,w_,17,10,"div",8)(13,bv,2,2,"div",9),e.k0s()()),2&i&&(e.R7$(4),e.SpI(" ",e.bMT(5,8,"reportsDashboard.title")," "),e.R7$(2),e.Y8G("ngIf",r.isDashboardAccessCheckComplete&&r.hasPermissionToView&&!r.isLoading&&!r.hasError),e.R7$(),e.Y8G("ngIf",r.showExportModal),e.R7$(2),e.Y8G("ngIf",!r.isDashboardAccessCheckComplete),e.R7$(),e.Y8G("ngIf",r.isDashboardAccessCheckComplete&&!r.hasPermissionToView),e.R7$(),e.Y8G("ngIf",r.isDashboardAccessCheckComplete&&r.hasPermissionToView&&r.isLoading&&!r.hasError),e.R7$(),e.Y8G("ngIf",r.isDashboardAccessCheckComplete&&r.hasPermissionToView&&r.hasError),e.R7$(),e.Y8G("ngIf",r.isDashboardAccessCheckComplete&&r.hasPermissionToView))},dependencies:[ie.bT,Y.D9],encapsulation:2})}}return n})();var zl=I(5558);const iu=n=>({fieldError:n});function OC(n,d){if(1&n&&(e.j41(0,"span",19)(1,"span",20),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n){const t=d.$implicit;e.R7$(2),e.JRh(e.bMT(3,1,t))}}function dm(n,d){if(1&n&&(e.j41(0,"span",17),e.DNE(1,OC,4,3,"span",18),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngForOf",t.errorMsgs)}}function k_(n,d){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"div",21)(2,"h4",22),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"a",23),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.reportsDate("lastWeek"))})("keydown.enter",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.reportsDate("lastWeek"))})("keydown.space",function(r){e.eBV(t);const u=e.XpG(2);return r.preventDefault(),e.Njj(u.reportsDate("lastWeek"))}),e.EFF(6),e.nI1(7,"translate"),e.k0s(),e.j41(8,"a",24),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.reportsDate("lastMonth"))})("keydown.enter",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.reportsDate("lastMonth"))})("keydown.space",function(r){e.eBV(t);const u=e.XpG(2);return r.preventDefault(),e.Njj(u.reportsDate("lastMonth"))}),e.EFF(9),e.nI1(10,"translate"),e.k0s(),e.j41(11,"a",25),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.reportsDate("lastQuarter"))})("keydown.enter",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.reportsDate("lastQuarter"))})("keydown.space",function(r){e.eBV(t);const u=e.XpG(2);return r.preventDefault(),e.Njj(u.reportsDate("lastQuarter"))}),e.EFF(12),e.nI1(13,"translate"),e.k0s(),e.nrm(14,"br"),e.k0s(),e.bVm()}2&n&&(e.R7$(3),e.SpI("",e.bMT(4,4,"label.startDateRange"),":"),e.R7$(3),e.SpI(" ",e.bMT(7,6,"link.lastWeek")," "),e.R7$(3),e.SpI(" ",e.bMT(10,8,"link.lastMonth")," "),e.R7$(3),e.SpI(" ",e.bMT(13,10,"link.lastQuarter")," "))}function A_(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",26)(1,"div",27)(2,"label",28),e.EFF(3),e.nI1(4,"translate"),e.k0s()(),e.j41(5,"input",29,0),e.bIt("dateSelect",function(){e.eBV(t);const r=e.sdS(6);return e.XpG(2).clearError(),e.Njj(r.close())})("focus",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.clearError())})("keydown.enter",function(){e.eBV(t);const r=e.sdS(6);return e.Njj(r.open())}),e.k0s(),e.j41(7,"img",30),e.bIt("click",function(){e.eBV(t);const r=e.sdS(6);return e.Njj(r.toggle())}),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(3),e.SpI(" ",e.bMT(4,5,"label."+t.reportCodeNameId+".startDate")," "),e.R7$(2),e.Y8G("firstDayOfWeek",7)("ngClass",e.eq3(7,iu,t.f.startDate.touched&&t.f.startDate.errors)),e.R7$(2),e.Mz_("src","",t.domainResourcePath,"/gfx/redesignIcons/calendar.svg",e.B4B)}}function su(n,d){1&n&&(e.j41(0,"span",32),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"validation.startDate.dateBlank")," "))}function yv(n,d){if(1&n&&(e.j41(0,"div",19),e.DNE(1,su,3,3,"span",31),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.f.startDate.hasError("missingStartDate"))}}function Ev(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",26)(1,"div",27)(2,"label",33),e.EFF(3),e.nI1(4,"translate"),e.k0s()(),e.j41(5,"input",34,0),e.bIt("dateSelect",function(){e.eBV(t);const r=e.sdS(6);return e.XpG(2).clearError(),e.Njj(r.close())})("focus",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.clearError())})("keydown.enter",function(){e.eBV(t);const r=e.sdS(6);return e.Njj(r.open())}),e.k0s(),e.j41(7,"img",35),e.bIt("click",function(){e.eBV(t);const r=e.sdS(6);
1return e.Njj(r.toggle())}),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(3),e.JRh(e.bMT(4,5,"label."+t.reportCodeNameId+".endDate")),e.R7$(2),e.Y8G("firstDayOfWeek",7)("ngClass",e.eq3(7,iu,t.f.endDate.touched&&t.f.endDate.errors)),e.R7$(2),e.Mz_("src","",t.domainResourcePath,"/gfx/redesignIcons/calendar.svg",e.B4B)}}function ru(n,d){1&n&&(e.j41(0,"span",37),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"validation.endDate.dateBlank")," "))}function x_(n,d){if(1&n&&(e.j41(0,"div",19),e.DNE(1,ru,3,3,"span",36),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.f.endDate.hasError("missingEndDate"))}}function N_(n,d){if(1&n&&(e.j41(0,"div",26)(1,"div",27)(2,"label",38),e.EFF(3),e.nI1(4,"translate"),e.k0s()(),e.nrm(5,"input",39),e.k0s()),2&n){const t=e.XpG(2);e.R7$(3),e.SpI(" ",e.bMT(4,2,"label."+t.reportCodeNameId+".employeeNumber")," "),e.R7$(2),e.Y8G("ngClass",e.eq3(4,iu,t.f.employeeNumber.touched&&t.f.employeeNumber.errors&&t.f.employeeNumber.errors.required))}}function Tv(n,d){1&n&&(e.j41(0,"div",40)(1,"span",41),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"validation.employeeNumber.isBlank")," "))}function Iv(n,d){if(1&n&&(e.j41(0,"option",48),e.EFF(1),e.k0s()),2&n){const t=d.$implicit;e.Y8G("value",t.id),e.R7$(),e.SpI(" ",t.name," ")}}function Dv(n,d){if(1&n&&(e.j41(0,"div",42)(1,"div",27)(2,"label",43),e.EFF(3),e.nI1(4,"translate"),e.k0s()(),e.j41(5,"div",44)(6,"select",45)(7,"option",46),e.EFF(8),e.nI1(9,"translate"),e.k0s(),e.DNE(10,Iv,2,2,"option",47),e.k0s()()()),2&n){const t=e.XpG(2);e.R7$(3),e.SpI(" ",e.bMT(4,4,"label."+t.reportCodeNameId+".businessUnit")," "),e.R7$(3),e.Y8G("ngClass",e.eq3(8,iu,t.f.businessUnit.touched&&t.f.businessUnit.errors&&t.f.businessUnit.errors.required)),e.R7$(2),e.JRh(e.bMT(9,6,"myAbsences.reportTime.pleaseSelect")),e.R7$(2),e.Y8G("ngForOf",t.businessUnits)}}function FC(n,d){1&n&&(e.j41(0,"div",19)(1,"span",49),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"validation.businessUnit.isBlank")," "))}function LC(n,d){if(1&n&&(e.j41(0,"option",48),e.EFF(1),e.k0s()),2&n){const t=d.$implicit;e.Y8G("value",t.id),e.R7$(),e.SpI(" ",t.name," ")}}function ou(n,d){if(1&n&&(e.j41(0,"div",42)(1,"div",27)(2,"label",50),e.EFF(3),e.nI1(4,"translate"),e.k0s()(),e.j41(5,"div",44)(6,"select",51)(7,"option",46),e.EFF(8),e.nI1(9,"translate"),e.k0s(),e.DNE(10,LC,2,2,"option",47),e.k0s()()()),2&n){const t=e.XpG(2);e.R7$(3),e.SpI(" ",e.bMT(4,4,"label."+t.reportCodeNameId+".location")," "),e.R7$(3),e.Y8G("ngClass",e.eq3(8,iu,t.f.businessLocation.touched&&t.f.businessLocation.errors&&t.f.businessLocation.errors.required)),e.R7$(2),e.JRh(e.bMT(9,6,"myAbsences.reportTime.pleaseSelect")),e.R7$(2),e.Y8G("ngForOf",t.businessLocations)}}function Cv(n,d){1&n&&(e.j41(0,"div",19)(1,"span",52),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"validation.businessLoc.isBlank")," "))}function PC(n,d){if(1&n&&(e.j41(0,"option",48),e.EFF(1),e.k0s()),2&n){const t=d.$implicit;e.Y8G("value",t.id),e.R7$(),e.SpI(" ",t.name," ")}}function jC(n,d){if(1&n&&(e.j41(0,"div",42)(1,"div",27)(2,"label",53),e.EFF(3),e.nI1(4,"translate"),e.k0s()(),e.j41(5,"div",44)(6,"select",54)(7,"option",46),e.EFF(8),e.nI1(9,"translate"),e.k0s(),e.DNE(10,PC,2,2,"option",47),e.k0s()()()),2&n){const t=e.XpG(2);e.R7$(3),e.SpI(" ",e.bMT(4,4,"label."+t.reportCodeNameId+".organization")," "),e.R7$(3),e.Y8G("ngClass",e.eq3(8,iu,t.f.businessOrganization.touched&&t.f.businessOrganization.errors&&t.f.businessOrganization.errors.required)),e.R7$(2),e.JRh(e.bMT(9,6,"myAbsences.reportTime.pleaseSelect")),e.R7$(2),e.Y8G("ngForOf",t.businessOrganizations)}}function BC(n,d){1&n&&(e.j41(0,"div",19)(1,"span",55),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"validation.businessOrg.isBlank")," "))}function Mv(n,d){if(1&n&&(e.j41(0,"div",26)(1,"label",56),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.nrm(4,"input",57),e.k0s()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,2,"label."+t.reportCodeNameId+".hoursDifference")),e.R7$(2),e.Y8G("ngClass",e.eq3(4,iu,t.f.hoursDifference.touched&&t.f.hoursDifference.errors&&t.f.hoursDifference.errors.required))}}function Sv(n,d){1&n&&(e.j41(0,"div",19)(1,"span",58),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"validation.hoursDifference.isBlank")," "))}function YC(n,d){if(1&n&&(e.j41(0,"div",42)(1,"div",27)(2,"label",59),e.EFF(3),e.nI1(4,"translate"),e.k0s()(),e.j41(5,"div",44)(6,"select",60)(7,"option",61),e.EFF(8),e.nI1(9,"translate"),e.k0s(),e.j41(10,"option",62),e.EFF(11),e.nI1(12,"translate"),e.k0s(),e.j41(13,"option",63),e.EFF(14),e.nI1(15,"translate"),e.k0s(),e.j41(16,"option",64),e.EFF(17),e.nI1(18,"translate"),e.k0s()()()()),2&n){const t=e.XpG(2);e.R7$(3),e.SpI(" ",e.bMT(4,6,"label."+t.reportCodeNameId+".freq_id")," "),e.R7$(4),e.Y8G("selected",!0),e.R7$(),e.JRh(e.bMT(9,8,"leaveFrequency.0")),e.R7$(3),e.JRh(e.bMT(12,10,"leaveFrequency.202")),e.R7$(3),e.JRh(e.bMT(15,12,"leaveFrequency.204")),e.R7$(3),e.JRh(e.bMT(18,14,"leaveFrequency.203"))}}function Uk(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",4)(1,"h1",5),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div",6),e.DNE(5,dm,2,1,"span",7),e.k0s(),e.DNE(6,k_,15,12,"ng-container",8),e.j41(7,"form",9),e.bIt("keydown.enter",function(r){e.eBV(t);const u=e.XpG();return e.Njj(u.onFormEnter(r))}),e.DNE(8,A_,8,9,"div",10)(9,yv,2,1,"div",11)(10,Ev,8,9,"div",10)(11,x_,2,1,"div",11)(12,N_,6,6,"div",10)(13,Tv,4,3,"div",12)(14,Dv,11,10,"div",13)(15,FC,4,3,"div",11)(16,ou,11,10,"div",13)(17,Cv,4,3,"div",11)(18,jC,11,10,"div",13)(19,BC,4,3,"div",11)(20,Mv,5,6,"div",10)(21,Sv,4,3,"div",11)(22,YC,19,16,"div",13),e.j41(23,"div",14)(24,"input",15),e.nI1(25,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.onSubmit("2"))}),e.k0s(),e.j41(26,"input",16),e.nI1(27,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.onSubmit("0"))}),e.k0s()(),e.nrm(28,"br"),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(2),e.JRh(e.bMT(3,21,"label.report."+t.reportCodeNameId+".name")),e.R7$(3),e.Y8G("ngIf",t.errorMsgs.length>0),e.R7$(),e.Y8G("ngIf",t.isShowStartDate()),e.R7$(),e.Y8G("formGroup",t.reportCriteriaForm),e.R7$(),e.Y8G("ngIf",t.isShowStartDate()),e.R7$(),e.Y8G("ngIf",t.isShowStartDate()&&t.f.startDate.touched&&t.f.startDate.errors),e.R7$(),e.Y8G("ngIf",t.isShowEndDate()),e.R7$(),e.Y8G("ngIf",t.isShowEndDate()&&t.f.endDate.touched&&t.f.endDate.errors),e.R7$(),e.Y8G("ngIf",t.isShowEmployeeNumber()),e.R7$(),e.Y8G("ngIf",t.isShowEmployeeNumber()&&t.f.employeeNumber.touched&&t.f.employeeNumber.errors&&t.f.employeeNumber.errors.required),e.R7$(),e.Y8G("ngIf",t.isShowBusinessUnit()),e.R7$(),e.Y8G("ngIf",t.isShowBusinessUnit()&&t.f.businessUnit.touched&&t.f.businessUnit.errors&&t.f.businessUnit.errors.required),e.R7$(),e.Y8G("ngIf",t.isShowLocation()),e.R7$(),e.Y8G("ngIf",t.isShowLocation()&&t.f.businessLocation.touched&&t.f.businessLocation.errors&&t.f.businessLocation.errors.required),e.R7$(),e.Y8G("ngIf",t.isShowOrganization()),e.R7$(),e.Y8G("ngIf",t.isShowOrganization()&&t.f.businessOrganization.touched&&t.f.businessOrganization.errors&&t.f.businessOrganization.errors.required),e.R7$(),e.Y8G("ngIf",t.isShowHoursDifference()),e.R7$(),e.Y8G("ngIf",t.isShowHoursDifference()&&t.f.hoursDifference.touched&&t.f.hoursDifference.errors&&t.f.hoursDifference.errors.required),e.R7$(),e.Y8G("ngIf",t.isShowFreqId()),e.R7$(2),e.FS9("value",e.bMT(25,23,"command.label.submitExcel")),e.R7$(2),e.FS9("value",e.bMT(27,25,"command.label.submitPdf"))}}function $C(n,d){1&n&&(e.j41(0,"a",65),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"backToSchedulableReports")," "))}function O_(n,d){if(1&n&&(e.qex(0),e.j41(1,"span",69),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.nrm(4,"br"),e.j41(5,"span",70),e.EFF(6),e.nI1(7,"translate"),e.k0s(),e.nrm(8,"br")(9,"br"),e.j41(10,"div",71),e.nrm(11,"img",72),e.nI1(12,"translate"),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,5,"report.checkStatusBox.message1")),e.R7$(4),e.JRh(e.bMT(7,7,"report.checkStatusBox.message2")),e.R7$(5),e.Mz_("src","",t.domainResourcePath,"/gfx/big-loader.gif",e.B4B),e.FS9("alt",e.bMT(12,9,"report.checkStatusBox.loaderImgAlt"))}}function F_(n,d){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"span",73),e.EFF(2),e.nI1(3,"translate"),e.j41(4,"a",74),e.EFF(5),e.nI1(6,"translate"),e.k0s(),e.EFF(7),e.nI1(8,"translate"),e.k0s(),e.nrm(9,"br")(10,"br"),e.j41(11,"span",75),e.EFF(12),e.nI1(13,"translate"),e.j41(14,"a",76),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.setRerunReport())}),e.EFF(15),e.nI1(16,"translate"),e.k0s()(),e.nrm(17,"br"),e.j41(18,"span",77),e.EFF(19),e.nI1(20,"translate"),e.j41(21,"a",78),e.EFF(22),e.nI1(23,"translate"),e.k0s()(),e.nrm(24,"br"),e.j41(25,"span",79),e.EFF(26),e.nI1(27,"translate"),e.k0s(),e.bVm()}if(2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",e.bMT(3,12,"report.checkStatusBox.downloadMsgPt1")," "),e.R7$(2),e.yjJ("href","/FMLAWeb/report?reportJobId=",t.reportJobResponse.jobId,"&downloadFormat=",t.reportCriteriaRequest.fileType,"&reportName=",t.reportName,"",e.B4B),e.R7$(),e.SpI(" ",e.bMT(6,14,"report.checkStatusBox.openReport")," "),e.R7$(2),e.SpI(" ",e.bMT(8,16,"report.checkStatusBox.downloadMsgPt2")," "),e.R7$(5),e.SpI(" ",e.bMT(13,18,"report.checkStatusBox.orYouCanMsg")," "),e.R7$(3),e.JRh(e.bMT(16,20,"report.checkStatusBox.returnToReport")),e.R7$(4),e.SpI(" ",e.bMT(20,22,"report.checkStatusBox.orYouCanMsg")," "),e.R7$(3),e.JRh(e.bMT(23,24,"report.checkStatusBox.newReport")),e.R7$(4),e.JRh(e.bMT(27,26,"report.checkStatusBox.recommendPDFExcel"))}}function UC(n,d){1&n&&(e.qex(0),e.j41(1,"span",80),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.bVm()),2&n&&(e.R7$(2),e.JRh(e.bMT(3,1,"report.checkStatusBox.errorMsg")))}function GC(n,d){if(1&n&&(e.j41(0,"div",66)(1,"h1",67),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div",68),e.DNE(
15,O_,13,11,"ng-container",8)(6,F_,28,28,"ng-container",8)(7,UC,4,3,"ng-container",8),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.JRh(e.bMT(3,4,"report.checkStatusBox.pageTitle")),e.R7$(3),e.Y8G("ngIf",t.isRunning),e.R7$(),e.Y8G("ngIf",t.isComplete),e.R7$(),e.Y8G("ngIf",t.isFail)}}let VC=(()=>{class n{constructor(t,i,r,u,v){this.activatedRouter=t,this.formBuilder=i,this.eventService=r,this.translate=u,this.reportService=v,this.isSubmit=!1,this.errorMsgs=[],this.isRunning=!0,this.isComplete=!1,this.isFail=!1}ngOnInit(){this.domainResourcePath=se.z.getBaseResourcePath(),this.reportCriteria=this.activatedRouter.snapshot.data.reportCriteria,this.businessUnits=this.reportCriteria.businessUnits,this.businessOrganizations=this.reportCriteria.businessOrganizations,this.businessLocations=this.reportCriteria.businessLocations,this.reportCodeNameId=this.activatedRouter.snapshot.paramMap.get("reportNameId"),this.reportId=this.activatedRouter.snapshot.paramMap.get("reportId"),this.employeeNumberReports=new Set([111888,111887]),this.prefilledDateReports=new Map,this.prefilledDateReports.set(111888,-1),this.productReportMap=new Map,this.productReportMap.set(111888,111887),this.reportCriteriaRequest=new Yt.NZ,this.eventService.logEvent(p.sb.GENERATE_REPORT,p.sb.VIEW_REPORT_STEP_2,this.reportId),this.reportName=this.translate.instant("label.report."+this.reportCodeNameId+".name").replace(/ /g,"_"),this.createForm()}createForm(){this.reportCriteriaForm=this.formBuilder.group({startDate:["",this.validateStartDate],endDate:["",this.validateEndDate],employeeNumber:["",ge.k0.required],businessUnit:["",ge.k0.required],businessLocation:["",ge.k0.required],businessOrganization:["",ge.k0.required],hoursDifference:["0",ge.k0.required],frequencyId:["",""]})}setRerunReport(){this.isSubmit=!1,this.isComplete=!1,this.reportCriteriaForm.get("frequencyId").setValue("0")}validateDateRange(){let t=this.reportCriteriaForm.get("startDate").value,i=new Date(t.year,t.month-1,t.day),r=this.reportCriteriaForm.get("endDate").value,u=new Date(r.year,r.month-1,r.day);return u.getTime()<i.getTime()?(this.errorMsgs.push(this.translate.instant("dates.order")),!1):!("11070"!==this.reportCodeNameId&&"11073"!==this.reportCodeNameId&&(u.getTime()-i.getTime())/864e5>92&&(this.errorMsgs.push(this.translate.instant("dates.order")),1))}validateStartDate(t){const i=t.value;return i&&i.year&&i.month&&i.day?null:{missingStartDate:!0}}validateEndDate(t){const i=t.value;return i&&i.year&&i.month&&i.day?null:{missingEndDate:!0}}fieldsValidated(){let t=!0,i=!0;return this.errorMsgs=[],Object.keys(this.reportCriteriaForm.controls).forEach(r=>{this.reportCriteriaForm.controls[r].markAsTouched(),this.reportCriteriaForm.controls[r].errors&&("startDate"===r&&this.isShowStartDate()||"endDate"===r&&this.isShowEndDate()||"employeeNumber"===r&&this.isShowEmployeeNumber()||"businessUnit"===r&&this.isShowBusinessUnit()||"businessLocation"===r&&this.isShowLocation()||"businessOrganization"===r&&this.isShowOrganization()||"hoursDifference"===r&&this.isShowHoursDifference()||"frequencyId"===r&&this.isShowFreqId())&&(t=!1)}),this.isShowStartDate()&&(i=this.validateDateRange()),i&&t}setupFieldsForSubmission(t){if(this.reportCriteriaRequest.reportId=+this.reportId,this.reportCriteriaRequest.fileType=t,this.reportCriteriaRequest.report=+this.reportCodeNameId,this.isShowStartDate()){let i=this.reportCriteriaForm.get("startDate").value;this.reportCriteriaRequest.startDay=i.day,this.reportCriteriaRequest.startMonth=i.month,this.reportCriteriaRequest.startYear=i.year}if(this.isShowEndDate()){let i=this.reportCriteriaForm.get("endDate").value;this.reportCriteriaRequest.endDay=i.day,this.reportCriteriaRequest.endMonth=i.month,this.reportCriteriaRequest.endYear=i.year}this.isShowEmployeeNumber()&&(this.reportCriteriaRequest.employeeNumber=this.reportCriteriaForm.get("employeeNumber").value),this.isShowOrganization()&&(this.reportCriteriaRequest.businessOrganizationId=this.reportCriteriaForm.get("businessOrganization").value),this.isShowBusinessUnit()&&(this.reportCriteriaRequest.businessUnitId=this.reportCriteriaForm.get("businessUnit").value),this.isShowLocation()&&(this.reportCriteriaRequest.businessLocationId=this.reportCriteriaForm.get("businessLocation").value),this.isShowHoursDifference()&&(this.reportCriteriaRequest.hoursDifference=this.reportCriteriaForm.get("hoursDifference").value),this.isShowFreqId()&&(this.reportCriteriaRequest.frequencyId=this.reportCriteriaForm.get("frequencyId").value)}onSubmit(t){this.fieldsValidated()&&(this.errorMsgs=[],this.setupFieldsForSubmission(t),this.isSubmit=this.isRunning=!0,this.reportService.submitReport(this.reportCriteriaRequest).subscribe(i=>{if(this.reportJobResponse=i,!this.reportJobResponse.validEmpNo)return"0"===this.reportJobResponse.errorCode?this.errorMsgs.push("report.invalidNo"):"-1"===this.reportJobResponse.errorCode&&this.errorMsgs.push("report.noaccess"),void(this.isSubmit=!1);this.getReportStatus(this.reportJobResponse.jobId)}))}getReportStatus(t){this.timeInterval=S_(5e3).pipe((0,Se.Z)(0),(0,zl.n)(()=>this.reportService.getReportStatus(t))).subscribe(i=>
1{switch(i){case p.YM.REPORT_COMPLETE:let r=this.translate.instant("label.report."+this.reportCodeNameId+".name");this.isRunning=this.isFail=!1,this.isComplete=!0,this.eventService.logEvent(p.sb.GENERATE_REPORT,p.sb.RUN_REPORT,r),window.open("/FMLAWeb/report?reportJobId="+this.reportJobResponse.jobId+"&downloadFormat="+this.reportCriteriaRequest.fileType+"&reportName="+this.reportName,"_self"),this.timeInterval.unsubscribe();break;case p.YM.REPORT_RUNNING:this.isRunning=!0,this.isComplete=this.isComplete=!1;break;case p.YM.REPORT_FAILURE:this.isFail=!0,this.isRunning=this.isComplete=!1}},i=>{console.log(i)})}isShowStartDate(){return this.translate.instant("label."+this.reportCodeNameId+".startDate")}isShowEndDate(){return this.translate.instant("label."+this.reportCodeNameId+".endDate")}isShowEmployeeNumber(){return this.translate.instant("label."+this.reportCodeNameId+".employeeNumber")}isShowBusinessUnit(){return this.translate.instant("label."+this.reportCodeNameId+".businessUnit")}isShowLocation(){return this.translate.instant("label."+this.reportCodeNameId+".location")}isShowOrganization(){return this.translate.instant("label."+this.reportCodeNameId+".organization")}isShowHoursDifference(){return this.translate.instant("label."+this.reportCodeNameId+".hoursDifference")}isShowGoBackDays(){return this.translate.instant("label."+this.reportCodeNameId+".goBackDays")}isShowReturnDays(){return this.translate.instant("label."+this.reportCodeNameId+".returnDays")}isShowFreqId(){return this.translate.instant("label."+this.reportCodeNameId+".freq_id")}reportsDate(t){switch(this.clearError(),t){case"lastWeek":var i=on().subtract(1,"weeks").startOf("week").toDate(),r=on().subtract(1,"weeks").endOf("week").toDate();this.reportCriteriaForm.get("startDate").setValue({year:i.getFullYear(),month:i.getMonth()+1,day:i.getDate()}),this.reportCriteriaForm.get("endDate").setValue({year:r.getFullYear(),month:r.getMonth()+1,day:r.getDate()});break;case"lastMonth":var u=on().subtract(1,"months").startOf("month").toDate(),v=on().subtract(1,"months").endOf("month").toDate();this.reportCriteriaForm.get("startDate").setValue({year:u.getFullYear(),month:u.getMonth()+1,day:u.getDate()}),this.reportCriteriaForm.get("endDate").setValue({year:v.getFullYear(),month:v.getMonth()+1,day:v.getDate()});break;case"lastQuarter":var V=on().month()%3+1,Ce=on().subtract({months:V}).endOf("month"),it=Ce.toDate(),At=Ce.clone().subtract({months:2}).startOf("month").toDate();this.reportCriteriaForm.get("startDate").setValue({year:At.getFullYear(),month:At.getMonth()+1,day:At.getDate()}),this.reportCriteriaForm.get("endDate").setValue({year:it.getFullYear(),month:it.getMonth()+1,day:it.getDate()})}}clearError(){this.errorMsgs=[]}onFormEnter(t){"BUTTON"!==t.target.tagName&&t.preventDefault()}ngOnDestroy(){this.timeInterval&&this.timeInterval.unsubscribe()}get f(){return this.reportCriteriaForm.controls}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(q.nX),e.rXU(ge.ok),e.rXU(M.US),e.rXU(Y.c$),e.rXU(M.GN))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-reports-criteria"]],features:[e.Jv_([{provide:G.tN,useClass:b.ls},[b.F2,{provide:G.G7,useClass:b.Y7}]])],decls:4,vars:3,consts:[["d","ngbDatepicker"],["class","plainRestyled",4,"ngIf"],["routerLink","/generateReports","class","backToReportsBtn",4,"ngIf"],["class","card card-padding",4,"ngIf"],[1,"plainRestyled"],[1,"reportsCriteriaTitle"],[1,"messageContainer"],["class","rf-msgs",4,"ngIf"],[4,"ngIf"],["id","reportCriteriaForm","name","","novalidate","novalidate",1,"behalfForm",3,"keydown.enter","formGroup"],["class","form-inline boxText smallInputContainer",4,"ngIf"],["class","rf-msgs-err",4,"ngIf"],["class","rf-msgs-err clear",4,"ngIf"],["class","form-inline boxText",4,"ngIf"],[1,"submitReportButtons"],["id","submitExcel","type","submit",3,"click","value"],["id","submitPdf","type","submit",3,"click","value"],[1,"rf-msgs"],["class","rf-msgs-err",4,"ngFor","ngForOf"],[1,"rf-msgs-err"],["id","errorMsg",1,"rf-msgs-sum"],[1,"subtitle-spacer"],["id","startDateRange"],["id","lastWeek","role","button","tabindex","0",1,"block",3,"click","keydown.enter","keydown.space"],["id","lastMonth","role","button","tabindex","0",1,"block",3,"click","keydown.enter","keydown.space"],["id","lastQuarter","role","button","tabindex","0",1,"block",3,"click","keydown.enter","keydown.space"],[1,"form-inline","boxText","smallInputContainer"],[1,"topLabel"],["for","startDate","id","startDateLabel"],["ngbDatepicker","","id","startDate","formControlName","startDate","placeholder","mm/dd/yyyy","autocomplete","off",1,"rf-cal-inp",3,"dateSelect","focus","keydown.enter","firstDayOfWeek","ngClass"],["height","31px","width","27px","alt","Calendar","id","datePickerStart",3,"click","
1src"],["id","errStartDateBlank","class","rf-msgs-sum",4,"ngIf"],["id","errStartDateBlank",1,"rf-msgs-sum"],["for","endDate","id","endDateLabel"],["ngbDatepicker","","id","endDate","formControlName","endDate","placeholder","mm/dd/yyyy","autocomplete","off",1,"rf-cal-inp",3,"dateSelect","focus","keydown.enter","firstDayOfWeek","ngClass"],["height","31px","width","27px","alt","Calendar","id","datePickerEnd",3,"click","src"],["id","errEndDateBlank","class","rf-msgs-sum",4,"ngIf"],["id","errEndDateBlank",1,"rf-msgs-sum"],["for","employeeNumber","id","employeeNumberLabel"],["id","employeeNumber","type","text","name","employeeNumber","value","0","min","0","max","24","formControlName","employeeNumber","autocomplete","off",1,"form-control",3,"ngClass"],[1,"rf-msgs-err","clear"],["id","errEmployeeNumberReq",1,"rf-msgs-sum"],[1,"form-inline","boxText"],["for","businessUnit","id","businessUnitLabel"],[1,"helpText"],["formControlName","businessUnit","id","businessUnit","role","listbox","tabindex","0",3,"ngClass"],["value","","disabled",""],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["id","errBusinessUnitReq",1,"rf-msgs-sum"],["for","businessLocation","id","locationLabel"],["formControlName","businessLocation","id","businessLocation","role","listbox","tabindex","0",3,"ngClass"],["id","errBusinessLocationReq",1,"rf-msgs-sum"],["for","businessOrganization","id","organizationLabel"],["formControlName","businessOrganization","id","businessOrganization","role","listbox","tabindex","0",3,"ngClass"],["id","errBusinessOrganizationReq",1,"rf-msgs-sum"],["id","hoursDifferenceLabel"],["id","hoursDifference","type","text","name","hoursDifference","value","0","min","0","max","999999999","maxlength","9","size","5","formControlName","hoursDifference","autocomplete","off","oninput","this.value = this.value.replace(/[^0-9]/g, '').replace(/(\\..*)\\./g, '$1');",3,"ngClass"],["id","errHoursDifferenceReq",1,"rf-msgs-sum"],["for","frequencyId","id","frequencyIdLabel"],["formControlName","frequencyId","id","frequencyId","role","listbox","tabindex","0"],["value","0",3,"selected"],["value","202"],["value","204"],["value","203"],["routerLink","/generateReports",1,"backToReportsBtn"],[1,"card","card-padding"],["id","pageTitle"],[1,"reportMsg"],["id","message1"],["id","message2"],[1,"spinner","d-flex","justify-content-center"],[3,"src","alt"],["id","downloadMsgPt1"],["target","_self","id","openReport",3,"href"],["id","orYouCanMsg"],["id","returnToReport",3,"click"],["id","orYouCanMsg1"],["routerLink","/generateReports","id","newReport"],["id","recommendPDFExcel"],["id","errorMsg",1,"error"]],template:function(i,r){1&i&&(e.j41(0,"div"),e.DNE(1,Uk,29,27,"div",1)(2,$C,3,3,"a",2),e.k0s(),e.DNE(3,GC,8,6,"div",3)),2&i&&(e.R7$(),e.Y8G("ngIf",!r.isSubmit),e.R7$(),e.Y8G("ngIf",!r.isSubmit),e.R7$(),e.Y8G("ngIf",r.isSubmit))},dependencies:[ie.YU,ie.Sq,ie.bT,q.Wk,ge.qT,ge.xH,ge.y7,ge.me,ge.wz,ge.BC,ge.cb,ge.tU,ge.j4,ge.JD,G.cw,Y.D9],styles:[".plainRestyled[_ngcontent-%COMP%]{background:#fff;padding:40px 50px;border-radius:40px;>div>a{font: 16px/20px Aptos,sans-serif!important;color:#070f36!important;text-decoration:underline;padding-bottom:10px}}.backToReportsBtn[_ngcontent-%COMP%]{width:273px;height:41px;margin-top:54px;border-radius:100px;border:1px solid #070f36;background-color:transparent;display:flex;align-items:center;justify-content:center;font: 16px/54px Aptos,sans-serif!important;color:#070f36!important}@media (max-width: 850px){.plainRestyled[_ngcontent-%COMP%]{padding:40px 25px}}@media (max-width: 768px){.backToReportsBtn[_ngcontent-%COMP%]{width:100%!important}}"]})}}return n})();class Rv{static setupFieldsForSubmission(d,t,i){if(d){t.leaveId="0",t.id="0",t.absenceReasonCodeId=i.get("absenceReason").value;const r=i.get("leaveDate").value;if(t.day=r.day,t.month=r.month,t.year=r.year,null==i.get("leaveDate").value.year){let u=new Date(i.get("leaveDate").value);t.year=u.getFullYear(),t.month=u.getMonth()+1,t.day=u.getDate()}t.override=!0,t.leaveTimeHours=i.get("hours").value,t.leaveTimeMinutes=i.get("minutes").value}}static hasNoFieldErrors(d,t,i){let r=[];return 0===Number(d.leaveTimeMinutes)&&0===Number(d.leaveTimeHours)?r.push(i.instant("label.reportTime.hoursOrMinutesBlank")):24===Number(d.leaveTimeHours)&&Number(d.leaveTimeMinutes)>0&&r.push(i.instant("label.reportTime.maximumReached")),r}validateDate(d){let t=Ec.createDate(0,-7,0),i=Ec.createDate(0,-1,1);const r=d.value;if(!(r&&r.year&&r.month&&r.day))return{missingDate:!0};let u=new Date(r.year,r.month-1,r.day);return u.getTime()<=t.getTime()?{invalidDatePast:!0}:u.getTime()>i.getTime()?{invalidDateFuture:!0}:null}validateHours(d){return Number(d.value)>24?{invalidHour24:!0}:Number(d.value)<0||!d.value&&0!==d.value?{invalidHour0:!0}:null}validateMinutes(d){return Number(d.value)>59?{invalidMinute59:!0}:Number(d.value)<0||!d.value&&0!==d.value?{invalidMinute0:!0}:null}}const um=n=>({fieldError:n}),wv=n=>({disabled:n}),HC=n=>
1({centerEmailAddress:n});function WC(n,d){if(1&n&&(e.j41(0,"span",31)(1,"span",32)(2,"span",33),e.EFF(3),e.k0s()()()),2&n){const t=e.XpG();e.R7$(3),e.JRh(t.confirmMsg)}}function qC(n,d){if(1&n&&(e.j41(0,"span",32)(1,"span",35),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n){const t=d.$implicit;e.R7$(2),e.JRh(e.bMT(3,1,t))}}function XC(n,d){if(1&n&&(e.j41(0,"span",31),e.DNE(1,qC,4,3,"span",34),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.errorMsgs)}}function zC(n,d){if(1&n&&(e.j41(0,"option",36),e.EFF(1),e.k0s()),2&n){const t=d.$implicit;e.Y8G("value",t.absenceReasonId),e.R7$(),e.SpI(" ",t.absenceReason," ")}}function KC(n,d){1&n&&(e.j41(0,"div",37)(1,"span",38),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"label.reportTime.absenceCodeMissing")," "))}function JC(n,d){if(1&n&&(e.j41(0,"div",37)(1,"span",39),e.EFF(2),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.SpI(" ",t.absenceErrorMessage," ")}}function QC(n,d){if(1&n){const t=e.RV6();e.j41(0,"img",40),e.bIt("click",function(){e.eBV(t),e.XpG();const r=e.sdS(31);return e.Njj(r.toggle())}),e.k0s()}}function ZC(n,d){if(1&n){const t=e.RV6();e.j41(0,"img",41),e.bIt("click",function(){e.eBV(t),e.XpG();const r=e.sdS(31);return e.Njj(r.toggle())}),e.k0s()}}function eM(n,d){1&n&&(e.j41(0,"span",45),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"label.reportTime.dateBlank")," "))}function kv(n,d){1&n&&(e.j41(0,"span",46),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"label.reportTime.dateInPast")," "))}function Av(n,d){1&n&&(e.j41(0,"span",47),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"label.reportTime.dateInFuture")," "))}function Ic(n,d){if(1&n&&(e.j41(0,"div",37),e.DNE(1,eM,3,3,"span",42)(2,kv,3,3,"span",43)(3,Av,3,3,"span",44),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.f.leaveDate.hasError("missingDate")),e.R7$(),e.Y8G("ngIf",t.f.leaveDate.hasError("invalidDatePast")),e.R7$(),e.Y8G("ngIf",t.f.leaveDate.hasError("invalidDateFuture"))}}function tM(n,d){1&n&&(e.j41(0,"span",51),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"label.reportTime.hours24")," "))}function nM(n,d){1&n&&(e.j41(0,"span",52),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"myAbsences.reportTime.hoursInvalid")," "))}function xv(n,d){if(1&n&&(e.j41(0,"div",48),e.DNE(1,tM,3,3,"span",49)(2,nM,3,3,"span",50),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.f.hours.hasError("invalidHour24")),e.R7$(),e.Y8G("ngIf",t.f.hours.hasError("invalidHour0"))}}function iM(n,d){1&n&&(e.j41(0,"span",55),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"label.reportTime.minutesInvalid59")," "))}function Nv(n,d){1&n&&(e.j41(0,"span",56),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"label.reportTime.minutesInvalid0")," "))}function Ov(n,d){if(1&n&&(e.j41(0,"div",37),e.DNE(1,iM,3,3,"span",53)(2,Nv,3,3,"span",54),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.f.minutes.hasError("invalidMinute59")),e.R7$(),e.Y8G("ngIf",t.f.minutes.hasError("invalidMinute0"))}}function Sp(n,d){1&n&&e.nrm(0,"span",57)}function L_(n,d){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"div",6)(2,"label",58),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.EFF(5),e.k0s(),e.j41(6,"div",6)(7,"label",58),e.EFF(8),e.nI1(9,"translate"),e.k0s(),e.EFF(10),e.k0s(),e.j41(11,"div",6)(12,"label",58),e.EFF(13),e.nI1(14,"translate"),e.k0s(),e.EFF(15),e.k0s(),e.j41(16,"div",6)(17,"label",58),e.EFF(18),e.nI1(19,"translate"),e.k0s(),e.EFF(20),e.nI1(21,"translate"),e.nI1(22,"translate"),e.k0s(),e.nrm(23,"div",59)(24,"br"),e.EFF(25),e.nI1(26,"translate"),e.nrm(27,"div",59)(28,"br"),e.j41(29,"a",60),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.resetAndRptIncidental())}),e.EFF(30),e.nI1(31,"translate"),e.k0s(),e.bVm()}if(2&n){const t=e.XpG();e.R7$(3),e.JRh(e.bMT(4,15,"incidental.employee")),e.R7$(2),e.E5c(" ",t.firstName," ",t.lastName," (",t.empNumber,") "),e.R7$(3),e.JRh(e.bMT(9,17,"incidental.absReason")),e.R7$(2),e.SpI(" ",t.absReasonDisplay," "),e.R7$(3),e.JRh(e.bMT(14,19,"incidental.date")),e.R7$(2),e.SpI(" ",t.dateDisplay," "),e.R7$(3),e.JRh(e.bMT(19,21,"incidental.length")),e.R7$(2),e.LHq(" ",t.reportTimeRequest.leaveTimeHours," ",e.bMT(21,23,"incidental.hoursDisplay")," ",t.reportTimeRequest.leaveTimeMinutes," ",e.bMT(22,25,"incidental.minDisplay")," "),e.R7$(5),e.SpI(" ",e.i5U(26,27,"incidental.disclaimer",e.eq3(32,HC,t.centerEmailAddress))," "),e.R7$(5),e.JRh(e.bMT(31,30,"incidental.reportAnother"))}}let au=(()=>{class n{constructor(t,i,r,u,v,V,Ce){this.activatedRoute=t,this.formBuilder=i,this.translateService=r,this.reportTimeService=u,this.modalService=v,this.domainConfigService=V,this.router=Ce,this.errorMsgs=[],this.isSuccess=!1,this.submitted=!1,this.isIncidentalLeave=!0}ngOnInit(){this.incidentalAbsenceCodeResponse=this.activatedRoute.snapshot.data.incidentalReasonsByAccount;let t=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO));this.firstName=t.onBehalfFirstName,this.lastName=t.onBehalfLastName,this.empNumber=t.onBehalfEmplNumber,this.reportTimeRequest=new Yt.j2,this.isSuccess=!1,this.createForm()}onSubmit(){this.isSuccess=!1,this.centerEmailAddress=this.domainConfigService.centerEmailAddress,this.confirmMsg="",this.errorMsgs=[],Rv.setupFieldsForSubmission(this.isIncidentalLeave,this.reportTimeRequest,this.incidentalAbsForm),this.errorMsgs=Rv.hasNoFieldErrors(this.reportTimeRequest,this.incidentalAbsForm,this.translateService),0===this.errorMsgs.length&&this.reportTimeService.submitReportTime(this.reportTimeRequest).subscribe(t=>
1{if(t.confirmationId>-1){this.isSuccess=!0,this.confirmMsg=this.translateService.instant("incidental.successfulSave",{value:String(t.confirmationId)});const i=this.incidentalAbsForm.get("leaveDate").value;this.dateDisplay=i.month+"/"+i.day+"/"+i.year,this.incidentalAbsenceCodeResponse.incidentalAbsencePromptList.forEach(r=>{r.absenceReasonId==this.incidentalAbsForm.get("absenceReason").value&&(this.absReasonDisplay=r.absenceReason)}),this.createForm()}else t.fspErrorKeys?this.errorMsgs=t.fspErrorKeys:t.fspWarningKeys?this.errorMsgs=t.fspWarningKeys:t.webValidationKey&&(t.webValidationKey.includes("incidental.leaveTime.leaveSaveFailure")?this.confirmMsg=this.translateService.instant("incidental.leaveTime.leaveSaveFailure"):this.errorMsgs=t.webValidationKey)})}resetAndRptIncidental(){this.isSuccess=!1,this.confirmMsg="",this.errorMsgs=[],this.backToWobIncidentalPage()}createForm(){this.incidentalAbsForm=this.formBuilder.group({absenceReason:["",ge.k0.required],leaveDate:["",this.validateDate],hours:["0",this.validateHours],minutes:["0",this.validateMinutes]})}backToWobIncidentalPage(){this.router.navigate(["workOnBehalf"],{queryParams:{incidentalAbsence:!0}})}validateDate(t){let i=Ec.createDate(0,-7,0),r=Ec.createDate(0,-1,1);const u=t.value;if(!(u&&u.year&&u.month&&u.day))return{missingDate:!0};let v=new Date(u.year,u.month-1,u.day);return v.getTime()<=i.getTime()?{invalidDatePast:!0}:v.getTime()>r.getTime()?{invalidDateFuture:!0}:null}validateHours(t){return Number(t.value)>24?{invalidHour24:!0}:Number(t.value)<0||!t.value&&0!==t.value?{invalidHour0:!0}:null}validateMinutes(t){return Number(t.value)>59?{invalidMinute59:!0}:Number(t.value)<0||!t.value&&0!==t.value?{invalidMinute0:!0}:null}isBaseDomain(){return this.domainConfigService.isBaseDomain}cleanMsg(){}get f(){return this.incidentalAbsForm.controls}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(q.nX),e.rXU(ge.ok),e.rXU(Y.c$),e.rXU(M.Vc),e.rXU(G.Bq),e.rXU(xe.K),e.rXU(q.Ix))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-report-incidental-absence"]],decls:59,vars:67,c
1onsts:[["d","ngbDatepicker"],[1,"col-lg-6","col-md-6","col-sm-6","h1Row"],["id","reportIncidentalTitle"],["id","incidentalAbsForm","name","","novalidate","novalidate",1,"behalfForm",3,"ngSubmit","keydown.enter","formGroup"],["id","reportTimeMessages",1,"messageContainer"],["class","rf-msgs",4,"ngIf"],[1,"form-inline","boxText"],["id","empName",1,"subLabel"],["for","absenceReason","id","absenceReasonLabel",1,"subLabel"],[1,"helpText"],["formControlName","absenceReason","id","absenceReason","role","listbox","tabindex","0",3,"ngClass"],["value","","disabled",""],[3,"value",4,"ngFor","ngForOf"],[1,"clearFix",2,"margin-bottom","10px"],["class","rf-msgs-err",4,"ngIf"],["for","leaveDate","id","leaveDateLabel",1,"subLabel"],["ngbDatepicker","","id","leaveDate","formControlName","leaveDate","placeholder","mm/dd/yyyy","autocomplete","off",1,"rf-cal-inp",3,"firstDayOfWeek","ngClass"],["src","./assets/baseResources/gfx/redesignIcons/calendar.svg","class","calendar-scale","alt","Calendar","id","datePicker",3,"click",4,"ngIf"],["src","./assets/baseResources/calendarIcon.png","alt","Calendar","id","datePicker",3,"click",4,"ngIf"],["for","hours","id","hoursLabel",1,"subLabel"],["id","hours","type","text","name","hours","value","0","min","0","max","24","maxlength","2","size","5","formControlName","hours","autocomplete","off","oninput","this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\\..*)\\./g, '$1');",3,"change","ngClass"],["class","rf-msgs-err","id","hoursErr",4,"ngIf"],["for","minutes","id","mintesLabel",1,"subLabel"],["id","minutes","type","text","name","minutes","value","0","min","0","max","59","maxlength","2","size","5","formControlName","minutes","autocomplete","off","oninput","this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\\..*)\\./g, '$1');",3,"change","ngClass"],["id","reportTimeForm"],[1,"reportTimeBtn"],["id","reportSubmit","type","submit",1,"submit","primaryBtn",3,"ngClass","disabled"],["class","spinner-border spinner-border-sm","role","status","aria-hidden","true",4,"ngIf"],["id","reportSubmitSpan"],["id","reportCancel","type","button",1,"submit","secondaryBtn",3,"click","ngClass","value","disabled"],[4,"ngIf"],[1,"rf-msgs"],[1,"rf-msgs-inf"],["id","confirmMsg",1,"rf-msgs-sum"],["class","rf-msgs-inf",4,"ngFor","ngForOf"],["id","errorMsg",1,"rf-msgs-err"],[3,"value"],[1,"rf-msgs-err"],["id","errAbsenceReasonReq",1,"rf-msgs-sum"],["id","errAbsenceMsg",1,"rf-msgs-sum"],["src","./assets/baseResources/gfx/redesignIcons/calendar.svg","alt","Calendar","id","datePicker",1,"calendar-scale",3,"click"],["src","./assets/baseResources/calendarIcon.png","alt","Calendar","id","datePicker",3,"click"],["id","errDateBlank","class","rf-msgs-sum",4,"ngIf"],["id","errDateInPast","class","rf-msgs-sum",4,"ngIf"],["id","errDateInFuture","class","rf-msgs-sum",4,"ngIf"],["id","errDateBlank",1,"rf-msgs-sum"],["id","errDateInPast",1,"rf-msgs-sum"],["id","errDateInFuture",1,"rf-msgs-sum"],["id","hoursErr",1,"rf-msgs-err"],["id","invalidHour24","class","rf-msgs-sum",4,"ngIf"],["id","invalidHour0","class","rf-msgs-sum",4,"ngIf"],["id","invalidHour24",1,"rf-msgs-sum"],["id","invalidHour0",1,"rf-msgs-sum"],["id","invalidMinute59","class","rf-msgs-sum",4,"ngIf"],["id","invalidMinute0","class","rf-msgs-sum",4,"ngIf"],["id","invalidMinute59",1,"rf-msgs-sum"],["id","invalidMinute0",1,"rf-msgs-sum"],["role","status","aria-hidden","true",1,"spinner-border","spinner-border-sm"],[1,"textAsLabel"],[1,"clearFix"],["role","button",3,"click"]],template:function(i,r){if(1&i){const u=e.RV6();e.j41(0,"div",1)(1,"h1",2),e.EFF(2),e.nI1(3,"translate"),e.k0s()(),e.j41(4,"form",3),e.bIt("ngSubmit",function(){return e.eBV(u),e.Njj(r.onSubmit())})("keydown.enter",function(V){return e.eBV(u),e.Njj(V.preventDefault())}),e.j41(5,"div",4),e.DNE(6,WC,4,1,"span",5)(7,XC,2,1,"span",5),e.k0s(),e.j41(8,"div",6)(9,"label",7),e.EFF(10),e.nI1(11,"translate"),e.k0s(),e.EFF(12),e.k0s(),e.j41(13,"div",6)(14,"label",8),e.EFF(15),e.nI1(16,"translate"),e.k0s(),e.j41(17,"div",9)(18,"select",10)(19,"option",11),e.EFF(20),e.nI1(21,"translate"),e.k0s(),e.DNE(22,zC,2,2,"option",12),e.k0s(),e.nrm(23,"div",13),e.k0s()(),e.DNE(24,KC,4,3,"div",14)(25,JC,3,1,"div",14),e.j41(26,"div",6)(27,"label",15),e.EFF(28),e.nI1(29,"translate"),e.k0s(),e.nrm(30,"input",16,0),e.DNE(32,QC,1,0,"img",17)(33,ZC,1,0,"img",18),e.k0s(),e.DNE(34,Ic,4,3,"div",14),e.j41(35,"div",6)(36,"label",19),e.EFF(37),e.nI1(38,"translate"),e.k0s(),e.j41(39,"input",20),e.bIt("change",function(){return e.eBV(u),e.Njj(r.cleanMsg())}),e.k0s()(),e.DNE(40,xv,3,2,"div",21),e.j41(41,"div",6)(42,"label",22),e.EFF(43),e.nI1(44,"translate"),e.k0s(),e.j41(45,"input",23),e.bIt("change",function(){return e.eBV(u),e.Njj(r.cleanMsg())}),e.k0s()(),e.DNE(46,Ov,3,2,"div",14),e.j41(47,"div",24)(48,"div",25)(49,"button",26),e.DNE(50,Sp,1,0,"span",27),e.j41(51,"span",28),e.EFF(52),e.nI1(53,"translate"),e.k0s()(),e.j41(54,"button",29),e.nI1(55,"translate"),e.bIt("click",function(){return e.eBV(u),e.Njj(r.backToWobIncidentalPage())}),e.EFF(56),e.nI1(57,"translate"),e.k0s()()(),e.DNE(58,L_,32,34,"ng-container",30),e.k0s()}2&i&&(e.R7$(2),e.SpI(" ",e.bMT(3,35,"mgr.reportIncidental")," "),e.R7$(2),e.Y8G("formGroup",r.incidentalAbsForm),e.R7$(2),e.Y8G("ngIf",r.confirmMsg),e.R7$(),e.Y8G("ngIf",r.errorMsgs.length>0),e.R7$(3),e.JRh(e.bMT(11,37,"incidental.employee")),e.R7$(2),e.E5c(" ",r.firstName," ",r.lastName," 
1(",r.empNumber,") "),e.R7$(3),e.SpI(" ",e.bMT(16,39,"myAbsences.reportTime.absenceReason")," "),e.R7$(3),e.Y8G("ngClass",e.eq3(55,um,r.f.absenceReason.touched&&r.f.absenceReason.errors&&r.f.absenceReason.errors.required||r.f.absenceReason.touched&&r.absenceErrorMessage)),e.R7$(2),e.JRh(e.bMT(21,41,"myAbsences.reportTime.pleaseSelect")),e.R7$(2),e.Y8G("ngForOf",null==r.incidentalAbsenceCodeResponse?null:r.incidentalAbsenceCodeResponse.incidentalAbsencePromptList),e.R7$(2),e.Y8G("ngIf",r.f.absenceReason.touched&&r.f.absenceReason.errors&&r.f.absenceReason.errors.required),e.R7$(),e.Y8G("ngIf",r.f.absenceReason.touched&&r.absenceErrorMessage),e.R7$(3),e.SpI(" ",e.bMT(29,43,"myAbsences.reportTime.leaveDate")," "),e.R7$(2),e.Y8G("firstDayOfWeek",7)("ngClass",e.eq3(57,um,r.f.leaveDate.touched&&r.f.leaveDate.errors)),e.R7$(2),e.Y8G("ngIf",r.isBaseDomain()),e.R7$(),e.Y8G("ngIf",!r.isBaseDomain()),e.R7$(),e.Y8G("ngIf",r.f.leaveDate.touched&&r.f.leaveDate.errors),e.R7$(3),e.JRh(e.bMT(38,45,"myAbsences.reportTime.hours")),e.R7$(2),e.Y8G("ngClass",e.eq3(59,um,r.f.hours.touched&&r.f.hours.errors)),e.R7$(),e.Y8G("ngIf",r.f.hours.touched&&r.f.hours.errors),e.R7$(3),e.JRh(e.bMT(44,47,"myAbsences.reportTime.minutes")),e.R7$(2),e.Y8G("ngClass",e.eq3(61,um,r.f.minutes.touched&&r.f.minutes.errors)),e.R7$(),e.Y8G("ngIf",r.f.minutes.touched&&r.f.minutes.errors),e.R7$(3),e.Y8G("ngClass",e.eq3(63,wv,r.submitted))("disabled",r.submitted),e.R7$(),e.Y8G("ngIf",r.submitted),e.R7$(2),e.JRh(e.bMT(53,49,"myAbsences.reportTime.submit")),e.R7$(2),e.FS9("value",e.bMT(55,51,"myAbsences.reportTime.cancelBtn")),e.Y8G("ngClass",e.eq3(65,wv,r.submitted))("disabled",r.submitted),e.R7$(2),e.SpI(" ",e.bMT(57,53,"myAbsences.reportTime.cancelBtn")," "),e.R7$(2),e.Y8G("ngIf",r.isSuccess))},dependencies:[ie.YU,ie.Sq,ie.bT,ge.qT,ge.xH,ge.y7,ge.me,ge.wz,ge.BC,ge.cb,ge.tU,ge.j4,ge.JD,G.cw,Y.D9]})}}return n})();class mo{constructor(){throw new Error("LeaveDeliveryPolicy is a static utility and cannot be instantiated.")}static isDeliveryReason(d){return d.leaveReasonId===p.YM.MATERNITY_LEAVE||d.leaveReasonId===p.YM.MATERNITY_AND_PARENTAL_LEAVE||d.leaveReasonId===p.YM.PARENTAL_LEAVE&&d.parentalLeaveTypeCodeId===p.YM.BIOLOGICAL_CHILD}static isParentalTypeUnset(d){return d.leaveReasonId===p.YM.PARENTAL_LEAVE&&null==d.parentalLeaveTypeCodeId}static hasAnticipatedUnconfirmedDate(d){return null!=d.deliveryPlacementDate&&null==d.confirmedDeliveryOrPlacementDate}static hasContinuousOrIntermittentAction(d){return(d.actions??[]).some(t=>t.frequencyCodeId===p.YM.CONTINUOUS_FREQUENCY||t.frequencyCodeId===p.YM.INTERMIITTENT_FREQUENCY)}static isOpen(d){return d.statusId!==p.YM.LEAVE_REQUEST_STATUS_CLOSED}static canUserAdjust(d){return!(!d||d.wob&&!d.userPrivilege?.allowMgrAdjustLeaveRequestOnBhfEmp)}static canConfirmDeliveryDetails(d,t){return mo.hasAnticipatedUnconfirmedDate(d)&&!mo.isParentalTypeUnset(d)&&mo.isDeliveryReason(d)&&mo.isOpen(d)&&!d.sensitiveSituation&&mo.hasContinuousOrIntermittentAction(d)&&mo.canUserAdjust(t)}}class Al{constructor(){}static canRequestExtension(d,t){return!(!0!==d?.canRequestExtension||!t||t.wob&&!t.userPrivilege?.allowMgrAdjustLeaveRequestOnBhfEmp)}static canSubmit(d,t,i){return i!==p.A$.ViewOnly&&this.canRequestExtension(d,t)}static abiTargets(d,t,i){return d?.leaveID&&null!=d.statusId&&d.statusId!==p.YM.LEAVE_REQUEST_STATUS_CLOSED&&d.statusId!==p.YM.LEAVE_REQUEST_STATUS_ARCHIVED?(d.actions??[]).flatMap(r=>r.frequencyCodeId!==p.YM.CONTINUOUS_FREQUENCY&&r.frequencyCodeId!==p.YM.REDUCED_FREQUENCY?[]:(r.decisions??[]).filter(u=>this.canSubmit(u,t,i)&&u.statusReasonIds?.includes(p.AG.END_OF_LEAVE_APPROACHING_APPROVED)&&!!r.actionId&&!!u.decisionId&&!!u.startDate&&!!u.endDate&&!!d.plannedBegin).map(u=>({leave:d,action:r,decision:u}))):[]}static selectAbiTarget(d){const t=d.filter(i=>i.targets.length>0);return!t.length||t.length>1&&t.some(i=>!Number.isFinite(i.created))||(t.sort((i,r)=>r.created-i.created),t.length>1&&t[0].created===t[1].created)?null:1===t[0].targets.length?t[0].targets[0]:null}}var Dc=I(4843);let nd=(()=>{class n{constructor(t,i,r){this.router=t,this.events=i,this.users=r}open(t){var i=this;return(0,rn.A)(function*({leave:r,action:u,decision:v}){const V=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)??"null"),Ce=yield(0,Dc._)(i.users.portalPermission$);return!!Al.canSubmit(v,V,Ce)&&(localStorage.setItem("leaveID",JSON.stringify(r.leaveID)),localStorage.setItem("endDate","null"),i.events.logEvent(p.sb.UPDATE_REQUEST_EXTENSION_LOAD,"Loading Leave Request for Extension Request","LeaveRequest# "+r.leaveID+" - "+v.decisionId),i.router.navigate(["/updateDecisionEndDate"],{state:{data:{leaveRequestId:JSON.stringify(r.leaveID),leaveRequestPlannedBegin:JSON.stringify(r.plannedBegin),decision:JSON.stringify(v),frequencyCodeId:JSON.stringify(u.frequencyCodeId),frequency:u.frequency,pageTitle:"RequestExtention",actionsList:JSON.stringify(r.actions),actionId:JSON.stringify(u.actionId)}}}))}).apply(this,arguments)}static{this.\u0275fac=function(i){return new(i||n)(e.KVO(q.Ix),e.KVO(M.US),e.KVO(M.DL))}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();class Kl{static canRequest(d,t){return!(!0!==d?.needConfirmRTW||!t||t.wob&&!t.userPrivilege?.allowMgrAdjustLeaveRequestOnBhfEmp)}static canSubmit(d,t,i){return i!==p.A$.ViewOnly&&this.canRequest(d,t)}static findEligibleTargets(d,t,i){return d?.leaveID&&d.plannedBegin?(d.actions??[]).flatMap(r=>(r.decisions??[]).filter(u=>this.canSubmit(u,t,i)&&!!u.decisionId&&!!u.endDate).map(u=>({leave:d,decision:u}))):[]}}let id=(()=>{class n{constructor(t,i,r){this.router=t,this.events=i,this.users=r}open(t){var i=this;return(0,rn.A)(function*({leave:r,decision:u}){const v=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)??"null"),V=yield(0,Dc._)(i.users.portalPermission$);return!!Kl.canSubmit(u,v,V)&&(localStorage.setItem("leaveID",JSON.stringify(r.leaveID)),localStorage.setItem("endDate",u.endD
1ate.toString()),i.events.logEvent(p.sb.UPDATE_RETURN_TO_WORK_LOAD,"Loading Leave Request for Return to Work","LeaveRequest# "+r.leaveID+" - "+u.decisionId),i.router.navigate(["/updateDecisionEndDate"],{state:{data:{leaveRequestId:JSON.stringify(r.leaveID),leaveRequestPlannedBegin:JSON.stringify(r.plannedBegin),decision:JSON.stringify(u),pageTitle:"RTW"}}}))}).apply(this,arguments)}static{this.\u0275fac=function(i){return new(i||n)(e.KVO(q.Ix),e.KVO(M.US),e.KVO(M.DL))}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();const lu=n=>({disabled:n}),cu=n=>({requestIdFilter:n});function du(n,d){if(1&n&&(e.j41(0,"h1",41)(1,"span",42),e.EFF(2),e.nI1(3,"translate"),e.j41(4,"span",43),e.EFF(5),e.k0s()()()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",e.bMT(3,4,"workingAs")," "),e.R7$(3),e.E5c(" ",t.userInfo.onBehalfFirstName," ",t.userInfo.onBehalfLastName," (",t.userInfo.onBehalfEmplNumber,") ")}}function uu(n,d){if(1&n&&(e.j41(0,"div",39),e.DNE(1,du,6,6,"h1",40),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.userInfo.wob)}}function pu(n,d){if(1&n&&(e.j41(0,"span",47),e.nrm(1,"img",48),e.j41(2,"span",49),e.EFF(3),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(3),e.JRh(t.successMessage)}}function hu(n,d){if(1&n&&(e.j41(0,"span",50),e.nrm(1,"img",51),e.j41(2,"span",52),e.EFF(3),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(3),e.JRh(t.errorMessage)}}function Fv(n,d){if(1&n&&(e.j41(0,"div",44),e.DNE(1,pu,4,1,"span",45)(2,hu,4,1,"span",46),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.successMessage),e.R7$(),e.Y8G("ngIf",t.errorMessage)}}function Lv(n,d){1&n&&(e.EFF(0),e.nI1(1,"translate")),2&n&&e.JRh(e.bMT(1,1,"submitDocument.disabledButtonToolTip"))}function Pv(n,d){if(1&n){const t=e.RV6();e.j41(0,"input",53),e.nI1(1,"translate"),e.nI1(2,"async"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.goToNotes(r.leaveRequest.leaveID))}),e.k0s()}if(2&n){const t=e.XpG();e.FS9("value",e.bMT(1,2,"notes")),e.Y8G("disabled",e.bMT(2,4,t.userService.portalPermission$)===t.PortalPermission.ViewOnly)}}function jv(n,d){if(1&n){const t=e.RV6();e.j41(0,"input",54),e.nI1(1,"translate"),e.nI1(2,"async"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.goToCaseActivities(r.leaveRequest.leaveID))}),e.k0s()}if(2&n){const t=e.XpG();e.FS9("value",e.bMT(1,2,"caseActivity.buttonName")),e.Y8G("disabled",e.bMT(2,4,t.userService.portalPermission$)===t.PortalPermission.ViewOnly)}}function Bv(n,d){if(1&n){const t=e.RV6();e.j41(0,"input",55),e.nI1(1,"translate"),e.nI1(2,"async"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.goToRequestAccommodations(r.leaveRequest.leaveID,r.leaveRequest.leaveReason))}),e.k0s()}if(2&n){const t=e.XpG();e.FS9("value",e.bMT(1,2,"rac.button")),e.Y8G("disabled",e.bMT(2,4,t.userService.portalPermission$)===t.PortalPermission.ViewOnly)}}function Yv(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",56),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",57),e.EFF(5),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.SpI("",e.bMT(3,2,"myAbsences.leaveRequestDetails.requestedBy"),":"),e.R7$(3),e.SpI(" ",t.leaveRequest.requestedByName," ")}}function $v(n,d){if(1&n&&(e.j41(0,"span",61),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" (",t.leaveRequest.patientRelationship,") ")}}function Uv(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",58),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",59),e.EFF(5),e.DNE(6,$v,2,1,"span",60),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.SpI("",e.bMT(3,3,"myAbsences.leaveRequestDetails.for"),":"),e.R7$(3),e.SpI(" ",t.leaveRequest.patientName," "),e.R7$(),e.Y8G("ngIf",t.leaveRequest.patientRelationship)}}function Gv(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",62),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span"),e.EFF(5),e.nI1(6,"date"),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.SpI("",e.bMT(3,2,"myAbsences.leaveRequestDetails.lastDate"),":"),e.R7$(3),e.SpI(" ",e.ii3(6,4,t.dateFormater.getDate(t.leaveRequest.anticipatedLastDateWorked),"MMMM d, y","",t.currntLocaleStr)," ")}}function pm(n,d){if(1&n&&(e.j41(0,"div",63)(1,"span",64),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",65),e.EFF(5),e.nI1(6,"date"),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.SpI(" ",e.bMT(3,2,"myAbsences.leaveRequestDetails.confirmedLastDateWorked"),": "),e.R7$(3),e.SpI(" ",e.ii3(6,4,t.dateFormater.getDate(t.leaveRequest.confirmedLastDateWorked),"MMMM d, y","",t.currntLocaleStr)," ")}}function Cc(n,d){1&n&&(e.j41(0,"span",69),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"myAbsences.leaveRequestDetails.nameChild"),": "))}function sM(n,d){1&n&&(e.j41(0,"span",70),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"myAbsences.leaveRequestDetails.nameMother"),": "))}function rM(n,d){if(1&n&&(e.j41(0,"div",15),e.DNE(1,Cc,3,3,"span",66)(2,
1sM,3,3,"span",67),e.j41(3,"span",68),e.EFF(4),e.k0s()()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.leaveRequest.parentalLeaveTypeCodeId==t.constant.ADOPTION||t.leaveRequest.parentalLeaveTypeCodeId==t.constant.FOSTER),e.R7$(),e.Y8G("ngIf",t.leaveRequest.parentalLeaveTypeCodeId==t.constant.BIOLOGICAL_CHILD),e.R7$(2),e.JRh(t.leaveRequest.connectedPersonName)}}function P_(n,d){1&n&&(e.j41(0,"span",76),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"myAbsences.leaveRequestDetails.antiPlacementDate"),": "))}function sd(n,d){1&n&&(e.j41(0,"span",77),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"myAbsences.leaveRequestDetails.antiDeliveryDate"),": "))}function j_(n,d){if(1&n){const t=e.RV6();e.j41(0,"input",78),e.nI1(1,"translate"),e.nI1(2,"async"),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.goToUpdateDeliveryPlacementPage("confirmDelivery"))}),e.k0s()}if(2&n){const t=e.XpG(2);e.FS9("value",e.bMT(1,2,"myAbsences.leaveRequestDetails.confirmDeliveryDetails")),e.Y8G("disabled",e.bMT(2,4,t.userService.portalPermission$)===t.PortalPermission.ViewOnly)}}function oM(n,d){if(1&n){const t=e.RV6();e.j41(0,"input",79),e.nI1(1,"translate"),e.nI1(2,"async"),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.goToUpdateDeliveryPlacementPage("confirmPlacement"))}),e.k0s()}if(2&n){const t=e.XpG(2);e.FS9("value",e.bMT(1,2,"myAbsences.leaveRequestDetails.confirmedPlacementDetails")),e.Y8G("disabled",e.bMT(2,4,t.userService.portalPermission$)===t.PortalPermission.ViewOnly)}}function B_(n,d){if(1&n&&(e.j41(0,"div")(1,"div",15),e.DNE(2,P_,3,3,"span",71)(3,sd,3,3,"span",72),e.j41(4,"span",73),e.EFF(5),e.nI1(6,"date"),e.k0s()(),e.DNE(7,j_,3,6,"input",74)(8,oM,3,6,"input",75),e.k0s()),2&n){const t=e.XpG();e.R7$(2),e.Y8G("ngIf",t.isLrPlacementReason()),e.R7$(),e.Y8G("ngIf",t.isLrDeliveryReason()),e.R7$(2),e.SpI(" ",e.ii3(6,5,t.dateFormater.getDate(t.leaveRequest.deliveryPlacementDate),"MMMM d, y","",t.currntLocaleStr)," "),e.R7$(2),e.Y8G("ngIf",t.canConfirmDeliveryDetails()),e.R7$(),e.Y8G("ngIf",t.showPlacementConfirmBtn())}}function Gk(n,d){1&n&&(e.j41(0,"span",83),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"myAbsences.leaveRequestDetails.confirmedPlacementDate"),": "))}function Vk(n,d){1&n&&(e.j41(0,"span",84),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"myAbsences.leaveRequestDetails.confirmedDeliveryDate"),": "))}function aM(n,d){if(1&n&&(e.j41(0,"div",15),e.DNE(1,Gk,3,3,"span",80)(2,Vk,3,3,"span",81),e.j41(3,"span",82),e.EFF(4),e.nI1(5,"date"),e.k0s()()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.isLrPlacementReason()),e.R7$(),e.Y8G("ngIf",t.isLrDeliveryReason()),e.R7$(2),e.SpI(" ",e.ii3(5,3,t.dateFormater.getDate(t.leaveRequest.confirmedDeliveryOrPlacementDate),"MMMM d, y","",t.currntLocaleStr)," ")}}function lM(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",85),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",86),e.EFF(5),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.SpI(" ",e.bMT(3,2,"myAbsences.leaveRequestDetails.antiDeliveryMethod"),": "),e.R7$(3),e.JRh(t.leaveRequest.anticipatedDeliveryMthd)}}function Vv(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",87),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",88),e.EFF(5),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.SpI(" ",e.bMT(3,2,"myAbsences.leaveRequestDetails.confirmedDeliveryMethod"),": "),e.R7$(3),e.JRh(t.leaveRequest.confirmedDeliveryMthd)}}function cM(n,d){if(1&n&&(e.j41(0,"div",89)(1,"span",90),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"a",91),e.EFF(5),e.nI1(6,"translate"),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.JRh(e.bMT(3,3,"myAbsences.leaveRequestDetails.viewLetters")),e.R7$(2),e.Y8G("queryParams",e.eq3(7,cu,t.leaveRequestId)),e.R7$(),e.SpI(" ",e.bMT(6,5,"myAbsences.leaveRequestDetails.viewLetterLink"),". ")}}function Jr(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",92)(1,"span",93),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"a",94),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.viewMostRecentFactSummary())}),e.EFF(5),e.nI1(6,"translate"),e.k0s()()}2&n&&(e.R7$(2),e.JRh(e.bMT(3,2,"myAbsences.leaveRequestDetails.factSummary")),e.R7$(3),e.SpI(" ",e.bMT(6,4,"myAbsences.leaveRequestDetails.clickHereLink"),". "))}function Hv(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",101),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",102),e.EFF(5),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI("",e.bMT(3,2,"myAbsences.leaveRequestDetails.HCP.name"),":"),e.R7$(3),e.JRh(t.getProviderName())}}function dM(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",103),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",104),e.EFF(5),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI("",e.bMT(3,2,"myAbsences.leaveRequestDetails.HCP.facilityName"),":"),e.R7$(3),e.JRh(t.getFacilityName())}}function uM(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",105),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",106),e.EFF(5),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI("",e.bMT(3,2,"myAbsences.leaveRequestDetails.HCP.specialty"),":"),e.R7$(3),e.SpI(" ",t.getSpecialtyName(t.leaveRequest.healthCareProvider.specialtyCode)," ")}}function Wv(n,d){1&n&&(e.j41(0,"span",107),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"yes")," "))}function pM(n,d){1&n&&(e.j41(0,"span",108),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.JRh(e.bMT(2,1,"no")))}function qv(n,d){if(1&n&&(e.qex(0),e.j41(1,"div",15)(2,"span",109),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"span",110),e.EFF(6),e.nI1(7,"mask"),e.k0s()(),e.j41(8,"div",15)(9,"span",111),e.EFF(10),e.nI1(11,"translate"),e.k0s(),e.j41(12,"span",112),e.EFF(13),e.k0s()(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(3),e.SpI("",e.bMT(4,4,"myAbsences.leaveRequestDetails.HCP.faxNum"),":"),e.R7$(3),e.SpI(" ",t.showHCPInfoForHrMgr?t.getProvidedByEmployeeText(t.faxNumber):e.i5U(7,6,t.faxNumber,"(000) 000-0000")," "),e.R7$(4),e.SpI(" ",e.bMT(11,9,"myAbsences.leaveRequestDetails.HCP.reviewHCPAttention"),": "),e.R7$(3),e.JRh(t.getFaxRecipient())}}function Xv(n,d){1&n&&(e.j41(0,"span",113),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"yes")," "))}function mu(n,d){1&n&&(e.j41(0,"span",114),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.JRh(e.bMT(2,1,"no")))}function hM(n,d){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" Ext. ",t.officePhone.substring(10)," ")}}function mM(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",115),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",116),e.EFF(5),e.nI1(6,"mask"),e.DNE(7,hM,2,1,"ng-container",29),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI("",e.bMT(3,3,"myAbsences.leaveRequestDetails.HCP.officeNum"),":"),e.R7$(3),e.SpI(" ",t.showHCPInfoForHrMgr?t.getProvidedByEmployeeText(t.officePhone):e.i5U(6,5,t.officePhone,"(000) 000-0000")," "),e.R7$(2),e.Y8G("ngIf",!t.showHCPInfoForHrMgr&&(null==t.officePhone?null:t.officePhone.length)>10)}}function zv(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",117),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",118),e.EFF(5),e.nI1(6,"mask"),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI("",e.bMT(3,2,"myAbsences.leaveRequestDetails.HCP.mobileNum"),":"),e.R7$(3),e.JRh(t.showHCPInfoForHrMgr?t.getProvidedByEmployeeText(t.mobilePhone):e.i5U(6,4,t.mobilePhone,"(000) 000-0000"))}}function fM(n,d){if(1&n&&(e.j41(0,"div",124),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",t.leaveRequest.healthCareProvider.address1," ")}}function Kv(n,d){if(1&n&&(e.j41(0,"div",125),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",t.leaveRequest.healthCareProvider.address2," ")}}function Hk(n,d){1&n&&(e.qex(0),e.EFF(1,", "),e.bVm())}function Y_(n,d){if(1&n&&(e.j41(0,"div",126),e.EFF(1),e.DNE(2,Hk,2,0,"ng-container",29),e.EFF(3),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",t.leaveRequest.healthCareProvider.city," "),e.R7$(),e.Y8G("ngIf",t.leaveRequest.healthCareProvider.city&&t.leaveRequest.healthCareProvider.stateAbbreviation),e.R7$(),e.Lme(" ",t.leaveRequest.healthCareProvider.stateAbbreviation," ",t.leaveRequest.healthCareProvider.zipCode," ")}}function $_(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",119),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div",120),e.DNE(5,fM,2,1,"div",121)(6,Kv,2,1,"div",122)(7,Y_,4,4,"div",123),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI("",e.bMT(3,4,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.HCPAddressConfirm"),": "),e.R7$(3),e.Y8G("ngIf",t.leaveRequest.healthCareProvider.address1),e.R7$(),e.Y8G("ngIf",t.leaveRequest.healthCareProvider.address2),e.R7$(),e.Y8G("ngIf",t.leaveRequest.healthCareProvider.city||t.leaveRequest.healthCareProvider.stateAbbreviation||t.leaveRequest.healthCareProvider.zipCode)}}function U_(n,d){if(1&n){const t=e.RV6();e.j41(0,"input",127),e.nI1(1,"translate"),e.nI1(2,"async"),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.goToUpdateHCP())}),e.k0s()}if(2&n){const t=e.XpG(2);e.FS9("value",e.bMT(1,2,"myAbsences.leaveRequestDetails.HCP.updateHcpButton")),e.Y8G("disabled",e.bMT(2,4,t.userService.portalPermission$)===t.PortalPermission.ViewOnly)}}function G_(n,d){if(1&n&&(e.j41(0,"div",15)(1,"h1",95),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.DNE(4,Hv,6,4,"div",26)(5,dM,6,4,"div",26)(6,uM,6,4,"div",26),e.j41(7,"div",15)(8,"span",96
1),e.EFF(9),e.nI1(10,"translate"),e.k0s(),e.DNE(11,Wv,3,3,"span",97)(12,pM,3,3,"ng-template",null,2,e.C5r),e.k0s(),e.DNE(14,qv,14,11,"ng-container",29),e.j41(15,"div",15)(16,"span",98),e.EFF(17),e.nI1(18,"translate"),e.k0s(),e.DNE(19,Xv,3,3,"span",99)(20,mu,3,3,"ng-template",null,2,e.C5r),e.k0s(),e.DNE(22,mM,8,8,"div",26)(23,zv,7,7,"div",26)(24,$_,8,6,"div",26)(25,U_,3,6,"input",100),e.nrm(26,"div",32),e.k0s()),2&n){const t=e.sdS(13),i=e.XpG();e.R7$(2),e.JRh(e.bMT(3,15,"myAbsences.leaveRequestDetails.HCP.title")),e.R7$(2),e.Y8G("ngIf",i.showHcpName()),e.R7$(),e.Y8G("ngIf",i.leaveRequest.healthCareProvider.facilityName),e.R7$(),e.Y8G("ngIf",i.leaveRequest.healthCareProvider.specialtyCode&&i.getSpecialtyName(i.leaveRequest.healthCareProvider.specialtyCode)),e.R7$(3),e.JRh(e.bMT(10,17,"myAbsences.leaveRequestDetails.HCP.faxToHCP")),e.R7$(2),e.Y8G("ngIf",i.leaveRequest.healthCareProvider.faxToHcp)("ngIfElse",t),e.R7$(3),e.Y8G("ngIf",i.leaveRequest.healthCareProvider.faxToHcp),e.R7$(3),e.SpI(" ",e.bMT(18,19,"myAbsences.leaveRequestDetails.HCP.formsReturnedSectionConfirm"),": "),e.R7$(2),e.Y8G("ngIf",i.leaveRequest.healthCareProvider.allowOutreach)("ngIfElse",t),e.R7$(3),e.Y8G("ngIf",i.officePhone),e.R7$(),e.Y8G("ngIf",i.mobilePhone),e.R7$(),e.Y8G("ngIf",i.leaveRequest.healthCareProvider.address1||i.leaveRequest.healthCareProvider.address2||i.leaveRequest.healthCareProvider.city||i.leaveRequest.healthCareProvider.stateAbbreviation||i.leaveRequest.healthCareProvider.zipCode),e.R7$(),e.Y8G("ngIf",i.leaveRequest.leaveRequestRequiresMedcert&&i.userInfo.userPrivilege.allowLoggedUserUpdateHCPInfo)}}function hl(n,d){1&n&&(e.j41(0,"span",134),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"yes")," "))}function _M(n,d){1&n&&(e.j41(0,"span",135),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.JRh(e.bMT(2,1,"no")))}function Jv(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",136),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",137),e.EFF(5),e.k0s()()),2&n){const t=e.XpG().$implicit;e.R7$(2),e.SpI(" ",e.bMT(3,2,"myAbsences.leaveRequestDetails.action.intermittentInfo"),": "),e.R7$(3),e.JRh(t.letterText)}}function xl(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",138),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",137),e.EFF(5),e.k0s()()),2&n){const t=e.XpG().$implicit;e.R7$(2),e.SpI(" ",e.bMT(3,2,"myAbsences.leaveRequestDetails.action.reducedInfo"),": "),e.R7$(3),e.JRh(t.letterText)}}function ml(n,d){if(1&n){const t=e.RV6();e.j41(0,"input",139),e.nI1(1,"translate"),e.nI1(2,"async"),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.goToReportTime(r.leaveRequest.leaveID))}),e.k0s()}if(2&n){const t=e.XpG(2);e.FS9("value",e.bMT(1,2,"myAbsences.leaveRequestDetails.action.reportTime")),e.Y8G("disabled",e.bMT(2,4,t.userService.portalPermission$)===t.PortalPermission.ViewOnly)}}function fl(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",147),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",148),e.EFF(5),e.k0s()()),2&n){const t=e.XpG(2).$implicit,i=e.XpG(2);e.R7$(2),e.SpI(" ",e.bMT(3,2,"myAbsences.leaveRequestDetails.decision.leavePlans"),": "),e.R7$(3),e.JRh(i.formatLeavePlans(t.planText))}}function Qv(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",149),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",150),e.EFF(5),e.nI1(6,"date"),e.k0s()()),2&n){const t=e.XpG(2).$implicit,i=e.XpG(2);e.R7$(2),e.SpI(" ",e.bMT(3,2,"myAbsences.leaveRequestDetails.decision.certReceived"),": "),e.R7$(3),e.JRh(e.ii3(6,4,t.certReceivedDate,"MMMM d, y","",i.currntLocaleStr))}}function Zv(n,d){1&n&&(e.j41(0,"span",154),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"myAbsences.leaveRequestDetails.decision.typeOfLeave.maternity")," "))}function gM(n,d){1&n&&(e.EFF(0),e.nI1(1,"translate")),2&n&&e.SpI(" ",e.bMT(1,1,"myAbsences.leaveRequestDetails.decision.typeOfLeave.parentalBonding")," ")}function bM(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",151),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.DNE(4,Zv,3,3,"span",152)(5,gM,2,3,"ng-template",153,3,e.C5r),e.k0s()),2&n){const t=e.sdS(6),i=e.XpG(2).$implicit;e.R7$(2),e.SpI(" ",e.bMT(3,3,"myAbsences.leaveRequestDetails.decision.typeOfLeave"),": "),e.R7$(2),e.Y8G("ngIf",i.maternityInd)("ngIfElse",t)}}function vM(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",155),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",156),e.EFF(5),e.k0s()()),2&n){const t=e.XpG(2).$implicit;e.R7$(2),e.SpI(" ",e.bMT(3,2,"myAbsences.leaveRequestDetails.decision.decisionReason"),": "),e.R7$(3),e.JRh(t.reason)}}function yM(n,d){if(1&n&&(e.j41(0,"div",157)(1,"div",158),e.nrm(2,"img",159),e.nI1(3,"translate"),e.j41(4,"div",160),e.EFF(5),e.nI1(6,"translate"),e.k0s()()()),2&n){const t=e.XpG(4);e.R7$(2),e.Mz_("src","",t.domainResourcePath,"/info_icon.png",e.B4B),e.FS9("alt",e.bMT(3,4,"eligibilityVerification.disclaimerIconAltText")),e.R7$(3),e.SpI(" ",e.bMT(6,6,"eligibilityVerification.disclaimer"),"")}}function V_(n,d){if(1&n&&(e.qex(0),e.j41(1,"div",15)(2,"span",161),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"span"),e.EFF(6),e.nI1(7,"date"),e.k0s()(),e.bVm()),2&n){const t=e.XpG(2).$implicit,i=e.XpG(2);e.R7$(3),e.SpI(" ",e.bMT(4,2,"myAbsences.leaveRequestDetails.decision.confirmedReturnToWorkDate"),": "),e.R7$(3),e.SpI(" ",e.ii3(7,4,i.dateFormater.getDate(t.confirmedReturnToWorkDate),"MMMM d, y","",i.currntLocaleStr)," ")}}function Rp(n,d){if(1&n&&(e.qex(0),e.j41(1,"div",15)(2,"span",161),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"span"),e.EFF(6),e.nI1(7,"date"),e.k0s()(),e.bVm()),2&n){const t=e.XpG(2).$implicit,i=e.XpG(2);e.R7$(3),e.SpI(" ",e.bMT(4,2,"myAbsences.leaveRequestDetails.decision.rtwCertificationReceivedOn"),": "),e.R7$(3),e.SpI(" ",e.ii3(7,4,i.dateFormater.getDate(t.rtwCertificationReceivedOn),"MMMM d, y","",i.currntLocaleStr)," ")}}function EM(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",162),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",163),e.EFF(5),e.nI1(6,"date"),e.k0s()()),2&n){const t=e.XpG(2).$implicit,i=e.XpG(2);e.R7$(2),e.SpI(" ",e.bMT(3,2,"myAbsences.leaveRequestDetails.decision.dueDate"),": "),e.R7$(3),e.SpI(" ",e.ii3(6,4,i.dateFormater.getDate(t.certDueDate),"MMMM d, y","",i.currntLocaleStr)," ")}}function ey(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",164),e.nrm(2,"img",165),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"span",166),e.EFF(6),e.k0s()()),2&n){const t=e.XpG(2).$implicit;e.R7$(3),e.SpI(" ",e.bMT(4,2,"myAbsences.leaveRequestDetails.decision.actionDetail
1s"),": "),e.R7$(3),e.JRh(t.employeeActionRequiredDetails)}}function TM(n,d){if(1&n){const t=e.RV6();e.j41(0,"input",167),e.nI1(1,"translate"),e.nI1(2,"async"),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2).$implicit,u=e.XpG(2);return e.Njj(u.returnToWork(r))}),e.k0s()}if(2&n){const t=e.XpG(4);e.FS9("value",e.bMT(1,2,"myAbsences.leaveRequestDetails.decision.returnToWork")),e.Y8G("disabled",e.bMT(2,4,t.userService.portalPermission$)===t.PortalPermission.ViewOnly)}}function IM(n,d){if(1&n){const t=e.RV6();e.j41(0,"input",168),e.nI1(1,"translate"),e.nI1(2,"async"),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2).$implicit,u=e.XpG().$implicit,v=e.XpG();return e.Njj(v.requestExt(r,u))}),e.k0s()}if(2&n){const t=e.XpG(4);e.FS9("value",e.bMT(1,2,"myAbsences.leaveRequestDetails.decision.requestExtension")),e.Y8G("disabled",e.bMT(2,4,t.userService.portalPermission$)===t.PortalPermission.ViewOnly)}}function ty(n,d){if(1&n){const t=e.RV6();e.j41(0,"input",169),e.nI1(1,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2).$implicit,u=e.XpG().$implicit,v=e.XpG();return e.Njj(v.submitDecision(r,u.actionId))}),e.k0s()}2&n&&e.FS9("value",e.bMT(1,1,"myAbsences.leaveRequestDetails.decision.submitDecision"))}function ny(n,d){if(1&n&&(e.qex(0,141),e.j41(1,"h4",142),e.EFF(2),e.nI1(3,"translate"),e.nI1(4,"date"),e.nI1(5,"date"),e.k0s(),e.DNE(6,fl,6,4,"div",26)(7,Qv,7,9,"div",26)(8,bM,7,5,"div",26)(9,vM,6,4,"div",26)(10,yM,7,8,"div",143)(11,V_,8,9,"ng-container",29)(12,Rp,8,9,"ng-container",29)(13,EM,7,9,"div",26)(14,ey,7,4,"div",26),e.j41(15,"div",15),e.DNE(16,TM,3,6,"input",144)(17,IM,3,6,"input",145)(18,ty,2,3,"input",146),e.nI1(19,"async"),e.k0s(),e.bVm()),2&n){const t=e.XpG().$implicit,i=e.XpG().$implicit,r=e.XpG();e.R7$(2),e.LHq(" ",e.bMT(3,16,"decision.title")," (",t.decisionText,": ",e.ii3(4,18,r.dateFormater.getDate(t.startDate),"MMMM d, y","",r.currntLocaleStr)," - ",e.ii3(5,23,r.dateFormater.getDate(t.endDate),"MMMM d, y","",r.currntLocaleStr),") "),e.R7$(4),e.Y8G("ngIf",t.planText&&!(t.statusId==r.constant.FSP_DECISION_STATUS_REQUESTED&&t.reasonPendingReviewOnly)),e.R7$(),e.Y8G("ngIf",t.certReceivedDate),e.R7$(),e.Y8G("ngIf",r.leaveRequest.leaveReasonId===r.constant.MATERNITY_AND_PARENTAL_LEAVE_REASON_ID&&null!==t.maternityInd),e.R7$(),e.Y8G("ngIf",t.reason),e.R7$(),e.Y8G("ngIf",r.showDisclaimer(t)),e.R7$(),e.Y8G("ngIf",r.displayConfirmedRtwField(i,t)),e.R7$(),e.Y8G("ngIf",r.displayRtwFields(r.accountHasRtwProduct,i,t)),e.R7$(),e.Y8G("ngIf",t.certDueDate),e.R7$(),e.Y8G("ngIf",t.employeeActionRequiredDetails),e.R7$(2),e.Y8G("ngIf",r.returnToWorkPolicy.canRequest(t,r.userInfo)),e.R7$(),e.Y8G("ngIf",r.extensionPolicy.canRequestExtension(t,r.userInfo)),e.R7$(),e.Y8G("ngIf",r.canSubmitDecision(t)&&null===e.bMT(19,28,r.userService.portalPermission$))}}function hm(n,d){if(1&n&&(e.qex(0),e.DNE(1,ny,20,30,"ng-container",140),e.bVm()),2&n){const t=d.$implicit;e.R7$(),e.Y8G("ngIf",!t.overlapping)}}function DM(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",174),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",175),e.EFF(5),e.k0s()()),2&n){const t=e.XpG(2).$implicit,i=e.XpG(2);e.R7$(2),e.SpI(" ",e.bMT(3,2,"myAbsences.leaveRequestDetails.decision.leavePlans"),": "),e.R7$(3),e.JRh(i.formatLeavePlans(t.planText))}}function iy(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",176),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",177),e.EFF(5),e.nI1(6,"date"),e.k0s()()),2&n){const t=e.XpG(2).$implicit,i=e.XpG(2);e.R7$(2),e.SpI(" ",e.bMT(3,2,"myAbsences.leaveRequestDetails.decision.certReceived"),": "),e.R7$(3),e.SpI(" ",e.ii3(6,4,i.dateFormater.getDate(t.certReceivedDate),"MMMM d, y","",i.currntLocaleStr)," ")}}function CM(n,d){1&n&&(e.j41(0,"span",181),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"myAbsences.leaveRequestDetails.decision.typeOfLeave.maternity")," "))}function MM(n,d){1&n&&(e.EFF(0),e.nI1(1,"translate")),2&n&&e.SpI(" ",e.bMT(1,1,"myAbsences.leaveRequestDetails.decision.typeOfLeave.parentalBonding")," ")}function SM(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",178),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.DNE(4,CM,3,3,"span",179)(5,MM,2,3,"ng-template",180,3,e.C5r),e.k0s()),2&n){const t=e.sdS(6),i=e.XpG(2).$implicit;e.R7$(2),e.SpI(" ",e.bMT(3,3,"myAbsences.leaveRequestDetails.decision.typeOfLeave"),": "),e.R7$(2),e.Y8G("ngIf",i.maternityInd)("ngIfElse",t)}}function RM(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",182),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",183),e.EFF(5),e.k0s()()),2&n){const t=e.XpG(2).$implicit;e.R7$(2),e.SpI(" ",e.bMT(3,2,"myAbsences.leaveRequestDetails.decision.decisionReason"),": "),e.R7$(3),e.JRh(t.reason)}}function wM(n,d){if(1&n&&(e.qex(0),e.j41(1,"div",15)(2,"span",161),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"span"),e.EFF(6),e.nI1(7,"date"),e.k0s()(),e.bVm()),2&n){const t=e.XpG(2).$implicit,i=e.XpG(2);e.R7$(3),e.SpI(" ",e.bMT(4,2,"myAbsences.leaveRequestDetails.decision.confirmedReturnToWorkDate"),": "),e.R7$(3),e.SpI(" ",e.ii3(7,4,i.dateFormater.getDate(t.confirmedReturnToWorkDate),"MMMM d, y","",i.currntLocaleStr)," ")}}function kM(n,d){if(1&n&&(e.qex(0),e.j41(1,"div",15)(2,"span",161),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"span"),e.EFF(6),e.nI1(7,"date"),e.k0s()(),e.bVm()),2&n){const t=e.XpG(2).$implicit,i=e.XpG(2);e.R7$(3),e.SpI(" ",e.bMT(4,2,"myAbsences.leaveRequestDetails.decision.rtwCertificationReceivedOn"),": "),e.R7$(3),e.SpI(" ",e.ii3(7,4,i.dateFormater.getDate(t.rtwCertificationReceivedOn),"MMMM d, y","",i.currntLocaleStr)," ")}}function AM(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",184),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",185),e.EFF(5),e.nI1(6,"date"),e.k0s()()),2&n){const t=e.XpG(2).$implicit,i=e.XpG(2);e.R7$(2),e.SpI(" ",e.bMT(3,2,"myAbsences.leaveRequestDetails.decision.dueDate"),": "),e.R7$(3),e.SpI(" ",e.ii3(6,4,i.dateFormater.getDate(t.certDueDate),"MMMM d, y","",i.currntLocaleStr)," ")}}function xM(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",186),e.nrm(2,"img",165),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"span",187),e.EFF(6),e.k0s()()),2&n){const t=e.XpG(2).$implicit;e.R7$(3),e.SpI(" ",e.bMT(4,2,"myAbsences.leaveRequestDetails.decision.actionDetail
1s"),": "),e.R7$(3),e.JRh(t.employeeActionRequiredDetails)}}function NM(n,d){if(1&n){const t=e.RV6();e.j41(0,"input",188),e.nI1(1,"translate"),e.nI1(2,"async"),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2).$implicit,u=e.XpG().$implicit,v=e.XpG();return e.Njj(v.requestExt(r,u))}),e.k0s()}if(2&n){const t=e.XpG(4);e.FS9("value",e.bMT(1,2,"myAbsences.leaveRequestDetails.decision.requestExtension")),e.Y8G("disabled",e.bMT(2,4,t.userService.portalPermission$)===t.PortalPermission.ViewOnly)}}function OM(n,d){if(1&n&&(e.j41(0,"div",171)(1,"h4",172),e.EFF(2),e.nI1(3,"translate"),e.nI1(4,"date"),e.nI1(5,"date"),e.k0s(),e.DNE(6,DM,6,4,"div",26)(7,iy,7,9,"div",26)(8,SM,7,5,"div",26)(9,RM,6,4,"div",26)(10,wM,8,9,"ng-container",29)(11,kM,8,9,"ng-container",29)(12,AM,7,9,"div",26)(13,xM,7,4,"div",26),e.j41(14,"div",15),e.DNE(15,NM,3,6,"input",173),e.k0s()()),2&n){const t=e.XpG().$implicit,i=e.XpG().$implicit,r=e.XpG();e.R7$(2),e.LHq(" ",e.bMT(3,13,"decision.title")," (",t.decisionText,": ",e.ii3(4,15,r.dateFormater.getDate(t.startDate),"MMMM d, y","",r.currntLocaleStr)," - ",e.ii3(5,20,r.dateFormater.getDate(t.endDate),"MMMM d, y","",r.currntLocaleStr),") "),e.R7$(4),e.Y8G("ngIf",t.planText&&!(t.statusId==r.constant.FSP_DECISION_STATUS_REQUESTED&&t.reasonPendingReviewOnly)),e.R7$(),e.Y8G("ngIf",t.certReceivedDate),e.R7$(),e.Y8G("ngIf",r.leaveRequest.leaveReasonId===r.constant.MATERNITY_AND_PARENTAL_LEAVE_REASON_ID&&null!==t.maternityInd),e.R7$(),e.Y8G("ngIf",t.reason),e.R7$(),e.Y8G("ngIf",r.displayConfirmedRtwField(i,t)),e.R7$(),e.Y8G("ngIf",r.displayRtwFields(r.accountHasRtwProduct,i,t)),e.R7$(),e.Y8G("ngIf",t.certDueDate),e.R7$(),e.Y8G("ngIf",t.employeeActionRequiredDetails),e.R7$(2),e.Y8G("ngIf",r.extensionPolicy.canRequestExtension(t,r.userInfo))}}function FM(n,d){if(1&n&&(e.qex(0),e.DNE(1,OM,16,25,"div",170),e.nrm(2,"div",32),e.bVm()),2&n){const t=d.$implicit;e.R7$(),e.Y8G("ngIf",t.overlapping)}}function H_(n,d){1&n&&(e.j41(0,"div",189)(1,"span",190),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"a",191),e.EFF(5),e.nI1(6,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,2,"myAbsences.leaveRequestDetails.deniedDecisionsViewLetter")," "),e.R7$(3),e.SpI(" ",e.bMT(6,4,"myAbsences.leaveRequestDetails.viewLetterLink"),". "))}function LM(n,d){if(1&n&&(e.qex(0),e.j41(1,"h1",128),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div",15)(5,"span",129),e.EFF(6),e.nI1(7,"translate"),e.k0s(),e.DNE(8,hl,3,3,"span",130)(9,_M,3,3,"ng-template",null,2,e.C5r),e.k0s(),e.DNE(11,Jv,6,4,"div",26)(12,xl,6,4,"div",26),e.nrm(13,"div",32),e.DNE(14,ml,3,6,"input",131),e.nrm(15,"div",32),e.j41(16,"div",132),e.DNE(17,hm,2,1,"ng-container",36)(18,FM,3,1,"ng-container",36)(19,H_,7,6,"div",133),e.k0s(),e.bVm()),2&n){const t=d.$implicit,i=e.sdS(10),r=e.XpG();e.R7$(2),e.Lme(" ",e.bMT(3,11,"myAbsences.leaveRequestDetails.action.frequency"),": ",t.frequency," "),e.R7$(4),e.SpI(" ",e.bMT(7,13,"myAbsences.leaveRequestDetails.action.certRequired"),": "),e.R7$(2),e.Y8G("ngIf",t.certificationRequired)("ngIfElse",i),e.R7$(3),e.Y8G("ngIf",t.letterText&&t.frequencyCodeId==r.constant.FREQUENCY_CODE_ID_INTERMITTENT),e.R7$(),e.Y8G("ngIf",t.letterText&&t.frequencyCodeId==r.constant.FREQUENCY_CODE_ID_REDUCED),e.R7$(2),e.Y8G("ngIf",t.frequencyCodeId==r.constant.FREQUENCY_CODE_ID_INTERMITTENT&&r.userInfo.userPrivilege.dispReportTime&&!r.isClosedMoreThan90dayAgo()&&!r.isCancelledOrErrorStatus()),e.R7$(3),e.Y8G("ngForOf",t.decisions),e.R7$(),e.Y8G("ngForOf",t.decisions),e.R7$(),e.Y8G("ngIf",r.hasLatter&&t.overlappingDecision)}}let W_=(()=>{class n{constructor(t,i,r,u,v,V,Ce,it){this.activatedRoute=t,this.router=i,this.eventService=r,this.translate=u,this.domainConfigService=v,this.userService=V,this.extensionNavigation=Ce,this.returnToWorkNavigation=it,this.specialtiesMap=new Map,this.denialReasonsMap=new Map,this.cancelReasonsMap=new Map,this.leaveStatusMap=new Map,this.constant=p.YM,this.dateFormater=ho,this.PortalPermission=p.A$,this.extensionPolicy=Al,this.returnToWorkPolicy=Kl}ngOnInit(){this.leaveRequest=this.activatedRoute.snapshot.data.leaveDetails,this.viewLetters=this.activatedRoute.snapshot.data.viewLetters,this.hasLatter=this.activatedRoute.snapshot.data.hasLatter,this.accountHasRtwProduct=this.activatedRoute.snapshot.data.accountHasRtwProduct,this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)),this.hasAdaFactSummaryDoc=!(!this.userInfo.wob||!this.userInfo.userPrivilege.allowViewFactSummary)&&this.setHasAdaFactSummaryDoc(),this.activatedRoute.queryParams.subscribe(t=>{this.leaveRequestId=Number(t.leaveID)}),this.disableSubmitDocumentationButton=!(!this.userInfo.wob||!this.userInfo.webEmployerContact||this.userInfo.userPrivilege.allowMgrSubmitDocumentationOnBhfEmp),this.setupMaps(),this.showRequestCoachingButtonForLeaveReq(),this.currentLocale=this.userInfo.localeId,this.currntLocaleStr=0==this.userInfo.localeId?"en-US":"es-US",this.domainResourcePath=se.z.getBaseResourcePath(),this.officePhone=this.getPhoneByType(p.YM.WORK_PHONE_TYPE),this.mobilePhone=this.getPhoneByType(p.YM.MOBILE_PHONE_TYPE),this.faxNumber=this.getPhoneByType(p.YM.FAX_PHONE_TYPE),this.showHCPInfoForHrMgr=this.userInfo.wob&&this.userInfo.userPrivilege.allowLoggedUserViewHCPInfo,this.showLetters=this.hasLatter&&(this.userInfo.userPrivilege.superUser||this.userInfo.wob&&this.userInfo.webEmployerContact&&this.userInfo.userPrivilege.allowLoggedUserViewLetterAttachments),sessionStorage.getItem(p.YM.CONFIRMATION_MSG_SUCCESS)?this.successMessage=sessionStorage.getItem(p.YM.CONFIRMATION_MSG_SUCCESS):sessionStorage.getItem(p.YM.CONFIRMATION_MSG_FAILURE)&&(this.errorMessage=sessionStorage.getItem(p.YM.CONFIRMATION_MSG_FAILURE)),sessionStorage.removeItem(p.YM.CONFIRMATION_MSG_SUCCESS),sessionStorage.removeItem(p.YM.CONFIRMATION_MSG_FAILURE),this.eventService.logEvent(p.sb.VIEW_LEAVE_REQUEST_DETAILS,"Viewing leave request details",this.leaveRequest.leaveID.toString())}setupMaps(){const t=[p.AG.CANNOT_BE_REASONABLY_ACCOMMODATED,p.AG.EMPLOYEE_CANNOT_PERFORM_ESSENTIAL_JOB_FUNCTIONS,p.AG.EMPLOYEE_DOES_NOT_ENGAGE_IN_INTERACTIVE_PROCESS_IN_GOOD_FAITH,p.AG.LENGTH_IS_INDEFINITE,p.AG.UNDUE_HARDSHIP],i=[p.AG.DECISION_CANNOT_BE_MADE_AT_THIS_TIME,p.AG.ACCOMMODATION_NOT_NEEDED],r=[p.YM.FSP_DECISION_STATUS_REQUESTED,p.YM.FSP_DECISION_STATUS_APPROVED,p.YM.FSP_DECISION_STATUS_CANCELLED,p.YM.FSP_DECISION_STATUS_DENIED];
1this.codeMap=new Map(Object.entries(this.activatedRoute.snapshot.data.leaveCodeMap)),this.specialtiesMap=new Map(Object.entries(this.codeMap.get("lrHCPSpecialtyMap"))),this.denialReasonsMap=new Map(Object.entries(t.reduce((v,V)=>({...v,[V]:this.codeMap.get("DecisionReasonDeniedMap")[V]}),{}))),this.cancelReasonsMap=new Map(Object.entries(i.reduce((v,V)=>({...v,[V]:this.codeMap.get("DecisionReasonCancelledMap")[V]}),{}))),this.leaveStatusMap=new Map(Object.entries(r.reduce((v,V)=>({...v,[V]:this.codeMap.get("LeaveDecisionStatusMap")[V]}),{})))}emptyParentalType(){return mo.isParentalTypeUnset(this.leaveRequest)}showAnticipatedPlacementDeliveryDate(){return mo.hasAnticipatedUnconfirmedDate(this.leaveRequest)}showAnticipatedLastDateWorked(){return!(!this.containsContinuousAction()||null==this.leaveRequest.anticipatedLastDateWorked||null!=this.leaveRequest.confirmedLastDateWorked)}isClosedMoreThan90dayAgo(){const t=on().subtract(90,"days").toDate();return this.leaveRequest.statusId===this.constant.LEAVE_REQUEST_STATUS_CLOSED&&this.leaveRequest.statusCreatedOn<t}isCancelledOrErrorStatus(){return this.leaveRequest.statusId==this.constant.LEAVE_REQUEST_STATUS_CANCELLED||this.leaveRequest.statusId==this.constant.LEAVE_REQUEST_STATUS_ERROR}showConfirmedLastDateWorked(){return!(!this.containsContinuousAction()||null==this.leaveRequest.confirmedLastDateWorked)}isLrPlacementReason(){return this.leaveRequest.leaveReasonId===p.YM.PARENTAL_LEAVE&&(this.leaveRequest.parentalLeaveTypeCodeId==p.YM.ADOPTION||this.leaveRequest.parentalLeaveTypeCodeId==p.YM.FOSTER)}isLrDeliveryReason(){return mo.isDeliveryReason(this.leaveRequest)}canConfirmDeliveryDetails(){return mo.canConfirmDeliveryDetails(this.leaveRequest,this.userInfo)}showPlacementConfirmBtn(){return this.isLrPlacementReason()&&this.isLROpen()&&!this.leaveRequest.sensitiveSituation&&this.isLRhasContiniousOrIntermittentAction()&&mo.canUserAdjust(this.userInfo)}showAnticipatedDeliveryMethod(){return!(!this.leaveRequest.anticipatedDeliveryMthd||this.leaveRequest.confirmedDeliveryMthd||this.userInfo.wob||this.leaveRequest.leaveReasonId!==p.YM.MATERNITY_LEAVE&&this.leaveRequest.leaveReasonId!=p.YM.MATERNITY_AND_PARENTAL_LEAVE)}showHcpName(){if(this.leaveRequest.healthCareProvider){const t=this.leaveRequest.healthCareProvider;if(t.hcpFirstName||t.hcpLastName)return!0}return!1}showConfirmedDeliveryMethod(){return!(!this.leaveRequest.confirmedDeliveryMthd||this.userInfo.wob||this.leaveRequest.leaveReasonId!==p.YM.MATERNITY_LEAVE&&this.leaveRequest.leaveReasonId!==p.YM.MATERNITY_AND_PARENTAL_LEAVE)}isLROpen(){return mo.isOpen(this.leaveRequest)}isLRhasContiniousOrIntermittentAction(){return mo.hasContinuousOrIntermittentAction(this.leaveRequest)}containsContinuousAction(){for(const t of this.leaveRequest.actions)if(t.frequencyCodeId===p.YM.CONTINUOUS_FREQUENCY)return!0;return!1}getProviderName(){const t=this.leaveRequest.healthCareProvider,i=t.hcpFirstName?t.hcpFirstName.trim():"",r=t.hcpLastName?t.hcpLastName.trim():"";let u=i||r?i+" "+r:null;return this.showHCPInfoForHrMgr&&(u=this.getProvidedByEmployeeText(u)),u}getFacilityName(){let t=this.leaveRequest.healthCareProvider.facilityName;return this.showHCPInfoForHrMgr&&(t=this.getProvidedByEmployeeText(t)),t}getProvidedByEmployeeText(t){return this.translate.instant(t?"providedByEmployee":"notProvidedByEmployee")}getSpecialtyName(t){if(t){const i=this.specialtiesMap.get(String(t));if(i){let r=0==this.currentLocale?i.displayValueEng:i.displayValueEsp;return this.showHCPInfoForHrMgr&&(r=this.getProvidedByEmployeeText(r)),r}}return null}getPhoneByType(t){let i="";if(this.leaveRequest.healthCareProvider&&this.leaveRequest.healthCareProvider.phones)for(const r of this.leaveRequest.healthCareProvider.phones)r.phoneTypeId===t&&r.phoneNumber&&(i=r.areaCode+r.phoneNumber+(r.extension?r.extension:""));return i}getFaxRecipient(){const t=this.leaveRequest.healthCareProvider;let i=t.attention?t.attention:this.getProviderName()?this.getProviderName():this.leaveRequest.healthCareProvider.facilityName;return this.showHCPInfoForHrMgr&&(i=this.getProvidedByEmployeeText(i)),i}formatLeavePlans(t){return(t?t.split("\n").join(", "):null)??"&nbsp;"}showRequestCoachingButtonForLeaveReq(){this.enableRequestAccommodationsCoachingButton=!1,this.leaveRequest.leaveID==this.leaveRequestId&&this.leaveRequest.actions.forEach(t=>{t.decisions.forEach(i=>
1{i.planTypeIds.includes(p.YM.ADA_PLAN_TYPE)&&(this.enableRequestAccommodationsCoachingButton=!0)})})}returnToWork(t){return this.returnToWorkNavigation.open({leave:this.leaveRequest,decision:t})}requestExt(t,i){return this.extensionNavigation.open({leave:this.leaveRequest,action:i,decision:t})}submitDecision(t,i){sessionStorage.setItem("requestType",p.YM.LEAVE);var r={state:{data:{leaveRequestId:JSON.stringify(this.leaveRequest.leaveID),leaveRequestPlannedBegin:JSON.stringify(this.leaveRequest.plannedBegin),decision:JSON.stringify(t),denialReasons:this.denialReasonsMap,cancelReasons:this.cancelReasonsMap,leaveStatuses:this.leaveStatusMap,actionId:i}}};this.router.navigate(["submitRequestDecision"],r)}goToUpdateDeliveryPlacementPage(t){var i={state:{data:{leaveRequest:JSON.stringify(this.leaveRequest),pageTitle:t}},queryParams:{mapTypes:"MaternityDeliveryMethodMap"}};this.router.navigate(["updatePlacementDelivery"],i)}goToUpdateHCP(){var t={state:{data:{leaveRequest:JSON.stringify(this.leaveRequest)}},queryParams:{mapTypes:"lrHCPSpecialtyMap,CountriesMap,StatesMap"}};this.router.navigate(["updateHCP"],t)}goToDashboard(){this.router.navigateByUrl("absences")}goToReportTime(t){var i={queryParams:{leaveId:JSON.stringify(t)}};this.router.navigate(["reportTime"],i)}goToSubmitDocument(){this.router.navigateByUrl("submitDocumentation",{state:{data:{leaveRequestId:this.leaveRequest.leaveID}}})}goToCaseActivities(t){var i={queryParams:{leaveId:JSON.stringify(t)}};this.router.navigate(["caseActivityReport"],i)}goToRequestAccommodations(t,i){var r={queryParams:{leaveId:JSON.stringify(t),leaveReason:JSON.stringify(i)}};this.router.navigate(["requestAccommodationsCoaching"],r)}goToNotes(t){var i={queryParams:{leaveId:JSON.stringify(t)}};this.router.navigate(["notes"],i)}canSubmitDecision(t){const i=t.statusId===p.YM.FSP_DECISION_STATUS_REQUESTED,r=t.statusReasonIds.includes(p.AG.EMPLOYER_REVIEW_NEEDED),u=t.statusReasonIds.includes(p.AG.HR_REVIEW_NEEDED),v=t.statusReasonIds.includes(p.AG.ELIGIBILITY_VERIFICATION_NEEDED),V=t.planTypeIds.includes(p.YM.COMPANY_PLAN_TYPE)||t.planTypeIds.includes(p.YM.PAID_LEAVE_PLAN_TYPE);return!(!i||v)&&(r&&this.userInfo.userPrivilege.allowLoggedUserApproveDenyCoachingProcessLeaves||u&&V&&this.userInfo.userPrivilege.allowLoggedUserApproveDenyHrReviewNeededLeaves)}openTooltip(t){this.userInfo.wob&&this.userInfo.webEmployerContact&&!this.userInfo.userPrivilege.allowMgrSubmitDocumentationOnBhfEmp&&(t.close(),t.open())}closeTooltip(t){t.close()}showDisclaimer(t){return t.statusReasonIds.includes(p.AG.ELIGIBILITY_VERIFICATION_NEEDED)&&this.userInfo.userPrivilege.contactEligibilityVerificationRecipient}setHasAdaFactSummaryDoc(){let i;return this.hasAdaPlanType()&&this.viewLetters.letters.forEach(r=>{r.leaveRequestId==this.leaveRequest.leaveID&&r.documentationType==p.YM.ACCOMMODATIONS_FACT_SUMMARY_DOCUMENT_ID&&(!i||on(r.dateGenerated).isAfter(i.dateGenerated))&&(i=r)}),this.mostRecentAccommodationsFactSummaryDocumentId=null==i?null:i.documentId,!!i}hasAdaPlanType(){let t=!1;for(const i of this.leaveRequest.actions){for(const r of i.decisions)if(r.planTypeIds.includes(p.YM.ADA_PLAN_TYPE)){t=!0;break}if(t)break}return t}logEventViewedMostRecentFactSummary(){this.eventService.logEvent(p.sb.VIEW_DOCUMENTATION,p.sb.VIEW_DOCUMENTATION_EVENT_MSG+this.leaveRequestId,this.mostRecentAccommodationsFactSummaryDocumentId)}viewMostRecentFactSummary(){this.logEventViewedMostRecentFactSummary(),window.open("/FMLAWeb/letterPdf?documentId="+this.mostRecentAccommodationsFactSummaryDocumentId+"&flag=false","_blank")}displayRtwFields(t,i,r){return t&&this.displayConfirmedRtwField(i,r)}displayConfirmedRtwField(t,i){return!(t.frequencyCodeId!=p.YM.FREQUENCY_CODE_ID_CONTINUOUS&&t.frequencyCodeId!=p.YM.FREQUENCY_CODE_ID_REDUCED||i.statusId!=p.YM.FSP_DECISION_STATUS_APPROVED&&i.statusId!=p.YM.FSP_DECISION_STATUS_REQUESTED&&i.statusId!=p.YM.FSP_DECISION_STATUS_DENIED)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(q.nX),e.rXU(q.Ix),e.rXU(M.US),e.rXU(Y.c$),e.rXU(xe.K),e.rXU(M.DL),e.rXU(nd),e.rXU(id))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-view-leave-details"]],decls:75,vars:72,consts:[["disabledButtonToolTipContent",""],["toolTipInstance","ngbTooltip"],["no",""],["parental",""],["class","workingAsHeaderPadding",4,"ngIf"],["class","details-view-container-messages",4,"ngIf"],["id","leave-request-buttons",1,"buttons-bar-container"],["type","submit","triggers","manual","placement","auto",1,"btnRightMargin","btnBtmMargin",3,"click","mouseover","mouseout","value","disabled","ngClass","ngbTooltip"],["type","submit","class","submitBtn caseActBtn btnRightMargin btnBtmMargin",3,"value","disabled","click",4,"ngIf"],["type","submit","class","submitBtn caseActBtn btnBtmMargin",3,"value","disabled","click",4,"ngIf"],["id","view-case-activity","type","submit","class","submitBtn caseActBtn btnBtmMargin",3,"value","disabled","click",4,"ngIf"],[1,"details-view-container","details-view-container-top"],[1,"textContent"],["id","title"],["id","leaveReason",1,"details-header"],[1,"form-inline","boxText"],["id","employee",1,"textAsLabel"],["id","onBehalfFirstName"],["id","dateCreatedHeader",1,"textAsLabel"],["id","dateCreated"],["id","dateModifieedHeader",1,"textAsLabel"],["id","dateModified"],["id","leaveReqStatusReasonHeader",1,"textAsLabel"],["id","leaveReqStatusReason"],["id","initialRequestedDate",1,"textAsLabel"],["id","plannedBegin"],["class","form-inline boxText",4,"ngIf"],["class","form-inline boxText ",4,"ngIf"],["cass","form-inline boxText",4,"ngIf"],[4,"ngIf"],["class","bold details-view-top-margin",4,"ngIf"],["class","bold",4,"ngIf"],[1,"clearFix"],[1,"page-divider"],[1,"details-view-container"],["id","leaveReqDetails",1,"indent","details-view-wrap"],[4,"ngFor","ngForOf"],[2,"text-align","left"],["type","submit","id","backDashboard",1,"submit","secondaryBtn","backButton",3,"click","value"],[1,"workingAsHeaderPadding"],["class","hoverable","id","wobAbsTitle",4,"ngIf"],["id","wobAbsTitle",1,"hoverable"],[1,"font-italic"],[1,"user-info-header"],[1,"details-view-container-messages"],["class","rf-msgs","id","leaveDetailsSuccessMessageAR",4,"ngIf"],["class","rf-msgs","id","leaveDetailsErrorMessageAR",4,"ngIf"],["id","leaveDetailsSuccessMessageAR",1,"rf-msgs"],["alt","","placement","auto","adaptivePosition","true","triggers","click:blur","src","./assets/baseResources/gfx/redesignIcons/info.svg",1,"info-icon-style"],["id","successMessageAR",1,"request-details-success-msg"],["id","leaveDetailsErrorMessageAR",1,"rf-msgs"],["alt","","placement","auto","adaptivePosition","true","triggers","click:blur","src","./assets/baseResources/gfx/redesignIcons/info_error.svg",1,"info-icon-style"],["id","errorMsgAR",1,"request-details-error-msg"],["type","submit",1,"submitBtn","caseActBtn","btnRightMargin","btnBtmMargin",3,"click","value","disabled"],["type","submit",1,"submitBtn","caseActBtn","btnBtmMargin",3,"click","value","disabled"],["id","view-case-activity","type","submit",1,"submitBtn","caseActBtn","btnBtmMargin",3,"click","value","disabled"],["id","requestedBy",1,"textAsLabel"],["id","requestedByName"],["id","forLabel",1,"textAsLabel"],["id","patientName"],["id","patientRelationship",4,"ngIf"],["id","patientRelationship"],["id","lastDate",1,"textAsLabel"],["cass","form-inline boxText"],["id","confirmedLastDateWorked",1,"textAsLabel","confirmed-message-style"],["id","lastDateValue"],["class","textAsLabel","id","nameChild",4,"ngIf"],["class","textAsLabel","id","nameMother",4,"ngIf"],["id","parentalLeaveTypeCodeId"],["id","nameChild",1,"textAsLabel"],["id","nameMother",1,"textAsLabel"],["class","textAsLabel","id","antiPlacementDate",4,"ngIf"],["class","textAsLabel","id","antiDeliveryDate",4,"ngIf"],["id","deliveryPlacementDate",1,"readonlyDataCol"],["class","btnRight delivery-confirmation-button-layout","type","submit","id","confirmDeliveryDetails",3,"value","disabled","click",4,"ngIf"],["class","btnRight delivery-confirmation-button-layout","type","submit","id","confirmedPlacementDetails",3,"value","disabled","click",4,"ngIf"],["id","antiPlacementDate",1,"textAsLabel"],["id","antiDeliveryDate",1,"textAsLabel"],["type","submit","id","confirmDeliveryDetails",1,"btnRight","delivery-confirmation-button-layout",3,"click","value","disabled"],["type","submit","id","confirmedPlacementDetails",1,"btnRight","delivery-confirmation-button-layout",3,"click","value","disabled"],["class","textAsLabel","id","confirmedPlacementDate",4,"ngIf"],["class","textAsLabel","id","confirmedDeliveryDate",4,"ngIf"],["id","confirmedDeliveryOrPlacementDate"],["id","confirmedPlacementDate",1,"textAsLabel"],["id","confirmedDeliveryDate",1,"textAsLabel"],["id","antiDeliveryMethod",1,"textAsLabel"],["id","anticipatedDeliveryMthd"],["id","confirmedDeliveryMethod",1,"textAsLabel"],["id","confirmedDeliveryMthd"],[1,"bold","details-view-top-margin"],["id","viewLetters",1,"details-view-letter-links"],["routerLink","/viewLetters","id","viewLettersLink",1,"redesign-underline-text",3,"queryParams"],[1,"bold"],["
1id","viewMostRecentFactSummary",1,"details-view-letter-links"],["id","factSummaryLink",1,"redesign-underline-text",3,"click"],["id","HCPtitle-AR"],["id","faxToHCP",1,"textAsLabel"],["class","readonlyDataCol","id","faxToHCPYes",4,"ngIf","ngIfElse"],["id","formsReturnedSectionConfirm",1,"textAsLabel"],["class","readonlyDataCol","id","allowOutreachYes",4,"ngIf","ngIfElse"],["class","hcpBtnRight","style","margin: 0","type","submit","id","updateHcpButton",3,"value","disabled","click",4,"ngIf"],["id","HCPName",1,"textAsLabel"],["id","providerName",1,"readonlyDataCol"],["id","fName",1,"textAsLabel"],["id","fNameValue",1,"readonlyDataCol"],["id","specialty",1,"textAsLabel"],["id","specialtyCode",1,"readonlyDataCol"],["id","faxToHCPYes",1,"readonlyDataCol"],["id","faxToHCPNo",1,"readonlyDataCol"],["id","faxNum",1,"textAsLabel"],["id","faxNumber",1,"readonlyDataCol"],["id","reviewHCPAttention",1,"textAsLabel"],["id","faxRecipient",1,"readonlyDataCol"],["id","allowOutreachYes",1,"readonlyDataCol"],["id","allowOutreachNo",1,"readonlyDataCol"],["id","officeNum",1,"textAsLabel"],["id","officePhone",1,"readonlyDataCol"],["id","mobileNum",1,"textAsLabel"],["id","mobilePhone",1,"readonlyDataCol"],["id","hcpAddress",1,"textAsLabel"],["id","hcpAddressValue",1,"readonlyDataCol"],["id","hcpAddress1",4,"ngIf"],["id","hcpAddress2",4,"ngIf"],["id","hcpAddressCityStateZip",4,"ngIf"],["id","hcpAddress1"],["id","hcpAddress2"],["id","hcpAddressCityStateZip"],["type","submit","id","updateHcpButton",1,"hcpBtnRight",2,"margin","0",3,"click","value","disabled"],["id","frequency-AR"],["id","certRequired",1,"textAsLabel"],["class","readonlyDataCol","id","crYes",4,"ngIf","ngIfElse"],["class","detailsButton","type","submit","id","reportTime",3,"value","disabled","click",4,"ngIf"],[1,"indent","decision"],["class","bold center",4,"ngIf"],["id","crYes",1,"readonlyDataCol"],["id","crNo",1,"readonlyDataCol"],["id","intermittentInfo",1,"textAsLabel"],["id","letterText",1,"readonlyDataCol"],["id","reducedInfo",1,"textAsLabel"],["type","submit","id","reportTime",1,"detailsButton",3,"click","value","disabled"],["id","decisions",4,"ngIf"],["id","decisions"],["id","decisionTitle"],["class","my-3 row row col-lg-6 p-4 disclaimer ms-1",4,"ngIf"],["id","returnToWorkButtonExpanded","class","detailsButton","type","submit",3,"value","disabled","click",4,"ngIf"],["id","canRequestExtension","class","detailsButton","type","submit",3,"value","disabled","click",4,"ngIf"],["id","canSubmitDecision","class","hcpBtnRight submit-decision-margin","type","submit",3,"value","click",4,"ngIf"],["id","leavePlans",1,"textAsLabel"],["id","planText"],["id","certReceived",1,"textAsLabel"],["id","certReceivedDate"],["id","typeOfLeave",1,"textAsLabel"],["id","maternityLeave",4,"ngIf","ngIfElse"],["id","parentalBondingLeave"],["id","maternityLeave"],["id","decisionReason",1,"textAsLabel"],["id","reason"],[1,"my-3","row","row","col-lg-6","p-4","disclaimer","ms-1"],[1,"d-flex","d-flex","align-items-start"],[3,"src","alt"],[1,"ms-3"],[1,"textAsLabel"],["id","dueDate",1,"textAsLabel"],["id","certDueDate"],["id","alertText",1,"textAsLabel"],["alt","","placement","auto","adaptivePosition","true","triggers","click:blur","src","./assets/baseResources/gfx/redesignIcons/warning.svg",1,"warning-icon-style"],["id","employeeActionRequiredDetails"],["id","returnToWorkButtonExpanded","type","submit",1,"detailsButton",3,"click","value","disabled"],["id","canRequestExtension","type","submit",1,"detailsButton",3,"click","value","disabled"],["id","canSubmitDecision","type","submit",1,"hcpBtnRight","submit-decision-margin",3,"click","value"],["class","greyBG","id","deniedDecisions",4,"ngIf"],["id","deniedDecisions",1,"greyBG"],["id","deniedDecisionsTitle"],["id","ddCanRequestExtension","class","detailsButton","type","submit",3,"value","disabled","click",4,"ngIf"],["id","ddLeavePlan",1,"textAsLabel"],["id","ddPlanText"],["id","ddCertReceived",1,"textAsLabel"],["id","ddCertReceivedValue"],["id","ddTypeOfLeave",1,"textAsLabel"],["id","ddMaternityLeave",4,"ngIf","ngIfElse"],["id","ddParentalBondingLeave"],["id","ddMaternityLeave"],["id","ddDecisionReason",1,"textAsLabel"],["id","ddReason"],["id","ddDueDate",1,"textAsLabel"],["id","ddDueDateValue"],["id","ddAlertText",1,"textAsLabel"],["id","ddEAD"],["id","ddCanRequestExtension","type","submit",1,"detailsButton",3,"click","value","disabled"],[1,"bold","center"],["id","deniedDecisionsViewLetter"],["routerLink","/viewLetters","id","viewLetterLink"]],template:function(i,r){if(1&i){const u=e.RV6();e.DNE(0,uu,2,1,"div",4)(1,Fv,3,2,"div",5),e.j41(2,"div",6),e.DNE(3,Lv,2,3,"ng-template",null,0,e.C5r),e.j41(5,"input",7,1),e.nI1(7,"translate"),e.nI1(8,"async"),e.bIt("click",function(){return e.eBV(u),e.Njj(r.goToSubmitDocument())})("mouseover",function(){e.eBV(u);const V=e.sdS(6);return e.Njj(r.openTooltip(V))})("mouseout",function(){e.eBV(u);const V=e.sdS(6);return e.Njj(r.closeTooltip(V))}),e.k0s(),e.DNE(9,Pv,3,6,"input",8)(10,jv,3,6,"input",9)(11,Bv,3,6,"input",10),e.k0s(),e.j41(12,"div",11)(13,"div",12)(14,"h1",13),e.EFF(15),e.nI1(16,"translate"),e.k0s(),e.j41(17,"h2",14),e.EFF(18),e.k0s(),e.j41(19,"div",15)(20,"span",16),e.EFF(21),e.nI1(22,"translate"),e.k0s(),e.j41(23,"span",17),e.EFF(24),e.nI1(25,"translate"),e.k0s()(),e.j41(26,"div",15)(27,"span",18),e.EFF(28),e.nI1(29,"translate"),e.k0s(),e.j41(30,"span",19),e.EFF(31),e.k0s()(),e.j41(32,"div",15)(33,"span",20),e.EFF(34),e.nI1(35,"translate"),e.k0s(),e.j41(36,"span",21),e.EFF(37),e.k0s()(),e.j41(38,"div",15)(39,"span",22),e.EFF(40),e.nI1(41,"translate"),e.k0s(),e.j41(42,"span",23),e.EFF(43),e.k0s()(),e.j41(44,"div",15)(45,"span",24),e.EFF(46),e.nI1(47,"translate"),e.k0s(),e.j41(48,"span",25),e.EFF(49),e.nI1(50,"date"),e.nI1(51,"date"),e.k0s()(),e.DNE(52,Yv,6,4,"div",26)(53,Uv,7,5,"div",26)(54,Gv,7,9,"div",27)(55,pm,7,9,"div",28)(56,rM,5,3,"div",26)(57,B_,9,10,"div",29)(58,aM,6,8,"div",26)(59,lM,6,4,"div",26)(60,Vv,6,4,"div",26)(61,cM,7,9,"div",30),e.nrm(62,"br"),e.DNE(63,Jr,7,6,"div",31),e.nrm(64,"div",32),e.k0s()(),e.nrm(65,"div",33),e.j41(66,"div",34)(67,"div",35),e.DNE(68,G_,27,21,"div",26),e.j41(69,"div"),e.DNE(70,LM,20,15,"ng-container",36),e.k0s(),e.nrm(71,"div",32),e.j41(72,"div",37)(73,"input",38),e.nI1(74,"translate"),e.bIt("click",function(){return e.eBV(u),e.Njj(r.goToDashboard())}),e.k0s()()()()}if(2&i){const u=e.sdS(4);e.Y8G("ngIf",r.leaveRequest),e.R7$(),e.Y8G("ngIf",r.successMessage||r.errorMessage),e.R7$(4),e.FS9("value",e.bMT(7,40,"submitDocument.buttonName")),e.Y8G("disabled",r.disableSubmitDocumentationButton||e.bMT(8,42,r.userService.portalPermission$)===r.PortalPermission.ViewOnly)("ngClass",e.eq3(70,lu,r.disableSubmitDocumentationButton))("ngbTooltip",u),e.R7$(4),e.Y8G("ngIf",r.userInfo.userPrivilege.allowViewNotes&&r.userInfo.wob),e.R7$(),e.Y8G("ngIf",r.userInfo.userPrivilege.allowLoggedUserViewCaseActivity&&r.userInfo.wob),e.R7$(),e.Y8G("ngIf",r.userInfo.userPrivilege.allowRequestAccommodationsCoaching&&r.userInfo.wob&&r.enableRequestAccommodationsCoachingButton),e.R7$(4),e.JRh(e.bMT(16,44,"myAbsences.leaveRequestDetails.title")),e.R7$(3),e.Lme("",r.leaveRequest.leaveReason," (#",r.leaveRequest.leaveID,")"),e.R7$(3),e.SpI("",e.bMT(22,46,"incidental.employee"),":"),e.R7$(3),e.LHq(" ",r.userInfo.onBehalfFirstName," ",r.userInfo.onBehalfLastName," 
1(",e.bMT(25,48,"wob.empNum"),": ",r.userInfo.onBehalfEmplNumber,") "),e.R7$(4),e.SpI("",e.bMT(29,50,"myAbsences.viewLeave.leaveReqDateCreated"),":"),e.R7$(3),e.JRh(r.leaveRequest.submittedDate),e.R7$(3),e.SpI("",e.bMT(35,52,"myAbsences.viewLeave.leaveReqDateModified"),":"),e.R7$(3),e.JRh(r.leaveRequest.dateModified),e.R7$(3),e.SpI("",e.bMT(41,54,"myAbsences.viewLeave.leaveReqStatusReason"),":"),e.R7$(3),e.JRh(r.leaveRequest.leaveReqStatusReason),e.R7$(3),e.SpI(" ",e.bMT(47,56,"myAbsences.viewLeave.initialRequestedDate"),": "),e.R7$(3),e.Lme(" ",e.ii3(50,58,r.dateFormater.getDate(r.leaveRequest.plannedBegin),"MMMM d, y","",r.currntLocaleStr)," - ",e.ii3(51,63,r.dateFormater.getDate(r.leaveRequest.plannedEnd),"MMMM d, y","",r.currntLocaleStr)," "),e.R7$(3),e.Y8G("ngIf",r.leaveRequest.requestedByName&&142!=r.leaveRequest.submittedByCodeId),e.R7$(),e.Y8G("ngIf",r.leaveRequest.patientName&&!r.userInfo.wob),e.R7$(),e.Y8G("ngIf",r.showAnticipatedLastDateWorked()),e.R7$(),e.Y8G("ngIf",r.showConfirmedLastDateWorked()),e.R7$(),e.Y8G("ngIf",r.leaveRequest.connectedPersonName&&!r.emptyParentalType()),e.R7$(),e.Y8G("ngIf",r.showAnticipatedPlacementDeliveryDate()&&!r.emptyParentalType()),e.R7$(),e.Y8G("ngIf",r.leaveRequest.confirmedDeliveryOrPlacementDate&&!r.emptyParentalType()),e.R7$(),e.Y8G("ngIf",r.showAnticipatedDeliveryMethod()),e.R7$(),e.Y8G("ngIf",r.showConfirmedDeliveryMethod()),e.R7$(),e.Y8G("ngIf",r.showLetters),e.R7$(2),e.Y8G("ngIf",r.hasAdaFactSummaryDoc),e.R7$(5),e.Y8G("ngIf",r.leaveRequest.leaveRequestRequiresMedcert&&(!r.userInfo.wob||r.userInfo.wob&&r.userInfo.userPrivilege.allowLoggedUserViewHCPInfo)),e.R7$(2),e.Y8G("ngForOf",r.leaveRequest.actions),e.R7$(3),e.FS9("value",e.bMT(74,68,"myAbsences.leaveRequestDetails.backDashboard"))}},dependencies:[ie.YU,ie.Sq,ie.bT,q.Wk,G.md,ie.Jj,ie.vh,Y.D9,Ze.yH],styles:[".delivery-confirmation-button-layout[_ngcontent-%COMP%]{margin-bottom:0!important;margin-top:-47px!important}#hcpAddressValue[_ngcontent-%COMP%]{display:flex;flex-direction:column;color:#070f36;font: 18px/24px Aptos}.confirmed-message-style[_ngcontent-%COMP%]{margin-bottom:15px!important}@media (max-width: 900px){.delivery-confirmation-button-layout[_ngcontent-%COMP%]{margin:-10px 0 15px!important;float:none!important}}@media (max-width: 735px){#deliveryPlacementDate[_ngcontent-%COMP%]{width:35%!important}.delivery-confirmation-button-layout[_ngcontent-%COMP%]{width:100%!important}}"]})}}return n})();class rd{static values(d){return Object.values(d??{}).sort((t,i)=>t.sortOrder-i.sortOrder)}static statesForCountry(d,t){return d.filter(i=>i.parentId===Number(t))}static findById(d,t){return d.find(i=>i.id===Number(t))}}function sy(n,d){if(1&n&&(e.j41(0,"h1",46)(1,"span",47),e.EFF(2),e.nI1(3,"translate"),e.j41(4,"span",48),e.EFF(5),e.k0s()()()),2&n){const t=e.XpG();e.R7$(2),e.SpI(" ",e.bMT(3,4,"workingAs")," "),e.R7$(3),e.E5c(" ",t.userInfo.onBehalfFirstName," ",t.userInfo.onBehalfLastName," (",t.userInfo.onBehalfEmplNumber,") ")}}function ry(n,d){if(1&n&&(e.j41(0,"option",49),e.EFF(1),e.k0s()),2&n){const t=d.$implicit,i=e.XpG();e.Y8G("value",t.id),e.R7$(),e.SpI(" ",0==i.localeId?t.displayValueEng:t.displayValueEsp," ")}}function oy(n,d){if(1&n&&(e.j41(0,"option",49),e.EFF(1),e.k0s()),2&n){const t=d.$implicit;e.Y8G("value",t.id),e.R7$(),e.JRh(t.label)}}function PM(n,d){if(1&n&&(e.j41(0,"option",49),e.EFF(1),e.k0s()),2&n){const t=d.$implicit;e.Y8G("value",t.id),e.R7$(),e.JRh(t.label)}}function jM(n,d){if(1&n&&(e.j41(0,"div",15)(1,"label",58),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div",52)(5,"select",59)(6,"option",60),e.EFF(7),e.nI1(8,"translate"),e.k0s(),e.DNE(9,PM,2,2,"option",19),e.k0s(),e.j41(10,"a",61),e.nI1(11,"translate"),e.nrm(12,"img",28),e.k0s()()()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",e.bMT(3,6,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.RefaxForm")," "),e.R7$(4),e.Y8G("selected",!0)("disabled",!0),e.R7$(),e.SpI(" ",e.bMT(8,8,"myAbsences.reportTime.pleaseSelect")," "),e.R7$(2),e.Y8G("ngForOf",t.refaxForm),e.R7$(),e.Y8G("ngbTooltip",e.bMT(11,10,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.ReafxFormHelp"))}}function ay(n,d){if(1&n&&(e.j41(0,"div")(1,"div",50)(2,"label",51),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"div",52),e.nrm(6,"input",53),e.j41(7,"a",54),e.nI1(8,"translate"),e.nrm(9,"img",28),e.k0s()()(),e.j41(10,"div",8)(11,"label",55),e.EFF(12),e.nI1(13,"translate"),e.k0s(),e.nrm(14,"input",56),e.k0s(),e.DNE(15,jM,13,12,"div",57),e.k0s()),2&n){const t=e.XpG();e.R7$(3),e.SpI(" ",e.bMT(4,4,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.FaxNumber")," "),e.R7$(4),e.Y8G("ngbTooltip",e.bMT(8,6,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.FaxNumberHelp")),e.R7$(5),e.SpI(" ",e.bMT(13,8,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.FaxRecepientName")," "),e.R7$(3),e.Y8G("ngIf",t.showRefaxForm)}}function BM(n,d){if(1&n&&(e.j41(0,"option",49),e.EFF(1),e.k0s()),2&n){const t=d.$implicit;e.Y8G("value",t.id),e.R7$(),e.JRh(t.label)}}function ly(n,d){1&n&&(e.j41(0,"div")(1,"div",8)(2,"label",62),e.
1EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"div",63),e.nrm(6,"input",64)(7,"input",65),e.k0s()(),e.j41(8,"div",66)(9,"label",67),e.EFF(10),e.nI1(11,"translate"),e.k0s(),e.nrm(12,"input",68),e.k0s()()),2&n&&(e.R7$(3),e.SpI(" ",e.bMT(4,2,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.OfficePhone")," "),e.R7$(7),e.SpI(" ",e.bMT(11,4,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.MobilePhone")," "))}function YM(n,d){if(1&n&&(e.j41(0,"option",49),e.EFF(1),e.k0s()),2&n){const t=d.$implicit,i=e.XpG();e.Y8G("value",t.id),e.R7$(),e.SpI(" ",0===i.localeId?t.displayValueEng:t.displayValueEsp," ")}}function cy(n,d){if(1&n&&(e.j41(0,"option",49),e.EFF(1),e.k0s()),2&n){const t=d.$implicit,i=e.XpG();e.Y8G("value",t.id),e.R7$(),e.SpI(" ",0===i.localeId?t.displayValueEng:t.displayValueEsp," ")}}function q_(n,d){if(1&n&&(e.j41(0,"div",5)(1,"span",14),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",15),e.EFF(5),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.SpI(" ",e.bMT(3,3,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.ProviderName")," "),e.R7$(3),e.Lme("",t.requestHCPBody.hcpFirstName," ",t.requestHCPBody.hcpLastName,"")}}function $M(n,d){if(1&n&&(e.j41(0,"div",5)(1,"span",16),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",17),e.EFF(5),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.SpI(" ",e.bMT(3,2,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.FacilityName")," "),e.R7$(3),e.JRh(t.requestHCPBody.facilityName)}}function UM(n,d){if(1&n&&(e.j41(0,"div",5)(1,"span",18),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",19),e.EFF(5),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.SpI(" ",e.bMT(3,2,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.Specialty")," "),e.R7$(3),e.JRh(t.providerSpecialties)}}function X_(n,d){if(1&n&&(e.j41(0,"div",5)(1,"span",20),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",21),e.EFF(5),e.nI1(6,"mask"),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",e.bMT(3,2,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.FaxNumber")," "),e.R7$(3),e.JRh(e.i5U(6,4,t.requestHCPBody.faxNumber,"(000) 000-0000"))}}function GM(n,d){if(1&n&&(e.j41(0,"div",5)(1,"span",22),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",23),e.EFF(5),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",e.bMT(3,2,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.FaxRecepientLabel")," "),e.R7$(3),e.JRh(t.requestHCPBody.faxRecepient)}}function mm(n,d){if(1&n&&(e.j41(0,"div",5)(1,"span",24),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",25),e.EFF(5),e.nI1(6,"translate"),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",e.bMT(3,2,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.RefaxForm")," "),e.R7$(3),e.SpI(" ",e.bMT(6,4,"true"===t.requestHCPBody.refaxForm?"yes":"no")," ")}}function fm(n,d){if(1&n&&(e.qex(0),e.DNE(1,X_,7,7,"div",4)(2,GM,6,4,"div",4)(3,mm,7,6,"div",4),e.bVm()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.requestHCPBody.faxNumber),e.R7$(),e.Y8G("ngIf",t.requestHCPBody.faxRecepient),e.R7$(),e.Y8G("ngIf",t.requestHCPBody.refaxForm)}}function z_(n,d){if(1&n&&(e.j41(0,"div",5)(1,"span",26),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",27),e.EFF(5),e.nI1(6,"mask"),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",e.bMT(3,4,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.OfficePhone")," "),e.R7$(3),e.E5c(" ",e.i5U(6,6,t.requestHCPBody.officeNumber,"(000) 000-0000"),"",t.requestHCPBody.officeNumberExt?" Ext.":"","",t.requestHCPBody.officeNumberExt?t.requestHCPBody.officeNumberExt:""," ")}}function dy(n,d){if(1&n&&(e.j41(0,"div",5)(1,"span",28),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",29),e.EFF(5),e.nI1(6,"mask"),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",e.bMT(3,2,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.MobilePhone")," "),e.R7$(3),e.JRh(e.i5U(6,4,t.requestHCPBody.mobileNumber,"(000) 000-0000"))}}function VM(n,d){if(1&n&&(e.qex(0),e.DNE(1,z_,7,9,"div",4)(2,dy,7,7,"div",4),e.bVm()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.requestHCPBody.officeNumber),e.R7$(),e.Y8G("ngIf",t.requestHCPBody.mobileNumber)}}function HM(n,d){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(", ",t.requestHCPBody.address2,"")}}function WM(n,d){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(", ",t.requestHCPBody.city,"")}}function _m(n,d){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(", ",t.requestHCPBody.stateAbbreviation,"")}}function gm(n,d){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",t.requestHCPBody.zipCode,"")}}function K_(n,d){if(1&n&&(e.j41(0,"div",5)(1,"span",30),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",31),e.EFF(5),e.DNE(6,HM,2,1,"span",8)(7,WM,2,1,"span",8)(8,_m,2,1,"span",8)(9,gm,2,1,"span",8),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.SpI(" ",e.bMT(3,6,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.HCPAddressConfirm")," "),e.R7$(3),e.SpI(" ",t.requestHCPBody.address1,""),e.R7$(),e.Y8G("ngIf",t.requestHCPBody.address2),e.R7$(),e.Y8G("ngIf",t.requestHCPBody.city),e.R7$(),e.Y8G("ngIf",t.requestHCPBody.stateAbbreviation),e.R7$(),e.Y8G("ngIf",t.requestHCPBody.zipCode)}}let uy=(()=>{class n{constructor(t,i,r,u,v,V,Ce){this.activatedRoute=t,this.location=i,this.modalService=r,this.formBuilder=u,this.eventService=v,this.translate=V,this.userService=Ce,this.data=history.state.data,this.localeId=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)).localeId,this.providerSpecialtiesMap=new Map,this.countries=[],this.allStates=[],this.filteredStates=[],this.phoneMap=new Map,this.errorMsgs=[],this.requestBody=new Yt.pJ,this.faxFormOtions=[{id:0,label:this.translate.instant("no")},{id:1,label:this.translate.instant("yes")}],this.refaxForm=[{id:!1,label:this.translate.instant("no")},{id:!0,label:this.translate.instant("yes")}],this.returnFormOtions=[{id:0,label:this.translate.instant("no")},{id:1,label:this.translate.instant("yes")}],this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO))}ngOnInit(){null==this.data&&this.back(),this.leaveRequest=JSON.parse(this.data.leaveRequest),this.codeMap=new Map(Object.entries(this.activatedRoute.snapshot.data.leaveCodeList)),this.providerSpecialties=this.codeMap.get("lrHCPSpecialtyMap"),this.countries=rd.values(this.codeMap.get("CountriesMap")),this.allStates=rd.values(this.codeMap.get("StatesMap")),this.showRefaxForm=this.leaveRequest.healthCareProvider.refaxForm,this.providerSpecialties.forEac
1h(i=>{i.id===this.leaveRequest.healthCareProvider.specialtyCode&&(this.selectedProviderSpecialty=i.id),this.providerSpecialtiesMap.set(i.id.toString(),i)});for(let i of this.leaveRequest.healthCareProvider.phones)this.phoneMap.set(i.phoneTypeId,i);if(this.leaveRequest.healthCareProvider.faxToHcp){this.selectedFaxForm=this.faxFormOtions[1].id,this.showFaxForm=!0;for(let i of this.leaveRequest.healthCareProvider.phones)if(i&&i.phoneTypeId===p.YM.FAX_PHONE_TYPE){this.faxNumber=i.phoneNumber,this.faxNumberAreaCode=i.areaCode;break}}else this.selectedFaxForm=this.faxFormOtions[0].id;if(this.leaveRequest.healthCareProvider.allowOutreach){this.selectedReturnForm=this.returnFormOtions[1].id,this.showReturnForm=!0;for(let i of this.leaveRequest.healthCareProvider.phones)i&&i.phoneTypeId===p.YM.MOBILE_PHONE_TYPE?(this.mobileNumber=i.phoneNumber,this.mobileNumberAreaCode=i.areaCode):i&&i.phoneTypeId===p.YM.WORK_PHONE_TYPE&&(this.officeNumber=i.phoneNumber,this.officeNumberAreaCode=i.areaCode,this.officeNumberExt=i.extension)}else this.selectedReturnForm=this.returnFormOtions[0].id;this.leaveRequest.healthCareProvider.faxRecepient||(this.leaveRequest.healthCareProvider.faxRecepient=this.leaveRequest.healthCareProvider.hcpFirstName+" "+this.leaveRequest.healthCareProvider.hcpLastName),this.createForm(),this.updateFilteredStates(this.updateHCPForm.get("countryID").value,!1),this.eventService.logEvent(p.sb.UPDATE_HCP_DETAIL_LOAD,"Loading Data for Leaver Request HCP Update",this.leaveRequest.leaveID.toString())}createForm(){this.updateHCPForm=this.formBuilder.group({pFirstName:[this.leaveRequest.healthCareProvider.hcpFirstName,""],pLastName:[this.leaveRequest.healthCareProvider.hcpLastName,""],facility:[this.leaveRequest.healthCareProvider.facilityName,""],pSpecialty:[this.leaveRequest.healthCareProvider.specialtyCode,""],faxForm:[this.selectedFaxForm,""],fNum:[void 0===this.faxNumber?"":this.faxNumberAreaCode+this.faxNumber,""],fRecipientName:[this.getFaxRecipient(),""],refaxForm:["",""],returnForm:[this.selectedReturnForm,""],oNum:[void 0===this.officeNumber?"":this.officeNumberAreaCode+this.officeNumber,""],oNumExt:[this.officeNumberExt,""],mNum:[this.mobileNumberAreaCode?this.mobileNumberAreaCode+this.mobileNumber:"",""],address1:[this.leaveRequest.healthCareProvider.address1??"",""],address2:[this.leaveRequest.healthCareProvider.address2??"",""],city:[this.leaveRequest.healthCareProvider.city??"",""],stateID:[this.leaveRequest.healthCareProvider.stateID??null,""],countryID:[this.leaveRequest.healthCareProvider.countryID??p.YM.COUNTRY_UNITED_STATES,""],zipCode:[this.leaveRequest.healthCareProvider.zipCode??"",""]})}updateFilteredStates(t,i=!0){if(this.filteredStates=rd.statesForCountry(this.allStates,t).filter(r=>(0===this.localeId?r.displayValueEng:r.displayValueEsp)?.trim()),i)this.updateHCPForm.get("stateID").setValue(null);else if(!this.updateHCPForm.get("stateID").value&&this.leaveRequest.healthCareProvider.stateAbbreviation){const r=this.filteredStates.find(u=>u.description?.toLowerCase()===this.leaveRequest.healthCareProvider.stateAbbreviation.toLowerCase());this.updateHCPForm.get("stateID").setValue(r?.id??null)}}getFaxRecipient(){let t=this.leaveRequest.healthCareProvider;return t.attention?t.attention:this.getProviderName()?this.getProviderName():this.leaveRequest.healthCareProvider.facilityName}getProviderName(){let t=this.leaveRequest.healthCareProvider,i=t.hcpFirstName?t.hcpFirstName.trim():"",r=t.hcpLastName?t.hcpLastName.trim():"";return i||r?i+" "+r:null}submitHCPUpdate(){if(this.setupRequestBody(),this.validateData()){var t,i;this.updateHCPForm.get("pSpecialty").value&&(i=String(this.updateHCPForm.get("pSpecialty").value)),i&&(t=0==this.localeId?this.providerSpecialtiesMap.get(i).displayValueEng:this.providerSpecialtiesMap.get(i).displayValueEsp);const r=this.modalService.open(qM,{centered:!0});r.result.then(u=>{if(1===u||2===u){this.eventService.logEvent(p.sb.UPDATE_HCP_DETAIL_SUBMIT,"Leave Request Update for HCP submitted","LR# "+this.leaveRequest.leaveID);let v=this.translate.instant(1===u?"myAbsences.leaveRequestDetails.updateHCP.HCPProviderDetails.successfulSubmission":"myAbsences.leaveRequestDetails.updateHCP.HCPProviderDetails.successfulSubmissionFax");sessionStorage.setItem(p.YM.CONFIRMATION_MSG_SUCCESS,v),this.back()}else this.eventService.logEvent(p.sb.UPDATE_HCP_DETAIL_ERROR,"Update HCP LR# "+this.leaveRequest.leaveID,"Submit Failed"),sessionStorage.setItem(p.YM.CONFIRMATION_MSG_FAILURE,this.translate.instant("myAbsences.leaveRequestDetails.updatePlacementDelivery.deliveryPlacementFailure")),this.back()}),r.componentInstance.requestHCPBody=this.requestBody,r.componentInstance.providerSpecialties=t}}isValidPhone(t){return!t||10===t.replace(/[^0-9]/g,"").length}validateData(){this.errorMsgs=[];let t=!0;this.requestBody.faxToHcp&&!this.requestBody.faxNumber?(this.errorMsgs.push(this.translate.instant("myAbsences.leaveRequestDetails.updateHCP.HCPProviderDetails.missingFaxNumber")),t=!1):this.requestBody.faxToHcp&&!this.isValidPhone(this.requestBody.faxNumber)&&(this.errorMsgs.push(this.translate.instant("myAbsences.leaveRequestDetails.updateHCP.HCPProviderDetails.invlalidFaxNumber")),t=!1);let i=this.requestBody.hcpLastName?this.requestBody.hcpLastName.trim():this.requestBody.hcpLastName,r=this.requestBody.facilityName?this.requestBody.facilityName.trim():this.requestBody.facilityName;!i&&!r&&(this.errorMsgs.push(this.translate.instant("myAbsences.leaveRequestDetails.updateHCP.HCPProviderDetails.invalidFacility")),t=!1),!this.requestBody.allowOutreach||this.requestBody.officeNumber||this.requestBody.mobileNumber?this.requestBody.allowOutreach&&(!this.isValidPhone(this.requestBody.officeNumber)||!this.isValidPhone(this.requestBody.mobileNumber))&&(this.errorMsgs.push(this.translate.instant("myAbsences.leaveRequestDetails.updateHCP.HCPProviderDetails.invalidPhoneNumber")),t=!1):(this.errorMsgs.push(this.translate.instant("myAbsences.leaveRequestDetails.updateHCP.HCPProviderDetails.missingPhoneNumber")),t=!1),this.showRefaxForm&&this.show
1FaxForm&&!this.updateHCPForm.get("refaxForm").value&&(this.errorMsgs.push(this.translate.instant("myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.missingRefaxForm")),t=!1),this.requestBody.hcpFirstName&&this.requestBody.hcpFirstName.length>50&&(this.errorMsgs.push(this.translate.instant("myAbsences.leaveRequestDetails.updateHCP.providerFirstName.tooLong")),t=!1),this.requestBody.hcpLastName&&this.requestBody.hcpLastName.length>50&&(this.errorMsgs.push(this.translate.instant("myAbsences.leaveRequestDetails.updateHCP.providerLastName.tooLong")),t=!1),this.requestBody.facilityName&&this.requestBody.facilityName.length>100&&(this.errorMsgs.push(this.translate.instant("myAbsences.leaveRequestDetails.updateHCP.facilityName.tooLong")),t=!1),this.requestBody.faxToHcp&&this.requestBody.faxRecepient&&this.requestBody.faxRecepient.length>100&&(this.errorMsgs.push(this.translate.instant("myAbsences.leaveRequestDetails.updateHCP.faxRecipient.tooLong")),t=!1);const u=this.updateHCPForm.get("zipCode").value,v=this.updateHCPForm.get("countryID").value;return String(v)===p.YM.COUNTRY_UNITED_STATES&&u&&!/^\d{5}$/.test(u)&&(this.errorMsgs.push(this.translate.instant("myAbsences.leaveRequestDetails.updateHCP.HCPProviderDetails.invalidZipCode")),t=!1),t}setupRequestBody(){this.requestBody.hcpFirstName=this.updateHCPForm.get("pFirstName").value,this.requestBody.hcpLastName=this.updateHCPForm.get("pLastName").value,this.requestBody.facilityName=this.updateHCPForm.get("facility").value,this.requestBody.specialtyCode=this.updateHCPForm.get("pSpecialty").value,this.requestBody.faxRecepient=this.updateHCPForm.get("fRecipientName").value,this.requestBody.faxToHcp="1"==this.updateHCPForm.get("faxForm").value,this.requestBody.leaveRequestId=this.leaveRequest.leaveID,this.requestBody.faxNumber=this.updateHCPForm.get("fNum").value,this.requestBody.allowOutreach="1"==this.updateHCPForm.get("returnForm").value,this.requestBody.refaxForm=this.updateHCPForm.get("refaxForm").value,this.requestBody.allowOutreach?(this.requestBody.officeNumber=this.updateHCPForm.get("oNum").value,this.requestBody.officeNumberExt=this.updateHCPForm.get("oNumExt").value,this.requestBody.mobileNumber=this.updateHCPForm.get("mNum").value):(this.requestBody.officeNumber="",this.requestBody.officeNumberExt="",this.requestBody.mobileNumber=""),this.requestBody.address1=this.updateHCPForm.get("address1").value,this.requestBody.address2=this.updateHCPForm.get("address2").value,this.requestBody.city=this.updateHCPForm.get("city").value,this.requestBody.stateID=this.updateHCPForm.get("stateID").value,this.requestBody.countryID=this.updateHCPForm.get("countryID").value;const t=rd.findById(this.filteredStates,this.requestBody.stateID);this.requestBody.stateAbbreviation=t?.description??null,this.requestBody.zipCode=this.updateHCPForm.get("zipCode").value,this.requestBody.id=this.leaveRequest.healthCareProvider.id,this.requestBody.specialtyValue=0===this.localeId?this.requestBody.specialtyCode>0?this.providerSpecialtiesMap.get(this.requestBody.specialtyCode.toString()).displayValueEng:"":this.requestBody.specialtyCode>0?this.providerSpecialtiesMap.get(this.requestBody.specialtyCode.toString()).displayValueEsp:"",this.requestBody.phones=this.getPhoneObject(this.requestBody.faxNumber,this.requestBody.officeNumber,this.requestBody.mobileNumber)}getPhoneObject(t,i,r){const u=[];if(t){let v;this.phoneMap.get(p.YM.FAX_PHONE_TYPE)?v=this.phoneMap.get(p.YM.FAX_PHONE_TYPE):(v=new Yt.bc,v.phoneTypeId=p.YM.FAX_PHONE_TYPE),v.phoneNumber=this.requestBody.faxNumber.substr(3),v.areaCode=this.requestBody.faxNumber.substr(0,3),u.push(v)}if(r){let v;this.phoneMap.get(p.YM.MOBILE_PHONE_TYPE)?v=this.phoneMap.get(p.YM.MOBILE_PHONE_TYPE):(v=new Yt.bc,v.phoneTypeId=p.YM.MOBILE_PHONE_TYPE),v.phoneNumber=this.requestBody.mobileNumber.substr(3),v.areaCode=this.requestBody.mobileNumber.substr(0,3),u.push(v)}if(i){let v;this.phoneMap.get(p.YM.WORK_PHONE_TYPE)?v=this.phoneMap.get(p.YM.WORK_PHONE_TYPE):(v=new Yt.bc,v.phoneTypeId=p.YM.WORK_PHONE_TYPE),v.phoneNumber=this.requestBody.officeNumber.substr(3),v.areaCode=this.requestBody.officeNumber.substr(0,3),v.extension=this.requestBody.officeNumberExt,u.push(v)}return u}getPhone(){return null}back(){this.location.back()}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(q.nX),e.rXU(ie.aZ),e.rXU(G.Bq),e.rXU(ge.ok),e.rXU(M.US),e.rXU(Y.c$),e.rXU(M.DL))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["ng-component"]],decls:111,vars:83,consts:[["class","hoverable restyledWorkingAs","id","wobAbsTitle",4,"ngIf"],[3,"errorMessages","successMessage"],[1,"plainRestyled"],["id","updatePageHeader"],[1,"intFormPage","adjustLeave"],[1,"introTxt"],["id","hcpEditForm","novalidate","novalidate",1,"behalfForm",3,"keydown.enter","formGroup"],[1,"form-inline","boxText"],[1,"form-inline","boxText","vertical"],["for","firstName","
1id","ProviderFirstName",1,"subLabel","restyledLabel"],["id","firstName","formControlName","pFirstName","type","text","size","30",1,"form-control","inputContainer"],["for","lastName","id","pLastName",1,"subLabel","restyledLabel"],["id","lastName","formControlName","pLastName","type","text","size","30",1,"form-control","inputContainer"],["for","facilityName","id","facilityNameLabel",1,"subLabel","restyledLabel"],["id","facilityName","formControlName","facility","type","text","size","30",1,"form-control","inputContainer"],[1,"form-inline","boxText","vertical","dropdownContainer"],["for","providerSpecialty","id","providerSLabel",1,"subLabel","restyledLabel"],["formControlName","pSpecialty","id","providerSpecialty","role","listbox","tabindex","0"],["value","",3,"selected"],[3,"value",4,"ngFor","ngForOf"],["for","faxForm","id","faxForm"],[1,"labelDrop","dropdownContainer"],["formControlName","faxForm","id","faxSelect","role","listbox","tabindex","0",1,"yesNoSelect","faxSelect",3,"change"],[4,"ngIf"],["for","returnForm","id","hcpFormReturn"],[1,"labelDrop","dropdownContainer","iconContainer"],["formControlName","returnForm","id","returnForm","role","listbox","tabindex","0",1,"yesNoSelect",3,"change"],["id","helpTipReturnForm","triggers","click:blur","placement","right",1,"helptip",3,"ngbTooltip"],["src","assets/baseResources/gfx/redesignIcons/faqs.svg","alt","",1,"small-icon","ms-2"],["for","address1","id","address1Label",1,"subLabel","restyledLabel"],["id","address1","formControlName","address1","type","text","size","30",1,"form-control","inputContainer"],["for","address2","id","address2Label",1,"subLabel","restyledLabel"],["id","address2","formControlName","address2","type","text","size","30",1,"form-control","inputContainer"],["for","hcpCity","id","cityLabel",1,"subLabel","restyledLabel"],["id","hcpCity","formControlName","city","type","text","size","30",1,"form-control","inputContainer"],["for","hcpState","id","stateLabel",1,"subLabel","restyledLabel"],["id","hcpState","formControlName","stateID",1,"inputContainer","addressSelect"],[3,"ngValue"],["for","zipCode","id","zipCodeLabel",1,"subLabel","restyledLabel"],["id","zipCode","formControlName","zipCode","type","text","size","30",1,"form-control","inputContainer"],["for","hcpCountry","id","countryLabel",1,"subLabel","restyledLabel"],["id","hcpCountry","formControlName","countryID",1,"inputContainer","addressSelect",3,"change"],[1,"clearFix"],[1,"restyledSmBtns"],["type","button","id","submitHCP",1,"primaryBtn","blueBtn","primaryContinue",3,"click","value","disabled"],["type","button","id","cancelHCP",1,"secondaryBack",3,"click","value"],["id","wobAbsTitle",1,"hoverable","restyledWorkingAs"],[1,"font-italic"],[1,"user-info-header"],[3,"value"],[1,"form-inline","boxText","vertical","inputContainer"],["id","faxNum","for","faxNumberField",1,"subLabel","restyledLabel"],[1,"iconContainer"],["id","faxNumberField","formControlName","fNum","placeholder","(###) ###-####","mask","(000) 000-0000","type","text",1,"form-control","inputContainer"],["id","helpTipFaxNumber","triggers","click:blur","placement","right",1,"helptip",3,"ngbTooltip"],["for","faxRecepientName","id","faxRN",1,"subLabel","restyledLabel"],["id","faxRecepientName","formControlName","fRecipientName","type","text",1,"form-control","inputContainer"],["class","form-inline boxText vertical dropdownContainer",4,"ngIf"],["for","refaxForm","id","ReFaxFormLabel",1,"subLabel","restyledLabel"],["formControlName","refaxForm","id","refaxForm","role","listbox","tabindex","0",1,"yesNoSelect"],[3,"value","selected","disabled"],["id","helpTipRefFax","triggers","click:blur","placement","right",1,"helptip",3,"ngbTooltip"],["for","officeNum","id","officepg",1,"subLabel","restyledLabel"],[1,"twoPhoneInputs"],["id","officeNum","formControlName","oNum","placeholder","(###) ###-####","mask","(000) 000-0000","type","text",1,"form-control","inputContainer"],["id","officeNumberExt","formControlName","oNumExt","type","text","placeholder","Ext",1,"form-control","inputContainer","phoneExtInput"],[1,"form-inline","boxText","vertical","twoPhoneInputs"],["for","mobilePhone","id","hcpMobilePhone",1,"subLabel","restyledLabel"],["id","mobilePhone","formControlName","mNum","placeholder","(###) ###-####","mask","(000) 000-0000","type","text",1,"form-control","inputContainer"]],template:function(i,r){1&i&&(e.DNE(0,sy,6,6,"h1",0),e.nrm(1,"app-messages",1),e.j41(2,"div",2)(3,"h1",3),e.
1EFF(4),e.nI1(5,"translate"),e.k0s(),e.j41(6,"div",4)(7,"div")(8,"span",5),e.EFF(9),e.nI1(10,"translate"),e.k0s()(),e.j41(11,"form",6),e.bIt("keydown.enter",function(v){return v.preventDefault()}),e.nrm(12,"div",7),e.j41(13,"h3"),e.EFF(14),e.nI1(15,"translate"),e.k0s(),e.j41(16,"div")(17,"div",8)(18,"label",9),e.EFF(19),e.nI1(20,"translate"),e.k0s(),e.nrm(21,"input",10),e.k0s(),e.j41(22,"div",8)(23,"label",11),e.EFF(24),e.nI1(25,"translate"),e.k0s(),e.nrm(26,"input",12),e.k0s(),e.j41(27,"div",8)(28,"label",13),e.EFF(29),e.nI1(30,"translate"),e.k0s(),e.nrm(31,"input",14),e.k0s(),e.j41(32,"div",15)(33,"label",16),e.EFF(34),e.nI1(35,"translate"),e.k0s(),e.j41(36,"select",17)(37,"option",18),e.EFF(38),e.nI1(39,"translate"),e.k0s(),e.DNE(40,ry,2,2,"option",19),e.k0s()()(),e.j41(41,"h3")(42,"label",20),e.EFF(43),e.nI1(44,"translate"),e.k0s()(),e.j41(45,"div",7)(46,"div",21)(47,"select",22),e.bIt("change",function(){return r.showFaxForm=!r.showFaxForm}),e.DNE(48,oy,2,2,"option",19),e.k0s()(),e.DNE(49,ay,16,10,"div",23),e.k0s(),e.j41(50,"h3")(51,"label",24),e.EFF(52),e.nI1(53,"translate"),e.k0s()(),e.j41(54,"div",7)(55,"div",25)(56,"select",26),e.bIt("change",function(){return r.showReturnForm=!r.showReturnForm}),e.DNE(57,BM,2,2,"option",19),e.k0s(),e.j41(58,"a",27),e.nI1(59,"translate"),e.nrm(60,"img",28),e.k0s()(),e.DNE(61,ly,13,6,"div",23),e.k0s(),e.j41(62,"h3"),e.EFF(63),e.nI1(64,"translate"),e.k0s(),e.j41(65,"div")(66,"div",8)(67,"label",29),e.EFF(68),e.nI1(69,"translate"),e.k0s(),e.nrm(70,"input",30),e.k0s(),e.j41(71,"div",8)(72,"label",31),e.EFF(73),e.nI1(74,"translate"),e.k0s(),e.nrm(75,"input",32),e.k0s(),e.j41(76,"div",8)(77,"label",33),e.EFF(78),e.nI1(79,"translate"),e.k0s(),e.nrm(80,"input",34),e.k0s(),e.j41(81,"div",15)(82,"label",35),e.EFF(83),e.nI1(84,"translate"),e.k0s(),e.j41(85,"select",36)(86,"option",37),e.EFF(87),e.nI1(88,"translate"),e.k0s(),e.DNE(89,YM,2,2,"option",19),e.k0s()(),e.j41(90,"div",8)(91,"label",38),e.EFF(92),e.nI1(93,"translate"),e.k0s(),e.nrm(94,"input",39),e.k0s(),e.j41(95,"div",15)(96,"label",40),e.EFF(97),e.nI1(98,"translate"),e.k0s(),e.j41(99,"select",41),e.bIt("change",function(){return r.updateFilteredStates(r.updateHCPForm.get("countryID").value)}),e.j41(100,"option",37),e.EFF(101),e.nI1(102,"translate"),e.k0s(),e.DNE(103,cy,2,2,"option",19),e.k0s()()()(),e.nrm(104,"div",42),e.j41(105,"div",43)(106,"input",44),e.nI1(107,"translate"),e.nI1(108,"async"),e.bIt("click",function(){return r.submitHCPUpdate()}),e.k0s(),e.j41(109,"input",45),e.nI1(110,"translate"),e.bIt("click",function(){return r.back()}),e.k0s()()()()),2&i&&(e.Y8G("ngIf",r.userInfo.wob),e.R7$(),e.Y8G("errorMessages",r.errorMsgs)("successMessage",r.confirmMsg),e.R7$(3),e.SpI(" ",e.bMT(5,37,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.updatePageHeader")," "),e.R7$(5),e.JRh(e.bMT(10,39,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.Intro")),e.R7$(2),e.Y8G("formGroup",r.updateHCPForm),e.R7$(3),e.JRh(e.bMT(15,41,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.HCPInfo")),e.R7$(5),e.SpI(" ",e.bMT(20,43,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.ProviderFirstName")," "),e.R7$(5),e.SpI(" ",e.bMT(25,45,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.ProviderLastName")," "),e.R7$(5),e.SpI(" ",e.bMT(30,47,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.FacilityName")," "),e.R7$(5),e.SpI(" ",e.bMT(35,49,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.ProviderSpecialty")," "),e.R7$(3),e.Y8G("selected",!r.leaveRequest.healthCareProvider.specialtyCode||0==r.leaveRequest.healthCareProvider.specialtyCode),e.R7$(),e.SpI(" ",e.bMT(39,51,"myAbsences.reportTime.pleaseSelect")," "),e.R7$(2),e.Y8G("ngForOf",r.providerSpecialties),e.R7$(3),e.SpI(" ",e.bMT(44,53,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.FaxForm")," "),e.R7$(5),e.Y8G("ngForOf",r.faxFormOtions),e.R7$(),e.Y8G("ngIf",r.showFaxForm),e.R7$(3),e.SpI(" ",e.bMT(53,55,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.FormsReturnedSection")," "),e.R7$(5),e.Y8G("ngForOf",r.returnFormOtions),e.R7$(),e.Y8G("ngbTooltip",e.bMT(59,57,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.FormsReturnedSectionHelp")),e.R7$(3),e.Y8G("ngIf",r.showReturnForm),e.R7$(2),e.JRh(e.bMT(64,59,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.HCPAddress")),e.R7$(5),e.SpI(" ",e.bMT(69,61,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.Address1")," "),e.R7$(5),e.SpI(" ",e.bMT(74,63,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.Address2")," "),e.R7$(5),e.SpI(" ",e.bMT(79,65,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.City")," "),e.R7$(5),e.SpI(" ",e.bMT(84,67,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.State")," "),e.R7$(3),e.Y8G("ngValue",null),e.R7$(),e.JRh(e.bMT(88,69,"partialLeaveDecision.pleaseSelect")),e.R7$(2),e.Y8G("ngForOf",r.filteredStates),e.R7$(3),e.SpI(" ",e.bMT(93,71,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.ZipCode")," "),e.R7$(5),e.SpI(" ",e.bMT(98,73,"profile.country")," "),e.R7$(3),e.Y8G("ngValue",null),e.R7$(),e.JRh(e.bMT(102,75,"partialLeaveDecision.pleaseSelect")),e.R7$(2),e.Y8G("ngForOf",r.countries),e.R7$(3),e.FS9("value",e.bMT(107,77,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.submitHcpButton")),e.Y8G("disabled",null!==e.bMT(108,79,r.userService.portalPermission$)),e.R7$(3),e.FS9("value",e.bMT(110,81,"myAbsences.reportTime.cancelBtn")))},dependencies:[ie.Sq,ie.bT,ge.qT,ge.xH,ge.y7,ge.me,ge.wz,ge.BC,ge.cb,ge.
1j4,ge.JD,G.md,Ze.Zr,Bn,ie.Jj,Y.D9],styles:[".restyledWorkingAs[_ngcontent-%COMP%]{margin:0!important}.plainRestyled[_ngcontent-%COMP%]{h1{font: 35px/80px Aptos,sans-serif!important}h3{font: 26px/28px Aptos,sans-serif!important;margin:30px 0!important}select{width:165px!important}input{height:43px!important}input.primaryContinue:hover{background-color:#070f36!important}select#providerSpecialty{width:415px!important}select.addressSelect{height:43px!important;width:245px!important}#faxForm,#hcpFormReturn{font: 19px/29px Aptos,sans-serif!important;color:#070f36!important}.vertical{padding:4px 0}.introTxt{font: 19px/31px Aptos,sans-serif!important}.restyledLabel{font: 16px/20px Aptos,sans-serif!important;color:#070f36!important;margin:0!important}.dropdownContainer{margin-left:0!important}.inputContainer{max-width:245px!important}.iconContainer{display:flex;flex-direction:row;align-items:center;max-width:300px}.helptip:after{content:unset}.twoPhoneInputs{display:flex;max-width:360px!important}.phoneExtInput{max-width:50px!important}.restyledSmBtns{border-top:1px solid #070f3650;flex-direction:row-reverse;height:unset;padding-top:30px;input{height:65%!important;max-width:unset!important;width:unset;padding:0 16px!important;margin:0!important}}}@media (max-width: 850px){.plainRestyled[_ngcontent-%COMP%]{h1{font:lighter 20px/37px Aptos Light,sans-serif!important}h3{font:lighter 20px/30px Aptos Light,sans-serif!important;margin:20px 0!important}#faxForm,#hcpFormReturn{font: 14px/24px Aptos,sans-serif!important}.introTxt{font:lighter 16px/24px Aptos Light,sans-serif!important}.dropdownContainer{margin:0}.restyledSmBtns{flex-direction:column-reverse;input{width:100%!important;margin:0!important}.primaryContinue{white-space:normal;line-height:22px!important;padding:8px 16px!important;min-height:47px}}}}"]})}}return n})(),qM=(()=>{class n{constructor(t,i){this.service=t,this.activeModal=i,this.constant=p.YM}submitHCP(){this.service.updateHcp(this.requestHCPBody).subscribe(t=>{this.activeModal.close(t)})}onCancel(){this.activeModal.dismiss()}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(M.IT),e.rXU(G.Lw))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["ng-component"]],inputs:{requestHCPBody:"requestHCPBody",providerSpecialties:"providerSpecialties"},decls:31,vars:27,consts:[[1,"rf-pp-cntr","confirmModal","absenceConfirmModal"],[1,"rf-pp-cnt"],["src","assets/baseResources/gfx/redesignIcons/exit.svg","alt","Close","height","25px",3,"click"],["id","confirmTitleMessage"],["class","form-inline boxText",4,"ngIf"],[1,"form-inline","boxText"],["id","faxFormConfirm",1,"textAsLabel","subLabel","restyledLabel"],["id","faxToHcp",1,"modalDataCol","restyledValue"],[4,"ngIf"],["id","formReturnSection",1,"textAsLabel","subLabel","restyledLabel"],["id","allowOutreach",1,"modalDataCol","restyledValue"],[1,"btnRow","restyledSmBtns"],["type","submit","id","confirmBtn",1,"submit","primaryContinue",3,"click","value"],["type","button","id","cancelBtn",1,"submit","secondaryBtn","secondaryBack",3,"click","value"],["id","providerName",1,"textAsLabel","subLabel","restyledLabel"],["id","pfirstAndLastName",1,"modalDataCol","restyledValue"],["id","faciName",1,"textAsLabel","subLabel","restyledLabel"],["id","hcpFname",1,"modalDataCol","restyledValue"],["id","specialty",1,"textAsLabel","subLabel","restyledLabel"],["id","pSpecialty",1,"modalDataCol","restyledValue"],["id","faxNumber",1,"textAsLabel","subLabel","childLabel","restyledLabel"],["id","faxNumValue",1,"modalDataCol","restyledValue"],["id","faxRecpLabel",1,"textAsLabel","subLabel","childLabel","restyledLabel"],["id","faxRecepient",1,"modalDataCol","restyledValue"],["id","RefaxForm",1,"textAsLabel","restyledLabel","childLabe","restyledLabell"],["id","refaxFormYesNo",1,"modalDataCol","restyledValue"],["id","officePhone",1,"textAsLabel","subLabel","childLabel","restyledLabel"],["id","officeNumValue",1,"modalDataCol","restyledValue"],["id","mobilePhone",1,"textAsLabel","subLabel","childLabel","restyledLabel"],["id","mobilePhoneNum",1,"modalDataCol","restyledValue"],["id","hcpAddressLabel",1,"textAsLabel","subLabel","restyledLabel"],["id","hcpAddressValue",1,"modalDataCol","restyledValue"]],template:function(i,r){1&i&&(e.j41(0,"div",0)(1,"div",1)(2,"img",2),e.bIt("click",function(){return r.onCancel()}),e.k0s(),e.j41(3,"h2",3),e.EFF(4),e.nI1(5,"translate"),e.k0s(),e.DNE(6,q_,6,5,"div",4)(7,$M,6,4,"div",4)(8,UM,6,4,"div",4),e.j41(9,"div",5)(10,"span",6),e.EFF(11),e.nI1(12,"translate"),e.k0s(),e.j41(13,"span",7),e.EFF(14),e.nI1(15,"translate"),e.k0s()(),e.DNE(16,fm,4,3,"ng-container",8),e.j41(17,"div",5)(18,"span",9),e.EFF(19),e.nI1(20,"translate"),e.k0s(),e.j41(21,"span",10),e.EFF(22),e.nI1(23,"translate"),e.k0s()(),e.DNE(24,VM,3,2,"ng-container",8)(25,K_,10,8,"div",4),e.j41(26,"div",11)(27,"input",12),e.nI1(28,"translate"),e.bIt("click",function(){return r.submitHCP()}),e.k0s(),e.j41(29,"input",13),e.nI1(30,"translate"),e.bIt("click",function(){return r.onCancel()}),e.k0s()()()()),2&i&&(e.R7$(4),e.SpI(" ",e.bMT(5,13,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.confirmTitleMessage")," "),e.R7$(2),e.Y8G("ngIf",r.requestHCPBody.hcpLastName||r.requestHCPBody.hcpFirstName),e.R7$(),e.Y8G("ngIf",r.requestHCPBody.facilityName),e.R7$(),e.Y8G("ngIf",r.providerSpecialties),e.R7$(3),e.SpI(" ",e.bMT(12,15,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.FaxFormConfirm")," "),e.R7$(3),e.JRh(e.bMT(15,17,r.requestHCPBody.faxToHcp?"yes":"no")),e.R7$(2),e.Y8G("ngIf",r.requestHCPBody.faxToHcp),e.R7$(3),e.SpI(" ",e.bMT(20,19,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.FormsReturnedSectionConfirm")," "),e.R7$(3),e.JRh(e.bMT(23,21,r.requestHCPBody.allowOutreach?"yes":"no")),e.R7$(2),e.Y8G("ngIf",r.requestHCPBody.allowOutreach),e.R7$(),e.Y8G("ngIf",r.requestHCPBody.address1||r.requestHCPBody.address2||r.requestHCPBody.city||r.requestHCPBody.stateAbbreviation||r.requestHCPBody.zipCode),e.R7$(2),e.FS9("value",e.bMT(28,23,"myAbsences.reportTime.confirmBtn")),e.R7$(2),e.FS9("value",e.bMT(30,25,"myAbsences.reportTime.cancelBtn")))},dependencies:[ie.bT,Y.D9,Ze.yH],styles:[".modal-dialog[_ngcontent-%COMP%]{min-width:600px!important}.absenceConfirmModal[_ngcontent-%COMP%]{border-radius:30px!important;display:flex;flex-direction:column;max-width:750px!important;width:auto!important;hr{display:none}h2,#titleId{font: 35px/36px Aptos,sans-serif!important;text-align:center;color:#070f36!important;padding-bottom:20px}img{width:25px;height:25px;align-self:end}img:hover{cursor:pointer}span,#timeoutBody{font: 22px/36px Aptos,sans-serif!important;color:#070f36!important;word-break:normal!important}input.primaryLongContinue{border:none!important}.centered{text-align:center}.modal-header{padding-top:40px;justify-content:center}.exitCreateRequestModalTitle{color:#070f36!important;font-weight:400!important;padding-top:20px}.rf-pp-cnt{margin:20px 30px!important;display:flex;flex-direction:column}.dataGroupTitle{font: 25px/31px Aptos,sans-serif!important;padding:16px 0 4px}span.centered.dataGroupTitle{padding:30px 30px 10px}.restyledLabel{font: 22px/36px Aptos,sans-serif!important;color:#070f36!important;width:45%!important;margin-right:0;display:inline-block;margin-bottom:8px;text-align:left!important}.lighterLabel{font:lighter 22px/36px Aptos Light,sans-serif!important;color:#070f36!important;width:70%!important;margin-right:0;display:inline-block;text-align:left!important}.restyledValue{font: 22px/36px Aptos,sans-serif!important;color:#070f36!important;margin-right:0;display:inline-block;margin-bottom:8px;text-align:start!important}.lighterValue{font:lighter 22px/36px Aptos Light,sans-serif!important;color:#070f36!important;width:40%!important;margin-right:0;display:inline-block;text-align:start!important}.restyledSmBtns{flex-direction:row-reverse;justify-content:center;align-self:center;width:90%;margin-top:0;input{height:54px!important;width:50%!important;max-width:unset!important;padding:0 10px!important}}button.secondaryBtn:hover{background:transparent!important}.close-button{align-self:end;width:35px;height:35px}.secondaryLongBackButton,.twoSecondaryButtons{text-align:center;align-items:center;height:103px;input,button{height:54px!important;padding:0 10px!important;border-radius:30px!important;background:transparent!important;border:1px solid #070f36!important}}.twoSecondaryButtons input{width:50%!important;max-width:unset!important;margin:0}.secondaryLongBackButton{width:50%;button{width:100%}button:hover{color:#070f36!important}}.secondaryBack{color:#070f36!important}.confirmModal.textAsLabel{width:55%}.confirmModal.boxText{align-items:center}.modal-footer{border:none!important;padding-bottom:20px}.boxText{margin-left:8%}}@media (max-width: 850px){.absenceConfirmModal[_ngcontent-%COMP%]{.rf-pp-cnt{margin:20px 10px!important}.restyledLabel{width:100%!important}.restyledValue,.lighterValue,.lighterLabel{width:100%!important;max-width:unset!important}.lighterValue,.lighterLabel{margin-bottom:0!important}.restyledSmBtns{flex-direction:column!important;input{width:100%!important}.secondaryBack{margin:0!important}}.twoSecondaryButtons{flex-direction:column!important;input{width:100%!important;height:40px!important;margin:8px 0!important}}.indent{padding-left:0}.dataGroupTitle{padding:16px 0 0}.boxText{flex-direction:column;margin-left:8%}}}"]})}}return n})();const bm=n=>({disabled:n});function py(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",1)(1,"div",2)(2,"img",3),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.onCancel())}),e.k0s(),e.j41(3,"h2",4),e.EFF(4),e.nI1(5,"translate"),e.k0s(),e.j41(6,"div",5)(7,"span",6),e.EFF(8),e.nI1(9,"translate"),e.k0s(),e.j41(10,"span",7),e.EFF(11),e.nI1(12,"date"),e.k0s()(),e.j41(13,"div",5)(14,"span",8),e.EFF(15),e.nI1(16,"translate"),e.k0s(),e.j41(17,"span",9),e.EFF(18),e.nI1(19,"date"),e.k0s()(),e.j41(20,"div",10)(21,"input",11),e.nI1(22,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.onConfirm())}),e.k0s(),e.j41(23,"input",12),e.nI1(24,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.onCancel())}),e.k0s()()()()}if(2&n){const t=e.XpG();e.R7$(4),e.JRh(e.bMT(5,9,"myAbsences.leaveRequestDetails.updateDecisionEndDate.RTW.confirm.title")),e.R7$(4),e.SpI(" ",e.bMT(9,11,"myAbsences.leaveRequestDetails.updateDecisionEndDate.RTW.anticipatedStartDate"),": "),e.R7$(3),e.JRh(e.i5U(12,13,t.antiRTWDate,"MM/dd
1/yyyy")),e.R7$(4),e.SpI(" ",e.bMT(16,16,"myAbsences.leaveRequestDetails.updateDecisionEndDate.RTW.confirmReturnDate"),": "),e.R7$(3),e.JRh(e.i5U(19,18,t.confirmedRTWDate,"MM/dd/yyyy")),e.R7$(3),e.FS9("value",e.bMT(22,21,"myAbsences.reportTime.confirmBtn")),e.Y8G("ngClass",e.eq3(25,bm,t.isSubmitted)),e.R7$(2),e.FS9("value",e.bMT(24,23,"myAbsences.reportTime.cancelBtn")),e.Y8G("ngClass",e.eq3(27,bm,t.isSubmitted))}}function J_(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",1)(1,"div",2)(2,"img",3),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.onCancel())}),e.k0s(),e.j41(3,"h2",13),e.EFF(4),e.nI1(5,"translate"),e.k0s(),e.j41(6,"div",5)(7,"span",14),e.EFF(8),e.nI1(9,"translate"),e.k0s(),e.j41(10,"span",15),e.EFF(11),e.nI1(12,"date"),e.nI1(13,"date"),e.k0s()(),e.j41(14,"div",5)(15,"span",16),e.EFF(16),e.nI1(17,"translate"),e.k0s(),e.j41(18,"span",17),e.EFF(19),e.nI1(20,"date"),e.nI1(21,"date"),e.k0s()(),e.j41(22,"div",10)(23,"input",11),e.nI1(24,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.onRequestExt())}),e.k0s(),e.j41(25,"input",12),e.nI1(26,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.onCancel())}),e.k0s()()()()}if(2&n){const t=e.XpG();e.R7$(4),e.JRh(e.bMT(5,11,"myAbsences.leaveRequestDetails.updateDecisionEndDate.requestExtension.terms2")),e.R7$(4),e.SpI(" ",e.bMT(9,13,"myAbsences.leaveRequestDetails.updateDecisionEndDate.requestExtension.current"),": "),e.R7$(3),e.Lme(" ",e.i5U(12,15,t.dateFormater.getDate(t.currentStartDate),"MM/dd/yyyy")," - ",e.i5U(13,18,t.dateFormater.getDate(t.currentEndDate),"MM/dd/yyyy")," "),e.R7$(5),e.SpI(" ",e.bMT(17,21,"myAbsences.leaveRequestDetails.updateDecisionEndDate.requestExtension.needed"),": "),e.R7$(3),e.Lme(" ",e.i5U(20,23,t.newStartDate,"MM/dd/yyyy")," - ",e.i5U(21,26,t.newEndDate,"MM/dd/yyyy")," "),e.R7$(4),e.FS9("value",e.bMT(24,29,"myAbsences.reportTime.confirmBtn")),e.Y8G("ngClass",e.eq3(33,bm,t.isSubmitted)),e.R7$(2),e.FS9("value",e.bMT(26,31,"myAbsences.reportTime.cancelBtn")),e.Y8G("ngClass",e.eq3(35,bm,t.isSubmitted))}}const Q_=n=>({fieldError:n});function od(n,d){if(1&n&&(e.j41(0,"h1",4)(1,"span",5),e.EFF(2),e.nI1(3,"translate"),e.j41(4,"span",6),e.EFF(5),e.k0s()()()),2&n){const t=e.XpG();e.R7$(2),e.SpI(" ",e.bMT(3,4,"workingAs")," "),e.R7$(3),e.E5c(" ",t.userInfo.onBehalfFirstName," ",t.userInfo.onBehalfLastName," (",t.userInfo.onBehalfEmplNumber,") ")}}function XM(n,d){if(1&n&&(e.j41(0,"div",31)(1,"span",32),e.nrm(2,"span",33),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.Y8G("innerHTML",t.errorMsg,e.npT)}}function zM(n,d){1&n&&(e.j41(0,"div",34)(1,"span",35),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"validation.invalidDate")," "))}function fu(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",7)(1,"h1",8),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div",9),e.nrm(5,"div",10),e.j41(6,"p",11),e.EFF(7),e.nI1(8,"translate"),e.k0s(),e.nrm(9,"div",10),e.j41(10,"p",12),e.EFF(11),e.nI1(12,"translate"),e.j41(13,"a",13),e.EFF(14),e.nI1(15,"translate"),e.k0s(),e.EFF(16," . "),e.k0s(),e.DNE(17,XM,3,1,"div",14),e.nrm(18,"br"),e.j41(19,"div",15)(20,"strong")(21,"span",16),e.EFF(22),e.nI1(23,"translate"),e.k0s()(),e.j41(24,"span",17),e.EFF(25),e.nI1(26,"date"),e.k0s()(),e.j41(27,"div",15)(28,"strong")(29,"span",18),e.EFF(30),e.nI1(31,"translate"),e.k0s()(),e.j41(32,"span",19),e.EFF(33),e.nI1(34,"date"),e.k0s(),e.nrm(35,"img",20),e.nI1(36,"translate"),e.k0s(),e.j41(37,"div",21)(38,"div",15)(39,"span",22),e.EFF(40),e.nI1(41,"translate"),e.k0s(),e.j41(42,"span",23),e.nrm(43,"img",24),e.nI1(44,"translate"),e.k0s()(),e.j41(45,"div",15)(46,"input",25,0),e.bIt("dateSelect",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.clearError())})("focus",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.clearError())}),e.mxI("ngModelChange",function(r){e.eBV(t);const u=e.XpG();return e.DH7(u.confirmRTWDate,r)||(u.confirmRTWDate=r),e.Njj(r)}),e.k0s(),e.j41(48,"img",26),e.bIt("click",function(){e.eBV(t);const r=e.sdS(47);return e.Njj(r.toggle())}),e.k0s()()(),e.DNE(49,zM,4,3,"div",27),e.j41(50,"div",28)(51,"input",29),e.nI1(52,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.back())}),e.k0s(),e.j41(53,"input",30),e.nI1(54,"translate"),e.nI1(55,"async"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.submitRTW())}),e.k0s()()()()}if(2&n){const t=e.XpG();e.R7$(2),e.SpI(" ",e.bMT(3,23,"myAbsences.leaveRequestDetails.updateDecisionEndDate.RTW.title"),""),e.R7$(5),e.SpI(" ",e.bMT(8,25,"myAbsences.leaveRequestDetails.updateDecisionEndDate.RTW.disclaimer1"),""),e.R7$(4),e.SpI(" ",e.bMT(12,27,"myAbsences.leaveRequestDetails.updateDecisionEndDate.RTW.disclaimer2")," "),e.R7$(3),e.JRh(e.bMT(15,29,"contactUs")),e.R7$(3),e.Y8G("ngIf",t.errorMsg),e.R7$(5),e.SpI(" ",e.bMT(23,31,"myAbsences.leaveRequestDetails.updateDecisionEndDate.RTW.leaveEndDate")," "),e.R7$(3),e.SpI(" ",e.i5U(26,33,t.dateFormater.getDate(t.decision.endDate),"MM/dd/yyyy"),""),e.R7$(5),e.SpI(" ",e.bMT(31,36,"myAbsences.leaveRequestDetails.updateDecisionEndDate.RTW.anticipatedStartDate")," "),e.R7$(3),e.SpI(" ",e.i5U(34,38,t.anticipatedReturnToWorkDate,"MM/dd
1/yyyy"),""),e.R7$(2),e.Y8G("ngbTooltip",e.bMT(36,41,"myAbsences.leaveRequestDetails.updateDecisionEndDate.RTW.tooltip1")),e.R7$(5),e.SpI(" ",e.bMT(41,43,"myAbsences.leaveRequestDetails.updateDecisionEndDate.RTW.confirmReturnDate")," "),e.R7$(3),e.Y8G("ngbTooltip",e.bMT(44,45,"myAbsences.leaveRequestDetails.updateDecisionEndDate.RTW.tooltip2")),e.R7$(3),e.Y8G("firstDayOfWeek",7),e.R50("ngModel",t.confirmRTWDate),e.Y8G("startDate",t.calDate)("ngClass",e.eq3(53,Q_,t.emptyEndDate)),e.R7$(2),e.Mz_("src","",t.domainResourcePath,"/gfx/redesignIcons/calendar.svg",e.B4B),e.R7$(),e.Y8G("ngIf",t.emptyEndDate),e.R7$(2),e.FS9("value",e.bMT(52,47,"myAbsences.reportTime.cancelBtn")),e.R7$(2),e.Mz_("value","",e.bMT(54,49,"myAbsences.leaveRequestDetails.updateDecisionEndDate.RTW.submit")," "),e.Y8G("disabled",null!==e.bMT(55,51,t.userService.portalPermission$))}}function KM(n,d){if(1&n&&(e.j41(0,"div",31)(1,"span",48),e.nrm(2,"span",33),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.Y8G("innerHTML",t.errorMsg,e.npT)}}function Z_(n,d){1&n&&(e.j41(0,"div",34)(1,"span",49),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"validation.invalidDate")," "))}function Wk(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",36)(1,"h1",37),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div",9),e.nrm(5,"div",10),e.j41(6,"p",11),e.EFF(7),e.nI1(8,"translate"),e.k0s(),e.nrm(9,"div",10),e.j41(10,"p",38),e.EFF(11),e.nI1(12,"translate"),e.k0s(),e.DNE(13,KM,3,1,"div",14),e.nrm(14,"br"),e.j41(15,"div",15)(16,"span",39),e.EFF(17),e.nI1(18,"translate"),e.k0s(),e.j41(19,"span",40),e.EFF(20),e.nI1(21,"date"),e.nI1(22,"date"),e.k0s(),e.nrm(23,"img",41),e.k0s(),e.j41(24,"div",42)(25,"label",43),e.EFF(26),e.nI1(27,"translate"),e.k0s(),e.j41(28,"span",44),e.EFF(29),e.nI1(30,"date"),e.k0s(),e.j41(31,"input",45,0),e.bIt("dateSelect",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.clearError())})("focus",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.clearError())}),e.mxI("ngModelChange",function(r){e.eBV(t);const u=e.XpG();return e.DH7(u.extNewDate,r)||(u.extNewDate=r),e.Njj(r)}),e.k0s(),e.j41(33,"img",46),e.bIt("click",function(){e.eBV(t);const r=e.sdS(32);return e.Njj(r.toggle())}),e.k0s()(),e.DNE(34,Z_,4,3,"div",27),e.j41(35,"div",28)(36,"input",29),e.nI1(37,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.back())}),e.k0s(),e.j41(38,"input",47),e.nI1(39,"translate"),e.nI1(40,"async"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.submitExtention())}),e.k0s()()()()}if(2&n){const t=e.XpG();e.R7$(2),e.SpI(" ",e.bMT(3,20,"myAbsences.leaveRequestDetails.updateDecisionEndDate.requestExtension.title"),""),e.R7$(5),e.SpI(" ",e.bMT(8,22,"myAbsences.leaveRequestDetails.updateDecisionEndDate.requestExtension.disclaimer1")," "),e.R7$(4),e.SpI(" ",e.bMT(12,24,"myAbsences.leaveRequestDetails.updateDecisionEndDate.requestExtension.disclaimer2")," "),e.R7$(2),e.Y8G("ngIf",t.errorMsg),e.R7$(4),e.SpI(" ",e.bMT(18,26,"myAbsences.leaveRequestDetails.updateDecisionEndDate.requestExtension.current")," "),e.R7$(3),e.Lme(" ",e.i5U(21,28,t.dateFormater.getDate(t.decision.startDate),"MM/dd/yyyy")," - ",e.i5U(22,31,t.dateFormater.getDate(t.decision.endDate),"MM/dd/yyyy")," "),e.R7$(3),e.Y8G("ngbTooltip",t.getTooltipText()),e.R7$(3),e.SpI(" ",e.bMT(27,34,"myAbsences.leaveRequestDetails.updateDecisionEndDate.requestExtension.needed")," "),e.R7$(3),e.SpI(" ",e.i5U(30,36,t.getCalculatedStartDate(t.decision.endDate),"MM/dd/yyyy")," - "),e.R7$(2),e.Y8G("firstDayOfWeek",7)("startDate",t.calDate),e.R50("ngModel",t.extNewDate),e.Y8G("ngClass",e.eq3(45,Q_,t.emptyEndDate)),e.R7$(2),e.Mz_("src","",t.domainResourcePath,"/gfx/redesignIcons/calendar.svg",e.B4B),e.R7$(),e.Y8G("ngIf",t.emptyEndDate),e.R7$(2),e.FS9("value",e.bMT(37,39,"myAbsences.reportTime.cancelBtn")),e.R7$(2),e.FS9("value",e.bMT(39,41,"myAbsences.leaveRequestDetails.updateDecisionEndDate.requestExtension.submit")),e.Y8G("disabled",null!==e.bMT(40,43,t.userService.portalPermission$))}}let eg=(()=>{class n{constructor(t,i){this.activeModal=t,this.service=i,this.dateFormater=ho}onConfirm(){this.requestBody=new Yt.EE,this.requestBody.leaveID=this.leaveRequestId,this.requestBody.decisionID=this.decisionId,this.requestBody.rtwDate=ho.formatDate(this.antiRTWDate),this.requestBody.newEndDate=ho.formatDate(this.confirmedRTWDate),this.isSubmitted=!0,this.service.updateDecisionEndDate(this.requestBody).subscribe(t=>{this.isSubmitted=!1,this.activeModal.close(t)})}onCancel(){this.activeModal.dismiss()}onRequestExt(){this.requestBody=new Yt.EE,this.requestBody.leaveID=this.leaveRequestId,this.requestBody.decisionID=this.decisionId,this.requestBody.newEndDate=ho.formatDate(this.newEndDate),this.isSubmitted=!0,this.service.updateDecisionEndDate(this.requestBody).subscribe(t=>{this.isSubmitted=!1,this.activeModal.close(t)})}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(G.Lw),e.rXU(M.IT))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["ng-component"]],inputs:{leaveRequestId:"leaveRequestId",decisionId:"decisionId",antiRTWDate:"antiRTWDate",confirmedRTWDate:"confirmedRTWDate",currentStartDate:"currentStartDate",currentEndDate:"currentEndDate",newStartDate:"newStartDate",newEndDate:"newEndDate"},decls:2,vars:2,consts:[["class","rf-pp-cntr confirmModal absenceConfirmModal",4,"ngIf"],[1,"rf-pp-cntr","confirmModal","absenceConfirmModal"],[1,"rf-pp-cnt"],["src","assets/baseResources/gfx/redesignIcons/exit.svg","alt","Close","height","25px",3,"click"],["id","title"],[1,"form-inline","boxText"],["id","rtwAST",1,"textAsLabel","subLabel","restyledLabel"],["id","antiRTWDate",1,"modalDataCol","restyledValue"],["id","confirmReturnDate",1,"textAsLabel","subLabel","restyledLabel"],["id","confirmedRTWDate",1,"modalDataCol","restyledValue"],[1,"btnRow","restyledSmBtns"],["type","submit","id","confirmBtn",1,"submit","primaryContinue",3,"click","value","ngClass"],["type","button","id","cancelBtn",1,"submit","secondaryBtn","secondaryBack",3,"click","value","ngClass"],["
1id","terms2"],["id","rECurrent",1,"textAsLabel","subLabel","restyledLabel"],["id","rEcurrentStartDate",1,"modalDataCol","restyledValue"],["id","rENeeded",1,"textAsLabel","subLabel","restyledLabel"],["id","rEStartEndDate",1,"modalDataCol","restyledValue"]],template:function(i,r){1&i&&e.DNE(0,py,25,29,"div",0)(1,J_,27,37,"div",0),2&i&&(e.Y8G("ngIf",r.antiRTWDate),e.R7$(),e.Y8G("ngIf",r.currentStartDate))},dependencies:[ie.YU,ie.bT,ie.vh,Y.D9],styles:[".modal-dialog[_ngcontent-%COMP%]{min-width:600px!important}.absenceConfirmModal[_ngcontent-%COMP%]{border-radius:30px!important;display:flex;flex-direction:column;max-width:750px!important;width:auto!important;hr{display:none}h2,#titleId{font: 35px/36px Aptos,sans-serif!important;text-align:center;color:#070f36!important;padding-bottom:20px}img{width:25px;height:25px;align-self:end}img:hover{cursor:pointer}span,#timeoutBody{font: 22px/36px Aptos,sans-serif!important;color:#070f36!important;word-break:normal!important}input.primaryLongContinue{border:none!important}.centered{text-align:center}.modal-header{padding-top:40px;justify-content:center}.exitCreateRequestModalTitle{color:#070f36!important;font-weight:400!important;padding-top:20px}.rf-pp-cnt{margin:20px 30px!important;display:flex;flex-direction:column}.dataGroupTitle{font: 25px/31px Aptos,sans-serif!important;padding:16px 0 4px}span.centered.dataGroupTitle{padding:30px 30px 10px}.restyledLabel{font: 22px/36px Aptos,sans-serif!important;color:#070f36!important;width:45%!important;margin-right:0;display:inline-block;margin-bottom:8px;text-align:left!important}.lighterLabel{font:lighter 22px/36px Aptos Light,sans-serif!important;color:#070f36!important;width:70%!important;margin-right:0;display:inline-block;text-align:left!important}.restyledValue{font: 22px/36px Aptos,sans-serif!important;color:#070f36!important;margin-right:0;display:inline-block;margin-bottom:8px;text-align:start!important}.lighterValue{font:lighter 22px/36px Aptos Light,sans-serif!important;color:#070f36!important;width:40%!important;margin-right:0;display:inline-block;text-align:start!important}.restyledSmBtns{flex-direction:row-reverse;justify-content:center;align-self:center;width:90%;margin-top:0;input{height:54px!important;width:50%!important;max-width:unset!important;padding:0 10px!important}}button.secondaryBtn:hover{background:transparent!important}.close-button{align-self:end;width:35px;height:35px}.secondaryLongBackButton,.twoSecondaryButtons{text-align:center;align-items:center;height:103px;input,button{height:54px!important;padding:0 10px!important;border-radius:30px!important;background:transparent!important;border:1px solid #070f36!important}}.twoSecondaryButtons input{width:50%!important;max-width:unset!important;margin:0}.secondaryLongBackButton{width:50%;button{width:100%}button:hover{color:#070f36!important}}.secondaryBack{color:#070f36!important}.confirmModal.textAsLabel{width:55%}.confirmModal.boxText{align-items:center}.modal-footer{border:none!important;padding-bottom:20px}.boxText{margin-left:8%}}@media (max-width: 850px){.absenceConfirmModal[_ngcontent-%COMP%]{.rf-pp-cnt{margin:20px 10px!important}.restyledLabel{width:100%!important}.restyledValue,.lighterValue,.lighterLabel{width:100%!important;max-width:unset!important}.lighterValue,.lighterLabel{margin-bottom:0!important}.restyledSmBtns{flex-direction:column!important;input{width:100%!important}.secondaryBack{margin:0!important}}.twoSecondaryButtons{flex-direction:column!important;input{width:100%!important;height:40px!important;margin:8px 0!important}}.indent{padding-left:0}.dataGroupTitle{padding:16px 0 0}.boxText{flex-direction:column;margin-left:8%}}}"]})}}return n})(),hy=(()=>{class n{constructor(t,i,r,u,v,V,Ce){this.modalService=t,this.activatedRoute=i,this.router=r,this.eventService=u,this.translate=v,this.userService=V,this.abiSelfService=Ce,this.domainResourcePath=se.z.getBaseResourcePath(),this.data=history.state.data,this.dateFormater=ho,this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO))}ngOnInit(){null==this.data&&(localStorage.clear(),this.router.navigate(["error-page"])),this.leaveRequestId=this.data.leaveRequestId,this.decision=JSON.parse(this.data.decision),this.plannedBegin=JSON.parse(this.data.leaveRequestPlannedBegin);const t=this.data.pageTitle;switch(this.emptyEndDate=!1,t){case"RTW":this.antiRTWDate=this.activatedRoute.snapshot.data.antiRTWDate||sessionStorage.getItem("antiRTWDate"),this.showRTW=!0,sessionStorage.setItem("antiRTWDate",this.antiRTWDate),this.anticipatedReturnToWorkDate=this.dateFormater.getDate(this.antiRTWDate),this.anticipatedReturnToWorkDate&&(this.confirmRTWDate={year:this.anticipatedReturnToWorkDate.getFullYear(),month:this.anticipatedReturnToWorkDate.getMonth()+1,day:this.anticipatedReturnToWorkDate.getDate()},this.calDate=this.confirmRTWDate);break;case"RequestExtention":this.showRequestExtention=!0,this.actionId=JSON.parse(this.data.actionId),this.frequencyCodeId=JSON.parse(this.data.frequencyCodeId),this.frequency=this.data.frequency}}submitRTW(){const t=this.confirmRTWDate,i=this.dateFormater.getDate(this.decision.startDate).toISOString();if(!(t&&t.year&&t.month&&t.day))return void(this.emptyEndDate=!0);const r=on(new Date(t.year,t.month-1,t.day)),u=on(this.anticipatedReturnToWorkDate);if(r.isBefore(on(i),"day")?this.errorMsg=this.translate.instant("myAbsences.leaveRequestDetails.updateDecisionEndDate.RTW.returnToWorkBox.validation.date.before"):r.isAfter(u,"day")&&(this.errorMsg=this.translate.instant("myAbsences.leaveRequestDetails.updateDecisionEndDate.RTW.validation.date.after")),this.errorMsg)return;const v=this.modalService.open(eg,{centered:!0,backdrop:"static"});v.componentInstance.leaveRequestId=this.leaveRequestId,v.componentInstance.decisionId=this.decision.decisionId,v.componentInstance.antiRTWDate=this.anticipatedReturnToWorkDate,v.componentInstance.confirmedRTWDate=new Date(this.confirmRTWDate.year,this.confirmRTWDate.month-1,this.confirmRTWDate.day),v.result.then(V=>{1==V?(this.abiSelfService.pageCompleted(Ka.BV.updateDecisionEndDate),this.eventService.logEvent(p.sb.UPDATE_RETURN_TO_WORK_SUBMIT,"Submit Return to Work","LeaveRequest# "+this.leaveRequestId+" - "+this.decision.decisionId.toString()),sessionStorage.setItem(p.YM.CONFIRMATION_MSG_SUCCESS,this.get
1SuccessMessage()),this.back()):-1==V&&(this.eventService.logEvent(p.sb.UPDATE_RETURN_TO_WORK_ERROR,"There was an error submitting your request, please try again. If the error persists please contact us.","LeaveRequest# "+this.leaveRequestId+" - "+this.decision.decisionId.toString()),sessionStorage.setItem(p.YM.CONFIRMATION_MSG_FAILURE,this.translate.instant("myAbsences.leaveRequestDetails.updateDecisionEndDate.RTW.returnToWorkBox.validation.error")),this.back())})}getTooltipText(){return this.translate.instant("myAbsences.leaveRequestDetails.updateDecisionEndDate.requestExtension.terms1",{value:this.frequency})}getCalculatedStartDate(t){const i=this.dateFormater.getDate(t);this.newStartDateExt=i;const r=i;return r.setDate(r.getDate()+1),this.calDate={year:r.getFullYear(),month:r.getMonth()+1,day:r.getDate()},i}clearError(){this.emptyEndDate=!1,this.errorMsg=void 0}submitExtention(){const t=this.extNewDate;let i;if(t)try{i=new Date(t.year,t.month-1,t.day).toISOString()}catch{return void(this.emptyEndDate=!0)}const r=this.dateFormater.getDate(this.decision.startDate).toISOString(),u=this.dateFormater.getDate(this.decision.endDate).toISOString();if(!(t&&t.year&&t.month&&t.day))return void(this.emptyEndDate=!0);const v=on(i),V=on(this.dateFormater.getDate(this.plannedBegin)).add(2,"years"),Ce=on(r).add(1,"year"),it=on(r),At=on(u);if(v.isSameOrBefore(At))this.errorMsg=this.translate.instant("myAbsences.leaveRequestDetails.updateDecisionEndDate.requestExtension.validation.date.prior");else if(v.isBefore(it)||v.isSameOrAfter(V))this.errorMsg=this.translate.instant("myAbsences.leaveRequestDetails.updateDecisionEndDate.requestExtension.validation.date.2year");else{if(v.isSameOrAfter(Ce)&&v.isBefore(V)){const Jt={state:{data:{leaveRequestId:this.leaveRequestId,currentStartDate:this.decision.startDate,currentEndDate:this.decision.endDate,newStartDate:this.newStartDateExt,decisionId:this.decision.decisionId,newEndDate:new Date(this.extNewDate.year,this.extNewDate.month-1,this.extNewDate.day),requestExtentionData:this.data}}};return void this.router.navigate(["confirmRequestExtention"],Jt)}this.isDatesOverlapping(v,At)&&(this.errorMsg=this.translate.instant("myAbsences.leaveRequestDetails.updateDecisionEndDate.requestExtension.validation.date.overlap",{value:this.frequency}))}if(this.errorMsg)return;const Ot=this.modalService.open(eg,{centered:!0,backdrop:"static"});Ot.componentInstance.leaveRequestId=this.leaveRequestId,Ot.componentInstance.decisionId=this.decision.decisionId,Ot.componentInstance.currentStartDate=this.decision.startDate,Ot.componentInstance.currentEndDate=this.decision.endDate,Ot.componentInstance.newStartDate=this.newStartDateExt,Ot.componentInstance.newEndDate=new Date(this.extNewDate.year,this.extNewDate.month-1,this.extNewDate.day),Ot.result.then(Jt=>{1==Jt?(this.eventService.logEvent(p.sb.UPDATE_REQUEST_EXTENSION_SUBMIT,"Submit Requesting Extension","LeaveRequest# "+this.leaveRequestId+" - "+this.decision.decisionId.toString()),sessionStorage.setItem(p.YM.CONFIRMATION_MSG_SUCCESS,this.translate.instant("myAbsences.leaveRequestDetails.updateDecisionEndDate.requestExtension.validation.success")),this.back()):-1==Jt&&(this.eventService.logEvent(p.sb.UPDATE_REQUEST_EXTENSION_ERROR,"There was an error submitting your request, please try again. If the error persists please contact us.","LeaveRequest# "+this.leaveRequestId+" - "+this.decision.decisionId.toString()),sessionStorage.setItem(p.YM.CONFIRMATION_MSG_FAILURE,this.translate.instant("myAbsences.leaveRequestDetails.updateDecisionEndDate.requestExtension.validation.error")),this.back())})}back(){this.router.navigateByUrl("leaveDetails?leaveID="+this.leaveRequestId+"&mapTypes=lrHCPSpecialtyMap,DecisionReasonDeniedMap,DecisionReasonCancelledMap,LeaveDecisionStatusMap")}isDatesOverlapping(t,i){const r=JSON.parse(this.data.actionsList);for(const u of r)if(u.frequencyCodeId==this.frequencyCodeId&&u.actionId!=this.actionId)for(const v of u.decisions){const V=on(this.dateFormater.getDate(v.startDate).toISOString());if(i.isSameOrBefore(V)&&t.isSameOrAfter(V))return!0}return!1}getSuccessMessage(){return this.translate.instant(!0===this.activatedRoute.snapshot.data.accountHasRtwProduct?"myAbsences.leaveRequestDetails.updateDecisionEndDate.RTW.returnToWorkBox.validation.success.submitdocs":"myAbsences.leaveRequestDetails.updateDecisionEndDate.RTW.returnToWorkBox.validation.success")}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(G.Bq),e.rXU(q.nX),e.rXU(q.Ix),e.rXU(M.US),e.rXU(Y.c$),e.rXU(M.DL),e.rXU(Kd))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-update-placement-delivery"]],features:[e.Jv_([{provide:G.tN,useClass:b.ls}])],decls:3,vars:3,consts:[["d","ngbDatepicker"],["class","hoverable","id","wobAbsTitle",4,"ngIf"],["id","rtwBox","class","plainRestyled",4,"ngIf"],["id","requestExtentionBox","class","plainRestyled",4,"ngIf"],["id","wobAbsTitle",1,"hoverable"],[1,"font-italic"],[1,"user-info-header"],["id","rtwBox",1,"plainRestyled"],["id","rtwTitle",1,"restyledTitle"],[1,"intFormPage","adjustLeave"],[1,"clearFix"],["id","disclaimer1",1,"restyledSubtitle"],["id","disclaimer2",1,"restyledSubtitle"],["id","contactUs","routerLink","/contactUs"],["class","rf-msgs-err",4,"ngIf"],[1,"form-inline","boxText"],["id","leaveEndDate",1,"restyledLabel"],["id","endDateValue",1,"smDateDisplay"],["id","anticipatedStartDate",1,"restyledLabel"],["id","ARTWDate",1,"smDateDisplay"],["src","assets/baseResources/gfx/redesignIcons/faqs.svg","height","21p
1x","id","helpTipRTW","triggers","click:blur","placement","bottom",3,"ngbTooltip"],[1,"restyledRow"],["for","dateField","id","CRTWLabel",1,"restyledLabel","fixedLabel"],["for","toDateCal","id","DateCalLabel",1,"normalLabel"],["src","assets/baseResources/gfx/redesignIcons/faqs.svg","height","21px","id","toDateCal","triggers","click:blur","placement","bottom",1,"rebrandedHelpTip",3,"ngbTooltip"],["ngbDatepicker","","placeholder","mm/dd/yyyy","id","dateField","autocomplete","off",1,"rf-cal-inp","inputContainer","redesignedInput",3,"dateSelect","focus","ngModelChange","firstDayOfWeek","ngModel","startDate","ngClass"],["alt","Calendar","id","datePicker","id","calImgIcon","height","31px",3,"click","src"],["class","rf-msgs-err clear",4,"ngIf"],[1,"restyledSmBtns"],["type","button","id","backBtn",1,"secondaryBack",3,"click","value"],["type","button","id","RTWSubmit",1,"primaryLongContinue",3,"click","value","disabled"],[1,"rf-msgs-err"],["id","errErrorMsgRtw",1,"rf-msgs-sum"],["id","errorMsg",3,"innerHTML"],[1,"rf-msgs-err","clear"],["id","errDateBlankExt",1,"rf-msgs-sum"],["id","requestExtentionBox",1,"plainRestyled"],["id","RETitle",1,"restyledTitle"],["id","disclaimer2",1,"enterDateMessage"],["id","rECurrent",1,"restyledLabel"],["id","startEndDate",1,"smDateDisplay"],["src","assets/baseResources/gfx/redesignIcons/faqs.svg","id","helpTipStartEndDate","triggers","click:blur","placement","top","height","21px",3,"ngbTooltip"],[1,"form-inline","boxText","smInputContainer"],["for","dateField","id","rENeeded",1,"restyledLabel"],["id","rEEndDate",1,"smDateDisplay"],["ngbDatepicker","","id","dateField","placeholder","mm/dd/yyyy","autocomplete","off","name","extNewDate",1,"rf-cal-inp","inputContainer","redesignedInput",3,"dateSelect","focus","ngModelChange","firstDayOfWeek","startDate","ngModel","ngClass"],["height","20px","width","20px","alt","Calendar","id","datePicker",3,"click","src"],["type","button","id","rESubmit",1,"primaryLongContinue",3,"click","value","disabled"],["id","errMsgExt",1,"rf-msgs-sum"],["id","errDateBlank",1,"rf-msgs-sum"]],template:function(i,r){1&i&&e.DNE(0,od,6,6,"h1",1)(1,fu,56,55,"div",2)(2,Wk,41,47,"div",3),2&i&&(e.Y8G("ngIf",r.userInfo.wob),e.R7$(),e.Y8G("ngIf",r.showRTW),e.R7$(),e.Y8G("ngIf",r.showRequestExtention))},dependencies:[ie.YU,ie.bT,q.Wk,ge.me,ge.BC,ge.vS,G.cw,G.md,ie.Jj,ie.vh,Y.D9],styles:[".restyledTitle[_ngcontent-%COMP%]{font: 35px/80px Aptos,sans-serif!important;margin:0;color:#070f36}.restyledSubtitle[_ngcontent-%COMP%], .smDateDisplay[_ngcontent-%COMP%]{font: 18px/25px Aptos,sans-serif!important;color:#070f36!important;margin:0!important}.enterDateMessage[_ngcontent-%COMP%]{font: 22px/25px Aptos,sans-serif!important;color:#070f36!important;padding-top:24px}.restyledLabel[_ngcontent-%COMP%]{font:bolder 18px/25px Aptos,sans-serif!important;color:#070f36!important;width:39%!important;margin-right:0;display:inline-block;margin-bottom:8px}.redesignedInput[_ngcontent-%COMP%]{width:120px!important}.restyledRow[_ngcontent-%COMP%]{display:flex;gap:7%}.fixedLabel[_ngcontent-%COMP%]{flex:1;width:auto!important}.confirmContainer[_ngcontent-%COMP%]{display:flex}@media (max-width: 1024px){.restyledRow[_ngcontent-%COMP%]{gap:0}}@media (max-width: 850px){.restyledTitle[_ngcontent-%COMP%]{font:lighter 20px/37px Aptos Light,sans-serif!important;margin-bottom:20px}.restyledSubtitle[_ngcontent-%COMP%], .enterDateMessage[_ngcontent-%COMP%]{font:lighter 16px/24px Aptos Light,sans-serif!important}input.primaryLongContinue[_ngcontent-%COMP%]{height:43px!important}.restyledLabel[_ngcontent-%COMP%]{font:bolder 14px/25px Aptos,sans-serif!important;color:#000;width:100%!important}.smDateDisplay[_ngcontent-%COMP%]{font:lighter 14px/25px Aptos Light,sans-serif!important}.restyledRow[_ngcontent-%COMP%]{flex-direction:column}.fixedLabel[_ngcontent-%COMP%]{width:200px!important}}"]})}}return n})(),tg=(()=>{class n{static{this.FOSTER_CARE=11184}static{this.BIOLOGICAL=11182}static{this.ADOPTION=11183}static{this.OTHER=-1}static{this.SURGERY=-1}static{this.SURGERY_BACK=11030}static{this.SURGERY_FOOT=11676}static{this.SURGERY_GALLBLADDER=11675}static{this.SURGERY_HEART=11031}static{this.SURGERY_HYSTERECTOMY=11674}static{this.SURGERY_KNEE=11029}static{this.SURGERY_RECONSTRUCTIVE=11032}static{this.SURGERY_VASCULAR=11033}static{this.SURGERY_OTHER=11034}static{this.CONDITION_CHRONIC_BACK_CONDITION=11035}static{this.CONDITION_BACK_INJURY=11036}static{this.CONDITION_BEREAVEMENT=11037}static{this.CONDITION_BONDING=11038}static{this.CONDITION_MIGRAINES=11039}static{this.CONDITION_ARTHRITIS=11040}static{this.CONDITION_KNEE_INJURY=11042}static{this.CONDITION_CANCER=11043}static{this.CONDITION_PREGNANCY_NORMAL=11044}static{this.CONDITION_PREGNANCY_COMPLICATION=11045}static{this.CONDITION_DEPRESSION_ANXIETY=11046}static{this.CONDITION_HOSPITALIZATION=11047}static{this.CONDITION_ACCIDENT=11048}static{this.CONDITION_DIABETES=11049}static{this.CONDITION_ASTHMA_COPD=11050}static{this.CONDITION_CARPAL_TUNNEL_SYNDROME=11051}static{this.CONDITION_NECK_SHOULDER_INJURY=11052}static{this.CONDITION_ACUTE_SINUSITIS_ALLERGIES=11053}static{this.CONDITION_HYPERTENSION=11054}static{this.CONDITION_ORGAN_BONE_MARROW_DONATION=11137}static{this.CONDITION_CIVIC=11167}static{this.CONDITION_CRIME_VICTIM_COURT_WITNESS=11168}static{this.CONDITION_DOMESTIC_VIOLENCE=11169}static{this.CONDITION_INJURED_SERVICE_MEMBER=11170}static{this.CONDITION_JURY=11171}static{this.CONDITION_MILITARY=11172}static{this.CONDITION_SCHOOL_VISITATION=11174}static{this.CONDITION_SCHOOL_CLOSURE=111964}static{this.CONDITION_OTHER=11028}static{this.CONDITION_QUALIFYING_EXIGENCY=11173}static{this.CONDITION_COVID_19=111978}static{this.CONDITION_DECLINE_TO_IDENTIFY=111890}static isFosterCareOrAdoption(t){return t===this.FOSTER_CARE||t===this.ADOPTION}}return n})();const _u=n=>({plainRestyled:n}),JM=n=>({restyledWorkingAs:n});function QM(n,d){if(1&n&&(e.j41(0,"h1",25)(1,"span",26),e.EFF(2),e.nI1(3,"translate"),e.j41(4,"span",27),e.EFF(5),e.k0s()()()),2&n){const t=e.XpG();e.Y8G("ngClass",e.eq3(7,JM,t.isAbsenceResourcesDomain)),e.R7$(2),e.SpI(" ",e.bMT(3,5,"workingAs")," "),e.R7$(3),e.E5c(" ",t.userInfo.onBehalfFirstName," ",t.userInfo.onBehalfLastName," 
1(",t.userInfo.onBehalfEmplNumber,") ")}}function ZM(n,d){if(1&n&&(e.j41(0,"div"),e.nrm(1,"app-messages",28),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("errorMessages",t.errorMsgs)}}function gu(n,d){1&n&&(e.j41(0,"h1",29),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"myAbsences.leaveRequestDetails.updatePlacementDelivery.confirmDeliveryDetails.confirmLabel")," "))}function eS(n,d){1&n&&(e.j41(0,"h1",30),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"myAbsences.leaveRequestDetails.updatePlacementDelivery.confirmPlacementDetails.confirmLabel")," "))}function vm(n,d){if(1&n&&(e.j41(0,"span",35)(1,"div",36),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.nrm(4,"br"),e.k0s()),2&n){const t=d.$implicit;e.R7$(2),e.JRh(e.bMT(3,1,t))}}function ym(n,d){if(1&n&&(e.j41(0,"span",33),e.DNE(1,vm,5,3,"span",34),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngForOf",t.errorMsgs)}}function _a(n,d){if(1&n&&(e.j41(0,"div",31),e.DNE(1,ym,2,1,"span",32),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.errorMsgs.length>0)}}function my(n,d){if(1&n){const t=e.RV6();e.j41(0,"img",37),e.bIt("click",function(){e.eBV(t),e.XpG();const r=e.sdS(24);return e.Njj(r.toggle())}),e.k0s()}if(2&n){const t=e.XpG();e.Mz_("src","",t.domainResourcePath,"/calendarIcon.png",e.B4B)}}function fy(n,d){if(1&n){const t=e.RV6();e.j41(0,"img",38),e.bIt("click",function(){e.eBV(t),e.XpG();const r=e.sdS(24);return e.Njj(r.toggle())}),e.k0s()}if(2&n){const t=e.XpG();e.Mz_("src","",t.domainResourcePath,"/gfx/redesignIcons/calendar.svg",e.B4B)}}function tS(n,d){1&n&&(e.j41(0,"div",39)(1,"span",40),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"validation.invalidDate")," "))}function _y(n,d){if(1&n&&(e.j41(0,"option",49),e.EFF(1),e.k0s()),2&n){const t=d.$implicit,i=e.XpG(2);e.Y8G("value",t.value.id)("selected",t.value.id===i.leaveRequest.confirmedDeliveryMthdId),e.R7$(),e.SpI(" ",0==i.localeId?t.value.displayValueEng:t.value.displayValueEsp," ")}}function gy(n,d){if(1&n){const t=e.RV6();e.qex(0,41),e.j41(1,"div",10)(2,"label",42),e.EFF(3),e.k0s()(),e.j41(4,"div",12)(5,"div",10)(6,"label",43),e.EFF(7),e.k0s(),e.j41(8,"span",44),e.EFF(9),e.k0s()(),e.j41(10,"div",45)(11,"label",46),e.EFF(12),e.k0s(),e.j41(13,"select",47),e.bIt("change",function(r){e.eBV(t);const u=e.XpG();return e.Njj(u.onOptionsSelected(r.target.value,r.target.options[r.target.options.selectedIndex].text))}),e.DNE(14,_y,2,3,"option",48),e.nI1(15,"keyvalue"),e.k0s()()(),e.bVm()}if(2&n){const t=e.XpG();e.R7$(3),e.JRh(t.deliveryPlacementPage.childExpectedMethodSection),e.R7$(4),e.SpI(" ",t.deliveryPlacementPage.anticipatedChildExpectedMethod," "),e.R7$(2),e.JRh(t.leaveRequest.anticipatedDeliveryMthd),e.R7$(3),e.SpI(" ",t.deliveryPlacementPage.confirmedChildExpectedMethod," "),e.R7$(2),e.Y8G("ngForOf",e.bMT(15,5,t.deliveryMethods))}}function by(n,d){if(1&n){const t=e.RV6();e.j41(0,"img",37),e.bIt("click",function(){e.eBV(t),e.XpG();const r=e.sdS(15);return e.Njj(r.toggle())}),e.k0s()}if(2&n){const t=e.XpG(2);e.Mz_("src","",t.domainResourcePath,"/calendarIcon.png",e.B4B)}}function vy(n,d){if(1&n){const t=e.RV6();e.j41(0,"img",56),e.bIt("click",function(){e.eBV(t),e.XpG();const r=e.sdS(15);return e.Njj(r.toggle())}),e.k0s()}if(2&n){const t=e.XpG(2);e.Mz_("src","",t.domainResourcePath,"/gfx/redesignIcons/calendar.svg",e.B4B)}}function nS(n,d){1&n&&(e.j41(0,"div",39)(1,"span",40),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"validation.invalidDate")," "))}function iS(n,d){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"div",10)(2,"span",50),e.EFF(3),e.k0s()(),e.j41(4,"div",12)(5,"div",10)(6,"label",51),e.EFF(7),e.k0s(),e.j41(8,"span",52),e.EFF(9),e.nI1(10,"date"),e.k0s()(),e.j41(11,"div",10)(12,"label",53),e.EFF(13),e.k0s(),e.j41(14,"input",54,1),e.mxI("ngModelChange",function(r){e.eBV(t);const u=e.XpG();return e.DH7(u.conLastDate,r)||(u.conLastDate=r),e.Njj(r)}),e.bIt("input",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.validateLastDateWorked())})("dateSelect",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.validateLastDateWorked())}),e.k0s(),e.DNE(16,by,1,2,"img",17)(17,vy,1,2,"img",55),e.k0s(),e.DNE(18,nS,4,3,"div",19),e.k0s(),e.bVm()}if(2&n){const t=e.XpG();e.R7$(3),e.JRh(t.deliveryPlacementPage.lastDateWorkedSection),e.R7$(4),e.JRh(t.deliveryPlacementPage.anticipatedLastDate),e.R7$(2),e.SpI(" ",e.i5U(10,10,t.dateFormater.getDate(t.leaveRequest.anticipatedLastDateWorked),"MM/dd/yyyy")," "),e.R7$(4),e.SpI(" ",t.deliveryPlacementPage.confirmedLastDate," "),e.R7$(),e.Y8G("firstDayOfWeek",7)("startDate",t.conLastDate),e.R50("ngModel",t.conLastDate),e.R7$(2),e.Y8G("ngIf",!t.isAb
1senceResourcesDomain),e.R7$(),e.Y8G("ngIf",t.isAbsenceResourcesDomain),e.R7$(),e.Y8G("ngIf",t.showLastDayWorkedErr)}}const sS=n=>({absenceConfirmModal:n});function wp(n,d){if(1&n&&(e.qex(0),e.j41(1,"div",3)(2,"span",14),e.EFF(3),e.k0s()(),e.j41(4,"div",5)(5,"div",3)(6,"span",15),e.EFF(7),e.k0s(),e.j41(8,"span",16),e.EFF(9),e.k0s()(),e.j41(10,"div",3)(11,"span",17),e.EFF(12),e.k0s(),e.j41(13,"span",18),e.EFF(14),e.k0s()()(),e.bVm()),2&n){const t=e.XpG();e.R7$(3),e.SpI(" ",t.deliveryPlacementPage.childExpectedMethodSection," "),e.R7$(4),e.SpI(" ",t.deliveryPlacementPage.anticipatedChildExpectedMethod," "),e.R7$(2),e.JRh(t.leaveRequest.anticipatedDeliveryMthd),e.R7$(3),e.SpI(" ",t.deliveryPlacementPage.confirmedChildExpectedMethod," "),e.R7$(2),e.JRh(t.confirmedDeliveryMethodName)}}function rS(n,d){if(1&n&&(e.qex(0),e.j41(1,"div",3)(2,"span",19),e.EFF(3),e.k0s()(),e.j41(4,"div",5)(5,"div",3)(6,"span",20),e.EFF(7),e.k0s(),e.j41(8,"span",21),e.EFF(9),e.nI1(10,"date"),e.k0s()(),e.j41(11,"div",3)(12,"span",22),e.EFF(13),e.k0s(),e.j41(14,"span",23),e.EFF(15),e.nI1(16,"date"),e.k0s()()(),e.bVm()),2&n){const t=e.XpG();e.R7$(3),e.JRh(t.deliveryPlacementPage.lastDateWorkedSection),e.R7$(4),e.SpI(" ",t.deliveryPlacementPage.anticipatedLastDate," "),e.R7$(2),e.SpI(" ",e.i5U(10,5,t.dateFormater.getDate(t.leaveRequest.anticipatedLastDateWorked),"MM/dd/yyyy")," "),e.R7$(4),e.JRh(t.deliveryPlacementPage.confirmedLastDate),e.R7$(2),e.SpI(" ",e.i5U(16,8,t.confirmedLastDateWorked,"MM/dd/yyyy")," ")}}const yy=".restyledWorkingAs[_ngcontent-%COMP%]{margin:0!important}.plainRestyled[_ngcontent-%COMP%]{img{height:25px}.restyledTitle{font: 35px/80px Aptos,sans-serif!important;margin:0;color:#070f36}.smallHeaders{font:lighter 19px/31px Aptos Light,sans-serif!important;color:#070f36}.restyledSubtitle{font:lighter 18px/25px Aptos Light,sans-serif!important}.smDisplay{font: 18px/25px Aptos,sans-serif!important;color:#070f36!important;margin:0!important}.boxText{display:flex;align-items:center}.restyledLabel{font:bolder 18px/25px Aptos,sans-serif!important;color:#070f36!important;width:39%!important;margin-right:0;display:inline-block;margin-bottom:8px}.redesignedInput{width:120px!important}.restyledSmBtns{flex-direction:row-reverse;gap:0}}@media (max-width: 850px){.plainRestyled[_ngcontent-%COMP%]{.restyledTitle{font:lighter 20px/37px Aptos Light,sans-serif!important;margin-bottom:20px}.restyledSubtitle{font:lighter 16px/24px Aptos Light,sans-serif!important}.smallHeaders{padding-top:20px}input.primaryLongContinue{height:43px!important}.restyledLabel{font:bolder 14px/25px Aptos,sans-serif!important;color:#000;width:100%!important;margin-left:0!important}.smDisplay{font:lighter 14px/25px Aptos Light,sans-serif!important}}}";let oS=(()=>{class n{constructor(t,i,r,u,v,V,Ce){this.translate=t,this.activatedRouter=i,this.eventService=r,this.location=u,this.modalService=v,this.userService=V,this.abiSelfService=Ce,this.deliveryMethods=new Map,this.deliveryPlacementPage=new Yt.nM,this.pageMessage=new Yt.xS,this.data=history.state.data,this.localeId=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)).localeId,this.domainResourcePath=se.z.getBaseResourcePath(),this.errorMsgs=[],this.dateFormater=ho,this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO))}ngOnInit(){null==this.data&&this.back(),this.leaveRequest=JSON.parse(this.data.leaveRequest),this.codeMap=new Map(Object.entries(this.activatedRouter.snapshot.data.leaveCodeMap)),this.deliveryMethods=new Map(Object.entries(this.codeMap.get("MaternityDeliveryMethodMap"))),this.setPageDetails(),this.PlacementDeliveryMessage(),this.setupVarWithDate(),this.isShowDeliveryMethod()&&(this.dispValDeliveryMethod=this.leaveRequest.anticipatedDeliveryMthd,this.leaveRequest.confirmedDeliveryMthdId=this.leaveRequest.anticipatedDeliveryMthdId),this.isDeliveryDetails()?this.eventService.logEvent(p.sb.UPDATE_DELIVERY_DETAIL_LOAD,"Loading Leave Request for Delivery Update",this.leaveRequest.leaveID.toString()):this.eventService.logEvent(p.sb.UPDATE_PLACEMENT_DETAIL_LOAD,"Loading Leave Request for Placement Update",this.leaveRequest.leaveID.toString()),this.isAbsenceResourcesDomain=!se.z.isDomainBlockedFromRedesignUpdates()}setupVarWithDate(){if(this.leaveRequest.deliveryPlacementDate){let t=ho.getDate(this.leaveRequest.deliveryPlacementDate);this.conDeliveryOrPlacementDate={year:t.getFullYear(),month:t.getMonth()+1,day:t.getDate()}}if(this.leaveRequest.anticipatedLastDateWorked){let t=ho.getDate(this.leaveRequest.anticipatedLastDateWorked);this.conLastDate={year:t.getFullYear(),month:t.getMonth()+1,day:t.getDate()}}}isDeliveryDetails(){return mo.isDeliveryReason(this.leaveRequest)}showConfirmDetails(){return this.leaveRequest.confirmedDeliveryMthd||(this.leaveRequest.confirmedDeliveryMthd=this.leaveRequest.anticipatedDeliveryMthd),this.pageMessage.pageConfirmationMessage?this.pageMessage.pageConfirmationMessage:""}setPageDetails(){this.isDeliveryDetails()?(this.deliveryPlacementPage.childExpectedDateSection=this.translate.instant("myAbsences.leaveRequestDetails.updatePlacementDelivery.confirmDeliveryDetails.deliveryDate"),this.deliveryPlacementPage.confirmationHeader=this.translate.instant("myAbsences.leaveRequestDetails.updatePlacementDelivery.confirmPlacementDetails.details.confirmationDeliveryHeader"),this.deliveryPlacementPage.anticipatedChildExpectedDate=this.translate.instant("myAbsences.leaveRequestDetails.updatePlacementDelivery.confirmDeliveryDetails.anticipatedDate"),this.deliveryPlacementPage.confirmedChildExpectedDate=this.translate.instant("myAbsences.leaveRequestDetails.updatePlacementDelivery.confirmDeliveryDetails.confirmedDate"),this.deliveryPlacementPage.childExpectedMethodSection=this.translate.instant("myAbsences.leaveRequestDetails.updatePlacementDelivery.confirmDeliveryDetails.method"),this.deliveryPlacementPage.anticipatedChildExpectedMethod=this.translate.instant("myAbsences.leaveRequestDetails.updatePlacementDelivery.confirmDeliveryDetails.anticipatedMethod"),this.deliveryPlacementPage.confirmedChildExpectedMethod=this.translate.instant("myAbsences.leaveRequestDetails.updatePlacementDelivery.confirmDeliveryDetails.confirmedMethod"),this.deliveryPlacementPage.submitButton=this.translate.instant("myAbsences.leaveRequestDetails.updatePlacementDelivery.confirmDeliveryDetails.submitButton"),this.deliveryPlacementPage.pageHeader=this.translate.instant("myAbsences.leaveRequestDetails.updatePlacementDelivery.confirmDeliveryDetails.confirmLabel")):(this.deliveryPlacementPage.confirmationHeader=this.translate.instant("myAbsences.leaveRequestDetails.updatePlacementDelivery.confirmPlacementDetails.details.confirmationPlacementHeader"),this.deliveryPlacementPage.childExpectedDateSection=this.translate.instant("myAbsences.leaveRequestDetails.updatePlacementDelivery.confirmPlacementDetails.placementDate"),this.deliveryPlacementPage.anticipatedChildExpectedDate=this.translate.instant("myAbsences.leaveRequestDetails.updatePlacementDelivery.confirmPlacementDetails.anticipatedDate"),this.deliveryPlacementPage.confirmedChildExpectedDate=this.translate.instant("myAbsences.leaveRequestDetails.updatePlacementDelivery.confirmPlacementDetails.confirmedDate"),this.deliveryPlacementPage.submitButton=this.translate.instant("myAbsences.leaveRequestDetails.updatePlacementDelivery.confirmPlacementDetails.submitButton"),this.deliveryPlacementPage.pageHeader=this.translate.instant("myAbsences.leaveRequestDetails.updatePlacementDelivery.confirmPlacementDetails.confirmLabel")),this.deliveryPlacementPage.lastDateWorkedSection=this.translate.instant("myAbsences.leaveRequestDetails.updatePlacementDelivery.confirmDeliveryDetails.lastDateWorked"),this.deliveryPlacementPage.anticipatedLastDate=this.translate.instant("myAbsences.leaveRequestDetails.updatePlacementDelivery.confirmDeliveryDetails.anticipatedDateWorked"),this.deliveryPlacementPage.confirmedLastDate=this.translate.instant("myAbsences.leaveRequestDetails.updatePlacementDelivery.confirmDeliveryDetails.confirmedDateWorked")}PlacementDeliveryMessage(){this.isContinuousActionExists()?Kr.isMaternityOrMaternityAndParental(this.leaveRequest.leaveReasonId)?(this.pageMessage.pageConfirmationMessage=this.translate.instant("myAbsences.leaveRequestDetails.updatePlacementDelivery.confirmDeliveryDetails.maternityContinuous"),this.pageMessage.submissionConfirmationMessage=this.translate.instant("myAbsences.leaveRequestDetails.updatePlacementDelivery.confirmDeliveryDetails.deliverySuccessContinuous")):Kr.PARENTAL_LEAVE===this.leaveRequest.leaveReasonId&&this.leaveRequest.parentalLeaveTypeCodeId===tg.BIOLOGICAL?(this.pageMessage.pageConfirmationMessage=this.translate.instant("myAbsences.leaveRequestDetails.updatePlacementDelivery.confirmDeliveryDetails.parentalContinuous"),this.pageMessage.submissionConfirmationMessage=this.translate.instant("myAbsences.leaveRequestDetails.updatePlacementDelivery.confirmDeliveryDetails.deliverySuccessContinuousChildParental")):Kr.PARENTAL_LEAVE==this.leaveRequest.leaveReasonId&&tg.isFosterCareOrAdoption(this.leaveRequest.parentalLeaveTypeCodeId)&&(this.pageMessage.pageConfirmationMessage=this.translate.instant("myAbsences.leaveRequestDetails.updatePlacementDelivery.confirmPlacementDetails.parentalContinuous"),this.pageMessage.submissionConfirmationMessage=this.translate.instant("myAbsences.leaveRequestDetails.updatePlacementDelivery.confirmPlacementDetails.placementSuccessContinuous")):this.isIntermittentActionsOnly()&&(Kr.isMaternityOrMaternityAndParental(this.leaveRequest.leaveReasonId)?(this.pageMessage.pageConfirmationMessage=this.translate.instant("myAbsences.leaveRequestDetails.updatePlacementDelivery.confirmDeliveryDetails.maternityIntermittent"),this.pageMessage.submissionConfirmationMessage=this.translate.instant("myAbsences.leaveRequestDetails.updatePlacementDelivery.confirmDeliveryDetails.deliverySuccessIntermittent")):Kr.PARENTAL_LEAVE===this.leaveRequest.leaveReasonId&&this.leaveRequest.parentalLeaveTypeCodeId==tg.BIOLOGICAL?(this.pageMessage.pageConfirmationMessage=this.translate.instant("myAbsences.leaveRequestDetails.updatePlacementDelivery.confirmDeliveryDetails.parentalIntermittent"),this.pageMessage.submissionConfirmationMessage=this.translate.instant("myAbsences.leaveRequestDetails.updatePlacementDelivery.confirmDeliveryDetails.deliverySuccessIntermittentChildParental")):Kr.PARENTAL_LEAVE===this.leaveRequest.leaveReasonId&&tg.isFosterCareOrAdoption(this.leaveRequest.parentalLeaveTypeCodeId)&&(this.pageMessage.pageConfirmationMessage=this.translate.instant("myAbsences.leaveRequestDetails.updatePlacementDelivery.confirmPlacementDetails.parentalIntermittent"),this.pageMessage.submissionConfirmationMessage=this.translate.instant("myAbsences.leaveRequestDetails.updatePlacementDelivery.confirmPlacementDetails.placementSuccessIntermittent")))}isContinuousActionExists(){for(const t of this.leaveRequest.actions)if(t.frequencyCodeId==p.YM.FREQUENCY_CODE_ID_CONTINUOUS)return!0}isIntermittentActionsOnly(){for(const t of this.leaveRequest.actions)if(t.frequencyCodeId==p.YM.FREQUENCY_CODE_ID_INTERMITTENT)return!0}isShowDeliveryMethod(){return this.leaveRequest.leaveReasonId==p.YM.MATERNITY_LEAVE||this.leaveRequest.leaveReasonId==p.YM.MATERNITY_AND_PARENTAL_LEAVE}onOptionsSelected(t,i){this.leaveRequest.confirmedDeliveryMthdId=t,this.dispValDeliveryMethod=i}
1validateConfirmedDate(){const t=this.conDeliveryOrPlacementDate;this.showConfirmDateErr=!t?.year||!t?.month||!t?.day}validateLastDateWorked(){const t=this.conLastDate;this.showLastDayWorkedErr=!t?.year||!t?.month||!t?.day}validateData(){this.errorMsgs=[];let t=!0;const i=this.conDeliveryOrPlacementDate;!this.isDeliveryDetails()||i&&i.year&&i.month&&i.day?(!i||!i.year||!i.month||!i.day)&&(this.errorMsgs.push("myAbsences.leaveRequestDetails.updatePlacementDelivery.placementDateRequired"),t=!1):(this.errorMsgs.push("myAbsences.leaveRequestDetails.updatePlacementDelivery.deliveryDateRequired"),t=!1);const r=this.conLastDate;return this.isIntermittentActionsOnly()||r&&r.year&&r.month&&r.day||(this.errorMsgs.push("myAbsences.leaveRequestDetails.updatePlacementDelivery.confirmDeliveryDetails.confirmedDateWorkedRequired"),t=!1),t}submitPlacementDelivery(){if(this.validateData())if(this.isDeliveryDetails()){const t=this.modalService.open(kp,{centered:!0});t.componentInstance.deliveryPlacementPage=this.deliveryPlacementPage,t.componentInstance.isDeliveryDetails=!0,t.componentInstance.isShowDeliveryMethod=this.isShowDeliveryMethod(),t.componentInstance.isIntermittentLeaveOnly=this.isIntermittentActionsOnly(),t.componentInstance.leaveRequest=this.leaveRequest,t.componentInstance.confirmedPlacementDeliveryDate=this.createDate(this.conDeliveryOrPlacementDate),t.componentInstance.confirmedLastDateWorked=this.createDate(this.conLastDate),t.componentInstance.confirmedDeliveryMethodId=this.leaveRequest.confirmedDeliveryMthdId,t.componentInstance.confirmedDeliveryMethodName=this.dispValDeliveryMethod,t.result.then(i=>{1===i?(this.abiSelfService.pageCompleted(Ka.BV.updatePlacementDelivery),this.eventService.logEvent(p.sb.UPDATE_DELIVERY_DETAIL_SUBMIT,"Leave Request Update for Delivery submitted","LR# "+this.leaveRequest.leaveID),sessionStorage.setItem(p.YM.CONFIRMATION_MSG_SUCCESS,this.pageMessage.submissionConfirmationMessage),this.back()):-1==i&&(this.eventService.logEvent(p.sb.UPDATE_DELIVERY_DETAIL_ERROR,"There was an error submitting your request, please try again. If the error persists please contact us.","LR# "+this.leaveRequest.leaveID),sessionStorage.setItem("confirmationMessageError",this.translate.instant("myAbsences.leaveRequestDetails.updatePlacementDelivery.deliveryPlacementFailure")),this.back())})}else{const t=this.modalService.open(kp,{centered:!0});t.componentInstance.deliveryPlacementPage=this.deliveryPlacementPage,t.componentInstance.isDeliveryDetails=!1,t.componentInstance.isShowDeliveryMethod=this.isShowDeliveryMethod(),t.componentInstance.isIntermittentLeaveOnly=this.isIntermittentActionsOnly(),t.componentInstance.leaveRequest=this.leaveRequest,t.componentInstance.confirmedPlacementDeliveryDate=this.createDate(this.conDeliveryOrPlacementDate),t.componentInstance.confirmedDeliveryMethodId=null,t.componentInstance.confirmedDeliveryMethodName=null,t.componentInstance.confirmedLastDateWorked=this.createDate(this.conLastDate),t.result.then(i=>{1===i?(this.abiSelfService.pageCompleted(Ka.BV.updatePlacementDelivery),this.eventService.logEvent(p.sb.UPDATE_PLACEMENT_DETAIL_SUBMIT,"Leave Request Update for Placement submitted","LR# "+this.leaveRequest.leaveID),sessionStorage.setItem(p.YM.CONFIRMATION_MSG_SUCCESS,this.pageMessage.submissionConfirmationMessage),this.back()):-1==i&&(this.eventService.logEvent(p.sb.UPDATE_PLACEMENT_DETAIL_ERROR,"There was an error submitting your request, please try again. If the error persists please contact us.","LR# "+this.leaveRequest.leaveID),sessionStorage.setItem("confirmationMessageError",this.translate.instant("myAbsences.leaveRequestDetails.updatePlacementDelivery.deliveryPlacementFailure")),this.back())})}}createDate(t){return t?new Date(t.year,t.month-1,t.day):null}back(){this.location.back()}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(Y.c$),e.rXU(q.nX),e.rXU(M.US),e.rXU(ie.aZ),e.rXU(G.Bq),e.rXU(M.DL),e.rXU(Kd))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-update-placement-delivery"]],features:[e.Jv_([{provide:G.tN,useClass:b.ls}])],decls:36,vars:31,consts:[["d","ngbDatepicker"],["da","ngbDatepicker"],["class","hoverable","id","wobAbsTitle",3,"ngClass",4,"ngIf"],[4,"ngIf"],[3,"ngClass"],["
1id","DDLabel","class","restyledTitle",4,"ngIf"],["id","PDLabel","class","restyledTitle",4,"ngIf"],[1,"intFormPage","adjustLeave"],["id","showConfirm",1,"restyledSubtitle"],["id","placementDeliveryMessages","class","messageContainer",4,"ngIf"],[1,"form-inline","boxText"],["id","childExpectDate",1,"textAsLabel","smallHeaders"],[1,"indent"],["id","antiChildExpectDate",1,"subLabel","restyledLabel"],["id","dPDate",1,"smDisplay"],["for","confirmedDate","id","confChildExpDate",1,"subLabel","restyledLabel"],["ngbDatepicker","","id","confirmedDate","placeholder","mm/dd/yyyy","autocomplete","off","name","conDeliveryOrPlacementDate",1,"rf-cal-inp","inputContainer","redesignedInput",3,"ngModelChange","input","dateSelect","firstDayOfWeek","startDate","ngModel"],["alt","Calendar","id","datePicker",3,"src","click",4,"ngIf"],["alt","Calendar","id","absenceChildDatePicker",3,"src","click",4,"ngIf"],["class","rf-msgs-err",4,"ngIf"],["id","childDeliveryMethod",4,"ngIf"],[1,"clearFix"],[1,"restyledSmBtns"],["type","submit","id","confirmBtn",1,"primaryBtn","blueBtn","primaryLongContinue",3,"click","value","disabled"],["type","button","id","backBtn",1,"submit","secondaryBtn","secondaryBack",3,"click","value"],["id","wobAbsTitle",1,"hoverable",3,"ngClass"],[1,"font-italic"],[1,"user-info-header"],[3,"errorMessages"],["id","DDLabel",1,"restyledTitle"],["id","PDLabel",1,"restyledTitle"],["id","placementDeliveryMessages",1,"messageContainer"],["class","rf-msgs",4,"ngIf"],[1,"rf-msgs"],["class","rf-msgs-inf",4,"ngFor","ngForOf"],[1,"rf-msgs-inf"],["id","errorMsg",1,"rf-msgs-err"],["alt","Calendar","id","datePicker",3,"click","src"],["alt","Calendar","id","absenceChildDatePicker",3,"click","src"],[1,"rf-msgs-err"],["id","errStartDateBlank",1,"rf-msgs-sum"],["id","childDeliveryMethod"],["id","childExpMethSec",1,"textAsLabel","smallHeaders"],["id","antiChildExtMethod",1,"subLabel","restyledLabel"],["id","antiDeliMthd",1,"smDisplay"],[1,"form-inline","boxText","dropdownContainer"],["for","confirmedMethod","id","confExpectMethod",1,"subLabel","restyledLabel"],["id","confirmedMethod","role","listbox","tabindex","0",3,"change"],[3,"value","selected",4,"ngFor","ngForOf"],[3,"value","selected"],["id","lastDWS",1,"textAsLabel","smallHeaders"],["id","antiLD",1,"subLabel","restyledLabel"],["id","antiLDW",1,"smDisplay"],["for","confirmedLastDateWorked","id","confLD",1,"subLabel","restyledLabel"],["ngbDatepicker","","id","dateField","placeholder","mm/dd/yyyy","autocomplete","off","name","conLastDate","id","confirmedLastDateWorked",1,"rf-cal-inp","inputContainer","redesignedInput",3,"ngModelChange","input","dateSelect","firstDayOfWeek","startDate","ngModel"],["alt","Calendar","id","absenceDatePicker",3,"src","click",4,"ngIf"],["alt","Calendar","id","absenceDatePicker",3,"click","src"]],template:function(i,r){if(1&i){const u=e.RV6();e.DNE(0,QM,6,9,"h1",2)(1,ZM,2,1,"div",3),e.j41(2,"div",4),e.DNE(3,gu,3,3,"h1",5)(4,eS,3,3,"h1",6),e.j41(5,"div",7)(6,"span",8),e.EFF(7),e.k0s(),e.DNE(8,_a,2,1,"div",9),e.nrm(9,"div",10),e.j41(10,"div",10)(11,"span",11),e.EFF(12),e.k0s()(),e.j41(13,"div",12)(14,"div",10)(15,"label",13),e.EFF(16),e.k0s(),e.j41(17,"span",14),e.EFF(18),e.nI1(19,"date"),e.k0s()(),e.j41(20,"div",10)(21,"label",15),e.EFF(22),e.k0s(),e.j41(23,"input",16,0),e.mxI("ngModelChange",function(V){return e.eBV(u),e.DH7(r.conDeliveryOrPlacementDate,V)||(r.conDeliveryOrPlacementDate=V),e.Njj(V)}),e.bIt("input",function(){return e.eBV(u),e.Njj(r.validateConfirmedDate())})("dateSelect",function(){return e.eBV(u),e.Njj(r.validateConfirmedDate())}),e.k0s(),e.DNE(25,my,1,2,"img",17)(26,fy,1,2,"img",18),e.k0s(),e.DNE(27,tS,4,3,"div",19),e.k0s(),e.DNE(28,gy,16,7,"ng-container",20)(29,iS,19,13,"ng-container",3),e.nrm(30,"div",21),e.j41(31,"div",22)(32,"input",23),e.nI1(33,"async"),e.bIt("click",function(){return e.eBV(u),e.Njj(r.submitPlacementDelivery())}),e.k0s(),e.j41(34,"input",24),e.nI1(35,"translate"),e.bIt("click",function(){return e.eBV(u),e.Njj(r.back())}),e.k0s()()()()}2&i&&(e.Y8G("ngIf",r.userInfo.wob),e.R7$(),e.Y8G("ngIf",r.isAbsenceResourcesDomain),e.R7$(),e.Y8G("ngClass",e.eq3(29,_u,r.isAbsenceResourcesDomain)),e.R7$(),e.Y8G("ngIf",r.isDeliveryDetails()),e.R7$(),e.Y8G("ngIf",!r.isDeliveryDetails()),e.R7$(3),e.JRh(r.showConfirmDetails()),e.R7$(),e.Y8G("ngIf",!r.isAbsenceResourcesDomain),e.R7$(4),e.JRh(r.deliveryPlacementPage.childExpectedDateSection),e.R7$(4),e.JRh(r.deliveryPlacementPage.anticipatedChildExpectedDate),e.R7$(2),e.JRh(e.i5U(19,22,r.dateFormater.getDate(r.leaveRequest.deliveryPlacementDate),"MM/dd/yyyy")),e.R7$(4),e.SpI(" ",r.deliveryPlacementPage.confirmedChildExpectedDate," "),e.R7$(),e.Y8G("firstDayOfWeek",7)("startDate",r.conDeliveryOrPlacementDate),e.R50("ngModel",r.conDeliveryOrPlacementDate),e.R7$(2),e.Y8G("ngIf",!r.isAbsenceResourcesDomain),e.R7$(),e.Y8G("ngIf",r.isAbsenceResourcesDomain),e.R7$(),e.Y8G("ngIf",r.showConfirmDateErr),e.R7$(),e.Y8G("ngIf",r.isShowDeliveryMethod()),e.R7$(),e.Y8G("ngIf",!r.isIntermittentActionsOnly()),e.R7$(3),e.FS9("value",r.deliveryPlacementPage.submitButton),e.Y8G("disabled",null!==e.bMT(33,25,r.userService.portalPermission$)),e.R7$(2),e.FS9("value",e.bMT(35,27,"myAbsences.reportTime.cancelBtn")))},dependencies:[ie.YU,ie.Sq,ie.bT,ge.xH,ge.y7,ge.me,ge.BC,ge.vS,G.cw,Bn,ie.Jj,ie.vh,ie.lG,Y.D9],styles:[yy]})}}return n})(),kp=(()=>{class n{constructor(t,i){this.service=t,this.activeModal=i,this.dateFormater=ho,this.isAbsenceResourcesDomain=!se.z.isDomainBlockedFromRedesignUpdates()}submitPlacementDelivery(){if(this.isDeliveryDetails){var t=new Yt.dE;t.leaveRequestId=this.leaveRequest.leaveID,t.confirmedDeliveryDate=this.dateFormater.formatDate(this.confirmedPlacementDeliveryDate),t.confirmedDeliveryMethodId=this.confirmedDeliveryMethodId,t.confirmedLastDateWorked=this.dateFormater.formatDate(this.confirmedLastDateWorked),this.service.updateDelivery(t).subscribe(r=>{this.activeModal.close(r)})}else{var i=new Yt._T;i.leaveRequestId=this.leaveRequest.leaveID,i.confirmedLastDateWorked=this.dateFormater.formatDate(this.confirmedLastDateWorked),i.confirmedPlacementDate=this.dateFormater.formatDate(this.confirmedPlacementDeliveryDate),this.service.updatePlacement(i).subscribe(r=>{this.activeModal.close(r)})}}onCancel(){this.activeModal.dismiss()}getDate(t){return new Date(t)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(M.IT),e.rXU(G.Lw))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["ng-component"]],inputs:{isDeliveryDetails:"isDeliveryDetails",isShowDeliveryMethod:"isShowDeliveryMethod",isIntermittentLeaveOnly:"isIntermittentLeaveOnly",deliveryPlacementPage:"deliveryPlacementPage",leaveRequest:"leaveRequest",confirmedPlacementDeliveryDate:"confirmedPlacementDeliveryDate",confirmedDeliveryMethodId:"c
1onfirmedDeliveryMethodId",confirmedDeliveryMethodName:"confirmedDeliveryMethodName",confirmedLastDateWorked:"confirmedLastDateWorked"},decls:27,vars:23,consts:[[1,"rf-pp-cntr","confirmModal",3,"ngClass"],[1,"rf-pp-cnt"],["id","confirmTitle"],[1,"form-inline","boxText"],["id","childExpectedDateSection",1,"dataGroupTitle"],[1,"indent"],["id","antiChildExpDate",1,"textAsLabel","subLabel","lighterLabel"],["id","deliveryPlacementDate",1,"modalDataCol","lighterValue"],["id","ConfirmChildExpDate",1,"textAsLabel","subLabel","lighterLabel"],["id","confirmedPlacementDeliveryDate",1,"modalDataCol","lighterValue"],[4,"ngIf"],[1,"btnRow","restyledSmBtns"],["type","submit","id","confirmBtn",1,"submit","primaryContinue",3,"click","value"],["type","submit","id","cancelBtn",1,"submit","secondaryBtn","secondaryBack",3,"click","value"],["id","childExpectedMethodSection",1,"dataGroupTitle"],["id","anticipatedChildExpectedMethod",1,"textAsLabel","subLabel","lighterLabel"],["id","anticipatedDeliveryMthd",1,"modalDataCol","lighterValue"],["id","confirmedChildExpectedMethod",1,"textAsLabel","subLabel","lighterLabel"],["id","confirmedDeliveryMethodName",1,"modalDataCol","lighterValue"],["id","lastDateWorkedSection",1,"dataGroupTitle"],["id","anticipatedLastDate",1,"textAsLabel","subLabel","lighterLabel"],["id","anticipatedLastDateWorked",1,"modalDataCol","lighterValue"],["id","confirmedLastDate",1,"textAsLabel","subLabel","lighterLabel"],["id","confirmedLastDateWorked",1,"modalDataCol","lighterValue"]],template:function(i,r){1&i&&(e.j41(0,"div",0)(1,"div",1)(2,"h2",2),e.EFF(3),e.k0s(),e.j41(4,"div",3)(5,"span",4),e.EFF(6),e.k0s()(),e.j41(7,"div",5)(8,"div",3)(9,"span",6),e.EFF(10),e.k0s(),e.j41(11,"span",7),e.EFF(12),e.nI1(13,"date"),e.k0s()(),e.j41(14,"div",3)(15,"span",8),e.EFF(16),e.k0s(),e.j41(17,"span",9),e.EFF(18),e.nI1(19,"date"),e.k0s()()(),e.DNE(20,wp,15,5,"ng-container",10)(21,rS,17,11,"ng-container",10),e.j41(22,"div",11)(23,"input",12),e.nI1(24,"translate"),e.bIt("click",function(){return r.submitPlacementDelivery()}),e.k0s(),e.j41(25,"input",13),e.nI1(26,"translate"),e.bIt("click",function(){return r.onCancel()}),e.k0s()()()()),2&i&&(e.Y8G("ngClass",e.eq3(21,sS,r.isAbsenceResourcesDomain)),e.R7$(3),e.JRh(r.deliveryPlacementPage.confirmationHeader),e.R7$(3),e.SpI(" ",r.deliveryPlacementPage.childExpectedDateSection," "),e.R7$(4),e.SpI(" ",r.deliveryPlacementPage.anticipatedChildExpectedDate," "),e.R7$(2),e.SpI(" ",e.i5U(13,11,r.dateFormater.getDate(r.leaveRequest.deliveryPlacementDate),"MM/dd/yyyy")," "),e.R7$(4),e.SpI(" ",r.deliveryPlacementPage.confirmedChildExpectedDate," "),e.R7$(2),e.SpI(" ",e.i5U(19,14,r.getDate(r.confirmedPlacementDeliveryDate),"MM/dd/yyyy")," "),e.R7$(2),e.Y8G("ngIf",r.isShowDeliveryMethod),e.R7$(),e.Y8G("ngIf",!r.isIntermittentLeaveOnly),e.R7$(2),e.FS9("value",e.bMT(24,17,"myAbsences.reportTime.confirmBtn")),e.R7$(2),e.FS9("value",e.bMT(26,19,"myAbsences.reportTime.cancelBtn")))},dependencies:[ie.YU,ie.bT,ie.vh,Y.D9],styles:[yy,".modal-dialog[_ngcontent-%COMP%]{min-width:600px!important}.absenceConfirmModal[_ngcontent-%COMP%]{border-radius:30px!important;display:flex;flex-direction:column;max-width:750px!important;width:auto!important;hr{display:none}h2,#titleId{font: 35px/36px Aptos,sans-serif!important;text-align:center;color:#070f36!important;padding-bottom:20px}img{width:25px;height:25px;align-self:end}img:hover{cursor:pointer}span,#timeoutBody{font: 22px/36px Aptos,sans-serif!important;color:#070f36!important;word-break:normal!important}input.primaryLongContinue{border:none!important}.centered{text-align:center}.modal-header{padding-top:40px;justify-content:center}.exitCreateRequestModalTitle{color:#070f36!important;font-weight:400!important;padding-top:20px}.rf-pp-cnt{margin:20px 30px!important;display:flex;flex-direction:column}.dataGroupTitle{font: 25px/31px Aptos,sans-serif!important;padding:16px 0 4px}span.centered.dataGroupTitle{padding:30px 30px 10px}.restyledLabel{font: 22px/36px Aptos,sans-serif!important;color:#070f36!important;width:45%!important;margin-right:0;display:inline-block;margin-bottom:8px;text-align:left!important}.lighterLabel{font:lighter 22px/36px Aptos Light,sans-serif!important;color:#070f36!important;width:70%!important;margin-right:0;display:inline-block;text-align:left!important}.restyledValue{font: 22px/36px Aptos,sans-serif!important;color:#070f36!important;margin-right:0;display:inline-block;margin-bottom:8px;text-align:start!important}.lighterValue{font:lighter 22px/36px Aptos Light,sans-serif!important;color:#070f36!important;width:40%!important;margin-right:0;display:inline-block;text-align:start!important}.restyledSmBtns{flex-direction:row-reverse;justify-content:center;align-self:center;width:90%;margin-top:0;input{height:54px!important;width:50%!important;max-width:unset!important;padding:0 10px!important}}button.secondaryBtn:hover{background:transparent!important}.close-button{align-self:end;width:35px;height:35px}.secondaryLongBackButton,.twoSecondaryButtons{text-align:center;align-items:center;height:103px;input,button{height:54px!important;padding:0 10px!important;border-radius:30px!important;background:transparent!important;border:1px solid #070f36!important}}.twoSecondaryButtons input{width:50%!important;max-width:unset!important;margin:0}.secondaryLongBackButton{width:50%;button{width:100%}button:hover{color:#070f36!important}}.secondaryBack{color:#070f36!important}.confirmModal.textAsLabel{width:55%}.confirmModal.boxText{align-items:center}.modal-footer{border:none!important;padding-bottom:20px}.boxText{margin-left:8%}}@media (max-width: 850px){.absenceConfirmModal[_ngcontent-%COMP%]{.rf-pp-cnt{margin:20px 10px!important}.restyledLabel{width:100%!important}.restyledValue,.lighterValue,.lighterLabel{width:100%!important;max-width:unset!important}.lighterValue,.lighterLabel{margin-bottom:0!important}.restyledSmBtns{flex-direction:column!important;input{width:100%!important}.secondaryBack{margin:0!important}}.twoSecondaryButtons{flex-direction:column!important;input{width:100%!important;height:40px!important;margin:8px 0!important}}.indent{padding-left:0}.dataGroupTitle{padding:16px 0 0}.boxText{flex-direction:column;margin-left:8%}}}"]})}}return n})();const Ey=n=>({disabled:n}),Ty=n=>({disableGreyedButton:n});let Iy=(()=>{class n{constructor(t,i,r,u){this.service=t,this.router=i,this.eventService=r,this.translate=u,this.data=history.state.data,this.dateFormater=ho}ngOnInit(){this.currentStartDate=this.dateFormater.getDate(this.data.currentStartDate),this.currentEndDate=this.dateFormater.getDate(this.data.currentEndDate),this.newStartDate=this.data.newStartDate,this.newEndDate=this.data.newEndDate,this.leaveRequestId=this.data.leaveRequestId,this.requestExtentionData=this.data.requestExtentionData}onRequestExt(){this.requestBody=new Yt.EE,this.requestBody.leaveID=+this.leaveRequestId,this.requestBody.decisionID=this.data.decisionId,this.requestBody.newEndDate=this.dateFormater.formatDate(this.newEndDate),this.isSubmitted=!0,this.service.updateDecisionEndDate(this.requestBody).subscribe(t=>{1==t?(this.eventService.logEvent(p.sb.UPDATE_REQUEST_EXTENSION_SUBMIT,"Submit Requesting Extension","LeaveRequest# "+this.leaveRequestId+" - "+this.data.decisionId),sessionStorage.setItem(p.YM.CONFIRMATION_MSG_SUCCESS,this.translate.instant("myAbsences.leaveRequestDetails.updateDecisionEndDate.requestExtension.validation.success")),this.goToViewLeaveDetails()):-1==t&&(this.eventService.logEvent(p.sb.UPDATE_REQUEST_EXTENSION_ERROR,"There was an error submitting your request, please try again. If the error persists please contact us.","LeaveRequest# "+this.leaveRequestId+" - "+this.data.decisionId),sessionStorage.setItem(p.YM.CONFIRMATION_MSG_FAILURE,this.translate.instant("myAbsences.leaveRequestDetails.updateDecisionEndDate.requestExtension.validation.error")),this.goToViewLeaveDetails()),this.isSubmitted=!1})}goBack(){this.router.navigate(["updateDecisionEndDate"],{state:{data:{leaveRequestId:this.requestExtentionData.leaveRequestId,leaveRequestPlannedBegin:this.requestExtentionData.leaveRequestPlannedBegin,decision:this.requestExtentionData.decision,pageTitle:this.requestExtentionData.pageTitle,frequencyCodeId:this.requestExtentionData.frequencyCodeId,frequency:this.requestExtentionData.frequency,actionsList:this.requestExtentionData.actionsList,actionId:this.requestExtentionData.actionId}}})}goToViewLeaveDetails(){this.router.navigateByUrl("leaveDetails?leaveID="+this.leaveRequestId+"&mapTypes=lrHCPSpecialtyMap,DecisionReasonDeniedMap,DecisionReasonCancelledMap,LeaveDecisionStatusMap")}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(M.IT),e.rXU(q.Ix),e.rXU(M.US),e.rXU(Y.c$))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["ng-component"]],decls:38,vars:44,consts:[[1,"absenceConfirmModal"],["src","assets/baseResources/gfx/redesignIcons/exit.svg","alt","Close","height","25px",3,"click"],[1,"form-inline","boxText"],["id","leaveNum",1,"textAsLabel","restyledLabel"],["id","leaveNumValue",1,"readOnlyDataCol","restyledValue"],["id","currentDate",1,"textAsLabel","restyledLabel"],["id","currentDateValue",1,"readOnlyDataCol","restyledValue"],[2,"color","red"],[1,"restyledSmBtns"],["type","submit","id","backBtn secondaryBack",3,"click","value","ngClass"],["type","submit","id","submitBtn",1,"primaryContinue",2,"background-color","grey !important",3,"click","value","ngClass"]],template:function(i,r){1&i&&(e.j41(0,"div",0)(1,"img",1),e.bIt("click",function(){return r.goBack()}),e.k0s(),e.j41(2,"h1"),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"h3"),e.EFF(6),e.nI1(7,"translate"),e.k0s(),e.j41(8,"div")(9,"div",2)(10,"span",3),e.
1EFF(11),e.nI1(12,"translate"),e.k0s(),e.j41(13,"span",4),e.EFF(14),e.k0s()(),e.j41(15,"div",2)(16,"span",5),e.EFF(17),e.nI1(18,"translate"),e.k0s(),e.j41(19,"span",6),e.EFF(20),e.nI1(21,"date"),e.nI1(22,"date"),e.k0s()(),e.j41(23,"div",2)(24,"span",5),e.EFF(25),e.nI1(26,"translate"),e.k0s(),e.j41(27,"span",6),e.EFF(28),e.nI1(29,"date"),e.j41(30,"span",7),e.EFF(31),e.nI1(32,"date"),e.k0s()()(),e.j41(33,"div",8)(34,"input",9),e.nI1(35,"translate"),e.bIt("click",function(){return r.goBack()}),e.k0s(),e.j41(36,"input",10),e.nI1(37,"translate"),e.bIt("click",function(){return r.onRequestExt()}),e.k0s()()()()),2&i&&(e.R7$(3),e.JRh(e.bMT(4,14,"myAbsences.leaveRequestDetails.updateDecisionEndDate.requestExtension.confirmation.title")),e.R7$(3),e.SpI(" ",e.bMT(7,16,"myAbsences.leaveRequestDetails.updateDecisionEndDate.requestExtension.confirmation.description")," "),e.R7$(5),e.SpI(" ",e.bMT(12,18,"myAbsences.leaveRequestDetails.updateDecisionEndDate.requestExtension.confirmation.leaveNumber")," "),e.R7$(3),e.JRh(r.leaveRequestId),e.R7$(3),e.SpI(" ",e.bMT(18,20,"myAbsences.leaveRequestDetails.updateDecisionEndDate.requestExtension.current")," "),e.R7$(3),e.Lme(" ",e.i5U(21,22,r.currentStartDate,"MM/dd/yyyy")," - ",e.i5U(22,25,r.currentEndDate,"MM/dd/yyyy")," "),e.R7$(5),e.SpI(" ",e.bMT(26,28,"myAbsences.leaveRequestDetails.updateDecisionEndDate.requestExtension.needed")," "),e.R7$(3),e.SpI(" ",e.i5U(29,30,r.newStartDate,"MM/dd/yyyy")," - "),e.R7$(3),e.JRh(e.i5U(32,33,r.newEndDate,"MM/dd/yyyy")),e.R7$(3),e.FS9("value",e.bMT(35,36,"myAbsences.leaveRequestDetails.updateDecisionEndDate.requestExtension.confirmation.back")),e.Y8G("ngClass",e.eq3(40,Ey,r.isSubmitted)),e.R7$(2),e.FS9("value",e.bMT(37,38,"myAbsences.leaveRequestDetails.updateDecisionEndDate.requestExtension.confirmation.submit")),e.Y8G("ngClass",e.eq3(42,Ty,r.isSubmitted)))},dependencies:[ie.YU,ie.vh,Y.D9],encapsulation:2})}}return n})();const aS=n=>({"rf-cp-hdr-exp":n});function Ap(n,d){if(1&n&&(e.qex(0),e.j41(1,"li")(2,"a",8),e.EFF(3),e.k0s()(),e.bVm()),2&n){const t=d.$implicit,i=e.XpG(2);e.R7$(2),e.FS9("fragment",t.subCategoryId),e.Mz_("id","faqcategory-",t.subCategoryId,""),e.Y8G("routerLink","."),e.R7$(),e.SpI(" ",0===i.localeId?t.subCategory:t.subCategoryEsp," ")}}function xp(n,d){if(1&n&&(e.qex(0),e.DNE(1,Ap,4,5,"ng-container",6),e.bVm()),2&n){const t=d.$implicit;e.R7$(),e.Y8G("ngForOf",t.subCategories)}}function lS(n,d){if(1&n&&(e.j41(0,"li",20),e.EFF(1),e.k0s()),2&n){const t=d.$implicit,i=e.XpG(6);e.R7$(),e.SpI(" ",0===i.localeId?t.subAnswer:t.subAnswerEsp," ")}}function cS(n,d){if(1&n&&(e.j41(0,"ul",18),e.DNE(1,lS,2,1,"li",19),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngForOf",t.subAnswers)}}function Dy(n,d){if(1&n&&(e.qex(0),e.j41(1,"div",15)(2,"div",16),e.EFF(3),e.DNE(4,cS,2,1,"ul",17),e.k0s()(),e.bVm()),2&n){const t=d.$implicit,i=d.index,r=e.XpG().$implicit,u=e.XpG(3);e.R7$(),e.FCK("id","answerBox-",r.questionId,"-",i,""),e.Y8G("ngbCollapse",u.checkCollapseStatus(r.questionId)),e.R7$(2),e.SpI(" ",0===u.localeId?t.answer:t.answerEsp," "),e.R7$(),e.Y8G("ngIf",t.subAnswers)}}function Np(n,d){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"div",11)(2,"div",12)(3,"div",13)(4,"a",14),e.bIt("click",function(){const r=e.eBV(t).$implicit,u=e.XpG(3);return e.Njj(u.openOrCloseBox(r.questionId))})("keydown.enter",function(){const r=e.eBV(t).$implicit,u=e.XpG(3);return e.Njj(u.openOrCloseBox(r.questionId))})("keydown.space",function(r){const u=e.eBV(t).$implicit,v=e.XpG(3);return r.preventDefault(),e.Njj(v.openOrCloseBox(u.questionId))}),e.EFF(5),e.k0s(),e.j41(6,"div",10),e.DNE(7,Dy,5,6,"ng-container",6),e.k0s()()()(),e.bVm()}if(2&n){const t=d.$implicit,i=e.XpG(3);e.R7$(),e.BMQ("aria-labelledby","faq-btn-"+t.questionId),e.R7$(),e.Y8G("ngClass",e.eq3(9,aS,!i.checkCollapseStatus(t.questionId))),e.R7$(2),e.Mz_("id","faq-btn-",t.questionId,""),e.BMQ("aria-expanded",!i.checkCollapseStatus(t.questionId))("aria-controls","faq-panel-"+t.questionId),e.R7$(),e.SpI(" ",0===i.localeId?t.question:t.questionEsp," "),e.R7$(),e.Y8G("id","faq-panel-"+t.questionId),e.R7$(),e.Y8G("ngForOf",t.answers
1)}}function dS(n,d){if(1&n&&(e.qex(0),e.j41(1,"div",9)(2,"h2",10),e.EFF(3),e.k0s(),e.DNE(4,Np,8,11,"ng-container",6),e.k0s(),e.bVm()),2&n){const t=d.$implicit,i=e.XpG(2);e.R7$(2),e.FS9("id",t.subCategoryId),e.R7$(),e.SpI(" ",0===i.localeId?t.subCategory:t.subCategoryEsp," "),e.R7$(),e.Y8G("ngForOf",t.questions)}}function uS(n,d){if(1&n&&(e.qex(0),e.DNE(1,dS,5,3,"ng-container",6),e.bVm()),2&n){const t=d.$implicit;e.R7$(),e.Y8G("ngForOf",t.subCategories)}}let pS=(()=>{class n{constructor(t){this.activatedRoute=t,this.localeId=+sessionStorage.getItem(p.YM.LOCALE_ID),this.collapsableBoxMap=new Map,this.isCollapsed=!0}ngOnInit(){this.faqsResponse=this.activatedRoute.snapshot.data.faqs;for(let t=0;t<this.faqsResponse.faqs.length;t++)for(let i=0;i<this.faqsResponse.faqs[t].subCategories.length;i++)for(let r=0;r<this.faqsResponse.faqs[t].subCategories[i].questions.length;r++)this.collapsableBoxMap.set(this.faqsResponse.faqs[t].subCategories[i].questions[r].questionId,!0)}openOrCloseBox(t){this.collapsableBoxMap.get(t)?this.collapsableBoxMap.set(t,!1):this.collapsableBoxMap.set(t,!0)}checkCollapseStatus(t){return this.collapsableBoxMap.get(t)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(q.nX))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["public-feedback"]],decls:11,vars:5,consts:[["tabindex","-1",1,"row"],[1,"col-lg-6","col-md-6","col-sm-6","h1Row"],["id","faqTitle"],["tabindex","-1",1,"content"],[1,"faqPage"],[1,"faqTopicLinks"],[4,"ngFor","ngForOf"],[1,"faqTopics"],["role","link",3,"routerLink","fragment","id"],[1,"fTopic"],[3,"id"],["role","region",1,"rf-cp","rf-tgp","colPanel"],[1,"rf-cp-hdr","rf-cp-hdr-colps",3,"ngClass"],[1,"rf-cp-gr"],["role","button","tabindex","0",1,"rf-cp-lbl",3,"click","keydown.enter","keydown.space","id"],[1,"rf-cp-b",3,"id","ngbCollapse"],[1,"faqAnswer"],["class","subFaqList",4,"ngIf"],[1,"subFaqList"],["class","subFaqItem",4,"ngFor","ngForOf"],[1,"subFaqItem"]],template:function(i,r){1&i&&(e.j41(0,"div",0)(1,"div",1)(2,"h1",2),e.EFF(3),e.nI1(4,"translate"),e.k0s()()(),e.j41(5,"div",3)(6,"div",4)(7,"ul",5),e.DNE(8,xp,2,1,"ng-container",6),e.k0s(),e.j41(9,"div",7),e.DNE(10,uS,2,1,"ng-container",6),e.k0s()()()),2&i&&(e.R7$(3),e.JRh(e.bMT(4,3,"faq.header")),e.R7$(5),e.Y8G("ngForOf",r.faqsResponse.faqs),e.R7$(2),e.Y8G("ngForOf",r.faqsResponse.faqs))},dependencies:[q.Wk,ie.YU,ie.Sq,ie.bT,G.$G,Y.D9],encapsulation:2})}}return n})();function Cy(n,d){if(1&n&&(e.j41(0,"div"),e.EFF(1),e.nrm(2,"br"),e.k0s()),2&n){const t=d.$implicit;e.R7$(),e.SpI(" ",t," ")}}let My=(()=>{class n{constructor(t){this.activatedRoute=t}ngOnInit(){this.healthResponse=this.activatedRoute.snapshot.data.health}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(q.nX))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-health-status"]],decls:1,vars:1,consts:[[4,"ngFor","ngForOf"]],template:function(i,r){1&i&&e.DNE(0,Cy,3,1,"div",0),2&i&&e.Y8G("ngForOf",r.healthResponse.healthResults)},dependencies:[ie.Sq],encapsulation:2})}}return n})();const Sy=n=>({leaveRequestNumber:n});function hS(n,d){if(1&n&&(e.j41(0,"span",25),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",e.i5U(2,1,"caseActivity.leaveRequest.subTitle",e.eq3(4,Sy,t.leaveRequestId))," ")}}function Ry(n,d){1&n&&(e.j41(0,"span",26),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.JRh(e.bMT(2,1,"caseActivity.employee.subTitle")))}function mS(n,d){if(1&n&&(e.j41(0,"tr",27)(1,"td",28),e.EFF(2),e.nI1(3,"date"),e.k0s(),e.j41(4,"td",29),e.EFF(5),e.k0s(),e.j41(6,"td",30),e.EFF(7),e.k0s(),e.j41(8,"td",31),e.EFF(9),e.k0s()()),2&n){const t=d.$implicit;e.R7$(2),e.JRh(e.i5U(3,4,t.createdOn,"MM/dd/yyyy h:mm a")),e.R7$(3),e.SpI(" ",t.categoryCodeDescription,""),e.R7$(2),e.SpI(" ",t.subCategoryCodeDescription,""),e.R7$(2),e.SpI(" ","EMPLOYEE_NOTE"===t.caseActivityType?"":t.caseActivityTypeId," ")}}function fS(n,d){if(1&n&&(e.j41(0,"tr",32)(1,"td",33)(2,"span",34)(3,"strong"),e.EFF(4),e.k0s()()()()),2&n){const t=e.XpG();e.R7$(4),e.JRh(t.noResultText)}}function qk(n,d){if(1&n){const t=e.RV6();e.j41(0,"select",41),e.nI1(1,"translate"),e.mxI("ngModelChange",function(r){e.eBV(t);const u=e.XpG(2);return e.DH7(u.pageSize,r)||(u.pageSize=r),e.Njj(r)}),e.bIt("ngModelChange",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.refreshCaseActivities())}),e.j41(2,"option",42),e.EFF(3,"10"),e.k0s(),e.j41(4,"option",43),e.EFF(5,"25"),e.k0s(),e.j41(6,"option",43),e.EFF(7,"50"),e.k0s(),e.j41(8,"option",43),e.EFF(9,"100"),e.k0s()()}if(2&n){const t=e.XpG(2);e.R50("ngModel",t.pageSize),e.BMQ("aria-label",e.bMT(1,6,"ariaLabel.selectResults")),e.R7$(2),e.Y8G("ngValue",10),e.R7$(2),e.Y8G("ngValue",25),e.R7$(2),e.Y8G("ngValue",50),e.R7$(2),e.Y8G("ngValue",100)}}function Xk(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",35)(1,"div",36),e.EFF(2),e.k0s(),e.j41(3,"div")(4,"ngb-pagination",37),e.nI1(5,"translate"),e.mxI("pageChange",function(r){e.eBV(t);const u=e.XpG();return e.DH7(u.page,r)||(u.page=r),e.Njj(r)}),e.bIt("pageChange",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.refreshCaseActivities())}),e.k0s()(),e.j41(6,"div",38)(7,"div",39),e.EFF(8),e.nI1(9,"translate"),e.k0s(),e.DNE(10,qk,10,8,"select",40),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(2),e.SpI(" ",t.showingOfText," "),e.R7$(2),e.Y8G("collectionSize",t.caseActivities.length),e.R50("page",t.page),e.Y8G("pageSize",t.pageSize)("maxSize",10)("rotate",!0)("ellipses",!1)("boundaryLinks",!0),e.BMQ("aria-label",e.bMT(5,11,"ariaLabel.caseActivityPagination")),e.R7$(4),e.JRh(e.bMT(9,13,"caseActivity.resultsPerPage")),e.R7$(2),e.Y8G("ngIf",t.caseActivities.length>0)}}const zk={asc:"desc",desc:"asc","":"asc"};let ng=(()=>{class n{constructor(){this.sortable="",this.direction="",this.sort=new e.bkB}rotate(){this.direction=zk[this.direction],this.sort.emit({column:this.sortable,direction:this.direction})}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275dir=e.FsC({type:n,selectors:[["th","sortable",""]],hostVars:4,hostBindings:function(i,r){1&i&&e.bIt("click",function(){return r.rotate()}),2&i&&e.AVh("asc","asc"===r.direction)("desc","desc"===r.direction)},inputs:{sortable:"sortable",direction:"direction"},outputs:{sort:"sort"}})}}return n})(),Em=(()=>{class n{constructor(t,i,r,u,v){this.activatedRoute=t,this.router=i,this.translate=r,this.service=u,this.eventService=v,this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)),this.page=1,this.pageSize=10,this.caseActivityItemNumberStart=1}ngOnInit(){this.caseActivities=[],this.caseActivitiesDisp=[],this.activatedRoute.queryParams.subscribe(r=>this.leaveRequestId=Number(r.leaveId)),this.caseActivityType=Number.isNaN(this.leaveRequestId)?p.YM.EMPLOYEE_NOTE:p.YM.LEAVE_REQUEST_NOTE;const t=this.caseActivityType===p.YM.EMPLOYEE_NOTE?p.sb.USER_VIEWING_EMPLOYEE_CASE_ACTIVITY_MSG:p.sb.USER_VIEWING_LEAVE_REQUEST_CASE_ACTIVITY_MSG,i=this.caseActivityType===p.YM.EMPLOYEE_NOTE?this.userInfo.employeeSystemId.toString():this.leaveRequestId.toString();this.eventService.logEvent(p.sb.VIEW_CASE_ACTIVITY,t,i),this.service.getCaseActivityReport(this.caseActivityType,this.leaveRequestId).subscribe(r=>{if(this.caseActivities=r.sort(function(u,v){return v.createdOn-u.createdOn}),this.caseActivities&&this.caseActivities.length>0)this.refreshCaseActivities();else{const u=this.translate.instant("caseActivity.noResultTextForLeaveRequest"),v=this.translate.instant("caseActivity.noResultTextForEmployee");this.noResultText=this.caseActivityType===p.YM.LEAVE_REQUEST_NOTE?u:v}}),this.isAbsenceResourcesDomain=!se.z.isDomainBlockedFromRedesignUpdates()}refreshCaseActivities(){this.caseActivitiesDisp=[],this.caseActivities&&(this.caseActivitiesDisp=this.caseActivities.map((t,i)=>({id:i+1,...t})).slice((this.page-1)*this.pageSize,(this.page-1)*this.pageSize+this.pageSize),this.caseActivityItemNumberStart=(this.page-1)*this.pageSize+1,this.caseActivityItemNumberEnd=this.caseActivities.length<this.pageSize*this.page?this.caseActivities.length:this.pageSize*this.page),this.showingOfText=this.translate.instant("showingOf",{start:this.caseActivityItemNumberStart,end:this.caseActivityItemNumberEnd,total:this.caseActivities.length})}onSort({column:t,direction:i}
1){this.headers.forEach(r=>{r.sortable!==t&&(r.direction="")}),this.caseActivities=""===t||""===i?this.caseActivities:[...this.caseActivities].sort((r,u)=>{const v=((n,d)=>n<d?-1:n>d?1:0)(r[t],u[t]);return"asc"===i?v:-v}),this.refreshCaseActivities()}goBack(){this.router.navigateByUrl("absences")}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(q.nX),e.rXU(q.Ix),e.rXU(Y.c$),e.rXU(M.hJ),e.rXU(M.US))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-case-activity"]],viewQuery:function(i,r){if(1&i&&e.GBs(ng,5),2&i){let u;e.mGM(u=e.lsd())&&(r.headers=u)}},decls:48,vars:32,consts:[["employee",""],["id","caseActTitle",1,"restyledWorkingAs"],[1,"font-italic"],[1,"user-info-header"],[1,"card"],[1,"plainRestyled"],[1,"row"],[1,"col-lg-6","col-md-6","col-sm-6","h1Row","ms-1"],["id","viewTimeTitle",1,"restyledTitle"],["id","leaveRequestSubTitle","class","ms-2 restyledSubtitle",4,"ngIf","ngIfElse"],["id","employeeSubTitle",1,"ms-2"],[1,"tableContainer"],[1,"rf-dt","dataTable","restyledTable"],[1,"rf-dt-shdr","sortableTH","dashboard-header"],["scope","col","sortable","createdOn","id","createdOnHeader",1,"rf-dt-shdr-c","col-md-3","absenceHeaderFont",3,"sort"],[1,"glyphicon","sortText"],["scope","col","sortable","categoryCodeDescription","id","categoryHeader",1,"rf-dt-shdr-c","col-md-4","absenceHeaderFont",3,"sort"],["scope","col","sortable","subCategoryCodeDescription","id","subCategoryHeader",1,"rf-dt-shdr-c","col-md-4","absenceHeaderFont",3,"sort"],["scope","col","sortable","caseActivityTypeId","id","leaveRequestHeader",1,"rf-dt-shdr-c","col-md-3","absenceHeaderFont"],["id","caseActivitiesData",4,"ngFor","ngForOf"],[1,"rf-dt-tft"],["class","rf-dt-ftr noRecordBlueBkgrnd",4,"ngIf"],["class","d-flex justify-content-between restyledTable",4,"ngIf"],[1,"mt-4"],["type","button","id","absenceBackBtn","name","backBtnName",1,"longBackBtn","back-to-dashboard-btn",3,"click","value"],["id","leaveRequestSubTitle",1,"ms-2","restyledSubtitle"],[1,"restyledSubtitle"],["id","caseActivitiesData"],["id","createdOnData",1,"date-column"],["id","categoryCodeDescriptionData"],["id","subCategoryCodeDescriptionData"],["id","caseActivityTypeData"],[1,"rf-dt-ftr","noRecordBlueBkgrnd"],["colspan","5",1,"rf-dt-ftr-c"],["id","noResultText2"],[1,"d-flex","justify-content-between","restyledTable"],[1,"mt-2","me-auto"],["id","pageNumber",3,"pageChange","collectionSize","page","pageSize","maxSize","rotate","ellipses","boundaryLinks"],[1,"pl-0","text-right","col-show-row","d-flex","align-items-baseline","ms-auto"],[1,"resultsPerPageText"],["class","form-select ms-1","style","width: auto","name","pageSize",3,"ngModel","ngModelChange",4,"ngIf"],["name","pageSize",1,"form-select","ms-1",2,"width","auto",3,"ngModelChange","ngModel"],["selected","",3,"ngValue"],[3,"ngValue"]],template:function(i,r){if(1&i){const u=e.RV6();e.j41(0,"h1",1)(1,"span",2),e.EFF(2),e.nI1(3,"translate"),e.j41(4,"span",3),e.
1EFF(5),e.k0s()()(),e.j41(6,"div",4)(7,"div",5)(8,"div",6)(9,"div",7)(10,"h1",8),e.EFF(11),e.nI1(12,"translate"),e.k0s()()(),e.DNE(13,hS,3,6,"span",9)(14,Ry,3,3,"ng-template",10,0,e.C5r),e.qex(16),e.j41(17,"div",11)(18,"table",12)(19,"thead")(20,"tr",13)(21,"th",14),e.bIt("sort",function(V){return e.eBV(u),e.Njj(r.onSort(V))}),e.EFF(22),e.nI1(23,"translate"),e.nrm(24,"span",15),e.k0s(),e.j41(25,"th",16),e.bIt("sort",function(V){return e.eBV(u),e.Njj(r.onSort(V))}),e.EFF(26),e.nI1(27,"translate"),e.nrm(28,"span",15),e.k0s(),e.j41(29,"th",17),e.bIt("sort",function(V){return e.eBV(u),e.Njj(r.onSort(V))}),e.EFF(30),e.nI1(31,"translate"),e.nrm(32,"span",15),e.k0s(),e.j41(33,"th",18),e.EFF(34),e.nI1(35,"translate"),e.k0s()()(),e.j41(36,"tbody"),e.DNE(37,mS,10,7,"tr",19),e.k0s(),e.j41(38,"tfoot",20),e.DNE(39,fS,5,1,"tr",21),e.k0s()(),e.j41(40,"span"),e.EFF(41),e.nI1(42,"translate"),e.k0s(),e.DNE(43,Xk,11,15,"div",22),e.nrm(44,"div",23),e.k0s(),e.bVm(),e.k0s()(),e.j41(45,"div")(46,"input",24),e.nI1(47,"translate"),e.bIt("click",function(){return e.eBV(u),e.Njj(r.goBack())}),e.k0s()()}if(2&i){const u=e.sdS(15);e.R7$(2),e.SpI(" ",e.bMT(3,16,"workingAs")," "),e.R7$(3),e.E5c(" ",r.userInfo.onBehalfFirstName," ",r.userInfo.onBehalfLastName," (",r.userInfo.onBehalfEmplNumber,") "),e.R7$(6),e.SpI(" ",e.bMT(12,18,"caseActivity")," "),e.R7$(2),e.Y8G("ngIf",r.leaveRequestId)("ngIfElse",u),e.R7$(9),e.SpI(" ",e.bMT(23,20,"caseActivity.columns.createdOn")," "),e.R7$(4),e.SpI(" ",e.bMT(27,22,"caseActivity.columns.category")," "),e.R7$(4),e.SpI(" ",e.bMT(31,24,"caseActivity.columns.subCategory")," "),e.R7$(4),e.SpI(" ",e.bMT(35,26,"caseActivity.columns.leaveRequest")," "),e.R7$(3),e.Y8G("ngForOf",r.caseActivitiesDisp),e.R7$(2),e.Y8G("ngIf",0===(null==r.caseActivitiesDisp?null:r.caseActivitiesDisp.length)),e.R7$(2),e.JRh(e.bMT(42,28,"allTimesCentral")),e.R7$(2),e.Y8G("ngIf",r.caseActivities.length>0),e.R7$(3),e.FS9("value",e.bMT(47,30,"submitDecision.backToEmployerPortal"))}},dependencies:[ie.Sq,ie.bT,ge.xH,ge.y7,ge.wz,ge.BC,ge.vS,G.s5,ng,ie.vh,Y.D9],styles:[".longBackBtn[_ngcontent-%COMP%]{width:273px;height:41px;margin-top:54px;border-radius:100px!important;border:1px solid #070f36!important;background-color:transparent;display:flex;align-items:center;justify-content:center;font: 16px/30px Aptos,sans-serif!important;color:#070f36!important}.plainRestyled[_ngcontent-%COMP%]{td{padding:13px 15px!important;font: 14px/20px Aptos,sans-serif!important}.restyledTable{min-width:950px}.restyledTitle{font: 35px/80px Aptos,sans-serif!important;color:#070f36!important;margin:0 0 10px!important}.restyledSubtitle{font:lighter 25px/35px Aptos Light,sans-serif!important;color:#070f36!important;margin:0!important;padding:0 4px;display:block;height:60px}.dashboard-header th{background-color:#badcff80!important}.rf-dt tbody tr:nth-child(2n){background-color:#badcff40}.absenceHeaderFont{font:bolder 14px/20px Aptos,sans-serif!important}.resultsPerPageText{min-width:120px}}@media (max-width: 850px){.plainRestyled[_ngcontent-%COMP%]{#caseActTitle{font: 20px/80px Aptos,sans-serif!important}.restyledTitle{font:lighter 20px/37px Aptos Light,sans-serif!important}.restyledDisclaimer{font:lighter 14px/25px Aptos Light,sans-serif!important}.restyledSubtitle{font:lighter 14px/29px Aptos Light,sans-serif!important;height:unset;min-height:30px}}}"]})}}return n})();var _S=I(7322);class gS extends _S.n{constructor(){super(...arguments),this.partialDecisionsDetailsDTOList=new Array}}class wy{}class Mc{constructor(d){Object.assign(this,d)}}var ad=I(6857);class bS{constructor(d){Object.assign(this,d)}}function vS(n,d){if(1&n){const t=e.RV6();e.j41(0,"img",9),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.onCancel())}),e.k0s()}}function yS(n,d){if(1&n&&(e.j41(0,"div",11)(1,"span",12),e.EFF(2),e.k0s()()),2&n){const t=d.$implicit;e.R7$(2),e.JRh(t)}}function Jk(n,d){if(1&n&&(e.qex(0),e.DNE(1,yS,3,1,"div",10),e.bVm()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.partialLeaveDecisionMessages)}}function ES(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",13)(1,"input",14),e.nI1(2,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.onCancel())}),e.k0s(),e.j41(3,"input",15),e.nI1(4,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.onConfirm())}),e.k0s()()}2&n&&(e.R7$(),e.FS9("value",e.bMT(2,2,"cancel")),e.R7$(2),e.FS9("value",e.bMT(4,4,"submitDecision.yesContinue")))}function ky(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",16)(1,"input",17),e.nI1(2,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.onConfirm())}),e.k0s(),e.j41(3,"input",18),e.nI1(4,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.onCancel())}),e.k0s()()}2&n&&(e.R7$(),e.FS9("value",e.bMT(2,2,"submitDecision.yesContinue")),e.R7$(2),e.FS9("value",e.bMT(4,4,"cancel")))}let Ay=(()=>{class n{constructor(t,i,r,u,v){this.activeModal=t,this.leaveDecisionService=i,this.wpaRequestService=r,this.translate=u,this.domainConfigService=v,this.requestBodyFullLeaveDec=new Yt.ng,this.requestBodyPartialLeaveDec=new gS,this.requestBodyFullWpaDec=new Mc,this.requestBodyPartialWpaDec=new Mc}ngOnInit(){this.punctuation=this.translate.instant(this.partialLeaveDecisionMessages?"colon":"period")}onConfirm(){this.requestType===p.YM.LEAVE?this.submitLeaveRequest():this.requestType===p.YM.WPA&&this.submitWpaRequest()}submitLeaveRequest(){this.isPartialDecision?(this.setupRequestBodyForPartialLeaveDecision(),this.leaveDecisionService.submitPartialLeaveDecisions(this.requestBodyPartialLeaveDec).subscribe(t=>{this.activeModal.close(t)},t=>{this.activeModal.close(t.status)})):(this.setupRequestBodyForFullLeaveDecision(),this.leaveDecisionService.submitLeaveDecision(this.requestBodyFullLeaveDec).subscribe(t=>{this.activeModal.close(t)},t=>{this.activeModal.close(-1)}))}submitWpaRequest(){this.isPartialDecision?(this.setupRequestBodyForPartialWpaDecision(),this.wpaRequestService.submitPartialWpaDecisions(this.requestBodyPartialWpaDec).subscribe(t=>{this.activeModal.close(t)},t=>{this.activeModal.close(t.status)})):(this.setupRequestBodyForFullWpaDecision(),this.wpaRequestService.submitWpaDecision(this.requestBodyFullWpaDec).subscribe(t=>{this.activeModal.close(t)},t=>{this.activeModal.close(-1)}))}onCancel(){this.activeModal.dismiss()}setupRequestBodyForFullLeaveDecision(){this.requestBodyFullLeaveDec.leaveDecisionId=this.leaveDecision.decisionId,this.requestBodyFullLeaveDec.leaveActionId=this.actionId,this.requestBodyFullLeaveDec.leaveDecisionStatusId=this.decisionStatusId,this.requestBodyFullLeaveDec.leaveRequestId=Number(this.leaveRequestId),this.requestBodyFullLeaveDec.firstName=this.userInfo.firstName,this.requestBodyFullLeaveDec.lastName=this.userInfo.lastName,this.requestBodyFullLeaveDec.leaveDecisionReasonIds=this.denialReasonId?[this.denialReasonId]:this.leaveDecision.statusReasonIds}setupRequestBodyForPartialLeaveDecision(){this.requestBodyPartialLeaveDec.leaveRequestId=Number(this.partialDecisionsForm.get("leaveRequestId").value),this.requestBodyPartialLeaveDec.leaveActionId=this.partialDecisionsForm.get("leaveActionId").value,this.requestBodyPartialLeaveDec.leaveDecisionId=this.partialDecisionsForm.get("leaveDecisionId").value,this.requestBodyPartialLeaveDec.firstName=this.userInfo.firstName,this.requestBodyPartialLeaveDec.lastName=this.userInfo.lastName,this.requestBodyPartialLeaveDec.notesCategoryId=this.partialDecisionsForm.get("notesCategoryId").value,this.requestBodyPartialLeaveDec.notesSubCategoryId=this.partialDecisionsForm.get("notesSubCategoryId").value,this.addPartialLeaveDecisionsToRequestBody()}addPartialLeaveDecisionsToRequestBody(){const t=this.partialDecisionsForm.get("partialLeaveDecisions");for(let i=0;i<t.length;i++){const r=new wy;r.leaveDecisionStatusId=t.at(i).value.leaveDecisionStatusId,t.at(i).value.leaveDecisionReasonId&&(r.leaveDecisionReasonId=t.at(i).value.leaveDecisionReasonId),r.startDate=new Date(t.at(i).value.startDate.year+"-"+t.at(i).value.startDate.month+"-"+t.at(i).value.startDate.day).toISOString().substring(0,10),r.endDate=new Date(t.at(i).value.endDate.year+"-"+t.at(i).value.endDate.month+"-"+t.at(i).value.endDate.day).toISOString().substring(0,10),this.requestBodyPartialLeaveDec.partialDecisionsDetailsDTOList.push(r)}}setupRequestBodyForFullWpaDecision(){this.requestBodyFullWpaDec.id=this.wpaT
1ype.id,this.requestBodyFullWpaDec.wpaId=this.wpaType.wpaId,this.requestBodyFullWpaDec.versionId=this.wpaType.versionId,this.requestBodyFullWpaDec.createdBy=this.userInfo.firstName+" "+this.userInfo.lastName,this.requestBodyFullWpaDec.wpaNote=this.wpaType.wpaNote,this.setRemarks(),this.requestBodyFullWpaDec.wpaDecisions=[{id:this.wpaDecision.id,statusCodeId:this.decisionStatusId,reasonCodeIds:this.denialReasonId?[this.denialReasonId]:null,startDate:null,endDate:null,cost:this.wpaDecision.cost,approvedModification:this.decisionDetails,wpaDetails:this.wpaDecision.wpaDetails,typeId:null,typeVersionId:null,createdBy:null,createdOn:null,certifiedWpaDetails:null}]}setupRequestBodyForPartialWpaDecision(){this.requestBodyPartialWpaDec.id=this.partialDecisionsForm.get("wpaTypeId").value,this.requestBodyPartialWpaDec.wpaId=this.partialDecisionsForm.get("wpaRequestId").value,this.requestBodyPartialWpaDec.createdBy=this.userInfo.firstName+" "+this.userInfo.lastName,this.requestBodyPartialWpaDec.versionId=this.partialDecisionsForm.get("versionId").value,this.requestBodyPartialWpaDec.typeCodeId=this.partialDecisionsForm.get("typeCodeId").value,this.requestBodyPartialWpaDec.decisionId=this.partialDecisionsForm.get("wpaDecisionId").value,this.requestBodyPartialWpaDec.wpaNote=this.partialDecisionsForm.get("wpaNote").value,this.requestBodyPartialWpaDec.wpaNote.remarks="Employer Decision Made",this.addPartialWpaDecisionsToRequestBody()}addPartialWpaDecisionsToRequestBody(){const t=this.partialDecisionsForm.get("partialLeaveDecisions");this.requestBodyPartialWpaDec.wpaDecisions=new Array;for(let i=0;i<t.length;i++){const r=new bS;0===i&&(r.cost=this.partialDecisionsForm.get("cost").value,r.wpaDetails=this.partialDecisionsForm.get("wpaDetails").value),r.statusCodeId=t.at(i).value.leaveDecisionStatusId,r.reasonCodeIds=null,t.at(i).value.leaveDecisionReasonId&&(r.reasonCodeIds=[t.at(i).value.leaveDecisionReasonId]),r.approvedModification=t.at(i).value.approvedModification,r.startDate=new Date(t.at(i).value.startDate.year+"-"+t.at(i).value.startDate.month+"-"+t.at(i).value.startDate.day).toISOString().substring(0,10),r.endDate=t.at(i).value.endDate?new Date(t.at(i).value.endDate.year+"-"+t.at(i).value.endDate.month+"-"+t.at(i).value.endDate.day).toISOString().substring(0,10):null,this.requestBodyPartialWpaDec.wpaDecisions.push(r)}}setRemarks(){this.decisionStatusId===p.YM.FSP_DECISION_STATUS_APPROVED?this.requestBodyFullWpaDec.wpaNote.remarks="Full Decision Approved":this.decisionStatusId===p.YM.FSP_DECISION_STATUS_DENIED&&(this.requestBodyFullWpaDec.wpaNote.remarks="Full Decision Denied")}isBaseDomain(){return this.domainConfigService.isBaseDomain}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(G.Lw),e.rXU(M.BI),e.rXU(ad.n),e.rXU(Y.c$),e.rXU(xe.K))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["ng-component"]],inputs:{leaveDecision:"leaveDecision",wpaDecision:"wpaDecision",actionId:"actionId",decisionStatusId:"decisionStatusId",leaveRequestId:"leaveRequestId",userInfo:"userInfo",title:"title",message:"message",denialReasonId:"denialReasonId",decisionDetails:"decisionDetails",isPartialDecision:"isPartialDecision",requestType:"requestType",wpaType:"wpaType",partialLeaveDecisionMessages:"partialLeaveDecisionMessages",partialDecisionsForm:"partialDecisionsForm"},decls:12,vars:8,consts:[[1,"rf-pp-cntr","confirmModal"],[2,"position","relative"],["src","assets/baseResources/gfx/redesignIcons/exit.svg","class","exit-modal",3,"click",4,"ngIf"],[1,"rf-pp-cnt","p-4"],[1,"text-center"],[1,"title","redesign-sld-modal"],[4,"ngIf"],["class","justify-content-center sld-emp-dash-div",4,"ngIf"],["class","d-flex flex-row-reverse justify-content-center",4,"ngIf"],["src","assets/baseResources/gfx/redesignIcons/exit.svg",1,"exit-modal",3,"click"],["id","partialLeaves",4,"ngFor","ngForOf"],["id","partialLeaves"],[1,"pld-modal-display","sld-decisions"],[1,"justify-content-center","sld-emp-dash-div"],["type","button","id","cancelBtn",1,"sld-cancel-btn",3,"click","value"],["type","submit","id","confirmBtn",1,"sld-confirm-btn",3,"click","value"],[1,"d-flex","flex-row-reverse","justify-content-center"],["type","submit","id","confirmBtn",1,"submit","primaryBtn",3,"click","value"],["type","button","id","cancelBtn",1,"submit","secondaryBtn",2,"margin-top","15px !important",3,"click","value"]],template:function(i,r){1&i&&(e.j41(0,"div",0)(1,"div",1),e.DNE(2,vS,1,0,"img",2),e.j41(3,"div",3)(4,"div",4)(5,"h1",5),e.EFF(6),e.j41(7,"span"),e.EFF(8),e.k0s()()(),e.DNE(9,Jk,2,1,"ng-container",6)(10,ES,5,6,"div",7)(11,ky,5,6,"div",8),e.k0s()()()),2&i&&(e.R7$(2),e.Y8G("ngIf",r.isBaseDomain()),e.R7$(4),e.SpI("",r.title," "),e.R7$(2),e.E5c(" ",r.userInfo.onBehalfFirstName," ",r.userInfo.onBehalfLastName,"",r.punctuation,""),e.R7$(),e.Y8G("ngIf",r.partialLeaveDecisionMessages),e.R7$(),e.Y8G("ngIf",r.isBaseDomain()),e.R7$(),e.Y8G("ngIf",!r.isBaseDomain()))},dependencies:[ie.Sq,ie.bT,Y.D9],encapsulation:2})}}return n})();var Tm,Op=new Uint8Array(16);function TS(){if(!Tm&&!(Tm=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Tm(Op)}const xy=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var vo=[],Im=0;Im<256;++Im)vo.push((Im+256).toString(16).substr(1));const ig=function DS(n){var d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=(vo[n[d+0]]+vo[n[d+1]]+vo[n[d+2]]+vo[n[d+3]]+"-"+vo[n[d+4]]+vo[n[d+5]]+"-"+vo[n[d+6]]+vo[n[d+7]]+"-"+vo[n[d+8]]+vo[n[d+9]]+"-"+vo[n[d+10]]+vo[n[d+11]]+vo[n[d+12]]+vo[n[d+13]]+vo[n[d+14]]+vo[n[d+15]]).toLowerCase();if(!function IS(n){return"string"==typeof n&&xy.test(n)}
1(t))throw TypeError("Stringified UUID is invalid");return t},Fp=function CS(n,d,t){var i=(n=n||{}).random||(n.rng||TS)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,d){t=t||0;for(var r=0;r<16;++r)d[t+r]=i[r];return d}return ig(i)};let bu=(()=>{class n{constructor(t,i){this.translate=t,this.eventService=i,this.otherCondition={display:this.translate.instant("other"),value:"11028",sortOrder:null},this.denialReasonsIds=[p.AG.CANNOT_BE_REASONABLY_ACCOMMODATED,p.AG.EMPLOYEE_CANNOT_PERFORM_ESSENTIAL_JOB_FUNCTIONS,p.AG.EMPLOYEE_DOES_NOT_ENGAGE_IN_INTERACTIVE_PROCESS_IN_GOOD_FAITH,p.AG.LENGTH_IS_INDEFINITE,p.AG.UNDUE_HARDSHIP],this.cancelReasonIds=[p.AG.DECISION_CANNOT_BE_MADE_AT_THIS_TIME,p.AG.ACCOMMODATION_NOT_NEEDED],this.leaveStatusIds=[p.YM.FSP_DECISION_STATUS_REQUESTED,p.YM.FSP_DECISION_STATUS_APPROVED,p.YM.FSP_DECISION_STATUS_CANCELLED,p.YM.FSP_DECISION_STATUS_DENIED],this.leaveStatusIdsWithoutCancelled=[p.YM.FSP_DECISION_STATUS_REQUESTED,p.YM.FSP_DECISION_STATUS_APPROVED,p.YM.FSP_DECISION_STATUS_DENIED]}isTypeFormValid(t,i,r){const u=t.get(["wpaDecisions",0]).get("startDate").value,v=t.get(["wpaDecisions",0]).get("endDate").value,V=[],Ce=Ot=>V.push(Ot);t.get("typeCodeId").value||(t.get("typeCodeId").setErrors({"No value provided for required field":!0}),this.eventService.logEvent(p.sb.ERROR_NEW_ACCOMMODATION_TYPE,p.sb.ACCOMMODATION_TYPE_NOT_SELECTED,r),Ce(this.translate.instant("wpa.wpaDetails.accommodationTypeRequired")));let it=!1;u?this.dateValidator(u)?it=!0:(t.get(["wpaDecisions",0]).get("startDate").setErrors({"Invalid date format":!0}),this.eventService.logEvent(p.sb.ERROR_NEW_ACCOMMODATION_TYPE,p.sb.DATE_FORMAT_INVALID,r),Ce(this.translate.instant("myAbsences.leaveRequestDetails.updateDecisionEndDate.RTW.validation.date.format"))):(t.get(["wpaDecisions",0]).get("startDate").setErrors({"No value provided for required field":!0}),this.eventService.logEvent(p.sb.ERROR_NEW_ACCOMMODATION_TYPE,p.sb.START_DATE_NOT_SELECTED,r),Ce(this.translate.instant("wpa.wpaDetails.startDateRequired")));let At=!0;if(v&&!this.dateValidator(v)&&(t.get(["wpaDecisions",0]).get("endDate").setErrors({"Invalid date format":!0}),this.eventService.logEvent(p.sb.ERROR_NEW_ACCOMMODATION_TYPE,p.sb.DATE_FORMAT_INVALID,r),Ce(this.translate.instant("myAbsences.leaveRequestDetails.updateDecisionEndDate.RTW.validation.date.format")),At=!1),it&&At&&this.isEndDateBeforeStartDate(u,v)&&(t.get(["wpaDecisions",0]).get("startDate").setErrors({"End date before start date":!0}),t.get(["wpaDecisions",0]).get("endDate").setErrors({"End date before start date":!0}),this.eventService.logEvent(p.sb.ERROR_NEW_ACCOMMODATION_TYPE,p.sb.END_DATE_BEFORE_START,r),Ce(this.translate.instant("wpa.reviewPage.endDateBeforeStart"))),i){t.get(["wpaDecisions",0]).get("statusCodeId").value||(t.get(["wpaDecisions",0]).get("statusCodeId").setErrors({"No value provided for required field":!0}),this.eventService.logEvent(p.sb.ERROR_NEW_ACCOMMODATION_TYPE,p.sb.DECISION_NOT_SELECTED,r),Ce(this.translate.instant("partialLeaveDecision.status.notSelected"))),t.get(["wpaDecisions",0]).get("statusCodeId").value==p.YM.FSP_DECISION_STATUS_DENIED&&!t.get(["wpaDecisions",0]).get("reasonCodeIds").value&&(t.get(["wpaDecisions",0]).get("reasonCodeIds").setErrors({"No value provided for required field":!0}),this.eventService.logEvent(p.sb.ERROR_NEW_ACCOMMODATION_TYPE,p.sb.DECISION_REASON_NOT_SELECTED,r),Ce(this.translate.instant("partialLeaveDecision.reason.notSelected")));const Ot=t.get(["wpaDecisions",0]).get("cost").value;Ot&&(isNaN(Ot)||Ot<0)?(t.get(["wpaDecisions",0]).get("cost").setErrors({"Invalid value provided for required field":!0}),this.eventService.logEvent(p.sb.ERROR_NEW_ACCOMMODATION_TYPE,p.sb.COST_NOT_ENTERED,r),Ce(this.translate.instant("wpa.wpaDetails.invalidCost"))):V.length||this.cleanCost(Number(Ot),t)}return V.length?V:(this.updateReasonCodeId(t),[])}dateValidator(t){return"string"==typeof t?/^(\d{2})\/(\d{2})\/(\d{4})$/.test(t):!!("object"==typeof t&&t.year&&t.month&&t.day)}cleanCost(t,i){i.get(["wpaDecisions",0]).get("cost").setValue(t.toFixed(2))}updateReasonCodeId(t){t.get(["wpaDecisions",0]).get("statusCodeId").value!=p.YM.FSP_DECISION_STATUS_DENIED&&t.get(["wpaDecisions",0]).get("reasonCodeIds").setValue(null)}
1clearFormErrors(t){Object.keys(t.controls).forEach(i=>{const r=t.get(i);r instanceof ge.MJ?r.setErrors(null):(r instanceof ge.gE||r instanceof ge.Yp)&&this.clearFormErrors(r)})}setReasonCodeIdForWpaTypeRequest(t){const i=t.get(["wpaDecisions",0]).get("statusCodeId").value;return i==p.YM.FSP_DECISION_STATUS_APPROVED?null:i==p.YM.FSP_DECISION_STATUS_REQUESTED?[p.YM.WORK_PLACE_ACCOMMODATION_REASON_CERTIFICATION_NEEDED]:i==p.YM.FSP_DECISION_STATUS_DENIED?[Number(t.get(["wpaDecisions",0]).get("reasonCodeIds").value)]:void 0}setWpaTypesList(t,i){let r=null;0===t?r=Object.values(i.get("WorkplaceAccommodationTypeMap")).sort((v,V)=>v.displayValueEng.localeCompare(V.displayValueEng)):1===t&&(r=Object.values(i.get("WorkplaceAccommodationTypeMap")).sort((v,V)=>v.displayValueEsp.localeCompare(V.displayValueEsp)));const u=r.findIndex(v=>v.id===p.YM.OTHER_WPA_TYPE_ID);if(u>-1){const v=r.splice(u,1);r.push(v[0])}return r}isEndDateBeforeStartDate(t,i){const r={year:t.year,month:t.month-1,day:t.day},u=i?{year:i.year,month:i.month-1,day:i.day}:null;return!(!u||!on(u).isBefore(r))}static{this.\u0275fac=function(i){return new(i||n)(e.KVO(Y.c$),e.KVO(M.US))}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();const sg=n=>({"pad-error":n}),MS=(n,d)=>({"pld-decision-col-spn":n,"pld-decision-col-eng":d}),SS=(n,d,t,i)=>({"pad-error":n,"place-holder-text":d,"pld-decision-select-spn":t,"pld-decision-select-eng":i}),rg=(n,d,t,i)=>({"pad-error":n,"place-holder-text":d,"pld-reason-show":t,"pld-reason-hide":i}),Oy=n=>({required:n}),Fy=(n,d)=>({"pld-reason-show":n,"pld-reason-hide":d}),Ly=n=>({visibility:n});function RS(n,d){1&n&&(e.j41(0,"div",17)(1,"span"),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",18),e.EFF(5),e.nI1(6,"translate"),e.k0s(),e.j41(7,"span"),e.EFF(8),e.nI1(9,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.JRh(e.bMT(3,3,"partialLeaveDecision.description.hrReviewNeeded1")),e.R7$(3),e.JRh(e.bMT(6,5,"partialLeaveDecision.description.hrReviewNeeded2")),e.R7$(3),e.JRh(e.bMT(9,7,"partialLeaveDecision.description.hrReviewNeeded3")))}function wS(n,d){1&n&&(e.j41(0,"div",17)(1,"span"),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",18),e.EFF(5),e.nI1(6,"translate"),e.k0s(),e.j41(7,"span"),e.EFF(8),e.nI1(9,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.JRh(e.bMT(3,3,"partialLeaveDecision.description.employerReviewNeeded1")),e.R7$(3),e.JRh(e.bMT(6,5,"partialLeaveDecision.description.employerReviewNeeded2")),e.R7$(3),e.JRh(e.bMT(9,7,"partialLeaveDecision.description.employerReviewNeeded3")))}function kS(n,d){if(1&n&&e.DNE(0,wS,10,9,"div",19),2&n){const t=e.XpG();e.Y8G("ngIf",t.isDecisionReasonEmployerReviewNeeded())}}function AS(n,d){if(1&n&&(e.j41(0,"div",20),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.JRh(t.submissionError)}}function xS(n,d){if(1&n&&(e.j41(0,"span",51),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,t.value.errorMessage),"")}}function NS(n,d){1&n&&(e.j41(0,"label",52),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" * ",e.bMT(2,1,"decision.title")," "))}function OS(n,d){1&n&&(e.j41(0,"label",53),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"decision.title")," "))}function Py(n,d){1&n&&(e.j41(0,"option",54),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.JRh(e.bMT(2,1,"partialLeaveDecision.pleaseSelect")))}function jy(n,d){if(1&n&&(e.j41(0,"option",55),e.EFF(1),e.k0s()),2&n){const t=d.$implicit,i=e.XpG(3);e.Y8G("value",t.value.id),e.R7$(),e.SpI(" ",0===i.localeId?t.value.displayValueEng:t.value.displayValueEsp," ")}}function By(n,d){1&n&&(e.j41(0,"span"),e.EFF(1,"* "),e.k0s())}function FS(n,d){if(1&n&&(e.j41(0,"label",61),e.DNE(1,By,2,0,"span",14),e.EFF(2),e.nI1(3,"translate"),e.k0s()),2&n){const t=e.XpG(3).index,i=e.XpG();e.R7$(),e.Y8G("ngIf",i.isDecisionReasonFieldSelectable(t)),e.R7$(),e.SpI(" ",e.bMT(3,2,"partialLeaveDecision.reason")," ")}}function Yy(n,d){if(1&n&&(e.j41(0,"label",62),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n){const t=e.XpG(3).index,i=e.XpG();e.Y8G("ngClass",e.eq3(4,Oy,i.isDecisionReasonFieldSelectable(t))),e.R7$(),e.SpI(" ",e.bMT(2,2,"partialLeaveDecision.reason")," ")}}function LS(n,d){1&n&&(e.j41(0,"option",63),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.JRh(e.bMT(2,1,"partialLeaveDecision.pleaseSelect")))}function PS(n,d){if(1&n&&(e.j41(0,"option",55),e.EFF(1),e.k0s()),2&n){const t=d.$implicit,i=e.XpG(5);e.Y8G("value",t.value.id),e.R7$(),e.SpI(" ",0===i.localeId?t.value.displayValueEng:t.value.displayValueEsp,"")}}function og(n,d){if(1&n&&(e.qex(0),e.DNE(1,PS,2,2,"option",31),e.nI1(2,"keyvalue"),e.bVm()),2&n){const t=e.XpG(4);e.R7$(),e.Y8G("ngForOf",e.bMT(2,1,t.denialReasons))}}function $y(n,d){if(1&n&&(e.j41(0,"option",55),e.EFF(1),e.k0s()),2&n){const t=d.$implicit,i=e.XpG(5);e.Y8G("value",t.value.id),e.R7$(),e.SpI(" ",0===i.localeId?t.value.displayValueEng:t.value.displayValueEsp,"")}}function jS(n,d){if(1&n&&(e.qex(0),e.DNE(1,$y,2,2,"option",31),e.nI1(2,"keyvalue"),e.bVm()),2&n){const t=e.XpG(4);e.R7$(),e.Y8G("ngForOf",e.bMT(2,1,t.cancelReasons))}}function ag(n,d){if(1&n&&(e.j41(0,"div",56),e.DNE(1,FS,4,4,"label",57)(2,Yy,3,6,"label",58),e.j41(3,"select",59),e.DNE(4,LS,3,3,"option",60)(5,og,3,3,"ng-container",14)(6,jS,3,3,"ng-container",14),e.k0s()()),2&n){const t=e.XpG(2),i=t.$implicit,r=t.index,u=e.XpG();e.R7$(),e.Y8G("ngIf",u.isBaseDomain()),e.R7$(),e.Y8G("ngIf",!u.isBaseDomain()),e.R7$(),e.Y8G("ngClass",e.ziG(6,rg,i.value.errorMessage&&u.reasonError,u.isReasonNull(r),u.isDecisionReasonFieldSelectable(r),!u.isDecisionReasonFieldSelectable(r))),e.R7$(),e.Y8G("ngIf",u.isDecisionReasonFieldSelectable(r)),e.R7$(),e.Y8G("ngIf",u.isCurrentPartialLeaveDecisionDenied(r)),e.R7$(),e.Y8G("ngIf",u.isCurrentPartialLeaveDecisionCancelled(r))}}function Uy(n,d){if(1&n&&(e.nrm(0,"img",70),e.nI1(1,"translate")),2&n){const t=e.XpG(4);e.Mz_("src","",t.domainResourcePath,"/gfx/redesignIcons/info.svg",e.B4B),e.Y8G("ngbTooltip",e.bMT(1,3,"decisionDetail
1sToolTip"))}}function Gy(n,d){1&n&&(e.nrm(0,"img",71),e.nI1(1,"translate")),2&n&&e.Y8G("ngbTooltip",e.bMT(1,1,"decisionDetailsToolTip"))}function Qk(n,d){if(1&n&&(e.j41(0,"div",64)(1,"label",65),e.EFF(2),e.nI1(3,"translate"),e.DNE(4,Uy,2,5,"img",66)(5,Gy,2,3,"img",67),e.k0s(),e.j41(6,"div",68)(7,"textarea",69),e.EFF(8,"                "),e.k0s()()()),2&n){const t=e.XpG(2).index,i=e.XpG();e.R7$(2),e.SpI(" ",e.bMT(3,4,"decisionDetails")," "),e.R7$(2),e.Y8G("ngIf",i.isBaseDomain()),e.R7$(),e.Y8G("ngIf",!i.isBaseDomain()),e.R7$(2),e.Y8G("ngClass",e.l_i(6,Fy,i.isDecisionDetailsFieldSelectable(t),!i.isDecisionDetailsFieldSelectable(t)))}}function Vy(n,d){1&n&&(e.j41(0,"label",72),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" * ",e.bMT(2,1,"partialLeaveDecision.startDate")," "))}function BS(n,d){1&n&&(e.j41(0,"label",73),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"partialLeaveDecision.startDate")," "))}function Hy(n,d){if(1&n){const t=e.RV6();e.j41(0,"img",74),e.bIt("click",function(){e.eBV(t),e.XpG();const r=e.sdS(18);return e.Njj(r.toggle())}),e.k0s()}if(2&n){const t=e.XpG(3);e.Mz_("src","",t.domainResourcePath,"/gfx/redesignIcons/calendar.svg",e.B4B)}}function Wy(n,d){if(1&n){const t=e.RV6();e.j41(0,"img",75),e.bIt("click",function(){e.eBV(t),e.XpG();const r=e.sdS(18);return e.Njj(r.toggle())}),e.k0s()}if(2&n){const t=e.XpG(3);e.Mz_("src","",t.domainResourcePath,"/calendarIcon.png",e.B4B)}}function lg(n,d){1&n&&(e.j41(0,"span"),e.EFF(1,"* "),e.k0s())}function Dm(n,d){if(1&n&&(e.j41(0,"label",76),e.DNE(1,lg,2,0,"span",14),e.EFF(2),e.nI1(3,"translate"),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",t.isLeaveRequest()),e.R7$(),e.SpI(" ",e.bMT(3,2,"partialLeaveDecision.endDate")," ")}}function cg(n,d){if(1&n&&(e.j41(0,"label",77),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n){const t=e.XpG(3);e.Y8G("ngClass",e.eq3(4,Oy,t.isLeaveRequest())),e.R7$(),e.SpI(" ",e.bMT(2,2,"partialLeaveDecision.endDate")," ")}}function dg(n,d){if(1&n){const t=e.RV6();e.j41(0,"img",78),e.bIt("click",function(){e.eBV(t),e.XpG();const r=e.sdS(27);return e.Njj(r.toggle())}),e.k0s()}if(2&n){const t=e.XpG(3);e.Mz_("src","",t.domainResourcePath,"/gfx/redesignIcons/calendar.svg",e.B4B)}}function qy(n,d){if(1&n){const t=e.RV6();e.j41(0,"img",79),e.bIt("click",function(){e.eBV(t),e.XpG();const r=e.sdS(27);return e.Njj(r.toggle())}),e.k0s()}if(2&n){const t=e.XpG(3);e.Mz_("src","",t.domainResourcePath,"/calendarIcon.png",e.B4B)}}function Xy(n,d){if(1&n){const t=e.RV6();e.j41(0,"img",80),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2).index,u=e.XpG();return e.Njj(u.deleteLeaveDecisionEntry(r))}),e.k0s()}if(2&n){const t=e.XpG(2).index,i=e.XpG();e.Mz_("src","",i.domainResourcePath,"/gfx/redesignIcons/delete.svg",e.B4B),e.Y8G("ngStyle",e.eq3(3,Ly,t===i.getFirstUserGeneratedLeaveIdx()?"hidden":"visible"))}}function zy(n,d){if(1&n){const t=e.RV6();e.j41(0,"span",81),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2).index,u=e.XpG();return e.Njj(u.deleteLeaveDecisionEntry(r))}),e.k0s()}if(2&n){const t=e.XpG(2).index,i=e.XpG();e.Y8G("ngStyle",e.eq3(1,Ly,t===i.getFirstUserGeneratedLeaveIdx()?"hidden":"visible"))}}function Ky(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",22)(1,"div",23),e.DNE(2,xS,3,3,"span",24),e.k0s(),e.j41(3,"div",25)(4,"div",26),e.DNE(5,NS,3,3,"label",27)(6,OS,3,3,"label",28),e.j41(7,"select",29),e.bIt("change",function(){e.eBV(t);const r=e.XpG().index,u=e.XpG();return u.resetDecisionReason(r),e.Njj(u.resetDecisionDetails(r))}),e.DNE(8,Py,3,3,"option",30)(9,jy,2,2,"option",31),e.nI1(10,"keyvalue"),e.k0s()(),e.DNE(11,ag,7,11,"div",32)(12,Qk,9,9,"div",33),e.j41(13,"div",34),e.DNE(14,Vy,3,3,"label",35)(15,BS,3,3,"label",36),e.j41(16,"div",37)(17,"input",38,1),e.bIt("keydown.enter",function(){e.eBV(t);const r=e.sdS(18);return e.Njj(r.toggle())})("keydown.space",function(){e.eBV(t);const r=e.sdS(18);return e.Njj(r.toggle())}),e.k0s(),e.j41(19,"span",39),e.DNE(20,Hy,1,2,"img",40)(21,Wy,1,2,"img",41),e.k0s()()(),e.j41(22,"div",42),e.DNE(23,Dm,4,4,"label",43)(24,cg,3,6,"label",44),e.j41(25,"div",37)(26,"input",45,2),e.bIt("keydown.enter",function(){e.eBV(t);const r=e.sdS(27);
1return e.Njj(r.toggle())})("keydown.space",function(){e.eBV(t);const r=e.sdS(27);return e.Njj(r.toggle())}),e.k0s(),e.j41(28,"span",39),e.DNE(29,dg,1,2,"img",46)(30,qy,1,2,"img",47),e.k0s(),e.j41(31,"span",48),e.DNE(32,Xy,1,5,"img",49)(33,zy,1,3,"span",50),e.k0s()()()()()}if(2&n){const t=e.XpG(),i=t.$implicit,r=t.index,u=e.XpG();e.Y8G("ngClass",e.eq3(30,sg,i.value.errorMessage&&u.contiguousDuplicateError))("formGroup",i),e.R7$(2),e.Y8G("ngIf",u.hasValidationError),e.R7$(),e.Y8G("ngClass",63===u.initialHeight||83===u.initialHeight?"wrap-padding-sm":"wrap-padding-lg"),e.R7$(),e.Y8G("ngClass",e.l_i(32,MS,1===u.localeId,0===u.localeId)),e.R7$(),e.Y8G("ngIf",u.isBaseDomain()),e.R7$(),e.Y8G("ngIf",!u.isBaseDomain()),e.R7$(),e.Y8G("ngClass",e.ziG(35,SS,i.value.errorMessage&&u.decisionError,u.isDecisionNull(r),1===u.localeId,0===u.localeId)),e.R7$(),e.Y8G("ngIf",!0),e.R7$(),e.Y8G("ngForOf",e.bMT(10,28,u.leaveStatuses)),e.R7$(2),e.Y8G("ngIf",u.isDecisionReasonEmployerReviewNeeded()),e.R7$(),e.Y8G("ngIf",u.isWpaRequest()),e.R7$(2),e.Y8G("ngIf",u.isBaseDomain()),e.R7$(),e.Y8G("ngIf",!u.isBaseDomain()),e.R7$(2),e.Y8G("ngClass",e.eq3(40,sg,i.value.errorMessage&&u.startDateError))("minDate",u.datePickerMin)("maxDate",u.datePickerMax),e.R7$(3),e.Y8G("ngIf",u.isBaseDomain()),e.R7$(),e.Y8G("ngIf",!u.isBaseDomain()),e.R7$(2),e.Y8G("ngIf",u.isBaseDomain()),e.R7$(),e.Y8G("ngIf",!u.isBaseDomain()),e.R7$(2),e.Y8G("ngClass",e.eq3(42,sg,i.value.errorMessage&&u.endDateError))("minDate",u.datePickerMin)("maxDate",u.datePickerMax),e.R7$(3),e.Y8G("ngIf",u.isBaseDomain()),e.R7$(),e.Y8G("ngIf",!u.isBaseDomain()),e.R7$(2),e.Y8G("ngIf",u.isBaseDomain()),e.R7$(),e.Y8G("ngIf",!u.isBaseDomain())}}function Jy(n,d){if(1&n&&(e.qex(0),e.DNE(1,Ky,34,44,"div",21),e.bVm()),2&n){const t=d.$implicit;e.R7$(),e.Y8G("ngIf",t.value.isUserEnteredPLD)}}function Qy(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",82),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.addPartialLeaveDecision(r.generateUuid(),!0))}),e.EFF(1),e.nI1(2,"translate"),e.k0s()}2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"partialLeaveDecision.addNewRow")," "))}function Zy(n,d){if(1&n){const t=e.RV6();e.j41(0,"div")(1,"div"),e.EFF(2),e.nI1(3,"translate"),e.j41(4,"a",83),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.emailUs())}),e.j41(5,"u"),e.EFF(6),e.nI1(7,"translate"),e.k0s()(),e.j41(8,"span"),e.EFF(9),e.nI1(10,"translate"),e.k0s()()()}2&n&&(e.R7$(2),e.SpI("",e.bMT(3,3,"partialLeaveDecision.maxRowLimitReached.part1")," "),e.R7$(4),e.JRh(e.bMT(7,5,"partialLeaveDecision.maxRowLimitReached.emailUsForm")),e.R7$(3),e.JRh(e.bMT(10,7,"partialLeaveDecision.maxRowLimitReached.part2")))}function e0(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",84)(1,"input",85),e.nI1(2,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.back())}),e.k0s(),e.j41(3,"input",86),e.nI1(4,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.submit())}),e.k0s()()}2&n&&(e.R7$(),e.FS9("value",e.bMT(2,2,"login.back")),e.R7$(2),e.FS9("value",e.bMT(4,4,"submit")))}function t0(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",87)(1,"input",88),e.nI1(2,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.back())}),e.k0s(),e.j41(3,"input",89),e.nI1(4,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.submit())}),e.k0s()()}2&n&&(e.R7$(),e.FS9("value",e.bMT(2,2,"login.back")),e.R7$(2),e.FS9("value",e.bMT(4,4,"submit")))}let n0=(()=>{class n{constructor(t,i,r,u,v,V,Ce,it,At){this.formBuilder=t,this.router=i,this.translate=r,this.modalService=u,this.eventService=v,this.el=V,this.renderer=Ce,this.createRequestUtil=it,this.domainConfigService=At,this.cancelReasons=new Map,this.denialReasons=new Map,this.leaveStatuses=new Map,this.localeId=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)).localeId,this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)),this.drsConstants=p.AG,this.data=history.state.data,this.decisionError=!1,this.reasonError=!1,this.startDateError=!1,this.endDateError=!1,this.overlappingDatesError=!1,this.contiguousDuplicateError=!1,this.initialHeight=null,this.INITIAL_HEIGHT=63,this.WRAP_PADDING_LG=20,this.WRAP_PADDING_SM=5}ngOnInit(){let t;this.requestType=sessionStorage.getItem("requestType"),this.decision=JSON.parse(this.data.decision),this.requestId=this.getRequestId().toString(),this.decisionId=this.getDecisionId().toString(),this.setDecisionDateBounds(),this.domainResourcePath=se.z.getBaseResourcePath(),this.datePickerMin=this.setDatePickerLimits(this.startDate),this.datePickerMax=this.endDate?this.setDatePickerLimits(this.endDate):{year:p.YM.WPA_NULL_END_DATE_UTILITY_YEAR,month:1,day:1},this.isDecisionReasonHRReviewNeeded()&&(this.leaveStatuses.delete(p.YM.FSP_DECISION_STATUS_CANCELLED.toString()),this.leaveStatuses.delete(p.YM.FSP_DECISION_STATUS_REQUESTED.toString())),this.decision.statusReasonIds.includes(this.drsConstants.HR_REVIEW_NEEDED)?t=p.YM.FSP_NOTES_SUB_CATEGORY_HR_REVIEW_NEEDED_ID:this.decision.statusReasonIds.includes(this.drsConstants.EMPLOYER_REVIEW_NEEDED)&&(t=p.YM.FSP_NOTES_SUB_CATEGORY_EMPLOYER_REVIEW_NEEDED_ID),this.createForm(t),this.addPartialLeaveDecision(Fp(),!0)}createForm(t){this.partialLeaveDecisionsForm=this.formBuilder.group({leaveRequestId:this.data.leaveRequestId,leaveActionId:this.data.actionId,leaveDecisionId:this.decision.decisionId,notesCategoryId:p.YM.FSP_NOTES_CATEGORY_WEBSITE_UPDATE_ID,notesSubCategoryId:t,wpaRequestId:this.data.wpaRequestId,wpaTypeId:this.decision.typeId,typeCodeId:this.data.typeCodeId,versionId:this.data.versionId,wpaDecisionId:this.data.decisionId,cost:this.data.cost,wpaDetails:this.data.wpaDetails,wpaNote:this.data.wpaNote,firstName:this.userInfo.onBehalfFirstName,lastName:this.userInfo.onBehalfLastName,partialLeaveDecisions:this.formBuilder.array([])})}setDecisionDateBounds(){if(this.requestType===p.YM.LEAVE)this.startDate=new Date(this.decision.startDate),this.endDate=new Date(this.decision.endDate);else if(this.requestType===p.YM.WPA){this.startDate=this.setDateForWpaDecision(this.decision.startDate);const t=new Date;t.setFullYear(p.YM.WPA_NULL_END_DATE_UTILITY_YEAR),this.endDate=this.decision.endDate?this.setDateForWpaDecision(this.decision.endDate):t}}addPartialLeaveDecision(t,i){if(this.userProvidedPldCount()<=p.YM.MAX_DECISION_ENTRIES){const r=this.formBuilder.group({id:t,leaveDecisionStatusId:null,leaveDecisionReasonId:null,approvedModification:null,startDate:null,endD
1ate:null,errorMessage:null,isUserEnteredPLD:i});this.partialLeaveDecisions.push(r)}}get partialLeaveDecisions(){return this.partialLeaveDecisionsForm.get("partialLeaveDecisions")}deleteLeaveDecisionEntry(t){this.partialLeaveDecisions.length>1&&this.partialLeaveDecisions.removeAt(t)}setDateForWpaDecision(t){const i=t.toString(),[r,u,v]=i.split("-").map(Number);return new Date(u+"/"+v+"/"+r)}isDecisionReasonFieldSelectable(t){const i=this.partialLeaveDecisions.at(t).value;return i.leaveDecisionStatusId!=p.YM.FSP_DECISION_STATUS_REQUESTED&&i.leaveDecisionStatusId!=p.YM.FSP_DECISION_STATUS_APPROVED}isDecisionDetailsFieldSelectable(t){return this.partialLeaveDecisions.at(t).value.leaveDecisionStatusId!=p.YM.FSP_DECISION_STATUS_REQUESTED}isReasonNull(t){return!this.partialLeaveDecisions.at(t).value.leaveDecisionReasonId}isDecisionNull(t){return!this.partialLeaveDecisions.at(t).value.leaveDecisionStatusId}resetDecisionReason(t){this.partialLeaveDecisions.at(t).get("leaveDecisionReasonId").patchValue(null)}resetDecisionDetails(t){this.isDecisionDetailsFieldSelectable(t)||this.partialLeaveDecisions.at(t).get("approvedModification").patchValue(null)}isDecisionReasonEmployerReviewNeeded(){return this.decision.statusReasonIds.includes(this.drsConstants.EMPLOYER_REVIEW_NEEDED)}isDecisionReasonHRReviewNeeded(){return this.decision.statusReasonIds.includes(this.drsConstants.HR_REVIEW_NEEDED)}isCurrentPartialLeaveDecisionDenied(t){return Number(this.partialLeaveDecisions.at(t).value.leaveDecisionStatusId)===p.YM.FSP_DECISION_STATUS_DENIED}isCurrentPartialLeaveDecisionCancelled(t){return Number(this.partialLeaveDecisions.at(t).value.leaveDecisionStatusId)===p.YM.FSP_DECISION_STATUS_CANCELLED}userProvidedPldCount(){let t=0;for(let i=0;i<this.partialLeaveDecisions.length;i++)this.partialLeaveDecisions.at(i).value.isUserEnteredPLD&&t++;return t}getFirstUserGeneratedLeaveIdx(){for(let t=0;t<this.partialLeaveDecisions.length;t++)if(this.partialLeaveDecisions.at(t).value.isUserEnteredPLD)return t;return-1}submit(){this.submissionError=null;const t=this.partialLeaveDecisions.value;if(this.validateForm()){this.setDefaultsForReasonFiled();const i=this.modalService.open(Ay,{centered:!0});i.componentInstance.isPartialDecision=!0,i.componentInstance.requestType=sessionStorage.getItem("requestType"),i.componentInstance.userInfo=this.userInfo,i.componentInstance.title=this.translate.instant("partialLeaveDecision.modalTitle"),i.componentInstance.partialLeaveDecisionMessages=this.getPldEntryTextForModal(this.partialLeaveDecisions),i.componentInstance.partialDecisionsForm=this.partialLeaveDecisionsForm,i.dismissed.subscribe(()=>{this.clearGeneratedPldEntries(),this.resetUserEnteredPldEntries(t)}),i.result.then(r=>{r!=Yn.kG.Ok&&(this.submissionError=this.translate.instant("myAbsences.leaveRequestDetails.updateDecisionEndDate.RTW.returnToWorkBox.validation.error"),this.clearGeneratedPldEntries(),this.resetUserEnteredPldEntries(t)),this.submissionError?this.eventService.logEvent(p.sb.ERROR_SUBMIT_DECISION,p.sb.WPA_ERROR_MSG,this.requestId+"-"+this.decisionId):(this.eventService.logEvent(p.sb.SUBMIT_DECISION,p.sb.USER_SUCCESSFULLY_MADE_PARTIAL_DECISION_MSG,this.requestId+"-"+this.decisionId),this.back())}).catch(()=>{})}}setDefaultsForReasonFiled(){this.isDecisionReasonHRReviewNeeded()?this.partialLeaveDecisions.controls.forEach(t=>{t.value.leaveDecisionStatusId==p.YM.FSP_DECISION_STATUS_DENIED&&t.get("leaveDecisionReasonId").patchValue(this.drsConstants.LEAVE_REQUEST_DECISION_REASON_LEAVE_NOT_APPROVED_BY_EMPLOYER)}):this.isDecisionReasonEmployerReviewNeeded()&&this.partialLeaveDecisions.controls.forEach(t=>{t.value.leaveDecisionStatusId==p.YM.FSP_DECISION_STATUS_REQUESTED&&t.get("leaveDecisionReasonId").patchValue(this.drsConstants.EMPLOYER_REVIEW_NEEDED)})}resetUserEnteredPldEntries(t){for(const i of t){const r=i.id;let u=!1;for(let v=0;v<this.partialLeaveDecisions.length;v++){const V=this.partialLeaveDecisions.at(v);V.value.id===r&&(u=!0,V.get("leaveDecisionStatusId").patchValue(i.leaveDecisionStatusId),V.get("leaveDecisionReasonId").patchValue(i.leaveDecisionReasonId),V.get("startDate").patchValue(i.startDate),V.get("endDate").patchValue(i.endDate),V.get("approvedModification").patchValue(i.approvedModification))}if(!u){this.addPartialLeaveDecision(Fp(),!0);const v=this.partialLeaveDecisions.at(this.partialLeaveDecisions.length-1);v.get("leaveDecisionStatusId").patchValue(i.leaveDecisionStatusId),v.get("leaveDecisionReasonId").patchValue(i.leaveDecisionReasonId),v.get("startDate").patchValue(i.startDate),v.get("endDate").patchValue(i.endDate),v.get("approvedModification").patchValue(i.approvedModification)}}}validateForm(){return this.clearErrors(),!(!this.isPldEntryValid()||(this.sortPldEntries(),this.isWpaRequest()&&this.setDecisionEndDates(),this.doPLDDatesOverlap()||this.doDuplicateContiguousPLDExist())||(this.fillLeaveDateGaps(),0))}isPldEntryValid(){for(let t=0;t<this.partialLeaveDecisions.length;t++)if(this.partialLeaveDecisions.at(t).value.errorMessage="",!this.isDecisionValid(t)||!this.isReasonValid(t)||!this.areDatesValid(t))return!1;return!0}isDecisionValid(t){return!!this.partialLeaveDecisions.at(t).value.leaveDecisionStatusId||(this.partialLeaveDecisions.at(t).value.errorMessage=this.translate.instant("partialLeaveDecision.status.notSelected"),this.eventService.logEvent(p.sb.ERROR_SUBMIT_DECISION,p.sb.DECISION_NOT_SELECTED,this.requestId+"-"+this.decisionId),this.decisionError=!0,!1)}isReasonValid(t){return!(this.isDecisionReasonEmployerReviewNeeded()&&this.isDecisionReasonFieldSelectable(t)&&!this.partialLeaveDecisions.at(t).value.leaveDecisionReasonId&&(this.partialLeaveDecisions.at(t).value.errorMessage=this.translate.instant("partialLeaveDecision.reason.notSelected"),this.eventService.logEvent(p.sb.ERROR_SUBMIT_DECISION,p.sb.DECISION_REASON_NOT_SELECTED,this.requestId+"-"+this.decisionId),this.reasonError=!0,1))}areDatesValid(t){const i=this.partialLeaveDecisions.at(t).value.startDate;if(!(i&&i.year&&i.month&&i.day))return this.partialLeaveDecisions.at(t).value.errorMessage=this.translate.instant("partialLeaveDecision.startDate.notSelected"),this.eventService.logEvent(p.sb.ERROR_SUBMIT_DECISION,p.sb.START_DATE_NOT_SELECTED,this.requestId+"-"+this.decisionId),this.startDateError=!0,!1;const r=new Date(this.getDateMDY(this.partialLeaveDecisions.at(t).value.startDate)).toISOString();if(on(r).isBefore(this.startDate)||this.endDate&&on(r).isAfter(this.endDate))return this.partialLeaveDecisions.at(t).value.errorMessage=this.translate.instant("partialLeaveDecision.startDate.outsideRange"),this.eventService.logEvent(p.sb.ERROR_SUBMIT_DECISION,p.sb.START_DATE_OUT_OF_RANGE,this.requestId+"-"+this.decisionId),this.startDateError=!0,!1;const u=this.partialLeaveDecisions.at(t).value.endDate;if(u&&!this.createRequestUtil.dateValidator(u))return this.partialLeaveDecisions.at(t).value.errorMessage=this.translate.instant("partialLeaveDecision.endDate.notSelected"),this.eventService.logEvent(p.sb.ERROR_SUBMIT_DECISION,p.sb.END_DATE_NOT_SELECTED,this.requestId+"-"+this.decisionId),this.endDateError=!0,!1;if(this.partialLeaveDecisions.at(t).value.endDate){const v=new Date(this.getDateMDY(this.partialLeaveDecisions.at(t).value.endDate)).toISOString();if(on(v).isBefore(this.startDate)||this.endDate&&on(v).isAfter(this.endDate))return this.partialLeaveDecisions.at(t).value.errorMessage=this.translate.instant("partialLeaveDecision.endDate.outsideRange"),this.eventService.logEvent(p.sb.ERROR_SUBMIT_DECISION,p.sb.END_DATE_OUT_OF_RANGE,this.requestId+"-"+this.decisionId),this.endDateError=!0,!1;if(on(v).isBefore(on(r)))return this.partialLeaveDecisions.at(t).value.errorMessage=this.translate.instant("partialLeaveDecision.date.endBeforeStart"),this.eventService.logEvent(p.sb.ERROR_SUBMIT_DECISION,p.sb.END_DATE_BEFORE_START_DECISION,this.requestId+"-"+this.decisionId),this.startDateError=!0,this.endDateError=!0,!1}return!0}setDecisionEndDates(){for(let i=0;i<this.partialLeaveDecisions.length-1;i++){const r=i+1;if(!this.partialLeaveDecisions.at(i).value.endDate){const u=new Date(this.getDateMDY(this.partialLeaveDecisions.at(r).value.startDate));u.setDate(u.getDate()-1),this.partialLeaveDecisions.at(i).get("endDate").setValue(this.convertDateToNgbDate(u))}}const t=this.partialLeaveDecisions.length-1;this.partialLeaveDecisions.at(t).value.endDate||this.partialLeaveDecisions.at(t).get("endDate").patchValue(this.convertDateToNgbDate(this.endDate))}doPLDDatesOverlap(){for(let t=0;t<this.partialLeaveDecisions.length-1;t++){const i=t+1,r=new Date(this.getDateMDY(this.partialLeaveDecisions.at(t).value.endDate)).toISOString(),u=new Date(this.getDateMDY(this.partialLeaveDecisions.at(i).value.startDate)).toISOString(),v=new Date(this.getDateMDY(this.partialLeaveDecisions.at(i).value.endDate)).toISOString();if(!on(u).isAfter(r)||!on(v).isAfter(r))return this.partialLeaveDecisions.at(t).value.errorMessage=this.translate.instant("partialLeaveDecision.date.overlap"),this.partialLeaveDecisions.at(i).value.errorMessage=" ",this.eventService.logEvent(p.sb.ERROR_SUBMIT_DECISION,p.sb.DECISION_DATES_CANNOT_OVERLAP,this.requestId+"-"+this.decisionId),this.overlappingDatesError=!0,this.startDateError=!0,this.endDateError=!0,!0}return!1}doDuplicateContiguousPLDExist(){for(let t=0;t<this.partialLeaveDecisions.length-1;t++){const i=t+1,r=new Date(this.getDateMDY(this.partialLeaveDecisions.at(t).value.endDate)).toISOString(),u=new Date(this.getDateMDY(this.partialLeaveDecisions.at(i).value.startDate)).toISOString();if(-1===on(r).diff(u,"days")&&this.areDuplicates(this.partialLeaveDecisions.at(t).value,this.partialLeaveDecisions.at(i).value,t,i))return!0}return!1}areDuplicates(t,i,r,u){const v=this.isDecisionReasonEmployerReviewNeeded()&&t.leaveDecisionStatusId===i.leaveDecisionStatusId&&null!==t.leaveDecisionReasonId&&null!==i.leaveDecisionReasonId&&t.leaveDecisionReasonId===i.leaveDecisionReasonId,V=this.isDecisionReasonEmployerReviewNeeded()&&t.leaveDecisionStatusId===i.leaveDecisionStatusId&&!t.leaveDecisionReasonId&&!i.leaveDecisionReasonId,Ce=this.isDecisionReasonHRReviewNeeded()&&t.leaveDecisionStatusId===i.leaveDecisionStatusId,it=this.areDuplicatesDefaultType(t,i);return!(!(v||V||Ce)||it)&&(this.partialLeaveDecisions.at(r).value.errorMessage=this.translate.instant(V||Ce?"partialLeaveDecision.date.contiguousDuplicate.nullReasons":"partialLeaveDecision.date.contiguousDuplicate.hasReasons"),this.partialLeaveDecisions.at(u).value.errorMessage=" ",this.eventService.logEvent(p.sb.ERROR_SUBMIT_DECISION,V||Ce?p.sb.CONTIGUOUS_DUPLICATE_NULL_REASON_ERROR:p.sb.CONTIGUOUS_DUPLICATE_HAS_REASON_ERROR,this.requestId+"-"+this.decisionId),this.contiguousDuplicateError=!0,!0)}areDuplicatesDefaultType(t,i){if(this.isDecisionReasonHRReviewNeeded()){if(t.leaveDecisionStatusId==p.YM.FSP_DECISION_STATUS_DENIED&&i.leaveDecisionStatusId==p.YM.FSP_DECISION_STATUS_DENIED)return!0}else if(this.isDecisionReasonEmployerReviewNeeded()&&t.leaveDecisionStatusId==p.YM.FSP_DECISION_STATUS_REQUESTED&&i.leaveDecisionStatusId==p.YM.FSP_DECISION_STATUS_REQUESTED&&!t.leaveDecisionReasonId&&!i.leaveDecisionReasonId)return!0;return!1}fillLeaveDateGaps(){const t=this.partialLeaveDecisions,i=t.length;i>1&&(this.isThereAGapBetweenLeaves(this.partialLeaveDecisions.at(0),this.partialLeaveDecisions.at(1)),3===i&&this.compareLastTwoUserProvidedPldEntries(),this.sortPldEntries());const r=this.areDatesTheSame(new Date(this.getDateMDY(t.at(0).value.startDate)),new Date(this.startDate)),u=this.areDatesTheSame(new Date(this.getDateMDY(t.at(t.length-1).value.endDate)),new Date(this.endDate));if(!r){const v=Number(t.at(0).value.leaveDecisionStatusId);this.isDecisionReasonHRReviewNeeded()?v==p.YM.FSP_DECISION_STATUS_APPROVED?this.generateNewPldInFrontOfUserProvidedPldEntries(p.YM.FSP_DECISION_STATUS_DENIED):v==p.YM.FSP_DECISION_STATUS_DENIED&&t.at(0).get("startDate").patchValue(this.convertDateToNgbDate(this.startDate)):this.isDecisionReasonEmployerReviewNeeded()&&(v==p.YM.FSP_DECISION_STATUS_REQUESTED?t.at(0).get("startDate").patchValue(this.convertDateToNgbDate(this.startDate)):(v==p.YM.FSP_DECISION_STATUS_APPROVED||v==p.YM.FSP_DECISION_STATUS_DENIED||v==p.YM.FSP_DECISION_STATUS_CANCELLED)&&this.generateNewPldInFrontOfUserProvidedPldEntries(p.YM.FSP_DECISION_STATUS_REQUESTED))}if(!u){const v=Number(t.at(t.length-1).value.leaveDecisionStatusId);this.isDecisionReasonHRReviewNeeded()?t.at(t.length-1).value.endDate.year!==p.YM.WPA_NULL_END_DATE_UTILITY_YEAR&&v==p.YM.FSP_DECISION_STATUS_APPROVED?this.generateNewPldAtTheEndOfUserProvidedPldEntries(p.YM.FSP_DECISION_STATUS_DENIED):v==p.YM.FSP_DECISION_STATUS_DENIED&&t.at(t.length-1).get("endDate").patchValue(this.convertDateToNgbDate(this.endDate)):this.isDecisionReasonEmployerReviewNeeded()&&(v==p.YM.FSP_DECISION_STATUS_REQUESTED?t.at(t.length-1).get("endDate").patchValue(this.convertDateToNgbDate(this.endDate)):t.at(t.length-1).value.endDate.year!==p.YM.WPA_NULL_END_DATE_UTILITY_YEAR&&(v==p.YM.FSP_DECISION_STATUS_APPROVED||v==p.YM.FSP_DECISION_STATUS_DENIED||v==p.YM.FSP_DECISION_STATUS_CANCELLED)&&this.generateNewPldAtTheEndOfUserProvidedPldEntries(p.YM.FSP_DECISION_STATUS_REQUESTED))}}compareLastTwoUserProvidedPldEntries(){let t=null,i=null,r=this.partialLeaveDecisions.length-1;for(;null==t||null==i;)this.partialLeaveDecisions.at(r).value.isUserEnteredPLD&&(null==i?i=this.partialLeaveDecisions.at(r):t=this.partialLeaveDecisions.at(r)),r--;this.isThereAGapBetweenLeaves(t,i)}isThereAGapBetweenLeaves(t,i){const r=new Date(this.getDateMDY(t.value.endDate)).toISOString(),u=new Date(this.getDateMDY(i.value.startDate)).toISOString();(-1!==on(r).diff(u,"days")||this.areDuplicatesDefaultType(t.value,i.value))&&this.mergePldsOrGenerateOneBetween(t,i)}areDatesTheSame(t,i){return t.toString()===i.toString()}mergePldsOrGenerateOneBetween(t,i){this.isDecisionReasonHRReviewNeeded()?t.value.leaveDecisionStatusId==p.YM.FSP_DECISION_STATUS_DENIED&&i.value.leaveDecisionStatusId==p.YM.FSP_DECISION_STATUS_DENIED?this.mergeUserEnteredPldEntries(t,i):t.value.leaveDecisionStatusId==p.YM.FSP_DECISION_STATUS_DENIED&&i.value.leaveDecisionStatusId!=p.YM.FSP_DECISION_STATUS_DENIED?this.extendFirstPldEndDate(t,i):t.value.leaveDecisionStatusId!=p.YM.FSP_DECISION_STATUS_DENIED&&i.value.leaveDecisionStatusId==p.YM.FSP_DECISION_STATUS_DENIED?this.extendSecondPldStartDate(t,i):this.generateLeaveBetweenUserProvidedPldEntries(t,i,p.YM.FSP_DECISION_STATUS_DENIED):this.isDecisionReasonEmployerReviewNeeded()&&(t.value.leaveDecisionStatusId==p.YM.FSP_DECISION_STATUS_REQUESTED&&i.value.leaveDecisionStatusId==p.YM.FSP_DECISION_STATUS_REQUESTED?this.mergeUserEnteredPldEntries(t,i):t.value.leaveDecisionStatusId==p.YM.FSP_DECISION_STATUS_REQUESTED&&i.value.leaveDecisionStatusId!=p.YM.FSP_DECISION_STATUS_REQUESTED?this.extendFirstPldEndDate(t,i):t.value.leaveDecisionStatusId!=p.YM.FSP_DECISION_STATUS_REQUESTED&&i.value.leaveDecisionStatusId==p.YM.FSP_DECISION_STATUS_REQUESTED?this.extendSecondPldStartDate(t,i):this.generateLeaveBetweenUserProvidedPldEntries(t,i,p.YM.FSP_DECISION_STATUS_REQUESTED))}mergeUserEnteredPldEntries(t,i){t.get("endDate").patchValue(i.value.endDate),this.deleteLeaveDecisionEntry(this.partialLeaveDecisions.controls.findIndex(r=>r.value.id==i.value.id))}extendFirstPldEndDate(t,i){const r=new Date(this.getDateMDY(i.value.startDate));r.setDate(r.getDate()-1),t.get("endDate").patchValue(this.convertDateToNgbDate(r))}extendSecondPldStartDate(t,i){const r=new Date(this.getDateMDY(t.value.endDate));r.setDate(r.getDate()+1),i.get("startDate").patchValue(this.convertDateToNgbDate(r))}generateLeaveBetweenUserProvidedPldEntries(t,i,r){const u=new Date(this.getDateMDY(t.value.endDate));u.setDate(u.getDate()+1);const v=new Date(this.getDateMDY(i.value.startDate));v.setDate(v.getDate()-1),this.fillGeneratedPldValues(this.generateNewEmptyPld(),r,u,v)}generateNewPldInFrontOfUserProvidedPldEntries(t){const i=new Date(this.getDateMDY(this.partialLeaveDecisions.at(0).value.startDate));i.setDate(i.getDate()-1),this.fillGeneratedPldValues(this.generateNewEmptyPld(),t,this.startDate,i),this.sortPldEntries()}generateNewPldAtTheEndOfUserProvidedPldEntries(t){const i=new Date(this.getDateMDY(this.partialLeaveDecisions.at(this.partialLeaveDecisions.length-1).value.endDate));i.setDate(i.getDate()+1),this.fillGeneratedPldValues(this.generateNewEmptyPld(),t,i,this.endDate)}generateNewEmptyPld
1(){const t=Fp();return this.addPartialLeaveDecision(t,!1),this.partialLeaveDecisions.controls.find(r=>r.value.id==t)}fillGeneratedPldValues(t,i,r,u){t.get("leaveDecisionStatusId").patchValue(i),t.get("startDate").patchValue(this.convertDateToNgbDate(r)),t.get("endDate").patchValue(this.convertDateToNgbDate(u)),t.get("isUserEnteredPLD").patchValue(!1)}sortPldEntries(){this.partialLeaveDecisions.controls.sort(function(t,i){return new Date(t.value.startDate.year+"-"+t.value.startDate.month+"-"+t.value.startDate.day).getTime()-new Date(i.value.startDate.year+"-"+i.value.startDate.month+"-"+i.value.startDate.day).getTime()})}getPldEntryTextForModal(t){const i=[];for(let r=0;r<this.partialLeaveDecisions.length;r++){const u=t.at(r).value;let v="partialDecision.modal.requested",V="",Ce="",it="",At="";u.endDate.year===p.YM.WPA_NULL_END_DATE_UTILITY_YEAR?t.at(r).get("endDate").setValue(null):At=this.getDateMDY(u.endDate),this.isLeaveRequest()?(V="partialLeaveDecision.modal.approved",Ce="partialLeaveDecision.modal.denied",it="partialLeaveDecision.modal.cancelled"):this.isWpaRequest()&&(At?(V="partialWpaDecision.modal.approved",Ce="partialWpaDecision.modal.denied",it="partialWpaDecision.modal.cancelled"):(v="partialDecision.modal.requested.noEndDate",V="partialWpaDecision.modal.approved.noEndDate",Ce="partialWpaDecision.modal.denied.noEndDate",it="partialWpaDecision.modal.cancelled.noEndDate")),u.leaveDecisionStatusId==p.YM.FSP_DECISION_STATUS_REQUESTED&&i.push(this.translate.instant(v,{startDate:this.getDateMDY(u.startDate),endDate:At})),u.leaveDecisionStatusId==p.YM.FSP_DECISION_STATUS_APPROVED&&i.push(this.translate.instant(V,{startDate:this.getDateMDY(u.startDate),endDate:At})),u.leaveDecisionStatusId==p.YM.FSP_DECISION_STATUS_DENIED&&i.push(this.translate.instant(Ce,{startDate:this.getDateMDY(u.startDate),endDate:At})),u.leaveDecisionStatusId==p.YM.FSP_DECISION_STATUS_CANCELLED&&i.push(this.translate.instant(it,{startDate:this.getDateMDY(u.startDate),endDate:At}))}return i}generateUuid(){return Fp()}getDateMDY(t){return t.month+"-"+t.day+"-"+t.year}convertDateToNgbDate(t){return{year:t.getFullYear(),month:t.getMonth()+1,day:t.getDate()}}setDatePickerLimits(t){const i=this.convertDateToNgbDate(t);return{year:Number(i.year),month:Number(i.month),day:Number(i.day)}}clearGeneratedPldEntries(){const t=[];for(let i=0;i<this.partialLeaveDecisions.length;i++)0==this.partialLeaveDecisions.at(i).value.isUserEnteredPLD&&t.push(this.partialLeaveDecisions.controls.find(r=>r.value.id==this.partialLeaveDecisions.at(i).value.id).value.id);t.forEach(i=>{const r=this.partialLeaveDecisions.controls.findIndex(u=>u.value.id==i);this.deleteLeaveDecisionEntry(r)}),this.sortPldEntries()}clearErrors(){this.decisionError=!1,this.reasonError=!1,this.startDateError=!1,this.endDateError=!1,this.contiguousDuplicateError=!1,this.overlappingDatesError=!1;for(let t=0;t<this.partialLeaveDecisions.length;t++)this.partialLeaveDecisions.at(t).value.errorMessage=""}hasValidationError(t){const i=this.partialLeaveDecisions.at(t).value;return!!(!i.value.leaveDecisionStatusId&&this.decisionError||!i.value.leaveDecisionReasonId&&this.reasonError||!i.value.startDate&&this.startDateError||i.value.startDate&&this.startDateError&&!this.endDateError||!i.value.endDate&&this.endDateError||i.value.endDate&&this.endDateError&&!this.startDateError||i.value.startDate&&i.value.endDate&&this.startDateError&&this.endDateError&&!this.overlappingDatesError||i.value.startDate&&i.value.endDate&&this.startDateError&&this.endDateError&&this.overlappingDatesError||this.contiguousDuplicateError)}onResize(){const t=this.el.nativeElement.querySelectorAll(".pld-entries"),i=this.el.nativeElement.querySelectorAll(".decision-details-col");let r=!1;for(let u=0;u<t.length;u++){const v=t[u];let V=this.INITIAL_HEIGHT;const Ce=i?i[u]:null;let it=Ce?Ce.clientHeight:0;if(v.classList.contains("wrap-padding-lg")?(V+=this.WRAP_PADDING_LG,it+=this.WRAP_PADDING_LG):v.classList.contains("wrap-padding-sm")&&(V+=this.WRAP_PADDING_SM,it+=this.WRAP_PADDING_SM),v.clientHeight>V&&it!=v.clientHeight){r=!0;break}}this.updateRowCSS(r,t)}
1updateRowCSS(t,i){i.forEach(t?r=>{this.renderer.addClass(r,"wrap-padding-lg"),this.renderer.removeClass(r,"wrap-padding-sm")}:r=>{this.renderer.removeClass(r,"wrap-padding-lg"),this.renderer.addClass(r,"wrap-padding-sm")})}ngAfterViewInit(){const t=this.el.nativeElement.querySelectorAll(".pld-entries");t.length&&(this.initialHeight=t[0].clientHeight)}emailUs(){this.router.navigate(["/contactUs"],{queryParams:{submitDecisionRequestType:this.requestType,requestId:this.getRequestId(),dateRange:this.decision.startDate+" to "+this.decision.endDate}})}back(){const t=this.getRequestId();this.isLeaveRequest()?this.router.navigateByUrl("leaveDetails?leaveID="+t+"&mapTypes=lrHCPSpecialtyMap,DecisionReasonDeniedMap,DecisionReasonCancelledMap,LeaveDecisionStatusMap"):this.isWpaRequest()&&this.router.navigateByUrl("viewWorkplaceAccommodation?workplaceAccommodationId="+t+"&mapTypes=WorkplaceAccommodationTypeMap,DecisionReasonDeniedMap,DecisionReasonCancelledMap,LeaveDecisionStatusMap,lrHCPSpecialtyMap")}isLeaveRequest(){return this.requestType===p.YM.LEAVE}isWpaRequest(){return this.requestType===p.YM.WPA}getRequestId(){return this.requestType===p.YM.LEAVE?this.data.leaveRequestId:this.data.wpaRequestId}getDecisionId(){return this.requestType===p.YM.LEAVE?this.decision.decisionId:this.data.decisionId}isBaseDomain(){return this.domainConfigService.isBaseDomain}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(ge.ok),e.rXU(q.Ix),e.rXU(Y.c$),e.rXU(G.Bq),e.rXU(M.US),e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(bu),e.rXU(xe.K))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-partially-approve-deny"]],hostBindings:function(i,r){1&i&&e.bIt("resize",function(){return r.onResize()},!1,e.tSv)},inputs:{cancelReasons:"cancelReasons",denialReasons:"denialReasons",leaveStatuses:"leaveStatuses"},features:[e.Jv_([{provide:G.tN,useClass:b.ls},[b.F2,{provide:G.G7,useClass:b.Y7}]])],decls:22,vars:15,consts:[["employerReviewDiv",""],["startDate","ngbDatepicker"],["endDate","ngbDatepicker"],[1,"pad-cmpnt-cont"],[1,"pld-breakdown"],["class","redesign-text-color",4,"ngIf","ngIfElse"],[1,"bold-font"],["class","pad-error-message mt10","id","submissionError",4,"ngIf"],[1,"pld-submission-error-pad"],["id","partialLeaveDecisionForm","name","partialLeaveDecisionsForm",3,"formGroup"],["formArrayName","partialLeaveDecisions"],[4,"ngFor","ngForOf"],[1,"pld-addOrDeleteRow-msg"],["class","pld-addNewRow-msg",3,"click",4,"ngIf"],[4,"ngIf"],["class","button-wrap",4,"ngIf"],["class","pld-buttons",4,"ngIf"],[1,"redesign-text-color"],[1,"bold"],["class","redesign-text-color",4,"ngIf"],["id","submissionError",1,"pad-error-message","mt10"],[3,"ngClass","formGroup",4,"ngIf"],[3,"ngClass","formGroup"],["id","validationErrorMessages",1,"display-block"],["class","pad-error-message","id","validationError",4,"ngIf"],["id","pld-entries",1,"pld-entries",3,"ngClass"],[3,"ngClass"],["for","leaveDecisionStatusId","id","decisionSelectorLabel","class","pld-start-label redesign-text-color",4,"ngIf"],["for","leaveDecisionStatusId","id","decisionSelectorLabel","class","pld-start-label required redesign-text-color",4,"ngIf"],["formControlName","leaveDecisionStatusId","id","leaveDecisionStatusId",1,"pld-decision-select","redesign-grey-input-border","pad-decision",3,"change","ngClass"],["value","null","hidden","","disabled","","selected","",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],["class","decision-reason-col",4,"ngIf"],["id","decision-details-col","class","decision-details-col",4,"ngIf"],[1,"startDate-col"],["for","startDate","id","startDateLabel","class","pld-start-date-label redesign-text-color",4,"ngIf"],["for","startDate","id","startDateLabel","class","pld-start-date-label required redesign-text-color",4,"ngIf"],[1,"display-inline-flex"],["type","text","formControlName","startDate","id","startDate","ngbDatepicker","","placeholder","mm/dd/yyyy","firstDayOfWeek","7","autocomplete","off",1,"rf-cal-inp","redesign-grey-input-border","pad-date",3,"keydown.enter","keydown.space","ngClass","minDate","maxDate"],[1,"display-block","pld-date"],["alt","Calendar","id","startDatePicker","class","pad-calendar",3,"src","click",4,"ngIf"],["alt","Calendar","id","startDatePicker","class","pld-calendar",3,"src","click",4,"ngIf"],[1,"endDate-col"],["for","endDate","id","endDateLabel","class","endD
1ate-label redesign-text-color",4,"ngIf"],["for","endDate","id","endDateLabel","class","endDate-label redesign-text-color",3,"ngClass",4,"ngIf"],["type","text","formControlName","endDate","id","endDate","ngbDatepicker","","placeholder","mm/dd/yyyy","firstDayOfWeek","7","autocomplete","off",1,"rf-cal-inp","redesign-grey-input-border","pad-date",3,"keydown.enter","keydown.space","ngClass","minDate","maxDate"],["alt","Calendar","id","endDatePicker","class","pad-calendar",3,"src","click",4,"ngIf"],["alt","Calendar","id","endDatePicker","class","pld-calendar",3,"src","click",4,"ngIf"],[1,"display-block"],["class","pad-delete",3,"src","ngStyle","click",4,"ngIf"],["class","glyphicon glyphicon-remove pld-remove-icon",3,"ngStyle","click",4,"ngIf"],["id","validationError",1,"pad-error-message"],["for","leaveDecisionStatusId","id","decisionSelectorLabel",1,"pld-start-label","redesign-text-color"],["for","leaveDecisionStatusId","id","decisionSelectorLabel",1,"pld-start-label","required","redesign-text-color"],["value","null","hidden","","disabled","","selected",""],[3,"value"],[1,"decision-reason-col"],["for","leaveDecisionReasonId","id","denialReasonLabel","class","pld-reason-label redesign-text-color",4,"ngIf"],["for","leaveDecisionReasonId","id","denialReasonLabel","class","pld-reason-label redesign-text-color",3,"ngClass",4,"ngIf"],["formControlName","leaveDecisionReasonId","id","leaveDecisionReasonId",1,"pld-reason-select","redesign-grey-input-border",3,"ngClass"],["hidden","","disabled","","selected","","value","null","class","italicText","style","color: grey !important;",4,"ngIf"],["for","leaveDecisionReasonId","id","denialReasonLabel",1,"pld-reason-label","redesign-text-color"],["for","leaveDecisionReasonId","id","denialReasonLabel",1,"pld-reason-label","redesign-text-color",3,"ngClass"],["hidden","","disabled","","selected","","value","null",1,"italicText",2,"color","grey !important"],["id","decision-details-col",1,"decision-details-col"],["for","approvedModification","id","decisionDetails",1,"pwd-decision-details-label","redesign-text-color","decision-details-label"],["alt","","placement","auto","adaptivePosition","true","triggers","click:blur","class","info-icon-style pad-info-icon",3,"ngbTooltip","src",4,"ngIf"],["alt","","placement","auto","adaptivePosition","true","triggers","click:blur","class","helptip ms-2","src","./assets/baseResources/info-icon_bw.png",3,"ngbTooltip",4,"ngIf"],[1,"display-inline-flex","textarea-sm"],["id","approvedModification","formControlName","approvedModification","maxlength","4000",1,"redesign-grey-input-border",3,"ngClass"],["alt","","placement","auto","adaptivePosition","true","triggers","click:blur",1,"info-icon-style","pad-info-icon",3,"ngbTooltip","src"],["alt","","placement","auto","adaptivePosition","true","triggers","click:blur","src","./assets/baseResources/info-icon_bw.png",1,"helptip","ms-2",3,"ngbTooltip"],["for","startDate","id","startDateLabel",1,"pld-start-date-label","redesign-text-color"],["for","startDate","id","startDateLabel",1,"pld-start-date-label","required","redesign-text-color"],["alt","Calendar","id","startDatePicker",1,"pad-calendar",3,"click","src"],["alt","Calendar","id","startDatePicker",1,"pld-calendar",3,"click","src"],["for","endDate","id","endDateLabel",1,"endDate-label","redesign-text-color"],["for","endDate","id","endDateLabel",1,"endDate-label","redesign-text-color",3,"ngClass"],["alt","Calendar","id","endDatePicker",1,"pad-calendar",3,"click","src"],["alt","Calendar","id","endDatePicker",1,"pld-calendar",3,"click","src"],[1,"pad-delete",3,"click","src","ngStyle"],[1,"glyphicon","glyphicon-remove","pld-remove-icon",3,"click","ngStyle"],[1,"pld-addNewRow-msg",3,"click"],["id","footerEmailUsLink",3,"click"],[1,"button-wrap"],["type","button","id","backBtn","name","backBtnName",1,"back-btn",3,"click","value"],["type","submit","id","docSubmit",1,"submit-btn",3,"click","value"],[1,"pld-buttons"],["type","button","id","backBtn","name","backBtnName",1,"submit","secondaryBtn",3,"click","value"],["type","submit","id","docSubmit",1,"submit","primaryBtn",3,"click","value"]],template:function(i,r){if(1&i&&(e.j41(0,"div",3),e.nrm(1,"br"),e.j41(2,"h1",4),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.DNE(5,RS,10,9,"div",5)(6,kS,1,1,"ng-template",null,0,e.C5r),e.nrm(8,"br"),e.j41(9,"div",6),e.EFF(10),e.nI1(11,"translate"),e.k0s(),e.DNE(12,AS,2,1,"div",7),e.nrm(13,"div",8),e.j41(14,"form",9),e.qex(15,10),e.DNE(16,Jy,2,1,"ng-container",11),e.bVm(),e.j41(17,"div",12),e.DNE(18,Qy,3,3,"div",13)(19,Zy,11,9,"div",14),e.k0s(),e.DNE(20,e0,5,6,"div",15)(21,t0,5,6,"div",16),e.k0s()()),2&i){const u=e.sdS(7);e.R7$(3),e.JRh(e.bMT(4,11,"partialLeaveDecision.breakdown")),e.R7$(2),e.Y8G("ngIf",r.isDecisionReasonHRReviewNeeded())("ngIfElse",u),e.R7$(5),e.JRh(e.bMT(11,13,"partialLeaveDecision.note")),e.R7$(2),e.Y8G("ngIf",r.submissionError),e.R7$(2),e.Y8G("formGroup",r.partialLeaveDecisionsForm),e.R7$(2),e.Y8G("ngForOf",r.partialLeaveDecisions.controls),e.R7$(2),e.Y8G("ngIf",r.userProvidedPldCount()<=2),e.R7$(),e.Y8G("ngIf",r.userProvidedPldCount()>2),e.R7$(),e.Y8G("ngIf",r.isBaseDomain()),e.R7$(),e.Y8G("ngIf",!r.isBaseDomain())}},dependencies:[ie.YU,ie.Sq,ie.bT,ie.B3,ge.qT,ge.xH,ge.y7,ge.me,ge.wz,ge.BC,ge.cb,ge.tU,ge.j4,ge.JD,ge.v8,G.cw,G.md,ie.lG,Y.D9],encapsulation:2})}}return n})();const Lp=n=>({"bold-font":n}),YS=n=>({fieldError:n}),$S=(n,d)=>({"dec-details-textarea-deny":n,"dec-details-textarea-approve":d}),US=n=>
1({disabled:n});function s0(n,d){if(1&n&&(e.j41(0,"span",26)(1,"span",27)(2,"span",28),e.EFF(3),e.k0s()()()),2&n){const t=e.XpG();e.R7$(3),e.JRh(t.errorMsg)}}function GS(n,d){if(1&n&&(e.j41(0,"div",29)(1,"div",30)(2,"span",10),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"p",31),e.EFF(6),e.k0s()(),e.j41(7,"div",30)(8,"span",10),e.EFF(9),e.nI1(10,"translate"),e.k0s(),e.j41(11,"p",32),e.EFF(12),e.k0s()()()),2&n){const t=e.XpG();e.R7$(3),e.SpI("",e.bMT(4,6,"wpa.requestNumber"),":"),e.R7$(2),e.Y8G("ngClass",e.eq3(10,Lp,!t.isBaseDomain())),e.R7$(),e.JRh(t.requestId),e.R7$(3),e.SpI("",e.bMT(10,8,"myAbsences.leaveRequestDetails.decision.decisionReason"),":"),e.R7$(2),e.Y8G("ngClass",e.eq3(12,Lp,!t.isBaseDomain())),e.R7$(),e.JRh(t.wpaReason)}}function VS(n,d){if(1&n&&(e.j41(0,"div",29)(1,"div",30)(2,"span",10),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"p",33),e.EFF(6),e.k0s()(),e.j41(7,"div",30)(8,"span",10),e.EFF(9),e.nI1(10,"translate"),e.k0s(),e.j41(11,"p",34),e.EFF(12),e.k0s()()()),2&n){const t=e.XpG();e.R7$(3),e.SpI("",e.bMT(4,6,"submitDecision.leaveRequest"),":"),e.R7$(2),e.Y8G("ngClass",e.eq3(10,Lp,!t.isBaseDomain())),e.R7$(),e.JRh(t.requestId),e.R7$(3),e.SpI("",e.bMT(10,8,"myAbsences.leaveRequestDetails.decision.decisionReason"),":"),e.R7$(2),e.Y8G("ngClass",e.eq3(12,Lp,!t.isBaseDomain())),e.R7$(),e.JRh(t.decision.reason)}}function HS(n,d){1&n&&(e.j41(0,"label",42),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" * ",e.bMT(2,1,"denialReason")," "))}function WS(n,d){1&n&&(e.j41(0,"label",43),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"denialReason")," "))}function qS(n,d){if(1&n&&(e.j41(0,"option",44),e.EFF(1),e.k0s()),2&n){const t=d.$implicit,i=e.XpG(2);e.Y8G("value",t.value.id),e.R7$(),e.SpI(" ",0===i.localeId?t.value.displayValueEng:t.value.displayValueEsp," ")}}function XS(n,d){1&n&&(e.j41(0,"div",45)(1,"span",46),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"decisionReasonRequired")," "))}function zS(n,d){if(1&n&&(e.j41(0,"div",35),e.DNE(1,HS,3,3,"label",36)(2,WS,3,3,"label",37),e.j41(3,"select",38)(4,"option",39),e.EFF(5),e.nI1(6,"translate"),e.k0s(),e.DNE(7,qS,2,2,"option",40),e.nI1(8,"keyvalue"),e.k0s(),e.DNE(9,XS,4,3,"div",41),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.isBaseDomain()),e.R7$(),e.Y8G("ngIf",!t.isBaseDomain()),e.R7$(),e.Y8G("ngClass",e.eq3(10,YS,t.f.denialReasonId.touched&&t.f.denialReasonId.errors&&t.f.denialReasonId.errors.required)),e.R7$(2),e.JRh(e.bMT(6,6,"myAbsences.reportTime.pleaseSelect")),e.R7$(2),e.Y8G("ngForOf",e.bMT(8,8,t.denialReasons)),e.R7$(2),e.Y8G("ngIf",t.showDenialReasonError())}}function KS(n,d){1&n&&(e.nrm(0,"img",52),e.nI1(1,"translate")),2&n&&e.Y8G("ngbTooltip",e.bMT(1,1,"decisionDetailsToolTip"))}function JS(n,d){1&n&&(e.nrm(0,"img",53),e.nI1(1,"translate")),2&n&&e.Y8G("ngbTooltip",e.bMT(1,1,"decisionDetailsToolTip"))}function r0(n,d){if(1&n&&(e.j41(0,"div"),e.nrm(1,"br"),e.j41(2,"div",47)(3,"label",48),e.
1EFF(4),e.nI1(5,"translate"),e.DNE(6,KS,2,3,"img",49)(7,JS,2,3,"img",50),e.k0s(),e.j41(8,"textarea",51),e.EFF(9,"        "),e.k0s()()()),2&n){const t=e.XpG();e.R7$(4),e.SpI("",e.bMT(5,4,"decisionDetails")," "),e.R7$(2),e.Y8G("ngIf",t.isBaseDomain()),e.R7$(),e.Y8G("ngIf",!t.isBaseDomain()),e.R7$(),e.Y8G("ngClass",e.l_i(6,$S,t.currentlyChecked===t.decision_status_type.DENY,t.currentlyChecked===t.decision_status_type.APPROVE))}}function o0(n,d){if(1&n&&(e.j41(0,"div"),e.nrm(1,"app-partially-approve-deny",54),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("denialReasons",t.denialReasons)("cancelReasons",t.cancelReasons)("leaveStatuses",t.leaveStatuses)}}function a0(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",55)(1,"input",56),e.nI1(2,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.goBack())}),e.k0s(),e.nrm(3,"input",57),e.nI1(4,"translate"),e.k0s()}if(2&n){const t=e.XpG();e.R7$(),e.FS9("value",e.bMT(2,3,"login.back")),e.R7$(2),e.FS9("value",e.bMT(4,5,"submit")),e.Y8G("disabled",!t.showSubmit)}}function l0(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",58)(1,"input",59),e.nI1(2,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.goBack())}),e.k0s(),e.nrm(3,"input",60),e.nI1(4,"translate"),e.k0s()}if(2&n){const t=e.XpG();e.R7$(),e.FS9("value",e.bMT(2,3,"login.back")),e.R7$(2),e.FS9("value",e.bMT(4,5,"submit")),e.Y8G("ngClass",e.eq3(7,US,!t.showSubmit))}}var Za=function(n){return n[n.APPROVE=0]="APPROVE",n[n.DENY=1]="DENY",n[n.PARTIAL=2]="PARTIAL",n}(Za||{});let c0=(()=>{class n{constructor(t,i,r,u,v,V,Ce){this.modalService=t,this.formBuilder=i,this.location=r,this.translate=u,this.router=v,this.eventService=V,this.domainConfigService=Ce,this.data=history.state.data,this.denialReasons=new Map,this.cancelReasons=new Map,this.leaveStatuses=new Map,this.localeId=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)).localeId,this.decision_status_type=Za}ngOnInit(){(null==this.data||!sessionStorage.getItem("requestType"))&&(localStorage.clear(),this.router.navigate(["error-page"])),this.decision=JSON.parse(this.data.decision),this.requestType=sessionStorage.getItem("requestType"),this.setRequestData(),this.actionId=this.data.actionId,this.createForm(),this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)),this.denialReasons=this.data.denialReasons,this.cancelReasons=this.data.cancelReasons,this.leaveStatuses=this.data.leaveStatuses,this.eventService.logEvent(p.sb.VIEW_SUBMIT_DECISION,p.sb.USER_VIEWING_SUBMIT_DECISION_PAGE_MSG,this.requestId.toString()+"-"+this.decisionId)}setRequestData(){this.isLeaveRequest()?(this.requestId=Number(this.data.leaveRequestId),this.decisionId=this.decision.decisionId):this.isWpaRequest()&&(this.decision.startDate=this.convertDateFormat(this.decision.startDate.toString()),this.decision.endDate=this.decision.endDate?this.convertDateFormat(this.decision.endDate.toString()):null,this.requestId=Number(this.data.wpaRequestId),this.decisionId=this.data.decisionId,this.wpaReason=this.data.wpaReason,this.setWpaType())}back(){this.isLeaveRequest()?this.router.navigateByUrl("leaveDetails?leaveID="+this.requestId+"&mapTypes=lrHCPSpecialtyMap,DecisionReasonDeniedMap,DecisionReasonCancelledMap,LeaveDecisionStatusMap"):this.isWpaRequest()&&this.router.navigateByUrl("viewWorkplaceAccommodation?workplaceAccommodationId="+this.requestId+"&mapTypes=WorkplaceAccommodationTypeMap,DecisionReasonDeniedMap,DecisionReasonCancelledMap,LeaveDecisionStatusMap,lrHCPSpecialtyMap")}setWpaType(){this.wpaType=new Mc,this.wpaType.wpaId=this.data.wpaRequestId,this.wpaType.id=this.data.typeId,this.wpaType.versionId=this.data.versionId,this.wpaType.wpaNote=this.data.wpaNote}showDenialReason(){return this.currentlyChecked===Za.DENY&&this.decision.statusReasonIds.includes(p.AG.EMPLOYER_REVIEW_NEEDED)}showDenialReasonError(){const t=this.showDenialReason()&&this.f.denialReasonId.touched&&this.f.denialReasonId.errors&&this.f.denialReasonId.errors.required;return t&&!this.denialReasonEventLogged&&(this.denialReasonEventLogged=!0,this.eventService.logEvent(p.sb.ERROR_SUBMIT_DECISION,p.sb.DECISION_REASON_REQUIRED,this.requestId.toString()+"-"+this.decisionId)),t}fieldsValidated(){let t=!0;return this.submitLeaveDecisionForm.get("denialReasonId").setErrors(null),this.submitLeaveDecisionForm.get("denialReasonId").setValidators(null),Object.keys(this.submitLeaveDecisionForm.controls).forEac
1h(i=>{this.submitLeaveDecisionForm.controls[i].markAsTouched(),this.submitLeaveDecisionForm.controls[i].errors&&(t=!1)}),this.showDenialReason()&&(this.submitLeaveDecisionForm.get("denialReasonId").value||(this.submitLeaveDecisionForm.get("denialReasonId").setErrors({required:!0}),this.submitLeaveDecisionForm.get("denialReasonId").setValidators(ge.k0.required),t=!1)),t}onSubmit(){if(this.fieldsValidated()){const t=this.modalService.open(Ay,{centered:!0});this.currentlyChecked===Za.APPROVE&&this.eventService.logEvent(p.sb.SUBMIT_DECISION,p.sb.USER_ATTEMPTING_TO_FULLY_APPROVE_DECISION_MSG,this.requestId.toString()+"-"+this.decisionId),this.currentlyChecked===Za.DENY&&this.eventService.logEvent(p.sb.SUBMIT_DECISION,p.sb.USER_ATTEMPTING_TO_FULLY_DENY_DECISION_MSG,this.requestId.toString()+"-"+this.decisionId),this.setLeaveTypeSpecificModalValues(t),t.componentInstance.decisionStatusId=this.decisionStatusId,t.componentInstance.userInfo=this.userInfo,t.componentInstance.requestType=this.requestType;const i=this.currentlyChecked===Za.APPROVE?p.sb.USER_SUCCESSFULLY_APPROVED_DECISION_MSG:p.sb.USER_SUCCESSFULLY_DENIAL_DECISION_MSG;t.componentInstance.denialReasonId=Number(this.submitLeaveDecisionForm.get("denialReasonId").value),t.componentInstance.decisionDetails=this.submitLeaveDecisionForm.get("decisionDetails").value,t.result.then(r=>{if(console.log(r),-1===r)return this.errorMsg=this.translate.instant("myAbsences.leaveRequestDetails.updateDecisionEndDate.RTW.returnToWorkBox.validation.error"),void this.eventService.logEvent(p.sb.ERROR_SUBMIT_DECISION,p.sb.WPA_ERROR_MSG,this.requestId.toString()+"-"+this.decisionId);this.eventService.logEvent(p.sb.SUBMIT_DECISION,i,this.requestId.toString()+"-"+this.decisionId),this.back()}).catch(()=>{})}}setLeaveTypeSpecificModalValues(t){let i="",r="";this.isLeaveRequest()?(t.componentInstance.leaveDecision=this.decision,t.componentInstance.actionId=this.actionId,t.componentInstance.leaveRequestId=Number(this.requestId),i="submitDecision.modalTitleApprove.leave",r="submitDecision.modalTitleDeny.leave",t.componentInstance.title=this.setModalTitle(i,r)):this.isWpaRequest()&&(t.componentInstance.wpaDecision=this.decision,t.componentInstance.wpaType=this.wpaType,this.decision.endDate?(i="submitDecision.modalTitleApprove.wpa",r="submitDecision.modalTitleDeny.wpa",t.componentInstance.title=this.setModalTitle(i,r)):(i="submitDecision.modalTitleApprove.wpa.noEndDate",r="submitDecision.modalTitleDeny.wpa.noEndDate",t.componentInstance.title=this.translate.instant(this.currentlyChecked===Za.APPROVE?i:r,{startDate:this.decision.startDate})))}convertDateFormat(t){const i=t.split("-");return`${i[1]}-${i[2]}-${i[0]}`}setModalTitle(t,i){return this.translate.instant(this.currentlyChecked===Za.APPROVE?t:i,{startDate:this.decision.startDate,endDate:this.decision.endDate})}selectDecisionStatus(t){this.errorMsg=null,this.currentlyChecked=t,t===Za.APPROVE&&(this.decisionStatusId=p.YM.FSP_DECISION_STATUS_APPROVED,this.showSubmit=!0),t===Za.DENY&&(this.decisionStatusId=p.YM.FSP_DECISION_STATUS_DENIED,this.showSubmit=!0),t===Za.PARTIAL&&this.eventService.logEvent(p.sb.SUBMIT_DECISION,p.sb.USER_ATTEMPTING_TO_PARTIALLY_APPROVE_DENY_DECISION_MSG,this.requestId.toString()+"-"+this.decisionId)}goBack(){this.location.back()}goToDashboard(){this.router.navigateByUrl("absences")}createForm(){this.submitLeaveDecisionForm=this.formBuilder.group({approve:"",deny:"",partial:"",denialReasonId:"",decisionDetails:""})}get f(){return this.submitLeaveDecisionForm.controls}isLeaveRequest(){return this.requestType===p.YM.LEAVE}isWpaRequest(){return this.requestType===p.YM.WPA}isBaseDomain(){return this.domainConfigService.isBaseDomain}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(G.Bq),e.rXU(ge.ok),e.rXU(ie.aZ),e.rXU(Y.c$),e.rXU(q.Ix),e.rXU(M.US),e.rXU(xe.K))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-submit-leave-decision"]],decls:46,vars:48,consts:[[1,"font-italic"],[1,"user-info-header"],[1,"submit-dec-container"],[1,"row"],[1,"col-lg-6","col-md-6","col-sm-6","h1Row","submit-dec-header"],["id","viewTimeTitle"],["class","rf-msgs col-md-6","id","submitLeaveDecisionMessage",4,"ngIf"],["class","sub-dec-type-form-pad",4,"ngIf"],["id","submitLeaveDecisionFormId","name","","enctype","multipart/form-data","method","post",1,"sub-dec-type-form-pad",3,"ngSubmit","keydown.enter","formGroup"],[1,"row","col-lg-6","col-md-6","col-sm-6","date-range-button-margin"],[1,"field","fixed","redesign-bold"],["
1id","requestDateRange",1,"submit-dec-margin",3,"ngClass"],["id","radioButtons",1,"row","row","col-lg-12","mt-3","radio-button-display"],["for","approveInfull","id","approveInfullLabel",1,"radio-button","p-3","p-2","styled-checkbox","me-3","submit-dec-label"],["id","approveInfull","name","approveInfull","type","radio","formContorllName","approveInfull",1,"m-1","radio-button-scale",3,"click","checked"],["for","denyInFull","id","denyInFullLabel",1,"radio-button","p-3","p-2","styled-checkbox","me-3","submit-dec-label"],["id","denyInFull","name","denyInFull","type","radio","formContorllName","denyInFull",1,"m-1","radio-button-scale",3,"click","checked"],["for","partialAppDeny","id","partialAppDenyLabel",1,"radio-button","radio-button-partial","styled-checkbox","partial-box","submit-dec-label"],["id","partialAppDeny","name","partialAppDeny","type","radio","formContorllName","partialAppDeny",1,"m-1","radio-button-scale",3,"click","checked"],["class","form-inline denial-reason table-caption boxText col-lg-8 mt-3",4,"ngIf"],[4,"ngIf"],["class","button-wrap",4,"ngIf"],["class","formBtns action-buttons",4,"ngIf"],[1,"border-bottom","mt-4"],[1,"emp-dash-div"],["type","button","id","backBtn","name","backBtnName",3,"click","ngClass","value"],["id","submitLeaveDecisionMessage",1,"rf-msgs","col-md-6"],["id","submitLeaveDecisionMessage:",1,"rf-msgs-inf"],["id","errorMsg",1,"rf-msgs-err"],[1,"sub-dec-type-form-pad"],[1,"row","col-lg-6","col-md-6","col-sm-6"],["id","wpaRequestId",1,"submit-dec-margin",3,"ngClass"],["id","wpaDecisionReason",1,"submit-dec-margin",3,"ngClass"],["id","leaveRequestId",1,"submit-dec-margin",3,"ngClass"],["id","leaveDecisionReason",1,"submit-dec-margin",3,"ngClass"],[1,"form-inline","denial-reason","table-caption","boxText","col-lg-8","mt-3"],["for","denialReason","id","redesignDenialReason","class","mb-2 commentsLabel redesign-text-color",4,"ngIf"],["for","denialReason","id","denialReason","class","commentsLabel required",4,"ngIf"],["formControlName","denialReasonId","id","denialReasonId",1,"redesign-grey-input-border","de
1nial-reason-select",3,"ngClass"],["value","","disabled",""],[3,"value",4,"ngFor","ngForOf"],["class","validation-error",4,"ngIf"],["for","denialReason","id","redesignDenialReason",1,"mb-2","commentsLabel","redesign-text-color"],["for","denialReason","id","denialReason",1,"commentsLabel","required"],[3,"value"],[1,"validation-error"],["id","errDecisionReasonRequired",1,"ms-5"],[1,"form-inline","boxText","inline-grid","table-caption"],[1,"submit-dec-details-label","redesign-text-color"],["alt","","placement","auto","adaptivePosition","true","triggers","click:blur","class","info-icon-style","src","./assets/baseResources/gfx/redesignIcons/info.svg",3,"ngbTooltip",4,"ngIf"],["alt","","placement","auto","adaptivePosition","true","triggers","click:blur","class","helptip ms-2","src","./assets/baseResources/info-icon_bw.png",3,"ngbTooltip",4,"ngIf"],["formControlName","decisionDetails","name","decisionDetails","maxlength","4000",1,"redesign-blue-input-border","decision-details",3,"ngClass"],["alt","","placement","auto","adaptivePosition","true","triggers","click:blur","src","./assets/baseResources/gfx/redesignIcons/info.svg",1,"info-icon-style",3,"ngbTooltip"],["alt","","placement","auto","adaptivePosition","true","triggers","click:blur","src","./assets/baseResources/info-icon_bw.png",1,"helptip","ms-2",3,"ngbTooltip"],[3,"denialReasons","cancelReasons","leaveStatuses"],[1,"button-wrap"],["type","button","id","backBtn","name","backBtnName",1,"back-btn",3,"click","value"],["type","submit","id","docSubmit",1,"submit-btn",3,"value","disabled"],[1,"formBtns","action-buttons"],["type","button","id","backBtn","name","backBtnName",1,"cancel-btn",3,"click","value"],["type","submit","id","docSubmit",1,"submit","primaryBtn",3,"value","ngClass"]],template:function(i,r){1&i&&(e.j41(0,"h1")(1,"span",0),e.EFF(2),e.nI1(3,"translate"),e.j41(4,"span",1),e.EFF(5),e.k0s()()(),e.j41(6,"div",2)(7,"div",3)(8,"div",4)(9,"h1",5),e.EFF(10),e.nI1(11,"translate"),e.k0s()()(),e.DNE(12,s0,4,1,"span",6)(13,GS,13,14,"div",7)(14,VS,13,14,"div",7),e.j41(15,"form",8),e.bIt("ngSubmit",function(){return r.onSubmit()})("keydown.enter",function(v){return v.preventDefault()}),e.j41(16,"div",9)(17,"span",10),e.EFF(18),e.nI1(19,"translate"),e.k0s(),e.j41(20,"p",11),e.EFF(21),e.nI1(22,"date"),e.nI1(23,"date"),e.k0s()(),e.j41(24,"div",12)(25,"label",13)(26,"input",14),e.bIt("click",function(){return r.selectDecisionStatus(r.decision_status_type.APPROVE)}),e.k0s(),e.EFF(27),e.nI1(28,"translate"),e.k0s(),e.j41(29,"label",15)(30,"input",16),e.bIt("click",function(){return r.selectDecisionStatus(r.decision_status_type.DENY)}),e.k0s(),e.EFF(31),e.nI1(32,"translate"),e.k0s(),e.j41(33,"label",17)(34,"input",18),e.bIt("click",function(){return r.selectDecisionStatus(r.decision_status_type.PARTIAL)}),e.k0s(),e.EFF(35),e.nI1(36,"translate"),e.k0s()(),e.DNE(37,zS,10,12,"div",19)(38,r0,10,9,"div",20)(39,o0,2,3,"div",20)(40,a0,5,7,"div",21)(41,l0,5,9,"div",22),e.k0s(),e.nrm(42,"div",23),e.j41(43,"div",24)(44,"input",25),e.nI1(45,"translate"),e.bIt("click",function(){return r.goToDashboard()}),e.k0s()()()),2&i&&(e.R7$(2),e.SpI(" ",e.bMT(3,26,"workingAs")," "),e.R7$(3),e.E5c(" ",r.userInfo.onBehalfFirstName," ",r.userInfo.onBehalfLastName," (",r.userInfo.onBehalfEmplNumber,") "),e.R7$(5),e.SpI(" ",e.bMT(11,28,"submitDecision")," "),e.R7$(2),e.Y8G("ngIf",r.errorMsg),e.R7$(),e.Y8G("ngIf",r.isWpaRequest()),e.R7$(),e.Y8G("ngIf",r.isLeaveRequest()),e.R7$(),e.Y8G("formGroup",r.submitLeaveDecisionForm),e.R7$(3),e.SpI("",e.bMT(19,30,"submitDecision.dateRange"),":"),e.R7$(2),e.Y8G("ngClass",e.eq3(46,Lp,!r.isBaseDomain())),e.R7$(),e.Lme("",e.i5U(22,32,r.decision.startDate,"MM-dd-yyyy")," - ",e.i5U(23,35,r.decision.endDate,"MM-dd-yyyy")," "),e.R7$(5),e.Y8G("checked",r.currentlyChecked===r.decision_status_type.APPROVE),e.R7$(),e.SpI(" ",e.bMT(28,38,"submitDecision.approveInFull")," "),e.R7$(3),e.Y8G("checked",r.currentlyChecked===r.decision_status_type.DENY),e.R7$(),e.SpI(" ",e.bMT(32,40,"submitDecision.denyInFull")," "),e.R7$(3),e.Y8G("checked",r.currentlyChecked===r.decision_status_type.PARTIAL),e.R7$(),e.SpI(" ",e.bMT(36,42,"submitDecision.partialAppDeny")," "),e.R7$(2),e.Y8G("ngIf",r.showDenialReason()),e.R7$(),e.Y8G("ngIf",r.isWpaRequest()&&
1(r.currentlyChecked===r.decision_status_type.DENY||r.currentlyChecked===r.decision_status_type.APPROVE)),e.R7$(),e.Y8G("ngIf",r.currentlyChecked===r.decision_status_type.PARTIAL),e.R7$(),e.Y8G("ngIf",r.currentlyChecked!==r.decision_status_type.PARTIAL&&r.isBaseDomain()),e.R7$(),e.Y8G("ngIf",r.currentlyChecked!==r.decision_status_type.PARTIAL&&!r.isBaseDomain()),e.R7$(3),e.FS9("value",e.bMT(45,44,"submitDecision.backToEmployerPortal")),e.Y8G("ngClass",r.isBaseDomain()?"emp-dash-btn":"submit secondaryBtn"))},dependencies:[ie.YU,ie.Sq,ie.bT,ge.qT,ge.xH,ge.y7,ge.me,ge.wz,ge.BC,ge.cb,ge.tU,ge.j4,ge.JD,G.md,n0,ie.vh,ie.lG,Y.D9],encapsulation:2})}}return n})();const ug=n=>({fieldError:n});function d0(n,d){if(1&n&&(e.j41(0,"option",32),e.EFF(1),e.k0s()),2&n){const t=d.$implicit;e.Y8G("value",t.value),e.R7$(),e.SpI(" ",t.name," ")}}function u0(n,d){1&n&&(e.j41(0,"div",33)(1,"span",34),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"emptyTitleError")," "))}function p0(n,d){1&n&&(e.j41(0,"div",33)(1,"span",35),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"emptyNoteError")," "))}const h0=n=>({baseDomainName:n}),QS=n=>({"restyled-disabled-download-btn":n}),ZS=n=>({expandedRow:n}),pg=n=>({selectedNote:n}),Cm=n=>({rotatedIcon:n});function hg(n,d){1&n&&(e.j41(0,"div")(1,"span",30),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.JRh(e.bMT(3,1,"genericApiSubmissionError")))}function mg(n,d){if(1&n){const t=e.RV6();e.j41(0,"button",31),e.nI1(1,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.addNote())}),e.nrm(2,"img",32),e.EFF(3),e.nI1(4,"translate"),e.k0s()}2&n&&(e.FS9("value",e.bMT(1,2,"notes.addNote")),e.R7$(3),e.SpI(" ",e.bMT(4,4,"notes.addNote")," "))}function fg(n,d){1&n&&e.nrm(0,"img",44)}function m0(n,d){if(1&n&&(e.j41(0,"tr",45),e.nrm(1,"td")(2,"td")(3,"td")(4,"td"),e.j41(5,"td",39)(6,"div",46),e.EFF(7),e.k0s()()()),2&n){const t=e.XpG().$implicit,i=e.XpG();e.R7$(7),e.JRh(i.selectedNote===t?t.note:"")}}function f0(n,d){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"tr",33)(2,"td",34)(3,"label",35),e.EFF(4),e.k0s(),e.j41(5,"input",36),e.bIt("click",function(){const r=e.eBV(t).$implicit,u=e.XpG();return e.Njj(u.toggleSingleCheckbox(r))}),e.k0s()(),e.j41(6,"td",37),e.EFF(7),e.nI1(8,"date"),e.k0s(),e.j41(9,"td"),e.EFF(10),e.k0s(),e.j41(11,"td"),e.EFF(12),e.k0s(),e.j41(13,"td",38)(14,"div",39),e.EFF(15),e.k0s(),e.j41(16,"span",40),e.bIt("click",function(){const r=e.eBV(t).$implicit,u=e.XpG();return e.Njj(u.selectedNote=u.selectedNote===r?null:r)})("keydown.space",function(){const r=e.eBV(t).$implicit,u=e.XpG();return e.Njj(u.selectedNote=u.selectedNote===r?null:r)})("keydown.enter",function(){const r=e.eBV(t).$implicit,u=e.XpG();return e.Njj(u.selectedNote=u.selectedNote===r?null:r)}),e.DNE(17,fg,1,0,"img",41),e.nrm(18,"img",42),e.k0s()()(),e.DNE(19,m0,8,1,"tr",43),e.bVm()}if(2&n){const t=d.$implicit,i=e.XpG();e.R7$(),e.Y8G("ngClass",e.eq3(20,ZS,i.selectedNote===t)),e.R7$(2),e.Mz_("for","checkbox-",t.employerContactNotesId,""),e.R7$(),e.SpI(" Checkbox for note: ",t.employerContactNotesId," "),e.R7$(),e.Mz_("title","Checkbox for note ",t.employerContactNotesId,""),e.Mz_("id","checkbox-",t.employerContactNotesId,""),e.Y8G("checked",t.isChecked),e.R7$(2),e.SpI(" ",e.i5U(8,17,t.createdOn,"MM/dd/yyyy h:mm a")," "),e.R7$(3),e.SpI(" ",t.createdBy," "),e.R7$(2),e.SpI(" ",t.leaveRequestId," "),e.R7$(),e.Y8G("ngClass",e.eq3(22,pg,i.selectedNote===t)),e.R7$(2),e.JRh(t.notesTitle),e.R7$(2),e.Y8G("ngIf",t.privateNote),e.R7$(),e.Y8G("ngClass",e.eq3(24,Cm,i.selectedNote===t)),e.R7$(),e.Y8G("ngIf",i.selectedNote===t)}}function _0(n,d){if(1&n&&(e.j41(0,"tr",47)(1,"td",48)(2,"span",49)(3,"strong"),e.EFF(4),e.k0s()()()()),2&n){const t=e.XpG();e.R7$(4),e.JRh(t.noResultText)}}function g0(n,d){if(1&n){const t=e.RV6();e.j41(0,"select",56),e.nI1(1,"translate"),e.mxI("ngModelChange",function(r){e.eBV(t);const u=e.XpG(2);return e.DH7(u.pageSize,r)||(u.pageSize=r),e.Njj(r)}),e.bIt("ngModelChange",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.refreshNotes())}),e.j41(2,"option",57),e.EFF(3,"10"),e.k0s(),e.j41(4,"option",58),e.EFF(5,"25"),e.k0s(),e.j41(6,"option",58),e.EFF(7,"50"),e.k0s(),e.j41(8,"option",58),e.EFF(9,"100"),e.k0s()()}if(2&n){const t=e.XpG(2);e.R50("ngModel",t.pageSize),e.BMQ("aria-label",e.bMT(1,6,"ariaLabel.selectResults")),e.R7$(2),e.Y8G("ngValue",10),e.R7$(2),e.Y8G("ngValue",25),e.R7$(2),e.Y8G("ngValue",50),e.R7$(2),e.Y8G("ngValue",100)}}function b0(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",50)(1,"div",51),e.EFF(2),e.k0s(),e.j41(3,"div")(4,"ngb-pagination",52),e.nI1(5,"translate"),e.mxI("pageChange",function(r){e.eBV(t);const u=e.XpG();return e.DH7(u.page,r)||(u.page=r),e.Njj(r)}),e.bIt("pageChange",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.refreshNotes())}),e.k0s()(),e.j41(6,"div",53)(7,"div",54),e.EFF(8),e.nI1(9,"translate"),e.k0s(),e.DNE(10,g0,10,8,"select",55),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(2),e.SpI(" ",t.showingOfText," "),e.R7$(2),e.Y8G("collectionSize",t.notes.length),e.R50("page",t.page),e.Y8G("pageSize",t.pageSize)("maxSize",10)("rotate",!0)("ellipses",!1)("boundaryLinks",!0),e.BMQ("aria-label",e.bMT(5,11,"ariaLabel.notesPagination")),e.R7$(4),e.JRh(e.bMT(9,13,"caseActivity.resultsPerPage")),e.R7$(2),e.Y8G("ngIf",t.notes.length>0)}}const Mm=".longBackBtn[_ngcontent-%COMP%]{width:273px;height:41px;margin-top:54px;border-radius:100px!important;border:1px solid #070f36!important;background-color:transparent;display:flex;align-items:center;justify-content:center;font: 16px/30px Aptos,sans-serif!important;color:#070f36!important}.plainRestyled[_ngcontent-%COMP%]{td{padding:13px 15px!important;font: 14px/20px Aptos,sans-serif!important}.restyledTitle{font: 35px/80px Aptos,sans-serif!important;color:#070f36!important;margin:0!important}.restyledDisclaimer{font: 18px/25px Aptos,sans-serif!important;color:#070f36!important;margin:0!important;padding:0 16px 24px}.dashboard-header th{background-color:#badcff80!important}.rf-dt tbody tr:nth-child(2n){background-color:#badcff40;.expandedNote{background-color:#fffeeb!important}}.expandedRow{background-color:#f9f7c9!important}.expandedNote{background-color:#fffeeb!important}.restyledNoteColumn{display:flex;flex-direction:row;gap:8px;max-width:625px}.noteContainer{max-width:325px;word-wrap:break-word}.expandedNoteDescription{max-width:350px!important;word-wrap:break-word}.arrowIcon{float:right}.darkLabel{color:#000!important}
1.absenceHeaderFont{font:bolder 14px/20px Aptos,sans-serif!important}#noResultText2{color:#000}.border-bottom{display:none}.note-column{min-width:400px!important}th#categoryHeader{min-width:130px}.rotatedIcon{rotate:180deg}.restyled-download-rows{color:#333;max-width:180px;border-radius:10px;background-color:transparent!important;border:1px solid #070f36}.restyled-disabled-download-btn{border:1px solid #AAAAAA;background-color:#dfdfdf!important}.smAddBtn{min-width:112px;border-radius:100px;border:1px solid #070f36!important;color:#070f36!important;background-color:transparent!important;align-items:center;justify-content:space-around!important;font:lighter 12px/21px Aptos Light,sans-serif!important;img{height:13px;width:13px;color:#070f36!important}}.table-checkbox{margin-right:12px!important}.glyphicon{vertical-align:unset!important;top:5px}.controls{width:1050px}.resultsPerPageText{min-width:120px}}.absenceModal[_ngcontent-%COMP%]{.confirmModal{display:flex;flex-direction:column;width:90%!important}.closeBtn{align-self:end;position:relative;top:16px}.absenceNotesHeader{display:flex;flex-direction:column;h1{font: 35px/46px Aptos,sans-serif!important;align-self:center}}.privateToggle{display:flex;align-items:center;align-self:end;color:#070f36;font: 14px/20px Aptos,sans-serif!important}label{font:bolder 16px/26px Aptos,sans-serif!important;color:#070f36;span.reqError{color:#070f36}}select,input{border:1px solid #C3C3C3!important;height:38px;font: 16px/26px Aptos,sans-serif!important}.restyledSmBtns{height:unset;input{font:lighter 20px/46px Aptos Light,sans-serif!important;width:125px!important;height:56px}}textarea{border:1px solid #C3C3C3!important;height:132px;font: 16px/26px Aptos,sans-serif!important;max-width:100%;min-width:unset!important}.scrollableContent{overflow:clip}}.absenceModal.scrollableContent[_ngcontent-%COMP%]{overflow:hidden}@media (max-width: 1024px){.plainRestyled[_ngcontent-%COMP%]{.note-column{min-width:550px!important}}}@media (max-width: 850px){.plainRestyled[_ngcontent-%COMP%]{.restyledTitle{font:lighter 20px/37px Aptos Light,sans-serif!important;margin-bottom:20px}.restyledDisclaimer{font:lighter 14px/25px Aptos Light,sans-serif!important;padding-top:8px}}.absenceModal[_ngcontent-%COMP%]{.restyledSmBtns{>input{font:lighter 20px/40px Aptos Light,sans-serif!important;height:41px}}}}",v0={asc:"desc",desc:"asc","":"asc"};let y0=(()=>{class n{constructor(){this.sortable="",this.direction="",this.sort=new e.bkB}rotate(){this.direction=v0[this.direction],this.sort.emit({column:this.sortable,direction:this.direction})}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275dir=e.FsC({type:n,selectors:[["th","sortable",""]],hostVars:4,hostBindings:function(i,r){1&i&&e.bIt("click",function(){return r.rotate()}),2&i&&e.AVh("asc","asc"===r.direction)("desc","desc"===r.direction)},inputs:{sortable:"sortable",direction:"direction"},outputs:{sort:"sort"}})}}return n})(),gg=(()=>{class n{constructor(t,i,r,u){this.activeModal=t,this.service=i,this.formBuilder=r,this.eventService=u,this.selectedOption=null,this.domainResourcePath=se.z.getBaseResourcePath(),this.requestBody=new Yt.ti}ngOnInit(){this.createForm()}createForm(){this.noteForm=this.formBuilder.group({leaveRequestId:this.selectedValue?this.selectedValue:"",notesTitle:["",ge.k0.required],note:["",ge.k0.required],privateNote:!1})}selectOption(t){this.selectedOption=t}get f(){return this.noteForm.controls}fieldsValidated(){let t=!0;return Object.keys(this.noteForm.controls).forEach(i=>{this.noteForm.controls[i].markAsTouched(),this.noteForm.controls[i].errors&&(t=!1)}),this.noteForm.get("notesTitle").value&&this.noteForm.get("note").value||(t=!1),t}onConfirm(){this.fieldsValidated()&&(this.requestBody.leaveRequestId=this.noteForm.get("leaveRequestId").value,this.requestBody.notesTitle=this.noteForm.get("notesTitle").value,this.requestBody.note=this.noteForm.get("note").value,this.requestBody.privateNote=this.noteForm.get("privateNote").value,this.eventService.logEvent(p.sb.ADD_NOTES,this.requestBody.privateNote?p.sb.USER_ADDING_PRIVATE_NOTE_MSG:p.sb.USER_ADDING_PUBLIC_NOTE_MSG,this.requestBody.leaveRequestId.toString()),this.service.addNote(this.requestBody).subscribe(i=>{this.activeModal.close(i.status)}))}onCancel(){this.activeModal.dismiss()}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(G.Lw),e.rXU(M.jp),e.rXU(ge.ok),e.rXU(M.US))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["ng-component"]],inputs:{options:"options",selectedValue:"selectedValue"},decls:55,vars:43,consts:[["tooltip","ngbTooltip"],["privateNote",""],["slider",""],[1,"scrollableContent","absenceModal",3,"formGroup"],["tabindex","0",1,"rf-pp-cntr","confirmModal"],["src","assets/baseResources/gfx/redesignIcons/exit.svg","height","25px","tabindex","0",1,"closeBtn",3,"click","keydown.enter","alt"],[1,"rf-pp-cnt","p-4"],[1,"note-header","absenceNotesHeader"],["id","modalTitle"],[1,"privateToggle"],["id","private"],["placement","auto","triggers","manual","tabindex","0",3,"click","blur","keydown.escape","keydown.space","keydown.enter","ngbTooltip"],["alt","addNote","src","assets/baseResources/gfx/redesignIcons/info.svg","height","18px",1,"ms-2"],["for","privateNote","id","privateNoteLabel","tabindex","0",1,"ms-2","switch",3,"keydown.space","keyup.space","keydown.enter","keyup.enter"],["id","privateNote","type","checkbox","formControlName","privateNote",1,"sliderCheckbox"],[1,"slider","round"],[1,"form-group"],["id","leaveRequestLabel","for","leaveRequestId"],["id","leaveRequestId","formControlName","leaveRequestId",1,"w-100"],["value",""],[3,"value",4,"ngFor","ngForOf"],["for","notesTitle","id","title",1,"pt-3"],[1,"reqError"],["id","notesTitle","type","text","formControlName","notesTitle","maxlength","100",1,"w-100",3,"ngClass"],["class","validation-error",4,"ngIf"],[1,"form-group","scrollableContent"],["for","note","id","noteLabel",1,"d-flex","pt-3"],[2,"margin-left","auto","font-weight","normal"],["formControlName","note","name","note","id","note","cols","20","rows","10","maxlength","1500",1,"w-100",3,"ngClass"],[1,"d-flex","justify-content-end","restyledSmBtns"],["type","button","id","cancelBtn",1,"secondaryBack",3,"click","value"],["type","submit","id","confirmBtn",1,"primaryContinue",3,"click","value"],[3,"value"],[1,"validation-error"],["id","emptyTitleError"],["id","emptyNoteError"]],template:function(i,r){if(1&i){const u=e.RV6();e.j41(0,"form",3)(1,"div",4)(2,"img",5),e.nI1(3,"translate"),e.bIt("click",function(){return e.eBV(u),e.Njj(r.onCancel())})("keydown.enter",function(V){return e.eBV(u),V.preventDefault(),e.Njj(V.target.click())}),e.k0s(),e.j41(4,"div",6)(5,"div",7)(6,"h1",8),e.EFF(7),e.nI1(8,"translate"),e.k0s(),e.j41(9,"div",9)(10,"span",10),e.EFF(11),e.nI1(12,"translate"),e.k0s(),e.j41(13,"a",11,0),e.nI1(15,"translate"),e.bIt("click",function(){e.eBV(u);const V=e.sdS(14);return e.Njj(V.open())})("blur",function(){e.eBV(u);const V=e.sdS(14);return e.Njj(V.close())})("keydown.escape",function(){e.eBV(u);const V=e.sdS(14);return e.Njj(V.close())})("keydown.space",function(){e.eBV(u);const V=e.sdS(14);return e.Njj(V.open())})("keydown.enter",function(){e.eBV(u);const V=e.sdS(14);return e.Njj(V.open())}),e.nrm(16,"img",12),e.k0s(),e.j41(17,"label",13),e.bIt("keydown.space",function(){e.eBV(u);const V=e.sdS(19);return e.Njj(V.checked=!V.checked)})("keyup.space",function(){e.eBV(u);
1const V=e.sdS(19),Ce=e.sdS(21);return e.Njj(Ce.classList.toggle("checked",V.checked))})("keydown.enter",function(){e.eBV(u);const V=e.sdS(19);return e.Njj(V.checked=!V.checked)})("keyup.enter",function(){e.eBV(u);const V=e.sdS(19),Ce=e.sdS(21);return e.Njj(Ce.classList.toggle("checked",V.checked))}),e.nrm(18,"input",14,1)(20,"span",15,2),e.k0s()()(),e.j41(22,"div",16)(23,"label",17),e.EFF(24),e.nI1(25,"translate"),e.k0s(),e.j41(26,"select",18)(27,"option",19),e.EFF(28),e.nI1(29,"translate"),e.k0s(),e.DNE(30,d0,2,2,"option",20),e.k0s()(),e.j41(31,"div",16)(32,"label",21),e.EFF(33),e.nI1(34,"translate"),e.j41(35,"span",22),e.EFF(36,"*"),e.k0s()(),e.nrm(37,"input",23),e.DNE(38,u0,4,3,"div",24),e.k0s(),e.j41(39,"div",25)(40,"label",26),e.EFF(41),e.nI1(42,"translate"),e.j41(43,"span",22),e.EFF(44,"\xa0*"),e.k0s(),e.j41(45,"span",27),e.EFF(46),e.nI1(47,"translate"),e.k0s()(),e.nrm(48,"textarea",28),e.DNE(49,p0,4,3,"div",24),e.k0s(),e.j41(50,"div",29)(51,"input",30),e.nI1(52,"translate"),e.bIt("click",function(){return e.eBV(u),e.Njj(r.onCancel())}),e.k0s(),e.j41(53,"input",31),e.nI1(54,"translate"),e.bIt("click",function(){return e.eBV(u),e.Njj(r.onConfirm())}),e.k0s()()()()()}2&i&&(e.Y8G("formGroup",r.noteForm),e.R7$(2),e.FS9("alt",e.bMT(3,17,"ariaLabel.alt.close")),e.R7$(5),e.JRh(e.bMT(8,19,"notes.addNote")),e.R7$(4),e.JRh(e.bMT(12,21,"private")),e.R7$(2),e.Y8G("ngbTooltip",e.bMT(15,23,"notes.addNote.tooltip")),e.R7$(11),e.JRh(e.bMT(25,25,"leaveRequestId")),e.R7$(4),e.JRh(e.bMT(29,27,"notes.leaveRequest.placeholder")),e.R7$(2),e.Y8G("ngForOf",r.options),e.R7$(3),e.SpI("",e.bMT(34,29,"submitDocument.documentTitle")," "),e.R7$(4),e.Y8G("ngClass",e.eq3(39,ug,r.f.notesTitle.touched&&r.f.notesTitle.errors&&r.f.notesTitle.errors.required)),e.R7$(),e.Y8G("ngIf",r.f.notesTitle.touched&&r.f.notesTitle.errors&&r.f.notesTitle.errors.required),e.R7$(3),e.SpI("",e.bMT(42,31,"notes.columns.note")," "),e.R7$(5),e.JRh(e.bMT(47,33,"notes.maxChar")),e.R7$(2),e.Y8G("ngClass",e.eq3(41,ug,r.f.note.touched&&r.f.note.errors&&r.f.note.errors.required)),e.R7$(),e.Y8G("ngIf",r.f.note.touched&&r.f.note.errors&&r.f.note.errors.required),e.R7$(2),e.FS9("value",e.bMT(52,35,"cancel")),e.R7$(2),e.FS9("value",e.bMT(54,37,"notes.addNote")))},dependencies:[ie.YU,ie.Sq,ie.bT,ge.qT,ge.xH,ge.y7,ge.me,ge.Zm,ge.wz,ge.BC,ge.cb,ge.tU,ge.j4,ge.JD,G.md,Y.D9],styles:[Mm]})}}return n})(),bg=(()=>{class n{constructor(t,i,r,u,v,V,Ce){this.modalService=t,this.activatedRoute=i,this.service=r,this.router=u,this.translate=v,this.eventService=V,this.domainConfigService=Ce,this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)),this.page=1,this.pageSize=10,this.notesItemNumberStart=1}ngOnInit(){this.activatedRoute.queryParams.subscribe(v=>this.leaveRequestId=Number(v.leaveId)),this.noteType=Number.isNaN(this.leaveRequestId)?p.YM.EMPLOYEE_NOTE:p.YM.LEAVE_REQUEST_NOTE;const i=this.activatedRoute.snapshot.data.viewLeaves.absenceList.filter(v=>v.leaveRequest);this.openAndClosedLeaveIds=[...i.map(v=>Number(v.absenceId)).sort((v,V)=>V-v)],this.getNotes();const r=this.noteType===p.YM.EMPLOYEE_NOTE?p.sb.USER_VIEWING_THE_NOTES_PAGE_MSG:p.sb.USER_VIEWING_LEAVE_REQUEST_NOTES_MSG,u=this.noteType===p.YM.EMPLOYEE_NOTE?this.userInfo.employeeSystemId.toString():this.leaveRequestId.toString();this.eventService.logEvent(p.sb.VIEW_NOTES,r,u),this.baseDomainName=this.domainConfigService.baseDomainName}goBack(){this.router.navigateByUrl("absences")}getNotes(){return this.service.getNotes(this.noteType,this.leaveRequestId).subscribe(t=>{if(this.notes=t.sort(function(i,r){return r.createdOn-i.createdOn}),this.notes&&this.notes.length>0)this.refreshNotes();else{const i=this.translate.instant("notes.noResultTextForLeaveRequest"),r=this.translate.instant("notes.noResultTextForEmployee");this.noResultText=this.noteType===p.YM.LEAVE_REQUEST_NOTE?i:r}})}addNote(){const t=this.modalService.open(gg,{centered:!0,ariaLabelledBy:"modalTitle"});t.componentInstance.options=this.openAndClosedLeaveIds.map(r=>({value:r,name:r})),this.leaveRequestId&&(t.componentInstance.selectedValue=this.leaveRequestId.toString()),t.result.then(r=>{r===Yn.kG.Ok&&(this.page=1,this.pageSize=10,this.notesItemNumberStart=1,this.getNotes(),this.areAllCheckboxesSelected=!1)})}onSort({column:t,direction:i}
1){this.headers.forEach(r=>{r.sortable!==t&&(r.direction="")}),this.notes=""===t||""===i?this.notes:[...this.notes].sort((r,u)=>{const v=((n,d)=>n<d?-1:n>d?1:0)(r[t],u[t]);return"asc"===i?v:-v}),this.refreshNotes()}refreshNotes(){this.notesDisp=[],this.notes&&(this.notesDisp=this.notes.map((t,i)=>({id:i+1,...t})).slice((this.page-1)*this.pageSize,(this.page-1)*this.pageSize+this.pageSize),this.notesItemNumberStart=(this.page-1)*this.pageSize+1,this.notesItemNumberEnd=this.notes.length<this.pageSize*this.page?this.notes.length:this.pageSize*this.page),this.showingOfText=this.translate.instant("showingOf",{start:this.notesItemNumberStart,end:this.notesItemNumberEnd,total:this.notes.length})}downloadWorkbook(){this.downloadWorkbookError=!1;let t=null,i=null;const r=this.notes.filter(v=>v.isChecked),u=(new Date).toLocaleString().replace(/:/g,"-").replace(/\//g,"-").replace(/,/g,"_").replace(" ","");this.noteType==p.YM.EMPLOYEE_NOTE?(t=p.sb.EMP_NOTES_WORKBOOK_DOWNLOAD,i=this.userInfo.onBehalfEmplNumber.toString()):this.noteType==p.YM.LEAVE_REQUEST_NOTE&&(t=p.sb.LEAVE_NOTES_WORKBOOK_DOWNLOAD,i=this.leaveRequestId.toString()),this.callDownloadWorkbookAPI(r,u,t,i)}callDownloadWorkbookAPI(t,i,r,u){var v=this;return(0,rn.A)(function*(){try{const V=yield(0,Dc._)(v.service.downloadWorkbook(t)),Ce=window.URL.createObjectURL(V),it=document.createElement("a");it.href=Ce,it.download=`Notes_${v.userInfo.onBehalfFirstName}_${v.userInfo.onBehalfLastName}_${i}.xlsx`,it.target="_blank",document.body.appendChild(it),it.click(),v.eventService.logEvent(p.sb.NOTES_WORKBOOK_DOWNLOAD,r,u),it.remove()}catch{v.downloadWorkbookError=!0}})()}getCheckedSize(){return this.notes.filter(t=>t.isChecked).length}setAreAllCheckboxesSelected(){this.areAllCheckboxesSelected?(this.areAllCheckboxesSelected=!1,this.toggleEveryCheckbox(this.areAllCheckboxesSelected)):(this.areAllCheckboxesSelected=!0,this.toggleEveryCheckbox(this.areAllCheckboxesSelected))}toggleEveryCheckbox(t){this.notes.forEach(i=>i.isChecked=t),this.refreshNotes()}toggleSingleCheckbox(t){t.isChecked=!t.isChecked,this.notes.find(i=>i.employerContactNotesId==t.employerContactNotesId).isChecked=t.isChecked,this.updateAreAllCheckboxesSelected()}updateAreAllCheckboxesSelected(){let t=0;this.notes.forEach(i=>{i.isChecked&&t++}),this.areAllCheckboxesSelected=t==this.notes.length}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(G.Bq),e.rXU(q.nX),e.rXU(M.jp),e.rXU(q.Ix),e.rXU(Y.c$),e.rXU(M.US),e.rXU(xe.K))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["compsych-notes"]],viewQuery:function(i,r){if(1&i&&e.GBs(y0,5),2&i){let u;e.mGM(u=e.lsd())&&(r.headers=u)}},decls:60,vars:50,consts:[["id","workingAsTitle",1,"restyledWorkingAs"],[1,"font-italic"],[1,"user-info-header"],[4,"ngIf"],[1,"plainRestyled"],[1,"row","d-flex","align-items-center","justify-content-between"],[1,"col-lg-6","col-md-6","col-sm-6","h1Row","ms-1","d-flex","flex-column"],["id","notesTitle",1,"mt-3","mb-2","restyledTitle"],["id","disclaimer",1,"restyledDisclaimer"],[1,"td-vertical-align-bottom",2,"display","flex","flex-direction","row-reverse","justify-content","space-between"],[2,"align-self","flex-end"],["id","addNoteBtn","class","submit secondaryBtn addNoteBtn smAddBtn","style","margin-right: -0.02% !important;",3,"value","click",4,"ngIf"],["id","downloadFilesButton",1,"download-rows","download-notes-button-mr","restyled-download-rows",3,"click","keydown.enter","keydown.space","disabled","ngClass"],[1,"tableContainer"],[1,"rf-dt","dataTable"],[1,"rf-dt-shdr","sortableTH","dashboard-header"],["scope","col","id","notesSelectALlCheckbox",1,"rf-dt-shdr-c"],["for","checkAllNotes",1,"darkLabel"],["type","checkbox","value","","id","checkAllNotes",1,"table-checkbox","table-checkbox-select-all","checkbox-outline",3,"click","checked"],["scope","col","sortable","createdOn","id","createdOnHeader",1,"col-md-5","absenceHeaderFont",3,"sort"],[1,"glyphicon","sortText"],["scope","col","sortable","createdBy","id","categoryHeader",1,"col-md-5","absenceHeaderFont",3,"sort"],["scope","col","sortable","leaveRequestId","id","subCategoryHeader",1,"col-md-5","absenceHeaderFont",3,"sort"],["scope","col","sortable","note","id","leaveRequestHeader",1,"col","note-column","absenceHeaderFont"],[4,"ngFor","ngForOf"],[1,"rf-dt-tft"],["class","rf-dt-ftr noNotes",4,"ngIf"],["class","d-flex justify-content-between controls",4,"ngIf"],[1,"mt-4"],["type","button","id","backBtn","name","backBtnName",1,"longBackBtn","back-to-dashboard-btn",3,"click","value"],["id","workbookDownloadError",1,"ui-messages-error-summary"],["id","addNoteBtn",1,"submit","secondaryBtn","addNoteBtn","smAddBtn",2,"margin-right","-0.02% !important",3,"click","value"],["alt","","src","./assets/baseResources/add_note.png"],[3,"ngClass"],["
1id","noteCheckbox"],[1,"visually-hidden",3,"for"],["type","checkbox",1,"table-checkbox","checkbox-outline",3,"click","title","id","checked"],[1,"date-column","date-col-wrap"],[1,"no-border-right","justify-content-between","notes-title","restyledNoteColumn",3,"ngClass"],[1,"noteContainer"],["tabindex","0","role","button",1,"d-flex","icons",3,"click","keydown.space","keydown.enter"],["alt","privateImg","class","me-2 private-icon","src","./assets/baseResources/private_icon.png",4,"ngIf"],["alt","expand","src","./assets/baseResources/angle-down-solid.png",1,"arrowIcon",3,"ngClass"],["class","expandedNote",4,"ngIf"],["alt","privateImg","src","./assets/baseResources/private_icon.png",1,"me-2","private-icon"],[1,"expandedNote"],[1,"expandedNoteDescription"],[1,"rf-dt-ftr","noNotes"],["colspan","5",1,"rf-dt-ftr-c"],["id","noResultText2"],[1,"d-flex","justify-content-between","controls"],[1,"mt-2","me-auto"],["id","pageNumber",3,"pageChange","collectionSize","page","pageSize","maxSize","rotate","ellipses","boundaryLinks"],[1,"pl-0","text-right","col-show-row","d-flex","align-items-baseline","ms-auto"],[1,"resultsPerPageText"],["class","form-select ms-1","style","width: auto","name","pageSize",3,"ngModel","ngModelChange",4,"ngIf"],["name","pageSize",1,"form-select","ms-1",2,"width","auto",3,"ngModelChange","ngModel"],["selected","",3,"ngValue"],[3,"ngValue"]],template:function(i,r){1&i&&(e.j41(0,"h1",0)(1,"span",1),e.EFF(2),e.nI1(3,"translate"),e.j41(4,"span",2),e.EFF(5),e.k0s()()(),e.DNE(6,hg,4,3,"div",3),e.j41(7,"div",4)(8,"div",5)(9,"div",6)(10,"h1",7),e.EFF(11),e.nI1(12,"translate"),e.k0s()(),e.j41(13,"span",8),e.EFF(14),e.nI1(15,"translate"),e.k0s()(),e.j41(16,"div",9)(17,"div",10),e.DNE(18,mg,5,6,"button",11),e.k0s(),e.j41(19,"div")(20,"button",12),e.bIt("click",function(){return r.downloadWorkbook()})("keydown.enter",function(){return r.downloadWorkbook()})("keydown.space",function(){return r.downloadWorkbook()}),e.EFF(21),e.nI1(22,"translate"),e.k0s()()(),e.qex(23),e.j41(24,"div",13)(25,"table",14)(26,"thead")(27,"tr",15)(28,"th",16)(29,"label",17)(30,"input",18),e.bIt("click",function(){return r.setAreAllCheckboxesSelected()}),e.k0s(),e.EFF(31),e.nI1(32,"translate"),e.k0s()(),e.j41(33,"th",19),e.bIt("sort",function(v){return r.onSort(v)}),e.EFF(34),e.nI1(35,"translate"),e.nrm(36,"span",20),e.k0s(),e.j41(37,"th",21),e.bIt("sort",function(v){return r.onSort(v)}),e.EFF(38),e.nI1(39,"translate"),e.nrm(40,"span",20),e.k0s(),e.j41(41,"th",22),e.bIt("sort",function(v){return r.onSort(v)}),e.EFF(42),e.nI1(43,"translate"),e.nrm(44,"span",20),e.k0s(),e.j41(45,"th",23),e.EFF(46),e.nI1(47,"translate"),e.k0s()()(),e.j41(48,"tbody"),e.DNE(49,f0,20,26,"ng-container",24),e.k0s(),e.j41(50,"tfoot",25),e.DNE(51,_0,5,1,"tr",26),e.k0s()(),e.j41(52,"span"),e.EFF(53),e.nI1(54,"translate"),e.k0s(),e.DNE(55,b0,11,15,"div",27),e.k0s(),e.nrm(56,"div",28),e.bVm(),e.k0s(),e.j41(57,"div")(58,"input",29),e.nI1(59,"translate"),e.bIt("click",function(){return r.goBack()}),e.k0s()()),2&i&&(e.R7$(2),e.SpI(" ",e.bMT(3,23,"workingAs")," "),e.R7$(3),e.E5c(" ",r.userInfo.onBehalfFirstName," ",r.userInfo.onBehalfLastName," (",r.userInfo.onBehalfEmplNumber,") "),e.R7$(),e.Y8G("ngIf",r.downloadWorkbookError),e.R7$(5),e.SpI(" ",e.bMT(12,25,"notes")," "),e.R7$(3),e.SpI(" ",e.i5U(15,27,"notes.disclaimer",e.eq3(46,h0,r.baseDomainName))," "),e.R7$(4),e.Y8G("ngIf",r.userInfo.userPrivilege.allowAddNotes),e.R7$(2),e.Y8G("disabled",0===r.getCheckedSize())("ngClass",e.eq3(48,QS,0===r.getCheckedSize())),e.R7$(),e.Lme(" ",e.bMT(22,30,"viewLetters.downloadSelectedRows"),"",r.getCheckedSize(),") "),e.R7$(9),e.Y8G("checked",r.areAllCheckboxesSelected),e.R7$(),e.SpI(" ",e.bMT(32,32,"selectAll")," "),e.R7$(3),e.SpI(" ",e.bMT(35,34,"notes.columns.createdOn")," "),e.R7$(4),e.SpI(" ",e.bMT(39,36,"notes.columns.createdBy")," "),e.R7$(4),e.SpI(" ",e.bMT(43,38,"notes.columns.id")," "),e.R7$(4),e.SpI(" ",e.bMT(47,40,"notes.columns.note")," "),e.R7$(3),e.Y8G("ngForOf",r.notesDisp),e.R7$(2),e.Y8G("ngIf",0===r.notes.length),e.R7$(2),e.JRh(e.bMT(54,42,"allTimesCentral")),e.R7$(2),e.Y8G("ngIf",r.notes.length>0),e.R7$(3),e.FS9("value",e.bMT(59,44,"myAbsences.leaveRequestDetails.backDashboard")))},dependencies:[ie.YU,ie.Sq,ie.bT,ge.xH,ge.y7,ge.wz,ge.BC,ge.vS,G.s5,y0,ie.vh,Y.D9],styles:[Mm]})}}return n})();var vg=I(5657);function yg(n,d){if(1&n&&(e.j41(0,"option",16),e.EFF(1),e.k0s()),2&n){const t=d.$implicit,i=e.XpG(2);e.Y8G("selected",i.orgId===t.orgId)("value",t.orgId),e.R7$(),e.SpI(" ",t.orgName," ")}}function eR(n,d){if(1&n){const t=e.RV6();e.j41(0,"div")(1,"div",9)(2,"h2",10),e.EFF(3),e.nI1(4,"translate"),e.k0s()(),e.j41(5,"span",11),e.EFF(6),e.nI1(7,"translate"),e.k0s(),e.j41(8,"div",12)(9,"select",13),e.nI1(10,"translate"),e.bIt("change",function(r){e.eBV(t);const u=e.XpG();return e.Njj(u.onSubAccountSelected(r.target.value))}),e.j41(11,"option",14),e.EFF(12),e.nI1(13,"translate"),e.k0s(),e.DNE(14,yg,2,3,"option",15),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(3),e.SpI(" ",e.bMT(4,5,"accountLabelForSelectingAccount")," "),e.R7$(3),e.SpI(" ",e.bMT(7,7,"maintainReportRecipientsAccountNote")," "),e.R7$(3),e.BMQ("aria-label",e.bMT(10,9,"ariaLabel.selectAccount")),e.R7$(3),e.JRh(e.bMT(13,11,"myAbsences.reportTime.pleaseSelect")),e.R7$(2),e.Y8G("ngForOf",t.subAccounts)}}function tR(n,d){1&n&&(e.j41(0,"h2",20),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"myAbsences.reportsTitle")," "))}function Eg(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",21)(1,"div",22),e.bIt("click",function(){const r=e.eBV(t).$implicit,u=e.XpG(2);return e.Njj(u.goToReportDetails(r))})("keydown.enter",function(){const r=e.eBV(t).$implicit,u=e.XpG(2);return e.Njj(u.goToReportDetails(r))})("keydown.space",function(){const r=e.eBV(t).$implicit,u=e.XpG(2);return e.Njj(u.goToReportDetails(r))}),e.j41(2,"a",23),e.EFF(3),e.nI1(4,"translate"),e.k0s()()()}if(2&n){const t=d.$implicit,i=d.index,r=e.XpG(2);e.R7$(),e.Mz_("id","report",i,""),e.R7$(2),e.SpI(" ",e.bMT(4,3,r.getReportName(t.websiteReportCodeId)),"")}}function nR(n,d){if(1&n&&(e.qex(0),e.DNE(1,tR,3,3,"h2",17),e.j41(2,"div",18),e.DNE(3,Eg,5,5,"div",19),e.k0s(),e.bVm()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",!t.isReportDataFetching),e.R7$(2),e.Y8G("ngForOf",t.reports)}}function E0(n,d){if(1&n&&(e.qex(0),e.j41(1,"div",24)(2,"div",25),e.nrm(3,"img",26),e.j41(4,"h2",27),e.EFF(5),e.k0s()(),e.j41(6,"div",28)(7,"span",29),e.EFF(8),e.k0s()()(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(3),e.FS9("alt",t.noReportsTitle),e.R7$(2),e.JRh(t.noReportsTitle),e.R7$(3),e.SpI(" ",t.noReportRecipientText," ")}}function iR(n,d){1&n&&(e.j41(0,"div",24)(1,"div",25),e.nrm(2,"img",26),e.nI1(3,"translate"),e.j41(4,"h2",27),e.EFF(5),e.nI1(6,"translate"),e.k0s()(),e.j41(7,"div",28),e.EFF(8),e.nI1(9,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.FS9("alt",e.bMT(3,3,"noAccountContactsExistsText")),e.R7$(3),e.JRh(e.bMT(6,5,"noAccountContactsExistsText")),e.R7$(3),e.SpI("",e.bMT(9,7,"disabledReportRecipientsFeatureText")," "))}function T0(n,d){if(1&n&&e.DNE(0,E0,9,3,"ng-container",6)(1,iR,10,9,"ng-template",null,1,e.C5r),2&n){const t=e.sdS(2),i=e.XpG();e.Y8G("ngIf",i.isContactsExist)("ngIfElse",t)}}let I0=(()=>{class n{constructor(t,i,r,u,v){this.router=t,this.activatedRoute=i,this.service=r,this.translate=u,this.eventService=v,this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)),this.accountName="",this.data=history.state.data,this.isReportDataFetching=!0}ngOnInit(){const t=this.activatedRoute.snapshot.data.subAccounts;this.data&&this.data?.orgId?(this.subAccounts=t&&t?.length>1?t:[],this.eventService.logEvent(p.sb.VIEW_REPORT_RECIPIENT,p.sb.USER_VIEWING_REPORT_RECIPIENT_PAGE_FOR_SINGLE_ACCOUNT_MSG,this.data.orgId.toString()),this.onSubAccountSelected(this.data?.orgId)):t&&t.length>1?(this.subAccounts=t,this.eventService.logEvent(p.sb.VIEW_REPORT_RECIPIENT,p.sb.USER_VIEWING_REPORT_RECIPIENT_PAGE_FOR_MULTIPLE_ACCOUNTS_MSG,this.userInfo.accountId.toString())):(this.eventService.logEvent(p.sb.VIEW_REPORT_RECIPIENT,p.sb.USER_VIEWING_REPORT_RECIPIENT_PAGE_FOR_SINGLE_ACCOUNT_MSG,this.userInfo.accountId.toString()),this.onSubAccountSelected(this.userInfo.accountId))}onSubAccountSelected(t){this.orgId=Number(t),this.subAccounts?.length&&(this.eventService.logEvent(p.sb.VIEW_REPORT_RECIPIENT,p.sb.USER_SELECTED_ACCOUNT_FOR_REPORT_RECIPIENTS_PAGE_MSG,t.toString()),this.accountName=this.subAccounts?.find(i=>i.orgId===this.orgId)?.orgName),this.service.getCorporateContacts(this.orgId).subscribe(i=>{this.corporateContacts=i,this.isContactsExist=this.corporateContacts?.length>0,this.isContactsExist?this.service.getSchedulableReports(this.orgId).subscribe(r=>{this.reports=r,this.getAllReportNames();const u=this.reports?.some(V=>V.scheduleEnabled),v=this.reports?.some(V=>V.summaryEnabled&&V.scheduleEnabled);this.showReports=this.reports?.length>0,this.isReportDataFetching=!1,u&&this.showReports?v||(this.noReportsTitle=this.translate.instant("noSummaryReportsExistsText"),this.noReportRecipientText=this.translate.instant("disabledAutomatedReportRecipientsFeatureText")):(this.noReportsTitle=this.translate.instant("noSchedulableReportsExistsText"),this.noReportRecipientText=this.translate.instant("disabledSchedulableReportRecipientsFeatureText"),this.eventService.logEvent(p.sb.VIEW_REPORT_RECIPIENT,p.sb.NO_ENABLED_REPORTS_MSG,t.toString()))}):(this.eventService.logEvent(p.sb.VIEW_REPORT_RECIPIENT,p.sb.NO_ACCOUNT_CONTACTS_MSG,this.orgId.toString()),this.isReportDataFetching=!1,this.showReports=!1)})}goToDashboard(){this.router.navigateByUrl("mgr-dashboard")}goToReportDetails(t){var i={queryParams:{scheduleId:t.scheduleId,orgId:t.orgId,reportRecipients:t.reportScheduleRecipients?.map(r=>r.recipients).flatMap(r=>r)||[],reportName:this.getReportName(t.websiteReportCodeId)}};this.router.navigate(["report-recipients-selection"],i)}getAllReportNames(){this.service.getReportNames().subscribe({next:t=>{if(this.reportNameMap=new Map,null!=t)for(const[i,r]of Object.entries(t))this.reportNameMap.set(parseInt(i),r)},error:()=>{this.eventService.logEvent(p.sb.VIEW_REPORT_RECIPIENT,p.sb.ERROR_GETTING_REPORT_NAMES)}})}getReportName(t){const i=t?this.reportNameMap.get(t):null;return("en_US"===this.translate.currentLang?i?.displayValueEng:i?.displayValueEsp)||this.translate.instant("schedulableReportName")}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(q.Ix),e.rXU(q.nX),e.rXU(vg.e),e.rXU(Y.c$),e.rXU(M.US))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-account-report-selection"]],decls:16,vars:13,consts:[["noReportsText",""],["noCorporateContacts",""],[1,"card","card-padding"],[1,"row","dashboard"],[1,"col-md-8"],[4,"ngIf"],[4,"ngIf","ngIfElse"],[1,"mt-4","col-md-8"],["type","button","id","backBtn","name","backBtnName",1,"submit","secondaryBtn","back-to-dashboard-btn",3,"click","value"],[1,"row","col-md-8"],[1,"maintainReportRecipientTitle","mt-4"],[1,"col-md-8","mt-2"],[1,"col","mt-2"],["id","selectSubAccount",1,"selected-dropdown","w-
150",3,"change"],["selected","","value","","disabled",""],[3,"selected","value",4,"ngFor","ngForOf"],[3,"selected","value"],["id","reportsTitle","class","maintainReportRecipientTitle row col-md-8 mt-3",4,"ngIf"],[1,"report-grid"],["class","report-pill-column",4,"ngFor","ngForOf"],["id","reportsTitle",1,"maintainReportRecipientTitle","row","col-md-8","mt-3"],[1,"report-pill-column"],["tabindex","0","role","button",1,"report-pills",3,"click","keydown.enter","keydown.space","id"],["id","reportTemplateName",1,"report-pills-text"],[1,"mt-5","row","col-md-8","instructions","ms-1","p-4"],[1,"d-flex","align-items-center"],["src","./assets/baseResources/info_icon.png",3,"alt"],[1,"m-2","maintainReportRecipientTitle"],[1,"ms-4"],["id","noSchedulableReportsText"]],template:function(i,r){if(1&i){const u=e.RV6();e.j41(0,"div",2)(1,"div")(2,"div",3)(3,"h1"),e.EFF(4),e.nI1(5,"translate"),e.k0s()()(),e.j41(6,"span",4),e.EFF(7),e.nI1(8,"translate"),e.k0s(),e.DNE(9,eR,15,13,"div",5)(10,nR,4,2,"ng-container",6)(11,T0,3,2,"ng-template",null,0,e.C5r),e.k0s(),e.nrm(13,"div",7),e.j41(14,"input",8),e.nI1(15,"translate"),e.bIt("click",function(){return e.eBV(u),e.Njj(r.goToDashboard())}),e.k0s()}if(2&i){const u=e.sdS(12);e.R7$(4),e.Lme(" ",e.bMT(5,7,"maintainReportRecipients")," | ",r.accountName," "),e.R7$(3),e.SpI(" ",e.bMT(8,9,"maintainReportRecipientsNote")," "),e.R7$(2),e.Y8G("ngIf",(null==r.subAccounts?null:r.subAccounts.length)>0),e.R7$(),e.Y8G("ngIf",r.isReportDataFetching||r.showReports)("ngIfElse",u),e.R7$(4),e.FS9("value",e.bMT(15,11,"myAbsences.leaveRequestDetails.backDashboard"))}},dependencies:[ie.Sq,ie.bT,ge.xH,ge.y7,Y.D9],encapsulation:2})}}return n})();const D0=n=>({disabled:n});function Sm(n,d){1&n&&(e.j41(0,"span",9),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"updateReportRecipientSuccessText")," "))}function C0(n,d){if(1&n){const t=e.RV6();e.j41(0,"tr",18)(1,"td",19)(2,"input",20),e.bIt("change",function(r){const u=e.eBV(t).$implicit,v=e.XpG(2);return e.Njj(v.selectedCorporateContact(u.personId,r.target.checked))}),e.k0s(),e.j41(3,"label",21),e.EFF(4),e.k0s()()()}if(2&n){const t=d.$implicit,i=e.XpG(2);e.R7$(2),e.Mz_("id","reportRecipient-",t.personId,""),e.FS9("value",t.personId),e.Y8G("checked",i.isChecked(t.personId)),e.R7$(),e.Mz_("for","reportRecipient-",t.personId,""),e.R7$(),e.Lme(" ",t.firstName," ",t.lastName,"")}}function M0(n,d){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"div",10)(2,"table",11)(3,"thead")(4,"tr",12)(5,"th",13),e.EFF(6),e.nI1(7,"translate"),e.k0s()()(),e.j41(8,"tbody"),e.DNE(9,C0,5,8,"tr",14),e.k0s()()(),e.j41(10,"div",15)(11,"input",16),e.nI1(12,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.onSaveChanges())}),e.k0s(),e.j41(13,"input",17),e.nI1(14,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.goBackToReports())}),e.k0s()(),e.bVm()}if(2&n){const t=e.XpG();e.R7$(6),e.SpI(" ",e.bMT(7,8,"schedulableReportRecipients")," "),e.R7$(3),e.Y8G("ngForOf",t.corporateContacts),e.R7$(2),e.FS9("value",e.bMT(12,10,t.isSubmitted?"saved":"profile.saveChanges")),e.Y8G("ngClass",e.eq3(14,D0,t.isSubmitted))("disabled",t.isSubmitted),e.R7$(2),e.FS9("value",e.bMT(14,12,"cancel")),e.Y8G("ngClass",e.eq3(16,D0,t.isSubmitted))("disabled",t.isSubmitted)}}function S0(n,d){1&n&&(e.j41(0,"div",22)(1,"div",23),e.nrm(2,"img",24),e.nI1(3,"translate"),e.j41(4,"h3",25),e.EFF(5),e.nI1(6,"translate"),e.k0s()(),e.j41(7,"div",26),e.EFF(8),e.nI1(9,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.FS9("alt",e.bMT(3,3,"noAccountContactsExistsText")),e.R7$(3),e.JRh(e.bMT(6,5,"noAccountContactsExistsText")),e.R7$(3),e.SpI("",e.bMT(9,7,"disabledReportRecipientsFeatureText")," "))}let R0=(()=>{class n{constructor(t,i,r,u,v){this.router=t,this.activatedRoute=i,this.service=r,this.eventService=u,this.translate=v,this.selectedRecipientIds=[],this.isReportDataFetching=!0}ngOnInit(){this.reportName=this.activatedRoute.snapshot.queryParams.reportName,this.orgId=Number(this.activatedRoute.snapshot.queryParams.orgId),this.reportScheduleId=Number(this.activatedRoute.snapshot.queryParams.scheduleId),this.eventService.logEvent(p.sb.VIEW_REPORT_RECIPIENT,p.sb.USER_VIEWING_REPORT_RECIPIENTS_FOR_REPORT_NAME_MSG+this.reportName,this.orgId.toString());const t=[...new Set(this.activatedRoute.snapshot.queryParams.reportRecipients)].map(i=>Number(i));this.selectedRecipientIds=t,this.service.getCorporateContacts(this.orgId).subscribe(i=>{this.corporateContacts=i,this.showContacts=this.corporateContacts?.length>0,this.showContacts||this.eventService.logEvent(p.sb.VIEW_REPORT_RECIPIENT,p.sb.NO_ACCOUNT_CONTACTS_MSG,this.orgId.toString()),this.isReportDataFetching=!1})}isChecked(t){return this.selectedRecipientIds.includes(t)}goBackToReports(){this.router.navigateByUrl("account-report-selection",{state:{data:{orgId:this.orgId}}})}selectedCorporateContact(t,i){if(this.isSubmitted=!1,i)this.selectedRecipientIds.push(t);else{let r=this.selectedRecipientIds.indexOf(t);this.selectedRecipientIds.splice(r,1)}}onSaveChanges(){this.requestBody=new Yt.kq,this.requestBody.orgId=this.orgId,this.requestBody.reportScheduleId=this.reportScheduleId,this.requestBody.recipients=this.selectedRecipientIds.filter(t=>this.corporateContacts.map(i=>i.personId).includes(t)),this.service.updateReportRecipients(this.requestBody).subscribe(t=>{t.status===Yn.kG.Ok&&(this.eventService.logEvent(p.sb.UPDATE_REPORT_RECIPIENT,p.sb.REPORT_RECIPIENTS_UPDATED_FOR_REPORT_NAME_MSG+this.reportName,this.orgId.toString()),this.isSubmitted=!0)})}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(q.Ix),e.rXU(q.nX),e.rXU(vg.e),e.rXU(M.US),e.rXU(Y.c$))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-report-recipient-selection"]],decls:16,vars:10,consts:[["noCorporateContacts",""],[1,"card","card-padding"],["id","reportName",1,"row","dashboard"],[1,"row","col-md-8"],["id","successMessage","class","report-recipients-success",4,"ngIf"],[1,"mt-2"],[4,"ngIf","ngIfElse"],[1,"mt-4","col-md-8","report-recipients"],["type","button","id","backBtn","name","backBtnName",1,"submit","back-to-dashboard-btn",3,"click","value"],["id","successMessage",1,"report-recipients-success"],[1,"tableContainer"],[1,"rf-dt","dataTable","report-recipients"],[1,"rf-dt-shdr","sortableTH"],["scope","col","id","reportRecipientsHeader",1,"col"],["id","corporateContacts",4,"ngFor","ngForOf"],[1,"d-flex","flex-row-reverse","report-recipients","report-recipients-mobile"],["type","submit","id","saveBtn",1,"submit","primary-btn",3,"click","value","ngClass","disabled"],["type","button","id","cancelBtn",1,"submit","secondary-btn",3,"click","ngClass","value","disabled"],["id","corporateContacts"],["id","reportRecipientData"],["type","checkbox",1,"mt-1","me-5",3,"change","id","value","checked"],[1,"n
1ormalLabel",3,"for"],[1,"mt-5","row","col-md-8","instructions","ms-1","p-4"],[1,"d-flex","align-items-center"],["src","./assets/baseResources/info_icon.png",3,"alt"],[1,"m-2","maintainReportRecipientTitle"],[1,"ms-4"]],template:function(i,r){if(1&i){const u=e.RV6();e.j41(0,"div",1)(1,"div")(2,"div",2)(3,"h1"),e.EFF(4),e.k0s()()(),e.j41(5,"div",3),e.DNE(6,Sm,3,3,"span",4),e.j41(7,"span",5),e.EFF(8),e.nI1(9,"translate"),e.k0s()(),e.DNE(10,M0,15,18,"ng-container",6)(11,S0,10,9,"ng-template",null,0,e.C5r),e.k0s(),e.nrm(13,"div",7),e.j41(14,"input",8),e.nI1(15,"translate"),e.bIt("click",function(){return e.eBV(u),e.Njj(r.goBackToReports())}),e.k0s()}if(2&i){const u=e.sdS(12);e.R7$(4),e.SpI(" ",r.reportName," "),e.R7$(2),e.Y8G("ngIf",r.isSubmitted),e.R7$(2),e.SpI(" ",e.bMT(9,6,"reportRecipientsDescription")," "),e.R7$(2),e.Y8G("ngIf",r.isReportDataFetching||r.showContacts)("ngIfElse",u),e.R7$(4),e.FS9("value",e.bMT(15,8,"backToSchedulableReports"))}},dependencies:[ie.YU,ie.Sq,ie.bT,Y.D9],encapsulation:2})}}return n})();class Rm{}class wm{constructor(d){Object.assign(this,d)}}class km{}const sR=n=>({disabled:n}),rR=n=>({requestIdFilter:n}),oR=n=>({"cost-input-error":n});function aR(n,d){if(1&n&&(e.j41(0,"h1",34)(1,"span",35),e.EFF(2),e.nI1(3,"translate"),e.j41(4,"span",36),e.EFF(5),e.k0s()()()),2&n){const t=e.XpG();e.R7$(2),e.SpI(" ",e.bMT(3,4,"workingAs")," "),e.R7$(3),e.E5c(" ",t.userInfo.onBehalfFirstName," ",t.userInfo.onBehalfLastName," (",t.userInfo.onBehalfEmplNumber,") ")}}function Pp(n,d){if(1&n&&(e.j41(0,"span",40),e.nrm(1,"img",41),e.j41(2,"span",42),e.EFF(3),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(3),e.JRh(t.successMessage)}}function w0(n,d){if(1&n&&(e.j41(0,"span",43),e.nrm(1,"img",44),e.j41(2,"span",45),e.EFF(3),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(3),e.JRh(t.errorMessage)}}function k0(n,d){if(1&n&&(e.j41(0,"div",37),e.DNE(1,Pp,4,1,"span",38)(2,w0,4,1,"span",39),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.successMessage),e.R7$(),e.Y8G("ngIf",t.errorMessage)}}function A0(n,d){1&n&&(e.EFF(0),e.nI1(1,"translate")),2&n&&e.JRh(e.bMT(1,1,"submitDocument.disabledButtonToolTip"))}function x0(n,d){if(1&n){const t=e.RV6();e.j41(0,"input",46,2),e.nI1(2,"translate"),e.nI1(3,"async"),e.bIt("mouseover",function(){e.eBV(t);const r=e.sdS(1),u=e.XpG();return e.Njj(u.openTooltip(r))})("mouseout",function(){e.eBV(t);const r=e.sdS(1),u=e.XpG();return e.Njj(u.closeTooltip(r))})("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.goToSubmitDocument())}),e.k0s()}if(2&n){const t=e.XpG(),i=e.sdS(6);e.FS9("value",e.bMT(2,4,"submitDocument.buttonName")),e.Y8G("disabled",t.disableSubmitDocumentationButton||e.bMT(3,6,t.userService.portalPermission$)===t.PortalPermission.ViewOnly)("ngClass",e.eq3(8,sR,t.disableSubmitDocumentationButton))("ngbTooltip",i)}}function N0(n,d){if(1&n){const t=e.RV6();e.j41(0,"input",47),e.nI1(1,"translate"),e.nI1(2,"async"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.goToRequestAccommodations(r.workplaceAccommodation.id))}),e.k0s()}if(2&n){const t=e.XpG();e.FS9("value",e.bMT(1,2,"rac.button")),e.Y8G("disabled",e.bMT(2,4,t.userService.portalPermission$)===t.PortalPermission.ViewOnly)}}function O0(n,d){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.getWorkplaceAccommodationConditionTypeDispValue(t.workplaceAccommodation.conditionCodeId)," ")}}function lR(n,d){1&n&&(e.j41(0,"span"),e.EFF(1,", "),e.k0s())}function Zk(n,d){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"a",51),e.bIt("click",function(r){const u=e.eBV(t).$implicit,v=e.XpG(2);return e.Njj(v.goToViewLeaveDetails(r,u))}),e.EFF(2),e.k0s(),e.DNE(3,lR,2,0,"span",13),e.bVm()}if(2&n){const t=d.$implicit,i=d.last;e.R7$(2),e.JRh(t),e.R7$(),e.Y8G("ngIf",!i)}}function eA(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",48),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",49),e.DNE(5,Zk,4,2,"ng-container",50),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.SpI("",e.bMT(3,2,"viewWorkplaceAccommodation.linkedLeaveRequests"),":"),e.R7$(3),e.Y8G("ngForOf",t.workplaceAccommodation.linkedLeaveRequestIds)}}
1function F0(n,d){1&n&&(e.j41(0,"span",54),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"yes")," "))}function L0(n,d){1&n&&(e.j41(0,"span",55),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.JRh(e.bMT(2,1,"no")))}function cR(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",52),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.DNE(4,F0,3,3,"span",53)(5,L0,3,3,"ng-template",null,3,e.C5r),e.k0s()),2&n){const t=e.sdS(6),i=e.XpG();e.R7$(2),e.SpI("",e.bMT(3,3,"viewWorkplaceAccommodation.employeeReportedWorkersCompensation"),":"),e.R7$(2),e.Y8G("ngIf",i.workplaceAccommodation.employeeReportedWorkersCompensation)("ngIfElse",t)}}function P0(n,d){1&n&&(e.j41(0,"span",58),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"yes")," "))}function dR(n,d){1&n&&(e.j41(0,"span",59),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.JRh(e.bMT(2,1,"no")))}function jp(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",56),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.DNE(4,P0,3,3,"span",57),e.EFF(5," . "),e.DNE(6,dR,3,3,"ng-template",null,3,e.C5r),e.k0s()),2&n){const t=e.sdS(7),i=e.XpG();e.R7$(2),e.SpI("",e.bMT(3,3,"viewWorkplaceAccommodation.hrVerifiedWorkersCompensation"),":"),e.R7$(2),e.Y8G("ngIf",i.workplaceAccommodation.hrVerifiedWorkersCompensation)("ngIfElse",t)}}function j0(n,d){if(1&n&&(e.j41(0,"div",60)(1,"span",61),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"a",62),e.EFF(5),e.nI1(6,"translate"),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.JRh(e.bMT(3,3,"viewWorkplaceAccommodation.viewLetters")),e.R7$(2),e.Y8G("queryParams",e.eq3(7,rR,t.workplaceAccommodation.id)),e.R7$(),e.SpI(" ",e.bMT(6,5,"viewWorkplaceAccommodation.viewLetterLink"),". ")}}function uR(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",60)(1,"span",63),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"a",64),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.viewMostRecentFactSummary())}),e.EFF(5),e.nI1(6,"translate"),e.k0s()()}2&n&&(e.R7$(2),e.JRh(e.bMT(3,2,"viewWorkplaceAccommodation.factSummary")),e.R7$(3),e.SpI(" ",e.bMT(6,4,"viewWorkplaceAccommodation.clickHereLink"),". "))}function pR(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",70),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",71),e.EFF(5),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI("",e.bMT(3,2,"viewWorkplaceAccommodation.HCP.name"),":"),e.R7$(3),e.JRh(t.getProviderName())}}function Qo(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",72),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",73),e.EFF(5),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI("",e.bMT(3,2,"viewWorkplaceAccommodation.HCP.facilityName"),":"),e.R7$(3),e.JRh(t.getFacilityName())}}function vu(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",74),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",75),e.EFF(5),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI("",e.bMT(3,2,"viewHealthCareProvider.specialtyName"),":"),e.R7$(3),e.SpI(" ",t.getSpecialtyName(t.workplaceAccommodation.healthCareProvider.specialtyCode)," ")}}function hR(n,d){1&n&&(e.j41(0,"span",76),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"yes")," "))}function mR(n,d){1&n&&(e.j41(0,"span",77),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.JRh(e.bMT(2,1,"no")))}function tA(n,d){if(1&n&&(e.qex(0),e.j41(1,"div",15)(2,"span",78),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"span",79),e.EFF(6),e.nI1(7,"mask"),e.k0s()(),e.j41(8,"div",15)(9,"span",80),e.EFF(10),e.nI1(11,"translate"),e.k0s(),e.j41(12,"span",81),e.EFF(13),e.k0s()(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(3),e.SpI("",e.bMT(4,4,"viewWorkplaceAccommodation.HCP.faxNum"),":"),e.R7$(3),e.SpI(" ",t.showHCPInfoForHrMgr?t.getProvidedByEmployeeText(t.faxNumber):e.i5U(7,6,t.faxNumber,"(000) 000-0000")," "),e.R7$(4),e.SpI(" ",e.bMT(11,9,"viewWorkplaceAccommodation.HCP.reviewHCPAttention"),": "),e.R7$(3),e.JRh(t.getFaxRecipient())}}function nA(n,d){1&n&&(e.j41(0,"span",82),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"yes")," "))}function Bp(n,d){1&n&&(e.j41(0,"span",83),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.JRh(e.bMT(2,1,"no")))}function fR(n,d){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" Ext. ",t.officePhone.substring(11)," ")}}function Tg(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",84),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",85),e.EFF(5),e.nI1(6,"mask"),e.DNE(7,fR,2,1,"ng-container",13),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI("",e.bMT(3,3,"viewWorkplaceAccommodation.HCP.officeNum"),":"),e.R7$(3),e.SpI(" ",t.showHCPInfoForHrMgr?t.getProvidedByEmployeeText(t.officePhone):e.i5U(6,5,t.officePhone,"(000) 000-0000")," "),e.R7$(2),e.Y8G("ngIf",!t.showHCPInfoForHrMgr&&(null==t.officePhone?null:t.officePhone.length)>11)}}function _R(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",86),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",87),e.EFF(5),e.nI1(6,"mask"),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI("",e.bMT(3,2,"viewWorkplaceAccommodation.HCP.mobileNum"),":"),e.R7$(3),e.JRh(t.showHCPInfoForHrMgr?t.getProvidedByEmployeeText(t.mobilePhone):e.i5U(6,4,t.mobilePhone,"(000) 000-0000"))}}function B0(n,d){if(1&n&&(e.j41(0,"div",15)(1,"h1",65),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.DNE(4,pR,6,4,"div",26)(5,Qo,6,4,"div",26)(6,vu,6,4,"div",26),e.j41(7,"div",15)(8,"span",66),e.EFF(9),e.nI1(10,"translate"),e.k0s(),e.DNE(11,hR,3,3,"span",67)(12,mR,3,3,"ng-template",null,3,e.C5r),e.k0s(),e.DNE(14,tA,14,11,"ng-container",13),e.j41(15,"div",15)(16,"span",68),e.EFF(17),e.nI1(18,"translate"),e.k0s(),e.DNE(19,nA,3,3,"span",69)(20,Bp,3,3,"ng-template",null,3,e.C5r),e.k0s(),e.DNE(22,Tg,8,8,"div",26)(23,_R,7,7,"div",26),e.nrm(24,"div",28),e.k0s()),2&n){const t=e.sdS(13),i=e.XpG();
1e.R7$(2),e.JRh(e.bMT(3,13,"viewWorkplaceAccommodation.HCP.title")),e.R7$(2),e.Y8G("ngIf",i.showHcpName()),e.R7$(),e.Y8G("ngIf",i.workplaceAccommodation.healthCareProvider.facilityName),e.R7$(),e.Y8G("ngIf",i.workplaceAccommodation.healthCareProvider.specialtyCode&&i.getSpecialtyName(i.workplaceAccommodation.healthCareProvider.specialtyCode)),e.R7$(3),e.JRh(e.bMT(10,15,"viewWorkplaceAccommodation.HCP.faxToHCP")),e.R7$(2),e.Y8G("ngIf",i.workplaceAccommodation.healthCareProvider.faxToHcp)("ngIfElse",t),e.R7$(3),e.Y8G("ngIf",i.workplaceAccommodation.healthCareProvider.faxToHcp),e.R7$(3),e.SpI(" ",e.bMT(18,17,"viewWorkplaceAccommodation.HCP.formsReturnedSectionConfirm"),": "),e.R7$(2),e.Y8G("ngIf",i.workplaceAccommodation.healthCareProvider.allowOutreach)("ngIfElse",t),e.R7$(3),e.Y8G("ngIf",i.officePhone),e.R7$(),e.Y8G("ngIf",i.mobilePhone)}}function gR(n,d){if(1&n){const t=e.RV6();e.j41(0,"div")(1,"input",88),e.nI1(2,"translate"),e.nI1(3,"async"),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.addType())}),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(),e.FS9("value",e.bMT(2,2,"viewWorkplaceAccommodation.addNewAccommodationType")),e.Y8G("disabled",e.bMT(3,4,t.userService.portalPermission$)===t.PortalPermission.ViewOnly)}}function bR(n,d){if(1&n&&(e.j41(0,"div")(1,"span",95),e.EFF(2),e.k0s(),e.nrm(3,"br"),e.k0s()),2&n){const t=e.XpG(4);e.R7$(2),e.JRh(t.costUpdateError)}}function vR(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",96),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span"),e.EFF(5),e.k0s()()),2&n){const t=e.XpG().$implicit;e.R7$(2),e.SpI(" ",e.bMT(3,2,"viewWorkplaceAccommodation.decisionReason"),": "),e.R7$(3),e.JRh(t.reason)}}function Ig(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",97),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",98),e.EFF(5),e.k0s()()),2&n){const t=e.XpG().$implicit;e.R7$(2),e.SpI(" ",e.bMT(3,2,"viewWorkplaceAccommodation.decisionDetails"),":"),e.R7$(3),e.JRh(t.approvedModification)}}function Y0(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",99),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",100),e.EFF(5),e.k0s()()),2&n){const t=e.XpG().$implicit;e.R7$(2),e.SpI(" ",e.bMT(3,2,"viewWorkplaceAccommodation.accommodationDetails"),": "),e.R7$(3),e.JRh(t.wpaDetails)}}function yR(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",101),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",102),e.EFF(5),e.k0s()()),2&n){const t=e.XpG().$implicit;e.R7$(2),e.SpI(" ",e.bMT(3,2,"viewWorkplaceAccommodation.certifiedWpaDetails"),": "),e.R7$(3),e.JRh(t.certifiedWpaDetails)}}function Am(n,d){if(1&n&&(e.j41(0,"span",109),e.EFF(1),e.nI1(2,"currency"),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.JRh(e.ii3(2,1,t.cost,"USD","symbol","1.2-2"))}}function Dg(n,d){if(1&n){const t=e.RV6();e.j41(0,"input",110),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2).$implicit,u=e.XpG(3);return e.Njj(u.setEditMode(r))}),e.k0s()}if(2&n){const t=e.XpG(2).$implicit;e.Mz_("id","costEditImgButton-",t.id,"")}}function iA(n,d){if(1&n){const t=e.RV6();e.j41(0,"div")(1,"input",111),e.mxI("ngModelChange",function(r){e.eBV(t);const u=e.XpG(2).$implicit;return e.DH7(u.cost,r)||(u.cost=r),e.Njj(r)}),e.bIt("click",function(){e.eBV(t);const r=e.XpG(5);return e.Njj(r.resetError())}),e.k0s()()}if(2&n){const t=e.XpG(2).$implicit,i=e.XpG(3);e.R7$(),e.R50("ngModel",t.cost),e.Y8G("ngClass",e.eq3(2,oR,null!==i.costUpdateError))}}function $0(n,d){if(1&n){const t=e.RV6();e.j41(0,"input",112),e.nI1(1,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2).$implicit,u=e.XpG(3);return e.Njj(u.saveCost(r))}),e.k0s()}2&n&&e.FS9("value",e.bMT(1,1,"viewWorkplaceAccommodation.saveChanges"))}function ER(n,d){if(1&n){const t=e.RV6();e.j41(0,"input",113),e.nI1(1,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2).$implicit,u=e.XpG(3);return e.Njj(u.cancelCostUpdate(r))}),e.k0s()}2&n&&e.FS9("value",e.bMT(1,1,"viewWorkplaceAccommodation.cancelChanges"))}function U0(n,d){if(1&n&&(e.j41(0,"div",15)(1,"span",103),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div",104),e.DNE(5,Am,3,6,"span",105)(6,Dg,1,2,"input",106),e.nI1(7,"async"),e.DNE(8,iA,2,4,"div",13)(9,$0,2,3,"input",107)(10,ER,2,3,"input",108),e.k0s()()),2&n){const t=e.XpG().$implicit,i=e.XpG(3);e.R7$(),e.AVh("cost-label-auto",!i.isEditMode[t.id]&&null==t.cost),e.R7$(),e.SpI(" ",e.bMT(3,8,"viewWorkplaceAccommodation.cost"),": "),e.R7$(3),e.Y8G("ngIf",!i.isEditMode[t.id]),e.R7$(),e.Y8G("ngIf",!i.isEditMode[t.id]&&(!i.userInfo.wob||i.userInfo.wob&&i.userInfo.userPrivilege.allowEditWorkplaceAccommodations)&&null===e.bMT(7,10,i.userService.portalPermission$)),e.R7$(2),e.Y8G("ngIf",i.isEditMode[t.id]),e.R7$(),e.Y8G("ngIf",i.isEditMode[t.id]),e.R7$(),e.Y8G("ngIf",i.isEditMode[t.id])}}function yu(n,d){if(1&n){const t=e.RV6();e.j41(0,"input",114),e.nI1(1,"translate"),e.nI1(2,"async"),e.bIt("click",function(){e.eBV(t);const r=e.XpG().$implicit,u=e.XpG(3);return e.Njj(u.adjustStartDate("AdjustStartDate",r))}),e.k0s()}if(2&n){const t=e.XpG(4);e.FS9("value",e.bMT(1,2,"viewWorkplaceAccommodation.decision.adjustStartDate")),e.Y8G("disabled",e.bMT(2,4,t.userService.portalPermission$)===t.PortalPermission.ViewOnly)}}function TR(n,d){if(1&n){const t=e.RV6();e.j41(0,"input",115),e.nI1(1,"translate"),e.nI1(2,"async"),e.bIt("click",function(){e.eBV(t);const r=e.XpG().$implicit,u=e.XpG(3);return e.Njj(u.requestExt("RequestExtension",r))}),e.k0s()}if(2&n){const t=e.XpG(4);e.FS9("value",e.bMT(1,2,"viewWorkplaceAccommodation.decision.requestExtension")),e.Y8G("disabled",e.bMT(2,4,t.userService.portalPermission$)===t.PortalPermission.ViewOnly)}}function G0(n,d){if(1&n){const t=e.RV6();e.j41(0,"input",116),e.nI1(1,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG().$implicit,u=e.XpG(3);return e.Njj(u.submitDecision(r))}),e.k0s()}2&n&&e.FS9("value",e.bMT(1,1,"viewWorkplaceAccommodation.decision.submitDecision"))}function Cg(n,d){if(1&n&&(e.qex(0),e.j41(1,"div")(2,"h4",91),e.EFF(3),e.nI1(4,"translate"),e.nI1(5,"date"),e.nI1(6,"date"),e.k0s(),e.DNE(7,bR,4,1,"div",13)(8,vR,6,4,"div",26)(9,Ig,6,4,"div",26)(10,Y0,6,4,"div",26)(11,yR,6,4,"div",26)(12,U0,11,12,"div",26),e.j41(13,"div",15),e.DNE(14,yu,3,6,"input",92)(15,TR,3,6,"input",93)(16,G0,2,3,"input",94),e.nI1(17,"async"),e.k0s()(),e.bVm()),2&n){const t=d.$implicit,i=e.XpG(3);e.R7$(3),e.LHq(" ",e.bMT(4,13,"decision.title")," (",i.getWorkplaceAccommodationDecisionStatusDispValue(t.statusCodeId),": ",e.ii3(5,15,i.dateFormater.getDate(t.startDate),"MMMM d, y","",i.currentLocaleStr)," - ",e.ii3(6,20,i.dateFormater.getDate(t.endDate),"MMMM d, y","",i.currentLocaleStr),") "),e.R7$(4),e.Y8G("ngIf",i.costUpdateError&&i.isEditMode[t.id]),e.R7$(),e.Y8G("ngIf",t.reason),e.R7$(),e.Y8G("ngIf",t.approvedModification),e.R7$(),e.Y8G("ngIf",t.wpaDetails&&(i.userInfo.userPrivilege.superUser||i.userInfo.webEmployerContact&&i.userInfo.userPrivilege.allowLoggedUserViewWorkplaceAccommodationNotes)),e.R7$(),e.Y8G("ngIf",t.certifiedWpaDetails&&(i.userInfo.userPrivilege.superUser||i.userInfo.webEmployerContact&&i.userInfo.userPrivilege.allowLoggedUserViewWorkplaceAccommodationNotes)),e.R7$(),e.Y8G("ngIf",i.userInfo.wob&&(i.userInfo.webEmployerContact||i.userInfo.userPrivilege.superUser||i.userInfo.userPrivilege.portalPermission)),e.R7$(2),e.Y8G("ngIf",i.showAdjustStartDate(t)&&(!i.userInfo.wob||i.userInfo.wob&&i.userInfo.userPrivilege.allowEditWorkplaceAccommodations)),e.R7$(),e.Y8G("ngIf",t.showRequestExtension&&(!i.userInfo.wob||i.userInfo.wob&&i.userInfo.userPrivilege.allowEditWorkplaceAccommodations)),e.R7$(),e.Y8G("ngIf",i.canSubmitDecision(t)&&null===e.bMT(17,25,i.userService.portalPermission$))}}function sA(n,d){if(1&n&&(e.qex(0),e.j41(1,"div",15)(2,"h1",89),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"div",90),e.DNE(6,Cg,18,27,"ng-container",50),e.k0s()(),e.bVm()),2&n){const t=d.$implicit;e.R7$(3),e.Lme("",e.bMT(4,3,"accommodationType"),": ",t.wpaTypeName,""),e.R7$(3),e.Y8G("ngForOf",t.decision)}}function IR(n,d){if(1&n&&(e.qex(0),e.DNE(1,gR,4,6,"div",13),e.j41(2,"div"),e.DNE(3,sA,7,5,"ng-container",50),e.k0s(),e.bVm()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",!t.userInfo.wob||t.userInfo.wob&&t.userInfo.userPrivilege.allowEditWorkplaceAccommodations),e.R7$(2),e.Y8G("ngForOf",t.wpaFinalResponse)}}function DR(n,d){1&n&&(e.j41(0,"span",117),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.JRh(e.bMT(2,1,"myAbsences.viewWorkplaceAccommodation.decisions.errorMessage")))}let CR=(()=>{class n{constructor(t,i,r,u,v,V,Ce,it,At){this.router=t,this.activatedRoute=i,this.location=r,this.eventService=u,this.translate=v,this.wpaRequestService=V,this.createRequestUtil=Ce,this.domainConfigService=it,this.userService=At,this.data=history.state.data,this.dateFormatter=ho,this.specialtiesMap=new Map,this.decisionReasonsMap=new Map,this.workplaceAccommodationTypeMap=new Map,this.workplaceAccommodationDecisionStatusMap=new Map,this.isEditMode={},this.wpaConditions=[],this.typesOnWpa=[],this.PortalPermission=p.A$,this.WorkplaceAccommodation=Yt.jH,this.dateFormater=ho,this.constant=p.YM,this.onclick=onclick}ngOnInit(){this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)),this.costUpdateError=null,this.isSubmitted=!!this.data&&this.data.isSubmitted,this.wpaConditions=this.activatedRoute.snapshot.data.wpaConditions,this.wpaConditions.push(this.createRequestUtil.otherCondition),this.workplaceAccommodation=this.data&&this.data.workplaceAccommodation&&this.isSubmitted?this.data.workplaceAccommodation:this.activatedRoute.snapshot.data.workplaceAccommodation,this.decisionReasonsMap=this.activatedRoute.snapshot.data.wpaDecisionReasons,this.viewLetters=this.activatedRoute.snapshot.data.viewLetters,this.hasWpaLetter=this.activatedRoute.snapshot.data.hasWpaLetter,this.hasFactSummaryDoc=!(!this.userInfo.wob||!this.userInfo.userPrivilege.allowViewFactSummary)&&this.setHasFactSummaryDoc(),this.disableSubmitDocumentationButton=!(!this.userInfo.wob||!this.userInfo.webEmployerContact||this.userInfo.userPrivilege.allowMgrSubmitDocumentationOnBhfEmp),this.setupMaps(),this.wpaFinalResponse=[],this.workplaceAccommodationTypeMap=new Map(Object.entries(this.codeMap.get("WorkplaceAccommodationTypeMap"))),this.workplaceAccommodationDecisionStatusMap=new Map(Object.entries(this.codeMap.get("LeaveDecisionStatusMap"))),this.setTypesAndDecisions(),this.currentLocale=this.userInfo.localeId,this.currentLocaleStr=0==this.userInfo.localeId?"en-US":"es-US",this.officePhone=this.getPhoneByType(p.YM.WORK_PHONE_TYPE),this.mobilePhone=this.getPhoneByType(p.YM.MOBILE_PHONE_TYPE),this.faxNumber=this.getPhoneByType(p.YM.FAX_PHONE_TYPE),this.showHCPInfoForHrMgr=this.userInfo.wob&&this.userInfo.userPrivilege.allowLoggedUserViewHCPInfo,this.domainResourcePath=se.z.getBaseResourcePath(),this.showLetters=this.hasWpaLetter&&(this.userInfo.userPrivilege.superUser||this.userInfo.wob&&this.userInfo.webEmployerContact&&this.userInfo.userPrivilege.allowLoggedUserViewLetterAttachments),this.showRAC=this.userInfo.userPrivilege.allowRequestAccommodationsCoaching&&this.userInfo.wob&&!this.isSubmitted&&this.hasValidWpaTypes,sessionStorage.getItem(p.YM.CONFIRMATION_MSG_SUCCESS)?(this.successMessage=sessionStorage.getItem(p.YM.CONFIRMATION_MSG_SUCCESS),sessionStorage.removeItem(p.YM.CONFIRMATION_MSG_SUCCESS)):sessionStorage.getItem(p.YM.CONFIRMATION_MSG_FAILURE)&&(this.errorMessage=sessionStorage.getItem(p.YM.CONFIRMATION_MSG_FAILURE),sessionStorage.removeItem(p.YM.CONFIRMATION_MSG_FAILURE)),this.eventService.logEvent(p.sb.VIEW_WORKPLACE_ACCOMMODATION,p.sb.USER_VIEWING_WORKPLACE_ACCOMMODATION_MSG,this.workplaceAccommodation.id.toString())}setTypesAndDecisions(){this.workplaceAccommodation.wpaTypes.forEac
1h(t=>{this.typesOnWpa.push(t.typeCodeId);const i=this.userInfo.localeId===p.YM.ENGLISH_LOCALE_ID?this.workplaceAccommodationTypeMap.get(t.typeCodeId.toString()).displayValueEng:this.workplaceAccommodationTypeMap.get(t.typeCodeId.toString()).displayValueEsp,r=[],u=["DecisionReasonApprovedMap","DecisionReasonDeniedMap","DecisionReasonPendedMap","DecisionReasonCancelledMap","LeaveStatusAggregateReasons"];if(t.wpaDecisions&&t.wpaDecisions.forEach(v=>{let V="";v.reasonCodeIds&&v.reasonCodeIds.length>0&&(V=v.reasonCodeIds.map(Ce=>{for(const it of u){const At=this.decisionReasonsMap[it];if(At&&At[Ce])return this.userInfo.localeId===p.YM.ENGLISH_LOCALE_ID?At[Ce].displayValueEng:At[Ce].displayValueEsp}return""}).join(", ")),r.push({id:v.id,decisionId:null,cost:v.cost,approvedModification:v.approvedModification,wpaDetails:v.wpaDetails,certifiedWpaDetails:v.certifiedWpaDetails,startDate:v.startDate,endDate:v.endDate,statusCodeId:v.statusCodeId,typeId:v.typeId,typeVersionId:v.typeVersionId,reason:V,reasonCodeIds:v.reasonCodeIds,statusReasonIds:v.reasonCodeIds,showRequestExtension:!1})}),t.wpaDecisions&&t.wpaDecisions.length>0)for(let v=r.length-1;v>=0;v--)if(r[v].endDate&&r[v].statusCodeId!==this.constant.FSP_DECISION_STATUS_CANCELLED){r[v].showRequestExtension=!0;break}t.wpaDecisions&&t.wpaDecisions.length>0&&this.wpaFinalResponse.push({wpaTypeName:i,decision:r})}),sessionStorage.setItem("typesOnWpa",this.typesOnWpa.toString()),this.wpaFinalResponse=this.wpaFinalResponse.sort((t,i)=>t.wpaTypeName.localeCompare(i.wpaTypeName)),this.hasValidWpaTypes=this.typesOnWpa.length>0,this.wpaFinalResponse.forEach(t=>{t.decision.sort((i,r)=>this.compareDecisions(i,r))})}customSortOnStatusCode(t){switch(t){case this.constant.FSP_DECISION_STATUS_REQUESTED:return 1;case this.constant.FSP_DECISION_STATUS_APPROVED:return 2;case this.constant.FSP_DECISION_STATUS_DENIED:return 3;default:return 4}}compareDecisions(t,i){return t.startDate>i.startDate?1:t.startDate<i.startDate?-1:this.customSortOnStatusCode(t.statusCodeId)>this.customSortOnStatusCode(i.statusCodeId)?1:this.customSortOnStatusCode(t.statusCodeId)<this.customSortOnStatusCode(i.statusCodeId)?-1:t.id>i.id?1:t.id<i.id?-1:0}setupMaps(){this.codeMap=new Map(Object.entries(this.activatedRoute.snapshot.data.workplaceAccommodationCodeMap)),this.specialtiesMap=new Map(Object.entries(this.codeMap.get("lrHCPSpecialtyMap")))}ngOnDestroy(){sessionStorage.removeItem("newTypeAdded")}newTypeAdded(){return!!sessionStorage.getItem("newTypeAdded")}goToDashboard(){this.router.navigateByUrl("absences")}getWorkplaceAccommodationConditionTypeDispValue(t){const i=this.wpaConditions.find(r=>r.value===t.toString());return i?i.display:""}getWorkplaceAccommodationDecisionStatusDispValue(t){const i=this.workplaceAccommodationDecisionStatusMap.get(String(t));return i?this.userInfo.localeId===p.YM.ENGLISH_LOCALE_ID?i.displayValueEng:i.displayValueEsp:""}goToRequestAccommodations(t){var i={queryParams:{workplaceAccommodationId:JSON.stringify(t),wpaCondition:JSON.stringify(this.getWorkplaceAccommodationConditionTypeDispValue(this.workplaceAccommodation.conditionCodeId))}};this.router.navigate(["requestAccommodationsCoaching"],i)}setEditMode(t){this.isEditMode[t.id]=!0,this.preCanceledCostUpdateValue=t.cost,this.eventService.logEvent(p.sb.UPDATE_WPA_COST_LOAD,p.sb.USER_WPA_EDIT_COST_MSG,this.workplaceAccommodation.id.toString()+" - "+t.id.toString())}resetError(){this.costUpdateError=null}saveCost(t){if(this.cost=t.cost,!this.cost||this.cost&&(isNaN(this.cost)||this.cost<0))return void(this.costUpdateError=this.translate.instant("wpa.wpaDetails.invalidCost"));this.isEditMode[t.id]=!1,this.requestBody=new Rm,this.requestBody.wpaId=this.workplaceAccommodation.id,this.requestBody.id=t.typeId,this.requestBody.createdBy=this.userInfo.firstName+" "+this.userInfo.lastName,this.requestBody.versionId=t.typeVersionId;const i=new wm({id:t.id,cost:t.cost});this.requestBody.wpaDecisions=[i];const r=new km;r.categoryCodeId=p.YM.FSP_NOTES_CATEGORY_WEBSITE_UPDATE_ID,r.subCategoryCodeId=p.YM.FSP_WPA_NOTE_SUBCATEGORY_ADJUST_COST_ID,r.remarks="Employer adjusted the cost of the workplace accommodation request",this.requestBody.wpaNote=r,this.wpaRequestService.updateWpaDecisionCost(this.requestBody).subscribe(u=>{this.isSubmitted=!1,1==u?this.eventService.logEvent(p.sb.UPDATE_WPA_COST_SUBMIT,p.sb.USER_WPA_SUBMIT_COST_MSG,this.workplaceAccommodation.id+" - "+t.id.toString()):-1==u&&this.eventService.logEvent(p.sb.UPDATE_WPA_COST_ERROR,p.sb.WPA_ERROR_MSG,this.workplaceAccommodation.id+" - "+t.id.toString())})}cancelCostUpdate(t){this.isEditMode[t.id]=!1,t.cost=this.preCanceledCostUpdateValue,this.resetError()}getProvidedByEmployeeText(t){return this.translate.instant(t?"providedByEmployee":"notProvidedByEmployee")}showHcpName(){if(this.workplaceAccommodation.healthCareProvider){const t=this.workplaceAccommodation.healthCareProvider;if(t.hcpFirstName||t.hcpLastName)return!0}return!1}getProviderName(){const t=this.workplaceAccommodation.healthCareProvider,i=t.hcpFirstName?t.hcpFirstName.trim():"",r=t.hcpLastName?t.hcpLastName.trim():"";let u=i||r?i+" "+r:null;return this.showHCPInfoForHrMgr&&(u=this.getProvidedByEmployeeText(u)),u}getFacilityName(){let t=this.workplaceAccommodation.healthCareProvider.facilityName;return this.showHCPInfoForHrMgr&&(t=this.getProvidedByEmployeeText(t)),t}getSpecialtyName(t){if(t){const i=this.specialtiesMap.get(String(t));if(i){let r=0==this.currentLocale?i.displayValueEng:i.displayValueEsp;return this.showHCPInfoForHrMgr&&(r=this.getProvidedByEmployeeText(r)),r}}return null}getPhoneByType(t){let i="";if(this.workplaceAccommodation.healthCareProvider&&this.workplaceAccommodation.healthCareProvider.phones)for(const r of this.workplaceAccommodation.healthCareProvider.phones)r.phoneTypeId===t&&r.phoneNumber&&(i=r.areaCode+r.phoneNumber+(r.extension?r.extension:""));return i}getFaxRecipient(){const t=this.workplaceAccommodation.healthCareProvider;let i=t.attention?t.attention:this.getProviderName()?this.getProviderName():this.workplaceAccommodation.healthCareProvider.facilityName;return this.showHCPInfoForHrMgr&&(i=this.getProvidedByEmployeeText(i)),i}requestExt(t,i){localStorage.setItem("wpaId",JSON.stringify(this.workplaceAccommodation.id)),localStorage.setItem("endDate",null),this.eventService.logEvent(p.sb.UPDATE_REQUEST_EXTENSION_LOAD,p.sb.USER_VIEWING_WPA_REQUEST_EXTENSION_MSG,this.workplaceAccommodation.id.toString()+" - "+i.id.toString());var r={state:{data:{wpaId:JSON.stringify(this.workplaceAccommodation.id),wpaRequestPlannedBegin:JSON.stringify(this.workplaceAccommodation.startDate),decision:JSON.stringify(i),pageTitle:t}}};this.router.navigate(["wpaRequestExtension"],r)}adjustStartDate(t,i){localStorage.setItem("wpaId",JSON.stringify(this.workplaceAccommodation.id)),localStorage.setItem("startDate",null),this.eventService.logEvent(p.sb.UPDATE_ADJUST_START_DATE_LOAD,p.sb.USER_VIEWING_WPA_ADJUST_START_DATE_MSG,this.workplaceAccommodation.id+" - "+i.id.toString());const r={state:{data:{wpaId:JSON.stringify(this.workplaceAccommodation.id),wpaRequestPlannedEnd:JSON.stringify(this.workplaceAccommodation.endDate),decision:JSON.stringify(i),pageTitle:t}}};this.router.navigate(["wpaAdjustStartDate"],r)}showAdjustStartDate(t){return!(t.statusCodeId!=p.YM.FSP_DECISION_STATUS_REQUESTED||!t.reasonCodeIds.includes(p.AG.CERTIFICATION_NEEDED))}goToViewLeaveDetails(t,i){this.router.navigateByUrl("/leaveDetails?leaveID="+i+"&mapTypes=lrHCPSpecialtyMap,DecisionReasonDeniedMap,DecisionReasonCancelledMap,LeaveDecisionStatusMap")}setHasFactSummaryDoc(){let t;
1return this.viewLetters.letters.forEach(i=>{i.wpaId==this.workplaceAccommodation.id&&i.documentationType==p.YM.ACCOMMODATIONS_FACT_SUMMARY_DOCUMENT_ID&&(!t||on(i.dateGenerated).isAfter(t.dateGenerated))&&(t=i)}),this.mostRecentAccommodationsFactSummaryDocumentId=null==t?null:t.documentId,!!t}logEventViewedMostRecentFactSummary(){this.eventService.logEvent(p.sb.VIEW_DOCUMENTATION,p.sb.VIEW_DOCUMENTATION_EVENT_MSG+this.workplaceAccommodation.id,this.mostRecentAccommodationsFactSummaryDocumentId)}viewMostRecentFactSummary(){this.logEventViewedMostRecentFactSummary(),window.open("/FMLAWeb/letterPdf?documentId="+this.mostRecentAccommodationsFactSummaryDocumentId+"&flag=false","_blank")}submitDecision(t){let i=null;const r=this.createRequestUtil.denialReasonsIds,u=this.createRequestUtil.cancelReasonIds,v=this.createRequestUtil.leaveStatusIds;t.statusReasonIds.includes(p.AG.EMPLOYER_REVIEW_NEEDED)?i=this.translate.instant("leaveActionDecisionReason2Desc"):t.statusReasonIds.includes(p.AG.HR_REVIEW_NEEDED)&&(i=this.translate.instant("leaveActionDecisionReason3Desc"));const V={state:{data:{wpaRequestId:this.workplaceAccommodation.id,typeId:t.typeId,typeCodeId:this.setTypeCodeIdForSubmitDecisionPage(t.id),versionId:t.typeVersionId,decisionId:t.id,cost:t.cost,wpaDetails:t.wpaDetails,wpaNote:{categoryCodeId:p.YM.FSP_NOTES_CATEGORY_WEBSITE_UPDATE_ID,subCategoryCodeId:p.YM.FSP_WPA_NOTE_SUBCATEGORY_SUBMIT_DECISION_TYPE_ID,remarks:""},wpaReason:i,decision:JSON.stringify(t),denialReasons:new Map(Object.entries(r.reduce((Ce,it)=>({...Ce,[it]:this.codeMap.get("DecisionReasonDeniedMap")[it]}),{}))),cancelReasons:new Map(Object.entries(u.reduce((Ce,it)=>({...Ce,[it]:this.codeMap.get("DecisionReasonCancelledMap")[it]}),{}))),leaveStatuses:new Map(Object.entries(v.reduce((Ce,it)=>({...Ce,[it]:this.codeMap.get("LeaveDecisionStatusMap")[it]}),{})))}}};sessionStorage.setItem("requestType",p.YM.WPA),this.router.navigate(["submitRequestDecision"],V)}canSubmitDecision(t){return this.userInfo.wob&&t.statusCodeId===p.YM.FSP_DECISION_STATUS_REQUESTED&&t.statusReasonIds.includes(p.AG.EMPLOYER_REVIEW_NEEDED)&&!t.statusReasonIds.includes(p.AG.ELIGIBILITY_VERIFICATION_NEEDED)&&this.userInfo.userPrivilege.allowLoggedUserApproveDenyCoachingProcessLeaves}addType(){localStorage.setItem("wpaId",this.workplaceAccommodation.id.toString()),this.router.navigate(["wpaAddType"])}setTypeCodeIdForSubmitDecisionPage(t){for(const i of this.workplaceAccommodation.wpaTypes)for(const r of i.wpaDecisions)if(r.id===t)return i.typeCodeId}openTooltip(t){this.userInfo.wob&&this.userInfo.webEmployerContact&&!this.userInfo.userPrivilege.allowMgrSubmitDocumentationOnBhfEmp&&(t.close(),t.open())}closeTooltip(t){t.close()}goToSubmitDocument(){var t={state:{data:{wpaId:JSON.stringify(this.workplaceAccommodation.id)}}};this.router.navigateByUrl("submitDocumentation",t)}isBaseDomain(){return this.domainConfigService.isBaseDomain}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(q.Ix),e.rXU(q.nX),e.rXU(ie.aZ),e.rXU(M.US),e.rXU(Y.c$),e.rXU(ad.n),e.rXU(bu),e.rXU(xe.K),e.rXU(M.DL))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-workplace-accommodations"]],decls:69,vars:54,consts:[["disabledButtonToolTipContent",""],["decisionMessageTemplate",""],["toolTipInstance","ngbTooltip"],["no",""],["class","hoverable","id","wobAbsTitle",4,"ngIf"],["class","details-view-container-messages",4,"ngIf"],["id","workplace-accommodation-buttons",1,"buttons-bar-container"],["type","submit","class","btnRightMargin btnBtmMargin btn-outline-dark","triggers","manual","placement","auto",3,"value","disabled","ngClass","ngbTooltip","mouseover","mouseout","click",4,"ngIf"],["type","submit","class","submitBtn caseActBtn btnBtmMargin btn-outline-dark",3,"value","disabled","click",4,"ngIf"],[1,"details-view-container","details-view-container-top"],[1,"textContent"],["id","title"],["id","wpaType",1,"details-header"],[4,"ngIf"],["id","wpaReqDetails",1,"indent"],[1,"form-inline","boxText"],["id","employee",1,"textAsLabel"],["id","onBehalfFirstName"],["id","dateCreatedHeader",1,"textAsLabel"],["id","dateCreated"],["id","dateModifiedHeader",1,"textAsLabel"],["id","dateModified"],["id","wpaStatusReasonHeader",1,"textAsLabel"],["id","wpaStatusReason"],["id","dateRequestedHeader",1,"textAsLabel"],["id","dateRequested"],["class","form-inline boxText",4,"ngIf"],["class","bold",4,"ngIf"],[1,"clearFix"],[1,"page-divider"],[1,"details-view-container"],[4,"ngIf","ngIfElse"],[2,"text-align","left"],["type","submit","id","backDashboard",1,"submit","secondaryBtn","backButton",3,"click","value"],["id","wobAbsTitle",1,"hoverable"],[1,"font-italic"],[1,"user-info-header"],[1,"details-view-container-messages"],["class","rf-msgs","id","wpaDetailsSuccessMessageAR",4,"ngIf"],["class","rf-msgs","id","wpaDetailsErrorMessageAR",4,"ngIf"],["id","wpaDetailsSuccessMessageAR",1,"rf-msgs"],["alt","","placement","auto","adaptivePosition","true","triggers","click:blur","src","./assets/baseResources/gfx/redesignIcons/info.svg",1,"info-icon-style"],["id","successMessageAR",1,"request-details-success-msg"],["id","wpaDetailsErrorMessageAR",1,"rf-msgs"],["alt","","placement","auto","adaptivePosition","true","triggers","click:blur","src","./assets/baseResources/gfx/redesignIcons/info_error.svg",1,"info-icon-style"],["id","errorMsgAR",1,"request-details-error-msg"],["type","submit","triggers","manual","placement","auto",1,"btnRightMargin","btnBtmMargin","btn-outline-dark",3,"mouseover","mouseout","click","value","disabled","ngClass","ngbTooltip"],["type","submit",1,"submitBtn","caseActBtn","btnBtmMargin","btn-outline-dark",3,"click","value","disabled"],["id","wpaLinkedLeaveRequestHeader",1,"textAsLabel"],["id","wpaLinkedLeaveRequest"],[4,"ngFor","ngForOf"],["target","_blank",3,"click"],["id","wpaEmployeeReportedRequestHeader",1,"textAsLabel"],["class","readonlyDataCol","id","wpaEmployeeReportedRequestYes",4,"ngIf","ngIfElse"],["id","wpaEmployeeReportedRequestYes",1,"readonlyDataCol"],["id","wpaEmployeeReportedRequestNo",1,"readonlyDataCol"],["id","wpaHrVerifiedRequestHeader",1,"textAsLabel"],["class","readonlyDataCol","id","wpaHrVerifiedRequestYes",4,"ngIf","ngIfElse"],["id","wpaHrVerifiedRequestYes",1,"readonlyDataCol"],["id","wpaHrVerifiedRequestNo",1,"readonlyDataCol"],[1,"bold"],["
1id","viewLetters",1,"redesign-underline-text"],["routerLink","/viewLetters","id","viewLetterLink",1,"redesign-underline-text",3,"queryParams"],["id","viewMostRecentFactSummary",1,"redesign-underline-text"],["id","factSummaryLink",1,"redesign-underline-text",3,"click"],["id","HCPtitleAR"],["id","faxToHCP",1,"textAsLabel"],["class","readonlyDataCol","id","faxToHCPYes",4,"ngIf","ngIfElse"],["id","formsReturnedSectionConfirm",1,"textAsLabel"],["class","readonlyDataCol","id","allowOutreachYes",4,"ngIf","ngIfElse"],["id","HCPName",1,"textAsLabel"],["id","providerName",1,"readonlyDataCol"],["id","fName",1,"textAsLabel"],["id","fNameValue",1,"readonlyDataCol"],["id","specialtyName",1,"textAsLabel"],["id","specialtyNameValue",1,"readonlyDataCol"],["id","faxToHCPYes",1,"readonlyDataCol"],["id","faxToHCPNo",1,"readonlyDataCol"],["id","faxNum",1,"textAsLabel"],["id","faxNumber",1,"readonlyDataCol"],["id","reviewHCPAttention",1,"textAsLabel"],["id","faxRecipient",1,"readonlyDataCol"],["id","allowOutreachYes",1,"readonlyDataCol"],["id","allowOutreachNo",1,"readonlyDataCol"],["id","officeNum",1,"textAsLabel"],["id","officePhone",1,"readonlyDataCol"],["id","mobileNum",1,"textAsLabel"],["id","mobilePhone",1,"readonlyDataCol"],["type","submit","id","addNewAccommodationTypeButton",1,"submit","primaryBtn","hcpBtnRight",3,"click","value","disabled"],["id","accommodationTypesTitle"],[1,"indent","decision"],["id","decisionTitle"],["id","adjustStartDateButton","class","detailsButton primaryBtn blueBtn btn-outline-dark","type","submit",3,"value","disabled","click",4,"ngIf"],["id","RequestExtensionButton","class","detailsButton primaryBtn btn-outline-dark","type","submit",3,"value","disabled","click",4,"ngIf"],["id","SubmitDecisionButton","class","hcpBtnRight btn-outline-dark","type","submit",3,"value","click",4,"ngIf"],[1,"ui-messages-error-summary"],["id","decisionReasonHeader",1,"textAsLabel"],["id","decisionDetailsHeader",1,"textAsLabel"],["id","decisionDetails"],["id","accommodationDetailsHeader",1,"textAsLabel"],["id","accommodationDetails"],["id","certifiedWpaDetailsHeader",1,"textAsLabel"],["id","certifiedWpaDetails"],["id","costHeader",1,"textAsLabel"],[1,"d-flex","vertical-group"],["class","cost",4,"ngIf"],["type","image","src","./assets/baseResources/gfx/redesignIcons/edit.svg","class","costIcon btn-outline-dark edit-icon",3,"id","click",4,"ngIf"],["id","saveDecisionCost","class","submit primaryBtn btn-outline-dark","type","button",3,"value","click",4,"ngIf"],["id","cancelDecisionCost","class","submit secondaryBtn secondary-btn","type","button",3,"value","click",4,"ngIf"],[1,"cost"],["type","image","src","./assets/baseResources/gfx/redesignIcons/edit.svg",1,"costIcon","btn-outline-dark","edit-icon",3,"click","id"],["id","costEditValue","placeholder","$",3,"ngModelChange","click","ngModel","ngClass"],["id","saveDecisionCost","type","button",1,"submit","primaryBtn","btn-outline-dark",3,"click","value"],["id","cancelDecisionCost","type","button",1,"submit","secondaryBtn","secondary-btn",3,"click","value"],["id","adjustStartDateButton","type","submit",1,"detailsButton","primaryBtn","blueBtn","btn-outline-dark",3,"click","value","disabled"],["id","RequestExtensionButton","type","submit",1,"detailsButton","primaryBtn","btn-outline-dark",3,"click","value","disabled"],["id","SubmitDecisionButton","type","submit",1,"hcpBtnRight","btn-outline-dark",3,"click","value"],["id","errorMessage",1,"wpa-type-error-message"]],template:function(i,r){if(1&i){const u=e.RV6();e.j41(0,"div"),e.DNE(1,aR,6,6,"h1",4),e.k0s(),e.nrm(2,"br"),e.DNE(3,k0,3,2,"div",5),e.j41(4,"div",6),e.DNE(5,A0,2,3,"ng-template",null,0,e.C5r)(7,x0,4,10,"input",7)(8,N0,3,6,"input",8),e.k0s(),e.j41(9,"div",9)(10,"div",10)(11,"h1",11),e.EFF(12),e.nI1(13,"translate"),e.k0s(),e.j41(14,"h2",12),e.DNE(15,O0,2,1,"ng-container",13),e.EFF(16),e.k0s(),e.j41(17,"div",14)(18,"div",15)(19,"span",16),e.EFF(20),e.nI1(21,"translate"),e.k0s(),e.j41(22,"span",17),e.EFF(23),e.nI1(24,"translate"),e.k0s()(),e.j41(25,"div",15)(26,"span",18),e.EFF(27),e.nI1(28,"translate"),e.k0s(),e.j41(29,"span",19),e.EFF(30),e.nI1(31,"date"),e.k0s()(),e.j41(32,"div",15)(33,"span",20),e.EFF(34),e.nI1(35,"translate"),e.k0s(),e.j41(36,"span",21),e.EFF(37),e.nI1(38,"date"),e.k0s()(),e.j41(39,"div",15)(40,"span",22),e.EFF(41),e.nI1(42,"translate"),e.k0s(),e.j41(43,"span",23),e.EFF(44),e.k0s()(),e.j41(45,"div",15)(46,"span",24),e.EFF(47),e.nI1(48,"translate"),e.k0s(),e.j41(49,"span",25),e.EFF(50),e.nI1(51,"date"),e.k0s()(),e.DNE(52,eA,6,4,"div",26)(53,cR,7,5,"div",26)(54,jp,8,5,"div",26)(55,j0,7,9,"div",27),e.nrm(56,"br"),e.DNE(
157,uR,7,6,"div",27),e.nrm(58,"div",28),e.k0s()()(),e.nrm(59,"div",29),e.j41(60,"div",30),e.DNE(61,B0,25,19,"div",26)(62,IR,4,2,"ng-container",31)(63,DR,3,3,"ng-template",null,1,e.C5r),e.nrm(65,"div",28),e.j41(66,"div",32)(67,"input",33),e.nI1(68,"translate"),e.bIt("click",function(){return e.eBV(u),e.Njj(r.goToDashboard())}),e.k0s()()()}if(2&i){const u=e.sdS(64);e.R7$(),e.Y8G("ngIf",r.userInfo.wob),e.R7$(2),e.Y8G("ngIf",r.successMessage||r.errorMessage),e.R7$(4),e.Y8G("ngIf",r.hasValidWpaTypes),e.R7$(),e.Y8G("ngIf",r.showRAC),e.R7$(4),e.JRh(e.bMT(13,29,"workplaceAccommodationDetails")),e.R7$(3),e.Y8G("ngIf",r.getWorkplaceAccommodationConditionTypeDispValue(r.workplaceAccommodation.conditionCodeId)&&(r.userInfo.userPrivilege.superUser||r.userInfo.webEmployerContact&&r.userInfo.userPrivilege.allowLoggedUserViewWorkplaceAccommodationNotes)),e.R7$(),e.SpI(" (#",r.workplaceAccommodation.id,") "),e.R7$(4),e.SpI("",e.bMT(21,31,"incidental.employee"),":"),e.R7$(3),e.LHq(" ",r.userInfo.onBehalfFirstName," ",r.userInfo.onBehalfLastName," (",e.bMT(24,33,"wob.empNum"),": ",r.userInfo.onBehalfEmplNumber,") "),e.R7$(4),e.SpI("",e.bMT(28,35,"viewWorkplaceAccommodation.dateCreated"),":"),e.R7$(3),e.JRh(e.i5U(31,37,r.workplaceAccommodation.createdOn,"MM/dd/yyyy")),e.R7$(4),e.SpI("",e.bMT(35,40,"viewWorkplaceAccommodation.dateModified"),":"),e.R7$(3),e.JRh(e.i5U(38,42,r.workplaceAccommodation.revisedOn,"MM/dd/yyyy")),e.R7$(4),e.SpI("",e.bMT(42,45,"myAbsences.viewLeave.leaveReqStatusReason"),":"),e.R7$(3),e.JRh(r.workplaceAccommodation.wpaStatusReason),e.R7$(3),e.SpI("",e.bMT(48,47,"viewWorkplaceAccommodation.requestedDate"),":"),e.R7$(3),e.JRh(e.i5U(51,49,r.workplaceAccommodation.requestedDate,"MM/dd/yyyy")),e.R7$(2),e.Y8G("ngIf",r.workplaceAccommodation.linkedLeaveRequestIds&&r.workplaceAccommodation.linkedLeaveRequestIds.length>0),e.R7$(),e.Y8G("ngIf",r.userInfo.wob),e.R7$(),e.Y8G("ngIf",r.userInfo.wob),e.R7$(),e.Y8G("ngIf",r.showLetters),e.R7$(2),e.Y8G("ngIf",r.hasFactSummaryDoc),e.R7$(4),e.Y8G("ngIf",!r.userInfo.wob||r.userInfo.wob&&r.userInfo.userPrivilege.allowLoggedUserViewHCPInfo),e.R7$(),e.Y8G("ngIf",r.hasValidWpaTypes)("ngIfElse",u),e.R7$(5),e.FS9("value",e.bMT(68,52,"myAbsences.leaveRequestDetails.backDashboard"))}},dependencies:[ie.YU,ie.Sq,ie.bT,q.Wk,ge.me,ge.BC,ge.vS,G.md,ie.Jj,ie.oe,ie.vh,Y.D9,Ze.yH],encapsulation:2})}}return n})();function V0(n,d){if(1&n&&(e.j41(0,"div",11)(1,"span",12),e.EFF(2),e.k0s(),e.j41(3,"span",13),e.EFF(4),e.k0s()()),2&n){const t=d.$implicit,i=e.XpG();e.R7$(2),e.SpI(" ",t.displayLabel,": "),e.R7$(2),e.JRh(0===i.localeId?t.displayValueInEnglish:t.displayValueInSpanish?t.displayValueInSpanish:t.displayValueInEnglish)}}function H0(n,d){if(1&n&&(e.j41(0,"h1",6)(1,"span",7),e.EFF(2),e.nI1(3,"translate"),e.j41(4,"span",8),e.EFF(5),e.k0s()()()),2&n){const t=e.XpG();e.R7$(2),e.SpI(" ",e.bMT(3,4,"workingAs")," "),e.R7$(3),e.E5c(" ",t.userInfo.onBehalfFirstName," ",t.userInfo.onBehalfLastName," (",t.userInfo.onBehalfEmplNumber,") ")}}function MR(n,d){1&n&&(e.j41(0,"td",28),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.JRh(e.bMT(2,1,"no")))}function W0(n,d){if(1&n){const t=e.RV6();e.j41(0,"td",28)(1,"button",29),e.bIt("click",function(){e.eBV(t);const r=e.XpG().$implicit,u=e.XpG(2);return e.Njj(u.viewConstraints(r))}),e.EFF(2),e.nI1(3,"translate"),e.k0s()()}2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"viewConstraints")," "))}function q0(n,d){if(1&n){const t=e.RV6();e.j41(0,"tr",20)(1,"td",21),e.EFF(2),e.k0s(),e.j41(3,"td",22)(4,"span",23),e.bIt("keydown.space",function(){const r=e.eBV(t).$implicit,u=e.XpG(2);return e.Njj(u.downloadFile(r.actualFileName,r.relativeFileLocation))})("keydown.enter",function(){const r=e.eBV(t).$implicit,u=e.XpG(2);return e.Njj(u.downloadFile(r.actualFileName,r.relativeFileLocation))})("click",function(){const r=e.eBV(t).$implicit,u=e.XpG(2);return e.Njj(u.downloadFile(r.actualFileName,r.relativeFileLocation))}),e.nrm(5,"img",24),e.EFF(6),e.k0s()(),e.j41(7,"td",25),e.EFF(8),e.nI1(9,"translate"),e.k0s(),e.j41(10,"td",26),e.EFF(11),e.nI1(12,"translate"),e.k0s(),e.DNE(13,MR,3,3,"td",27)(14,W0,4,3,"td",27),e.k0s()}if(2&n){const t=d.$implicit;e.R7$(2),e.SpI(" ",t.title,""),e.R7$(2),e.Mz_("aria-label","Download ",t.fileName,""),e.R7$(),e.FS9("alt",t.fileName),e.R7$(),e.SpI(" ",t.fileName," "),e.R7$(2),e.SpI("",e.bMT(9,9,t.includeWhenFaxing?"yes":"no")," "),e.R7$(3),e.JRh(e.bMT(12,11,t.includeInRTWNotification?"yes":"no")),e.R7$(2),e.Y8G("ngIf",0===(null==t.documentConstraints?null:t.documentConstraints.length)),e.R7$(),e.Y8G("ngIf",(null==t||null==t.documentConstraints?null:t.documentConstraints.length)>0)}}function SR(n,d){if(1&n){const t=e.RV6();e.j41(0,"select",36),e.nI1(1,"translate"),e.mxI("ngModelChange",function(r){e.eBV(t);const u=e.XpG(3);return e.DH7(u.pageSize,r)||(u.pageSize=r),e.Njj(r)}),e.bIt("ngModelChange",function(){e.eBV(t);const r=e.XpG(3);return e.Njj(r.refreshLetterAttachments())}),e.j41(2,"option",37),e.EFF(3,"10"),e.k0s(),e.j41(4,"option",38),e.EFF(5,"25"),e.k0s(),e.j41(6,"option",38),e.EFF(7,"50"),e.k0s(),e.j41(8,"option",38),e.EFF(9,"100"),e.k0s()()}if(2&n){const t=e.XpG(3);e.R50("ngModel",t.pageSize),e.BMQ("aria-label",e.bMT(1,6,"caseActivity.resultsPerPage")),e.R7$(2),e.Y8G("ngValue",10),e.R7$(2),e.Y8G("ngValue",25),e.R7$(2),e.Y8G("ngValue",50),e.R7$(2),e.Y8G("ngValue",100)}}function RR(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",30)(1,"div",31),e.EFF(2),e.k0s(),e.j41(3,"div")(4,"ngb-pagination",32),e.nI1(5,"translate"),e.mxI("pageChange",function(r){e.eBV(t);const u=e.XpG(2);return e.DH7(u.page,r)||(u.page=r),e.Njj(r)}),e.bIt("pageChange",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.refreshLetterAttachments())}),e.k0s()(),e.j41(6,"div",33)(7,"span",34),e.EFF(8),e.nI1(9,"translate"),e.k0s(),e.DNE(10,SR,10,8,"select",35),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",t.showingOfText," "),e.R7$(2),e.Y8G("collectionSize",t.letterAttachments.length),e.R50("page",t.page),e.Y8G("pageSize",t.pageSize)("maxSize",10)("rotate",!0)("ellipses",!1)("boundaryLinks",!0),e.BMQ("aria-label",e.bMT(5,11,"ariaLabel.lettersPagination")),e.R7$(4),e.JRh(e.bMT(9,13,"caseActivity.resultsPerPage")),e.R7$(2),e.Y8G("ngIf",(null==t.letterAttachments?null:t.letterAttachments.length)>0)}}function X0(n,d){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"div",9)(2,"table",10)(3,"thead")(4,"tr",11)(5,"th",12),e.bIt("sort",function(r){e.eBV(t);const u=e.XpG();return e.Njj(u.onSort(r))}),e.EFF(6),e.nI1(7,"translate"),e.nrm(8,"span",13),e.k0s(),e.j41(9,"th",14),e.bIt("sort",function(r){e.eBV(t);const u=e.XpG();return e.Njj(u.onSort(r))}),e.EFF(10),e.nI1(11,"translate"),e.nrm(12,"span",13),e.k0s(),e.j41(13,"th",15),e.bIt("sort",function(r){e.eBV(t);const u=e.XpG();return e.Njj(u.onSort(r))}),e.EFF(14),e.nI1(15,"translate"),e.nrm(16,"span",13),e.k0s(),e.j41(17,"th",16),e.bIt("sort",function(r){e.eBV(t);const u=e.XpG();return e.Njj(u.onSort(r))}),e.EFF(18),e.nI1(19,"translate"),e.nrm(20,"span",13),e.k0s(),e.j41(21,"th",17),e.EFF(22),e.nI1(23,"translate"),e.k0s()()(),e.j41(24,"tbody"),e.DNE(25,q0,15,13,"tr",18),e.k0s()(),e.DNE(26,RR,11,15,"div",19),e.k0s(),e.bVm()}if(2&n){const t=e.XpG();e.R7$(6),e.SpI(" ",e.bMT(7,7,"submitDocument.documentTitle")," "),e.R7$(4),e.SpI(" ",e.bMT(11,9,"fileName")," "),e.R7$(4),e.SpI(" ",e.bMT(15,11,"includeWhenFaxing")," "),e.R7$(4),e.SpI(" ",e.bMT(19,13,"includeInRTWNotification")," "),e.R7$(4),e.SpI(" ",e.bMT(23,15,"documentConstraints")," "),e.R7$(3),e.Y8G("ngForOf",t.letterAttachmentsDisp),e.R7$(),e.Y8G("ngIf",(null==t.letterAttachments?null:t.letterAttachments.length)>0)}}function wR(n,d){}const z0={asc:"desc",desc:"asc","":"asc"};let J0=(()=>{class n{constructor(){this.sortable="",this.direction="",this.sort=new e.bkB}rotate(){this.direction=z0[this.direction],this.sort.emit({column:this.sortable,direction:this.direction})}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275dir=e.FsC({type:n,selectors:[["th","sortable",""]],hostVars:4,hostBindings:function(i,r){1&i&&e.bIt("click",function(){return r.rotate()}),2&i&&e.AVh("asc","asc"===r.direction)("desc","desc"===r.direction)},inputs:{sortable:"sortable",direction:"direction"},outputs:{sort:"sort"}})}}return n})(),Q0=(()=>{class n{constructor(t){this.activeModal=t,this.localeId=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)).localeId}onClose(){this.activeModal.dismiss()}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(G.Lw))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["ng-component"]],inputs:{letterAttachment:"letterAttachment"},decls:17,vars:9,consts:[["tabindex","0","role","dialog","aria-labelledby","modalTitle","aria-describedby","modalDescription",1,"rf-pp-cntr","confirmModal"],[1,"rf-pp-cnt","p-4"],[1,"d-flex","justify-content-between"],["id","modalTitle",1,"title","bold"],["alt","close","src","./assets/baseResources/icon-material-close.png","role","button","tabindex","0",1,"close-icon",3,"click","keydown.enter","keydown.space"],[1,"form-inline","boxText","fileNameContainer"],["id","fileName",1,"ms-2"],[1,"ms-2"],[1,"bold","ms-3"],["id","modalDescription","tabindex","0",1,"documentConstraintsContainer"],["class","form-inline boxText",4,"ngFor","ngForOf"],[1,"form-inline","boxText"],["for","displayLabel","id","displayLabel",1,"subLabel"],[1,"letterAttachmentsLabel"]],template:function(i,r){1&i&&(e.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3),e.
1EFF(4),e.k0s(),e.j41(5,"img",4),e.bIt("click",function(){return r.onClose()})("keydown.enter",function(){return r.onClose()})("keydown.space",function(){return r.onClose()}),e.k0s()(),e.j41(6,"div",5)(7,"span",6),e.EFF(8),e.nI1(9,"translate"),e.k0s(),e.j41(10,"span",7),e.EFF(11),e.k0s()(),e.j41(12,"span",8),e.EFF(13),e.nI1(14,"translate"),e.k0s(),e.j41(15,"div",9),e.DNE(16,V0,5,2,"div",10),e.k0s()()()),2&i&&(e.R7$(4),e.SpI(" ",r.letterAttachment.title," "),e.R7$(4),e.SpI("",e.bMT(9,5,"fileName"),":"),e.R7$(3),e.JRh(r.letterAttachment.fileName),e.R7$(2),e.JRh(e.bMT(14,7,"documentConstraints")),e.R7$(3),e.Y8G("ngForOf",r.letterAttachment.documentConstraints))},dependencies:[ie.Sq,Y.D9],encapsulation:2})}}return n})(),kR=(()=>{class n{constructor(t,i,r,u,v,V){this.activatedRoute=t,this.modalService=i,this.service=r,this.translate=u,this.eventService=v,this.router=V,this.page=1,this.pageSize=10,this.letterAttachmentItemNumberStart=1}ngOnInit(){this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)),this.letterAttachments=this.activatedRoute.snapshot.data.letterAttachments,this.refreshLetterAttachments(),this.eventService.logEvent(p.sb.VIEW_ACCOUNT_LETTER_ATTACHMENTS,p.sb.USER_VIEWING_LETTER_ATTACHMENTS_MSG,this.userInfo.accountId.toString())}refreshLetterAttachments(){this.letterAttachmentsDisp=[],this.letterAttachments&&(this.letterAttachmentsDisp=this.letterAttachments.map((t,i)=>({id:i+1,...t})).slice((this.page-1)*this.pageSize,(this.page-1)*this.pageSize+this.pageSize),this.letterAttachmentItemNumberStart=(this.page-1)*this.pageSize+1,this.letterAttachmentItemNumberEnd=this.letterAttachments.length<this.pageSize*this.page?this.letterAttachments.length:this.pageSize*this.page),this.showingOfText=this.translate.instant("showingOf",{start:this.letterAttachmentItemNumberStart,end:this.letterAttachmentItemNumberEnd,total:this.letterAttachments.length})}onSort({column:t,direction:i}){this.headers.forEach(r=>{r.sortable!==t&&(r.direction="")}),this.letterAttachments=""===t||""===i?this.letterAttachments:[...this.letterAttachments].sort((r,u)=>{const v=((n,d)=>n<d?-1:n>d?1:0)(r[t],u[t]);return"asc"===i?v:-v}),this.refreshLetterAttachments()}viewConstraints(t){const i=this.modalService.open(Q0,{centered:!0,ariaLabelledBy:"modalTitle"});this.eventService.logEvent(p.sb.VIEW_ACCOUNT_LETTER_ATTACHMENTS,p.sb.USER_VIEWING_LETTER_ATTACHMENT_DOCUMENT_CONSTRAINTS_FOR_ACCOUNT_ID_MSG+this.userInfo.accountId.toString(),t.title),i.componentInstance.letterAttachment=t}downloadFile(t,i){this.eventService.logEvent(p.sb.VIEW_ACCOUNT_LETTER_ATTACHMENTS,p.sb.USER_VIEWING_LETTER_ATTACHMENT_PDF_FOR_ACCOUNT_ID_MSG+this.userInfo.accountId.toString(),i+t),this.service.downloadAttachment(t,i,!1)}goToDashboard(){this.router.navigateByUrl("mgr-dashboard")}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(q.nX),e.rXU(G.Bq),e.rXU(M.Zb),e.rXU(Y.c$),e.rXU(M.US),e.rXU(q.Ix))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-view-letter-attachments"]],viewQuery:function(i,r){if(1&i&&e.GBs(J0,5),2&i){let u;e.mGM(u=e.lsd())&&(r.headers=u)}},decls:11,vars:9,consts:[["spinner",""],["class","hoverable","id","wobAbsTitle",4,"ngIf"],[1,"card","card-padding"],["id","title"],[4,"ngIf","ngIfElse"],["type","button","id","backBtn","name","backBtnName",1,"submit","secondaryBtn","back-to-dashboard-btn",3,"click","value"],["id","wobAbsTitle",1,"hoverable"],[1,"font-italic"],[1,"user-info-header"],[1,"tableContainer"],[1,"rf-dt","dataTable"],[1,"rf-dt-shdr","sortableTH"],["scope","col","sortable","title","id","titleHeader",1,"col-white-space",3,"sort"],[1,"glyphicon","sortText"],["scope","col","sortable","fileName","id","fileNameHeader",1,"col-white-space",3,"sort"],["scope","col","sortable","includeWhenFaxing","id","includeWhenFaxingHeader",1,"col-white-space",3,"sort"],["scope","col","sortable","includeInRTWNotification","id","includeInRTWNotificationHeader",1,"col-white-space",3,"sort"],["scope","col","id","documentConstraintsHeader",1,"rf-dt-shdr-c","col-md-3","col-white-space"],["id","letterAttachmentsData",4,"ngFor","ngForOf"],["class","d-flex justify-content-between",4,"ngIf"],["id","letterAttachmentsData"],["id","titleData"],["id","fileNameData",1,"letterAttachmentsLabel"],["role","button","tabindex","0",1,"downloadFile",3,"keydown.space","keydown.enter","click","aria-label"],["src","./assets/baseResources/file-arrow-down-regular.png","aria-hidden","true",3,"alt"],["id","includeWhenFaxingData"],["id","includeInRTWNotificationData"],["id","documentConstraintsData",4,"ngIf"],["id","documentConstraintsData"],["id","view-constraints-button","type","button",1,"viewConstraintsBtn",3,"click"],[1,"d-flex","justify-content-between"],[1,"mt-2","me-auto"],["
1id","pageNumber",3,"pageChange","collectionSize","page","pageSize","maxSize","rotate","ellipses","boundaryLinks"],[1,"pl-0","text-right","col-show-row","d-flex","align-items-baseline","ms-auto"],[1,"results-padding"],["class","form-select ms-1","style","width: auto","name","pageSize",3,"ngModel","ngModelChange",4,"ngIf"],["name","pageSize",1,"form-select","ms-1",2,"width","auto",3,"ngModelChange","ngModel"],["selected","",3,"ngValue"],[3,"ngValue"]],template:function(i,r){if(1&i){const u=e.RV6();e.j41(0,"div"),e.DNE(1,H0,6,6,"h1",1),e.k0s(),e.j41(2,"div",2)(3,"h1",3),e.EFF(4),e.nI1(5,"translate"),e.k0s(),e.DNE(6,X0,27,17,"ng-container",4),e.k0s(),e.DNE(7,wR,0,0,"ng-template",null,0,e.C5r),e.j41(9,"input",5),e.nI1(10,"translate"),e.bIt("click",function(){return e.eBV(u),e.Njj(r.goToDashboard())}),e.k0s()}if(2&i){const u=e.sdS(8);e.R7$(),e.Y8G("ngIf",r.userInfo.wob),e.R7$(3),e.JRh(e.bMT(5,5,"viewLetterAttachments")),e.R7$(2),e.Y8G("ngIf",(null==r.letterAttachments?null:r.letterAttachments.length)>0)("ngIfElse",u),e.R7$(3),e.FS9("value",e.bMT(10,7,"myAbsences.leaveRequestDetails.backDashboard"))}},dependencies:[ie.Sq,ie.bT,ge.xH,ge.y7,ge.wz,ge.BC,ge.vS,G.s5,Xd,up,Y.D9],encapsulation:2})}}return n})();const Z0=n=>({absenceResources:n});function rA(n,d){if(1&n&&(e.j41(0,"h1",9)(1,"span",10),e.EFF(2),e.nI1(3,"translate"),e.j41(4,"span",11),e.EFF(5),e.k0s()()()),2&n){const t=e.XpG();e.R7$(2),e.SpI(" ",e.bMT(3,4,"workingAs")," "),e.R7$(3),e.E5c(" ",t.userInfo.onBehalfFirstName," ",t.userInfo.onBehalfLastName," (",t.userInfo.onBehalfEmplNumber,") ")}}function eE(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",14)(1,"label",15),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"select",16),e.bIt("change",function(r){e.eBV(t);const u=e.XpG(2);return e.Njj(u.handleLanguageChange(r.target.value))}),e.j41(5,"option",17),e.EFF(6,"All"),e.k0s(),e.j41(7,"option",18),e.EFF(8,"English"),e.k0s(),e.j41(9,"option",19),e.EFF(10,"Spanish"),e.k0s()()()}2&n&&(e.R7$(2),e.JRh(e.bMT(3,1,"language")))}function oA(n,d){if(1&n){const t=e.RV6();e.j41(0,"a",27),e.bIt("keydown.space",function(){e.eBV(t);const r=e.XpG().$implicit,u=e.XpG(3);return e.Njj(u.downloadDocument(r.actualFileName,r.relativeFileLocation))})("keydown.enter",function(){e.eBV(t);const r=e.XpG().$implicit,u=e.XpG(3);return e.Njj(u.downloadDocument(r.actualFileName,r.relativeFileLocation))})("click",function(){e.eBV(t);const r=e.XpG().$implicit,u=e.XpG(3);return e.Njj(u.downloadDocument(r.actualFileName,r.relativeFileLocation))}),e.nrm(1,"img",28),e.EFF(2),e.j41(3,"span"),e.EFF(4),e.nI1(5,"translate"),e.k0s()()}if(2&n){const t=e.XpG().$implicit,i=e.XpG(3);e.FS9("download",t.fileName),e.Mz_("aria-label","",t.fileName," download"),e.R7$(),e.Mz_("src","",i.domainResourcePath,"/icon-metro-file-pdf.png",e.B4B),e.R7$(),e.SpI(" ",t.displayName," "),e.R7$(2),e.SpI("\u200a",e.bMT(5,7,i.getLangFromLanguageId(t.languageId)),"")}}function aA(n,d){if(1&n){const t=e.RV6();e.j41(0,"a",29),e.bIt("click",function(){e.eBV(t);const r=e.XpG().$implicit,u=e.XpG(3);return e.Njj(u.initVideoPlayer(r))})("keydown.space",function(){e.eBV(t);const r=e.XpG().$implicit,u=e.XpG(3);return e.Njj(u.initVideoPlayer(r))})("keydown.enter",function(){e.eBV(t);const r=e.XpG().$implicit,u=e.XpG(3);return e.Njj(u.initVideoPlayer(r))}),e.nrm(1,"img",30),e.EFF(2),e.k0s()}if(2&n){const t=e.XpG().$implicit,i=e.XpG(3);e.Mz_("aria-label","",t.description," video"),e.R7$(),e.Mz_("src","",i.domainResourcePath,"/icon-feather-video.png",e.B4B),e.R7$(),e.SpI(" ",t.displayName," ")}}function lA(n,d){if(1&n&&e.nrm(0,"div",31),2&n){const t=e.XpG().$implicit,i=e.XpG(3);e.BMQ("data-uuid",i.getUuidFromUrl(t.externalVideoURL))}}function cA(n,d){if(1&n&&(e.j41(0,"div",23),e.DNE(1,oA,6,9,"a",24)(2,aA,3,5,"a",25)(3,lA,1,1,"div",26),e.k0s()),2&n){const t=d.$implicit,i=e.XpG(3);e.R7$(),e.Y8G("ngIf",t.relativeFileLocation&&t.fileName),e.R7$(),e.Y8G("ngIf",t.externalVideoURL),e.R7$(),e.Y8G("ngIf",null!==i.getUuidFromUrl(t.externalVideoURL))}}function dA(n,d){if(1&n&&(e.j41(0,"div")(1,"h2",20),e.EFF(2),e.k0s(),e.j41(3,"div",21)(4,"p"),e.EFF(5),e.k0s()(),e.DNE(6,cA,4,3,"div",22),e.k0s()),2&n){const t=d.$implicit;e.R7$(2),e.JRh(t.communicationTypeName),e.R7$(3),e.JRh(t.communicationTypeDescription),e.R7$(),e.Y8G("ngForOf",t.communicationMaterials)}}function uA(n,d){if(1&n&&(e.qex(0),e.DNE(1,eE,11,3,"div",12)(2,dA,7,3,"div",13),e.bVm()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.showLanguageOptions()),e.R7$(),e.Y8G("ngForOf",t.communicationMaterialTypes)}}function pA(n,d){1&n&&(e.j41(0,"div",33)(1,"span",34)(2,"span",35),e.EFF(3),e.nI1(4,"translate"),e.k0s()()()),2&n&&(e.R7$(3),e.JRh(e.bMT(4,1,"noCommunicationMaterials")))}function hA(n,d){if(1&n&&e.DNE(0,pA,5,3,"div",32),2&n){const t=e.XpG();e.Y8G("ngIf",0===(null==t.communicationMaterialTypes?null:t.communicationMaterialTypes.length))}}function tE(n,d){1&n&&e.nrm(0,"div",36)}let mA=(()=>{class n{constructor(t,i,r,u,v,V){this.router=t,this.activatedRoute=i,this.service=r,this.renderer=u,this.eventService=v,this.domainConfigService=V}ngOnInit(){this.absenceResource=!se.z.isDomainBlockedFromRedesignUpdates(),this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)),this.communicationMaterialTypes=this.activatedRoute.snapshot.data.communicationMaterialTypes,this.communicationMaterialsTypesForFilters=this.activatedRoute.snapshot.data.communicationMaterialTypes,this.domainResourcePath=se.z.getBaseResourcePath();const t=this.renderer.createElement("script");t.src="https://play.vidyard.com/embed/v4.js",this.renderer.appendChild(document.head,t),this.eventService.logEvent(p.sb.VIEW_ACCOUNT_COMMUNICATION_MATERIALS,p.sb.USER_VIEWING_COMMUNICATION_MATERIALS_MSG,this.userInfo.accountId.toString())}showLanguageOptions(){const t=[];
1return this.communicationMaterialsTypesForFilters.forEach(i=>i.communicationMaterials.forEach(r=>{r?.languageId===p.YM.FSP_SPANISH_LANGUAGE&&t.push(r.languageId)})),t.length>0}handleLanguageChange(t){this.communicationMaterialTypes="all"===t?this.communicationMaterialsTypesForFilters:this.communicationMaterialsTypesForFilters.filter(i=>i.communicationMaterials.some(r=>r.languageId===Number(t))).map(i=>Object.assign({},i,{communicationMaterials:i.communicationMaterials.filter(r=>r.languageId===Number(t))}))}goToDashboard(){this.router.navigateByUrl("mgr-dashboard")}downloadDocument(t,i){this.service.downloadAttachment(t,i),this.eventService.logEvent(p.sb.DOWNLOAD_COMMUNICATION_MATERIAL,p.sb.USER_VIEWING_COMMUNICATION_MATERIAL_PDF_FOR_ACCOUNT_ID_MSG+this.userInfo.accountId.toString(),i+t)}getUuidFromUrl(t){if(!t||!t.includes(p.YM.VIDYARD_URL))return null;const i=t.split("/");return i[i.length-1].replace("?","")||null}initVideoPlayer(t){const i=t.externalVideoURL;this.eventService.logEvent(p.sb.VIEW_COMMUNICATION_MATERIAL_VIDEO,p.sb.USER_VIEWING_COMMUNICATION_MATERIAL_VIDEO_MSG+this.userInfo.accountId.toString(),t.displayName);const r=this.getUuidFromUrl(i);if(!r||typeof VidyardV4>"u")return;const u=VidyardV4.api.getPlayersByUUID(r);0!==u.length&&u[0].showLightbox()}getLangFromLanguageId(t){return t==p.YM.FSP_ENGLISH_LANGUAGE?"english":t==p.YM.FSP_SPANISH_LANGUAGE?"spanish":""}isBaseDomain(){return this.domainConfigService.isBaseDomain}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(q.Ix),e.rXU(q.nX),e.rXU(M.M_),e.rXU(e.sFG),e.rXU(M.US),e.rXU(xe.K))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-view-communication-materials"]],decls:13,vars:16,consts:[["noCommunicationMaterials",""],[3,"ngClass"],["class","hoverable","id","wobAbsTitle",4,"ngIf"],[1,"comm-mat-view-container",3,"ngClass"],["id","title"],[4,"ngIf","ngIfElse"],["class","mt-4 col-md-8",4,"ngIf"],[1,"comm-mat-backButton"],["type","button","id","backBtn","name","backBtnName",1,"submit","secondaryBtn","backButton",3,"click","value"],["id","wobAbsTitle",1,"hoverable"],[1,"font-italic"],[1,"user-info-header"],["class","form-inline boxText",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"form-inline","boxText"],["for","language",1,"w-auto","mt-1","h2-font-size"],["id","language","tabindex","0",1,"lang-select",3,"change"],["value","all","selected",""],["value","82"],["value","12"],[1,"mb-2","mt-4"],[1,"row","col-md-6"],["class","comm-mat-grid ms-1",4,"ngFor","ngForOf"],[1,"comm-mat-grid","ms-1"],["role","button","tabindex","0",3,"download","aria-label","keydown.space","keydown.enter","click",4,"ngIf"],["role","button","tabindex","0",3,"aria-label","click","keydown.space","keydown.enter",4,"ngIf"],["data-type","lightbox","class","vidyard-player-embed","data-v","4",4,"ngIf"],["role","button","tabindex","0",3,"keydown.space","keydown.enter","click","download","aria-label"],["alt","file icon","id","pdfImg",1,"me-2","ms-2",3,"src"],["role","button","tabindex","0",3,"click","keydown.space","keydown.enter","aria-label"],["alt","video icon","id","videoImg",1,"me-2","ms-2",3,"src"],["data-type","lightbox","data-v","4",1,"vidyard-player-embed"],["class","p-3",4,"ngIf"],[1,"p-3"],["id","noResultText",1,"noRecordBlueBkgrnd","p-3"],[1,"bold"],[1,"mt-4","col-md-8"]],template:function(i,r){if(1&i){const u=e.RV6();e.j41(0,"div",1),e.DNE(1,rA,6,6,"h1",2),e.k0s(),e.j41(2,"div",3)(3,"h1",4),e.EFF(4),e.nI1(5,"translate"),e.k0s(),e.DNE(6,uA,3,2,"ng-container",5),e.k0s(),e.DNE(7,hA,1,1,"ng-template",null,0,e.C5r)(9,tE,1,0,"div",6),e.j41(10,"div",7)(11,"input",8),e.nI1(12,"translate"),e.bIt("click",function(){return e.eBV(u),e.Njj(r.goToDashboard())}),e.k0s()()}if(2&i){const u=e.sdS(8);e.Y8G("ngClass",e.eq3(12,Z0,r.absenceResource)),e.R7$(),e.Y8G("ngIf",r.userInfo.wob),e.R7$(),e.Y8G("ngClass",e.eq3(14,Z0,r.absenceResource)),e.R7$(2),e.JRh(e.bMT(5,8,"viewCommunicationMaterials")),e.R7$(2),e.Y8G("ngIf",(null==r.communicationMaterialTypes?null:r.communicationMaterialTypes.length)>0)("ngIfElse",u),e.R7$(3),e.Y8G("ngIf",!r.isBaseDomain()),e.R7$(2),e.FS9("value",e.bMT(12,10,"myAbsences.leaveRequestDetails.backDashboard"))}},dependencies:[ie.YU,ie.Sq,ie.bT,ge.xH,ge.y7,Y.D9],encapsulation:2})}}return n})();function nE(n,d){if(1&n&&(e.j41(0,"h1",21)(1,"span",22),e.EFF(2),e.nI1(3,"translate"),e.j41(4,"span",23),e.EFF(5),e.k0s()()()),2&n){const t=e.XpG();e.R7$(2),e.SpI(" ",e.bMT(3,4,"workingAs")," "),e.R7$(3),e.E5c(" ",t.userInfo.onBehalfFirstName," ",t.userInfo.onBehalfLastName," 
1(",t.userInfo.onBehalfEmplNumber,") ")}}function AR(n,d){if(1&n&&(e.j41(0,"tr",24)(1,"td",25),e.EFF(2),e.nI1(3,"date"),e.k0s(),e.j41(4,"td",26),e.EFF(5),e.k0s(),e.j41(6,"td",27),e.EFF(7),e.k0s(),e.j41(8,"td",28),e.EFF(9),e.k0s(),e.j41(10,"td",29),e.EFF(11),e.k0s()()),2&n){const t=d.$implicit,i=e.XpG();e.R7$(2),e.JRh(e.i5U(3,5,t.sentOn,"MM/dd/yyyy h:mm a")),e.R7$(3),e.SpI(" ",t.notificationType,""),e.R7$(2),e.SpI(" ",t.emailSubject,""),e.R7$(2),e.SpI(" ",t.recipients," "),e.R7$(2),e.SpI(" ",i.getRequestId(t)," ")}}function Yp(n,d){if(1&n&&(e.j41(0,"tr",30)(1,"td",31)(2,"span",32)(3,"strong"),e.EFF(4),e.k0s()()()()),2&n){const t=e.XpG();e.R7$(4),e.JRh(t.noResultText)}}function xm(n,d){if(1&n){const t=e.RV6();e.j41(0,"select",39),e.nI1(1,"translate"),e.mxI("ngModelChange",function(r){e.eBV(t);const u=e.XpG(2);return e.DH7(u.pageSize,r)||(u.pageSize=r),e.Njj(r)}),e.bIt("ngModelChange",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.refreshNotificationHistories())}),e.j41(2,"option",40),e.EFF(3,"10"),e.k0s(),e.j41(4,"option",41),e.EFF(5,"25"),e.k0s(),e.j41(6,"option",41),e.EFF(7,"50"),e.k0s(),e.j41(8,"option",41),e.EFF(9,"100"),e.k0s()()}if(2&n){const t=e.XpG(2);e.R50("ngModel",t.pageSize),e.BMQ("aria-label",e.bMT(1,6,"ariaLabel.selectResults")),e.R7$(2),e.Y8G("ngValue",10),e.R7$(2),e.Y8G("ngValue",25),e.R7$(2),e.Y8G("ngValue",50),e.R7$(2),e.Y8G("ngValue",100)}}function xR(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",33)(1,"div",34),e.EFF(2),e.k0s(),e.j41(3,"div")(4,"ngb-pagination",35),e.nI1(5,"translate"),e.mxI("pageChange",function(r){e.eBV(t);const u=e.XpG();return e.DH7(u.page,r)||(u.page=r),e.Njj(r)}),e.bIt("pageChange",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.refreshNotificationHistories())}),e.k0s()(),e.j41(6,"div",36)(7,"span",37),e.EFF(8),e.nI1(9,"translate"),e.k0s(),e.DNE(10,xm,10,8,"select",38),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(2),e.SpI(" ",t.showingOfText," "),e.R7$(2),e.Y8G("collectionSize",t.notificationHistories.length),e.R50("page",t.page),e.Y8G("pageSize",t.pageSize)("maxSize",10)("rotate",!0)("ellipses",!1)("boundaryLinks",!0),e.BMQ("aria-label",e.bMT(5,11,"ariaLabel.notificationHistoryPagination")),e.R7$(4),e.JRh(e.bMT(9,13,"caseActivity.resultsPerPage")),e.R7$(2),e.Y8G("ngIf",t.notificationHistories.length>0)}}const NR={asc:"desc",desc:"asc","":"asc"};let iE=(()=>{class n{constructor(){this.sortable="",this.direction="",this.sort=new e.bkB}rotate(){this.direction=NR[this.direction],this.sort.emit({column:this.sortable,direction:this.direction})}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275dir=e.FsC({type:n,selectors:[["th","sortable",""]],hostVars:4,hostBindings:function(i,r){1&i&&e.bIt("click",function(){return r.rotate()}),2&i&&e.AVh("asc","asc"===r.direction)("desc","desc"===r.direction)},inputs:{sortable:"sortable",direction:"direction"},outputs:{sort:"sort"}})}}return n})(),FR=(()=>{class n{constructor(t,i,r,u){this.activatedRoute=t,this.router=i,this.translate=r,this.eventService=u,this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)),this.page=1,this.pageSize=10,this.notificationHistoriesItemNumberStart=1}ngOnInit(){this.absenceResource=!se.z.isDomainBlockedFromRedesignUpdates(),this.notificationHistories=[],this.notificationHistoriesDisp=[],this.notificationHistories=this.activatedRoute.snapshot.data.notificationHistory,this.viewLetterDocText=this.translate.instant(this.userInfo.userPrivilege.allowLoggedUserViewDocuments?"notificationHistory.viewLetterDocPastTwoYears":"notificationHistory.viewLetterPastTwoYears"),this.eventService.logEvent(p.sb.VIEW_NOTIFICATION_HISTORY,p.sb.USER_VIEWING_EMPLOYEE_NOTIFICATION_HIST_MSG,this.userInfo.employeeSystemId.toString()),this.notificationHistories&&this.notificationHistories.length>0?this.refreshNotificationHistories():this.noResultText=this.translate.instant("notificationHistory.noResultTextForEmployee")}refreshNotificationHistories(){this.notificationHistoriesDisp=[],this.notificationHistories&&(this.notificationHistoriesDisp=this.notificationHistories.map((t,i)=>({id:i+1,...t})).slice((this.page-1)*this.pageSize,(this.page-1)*this.pageSize+this.pageSize),this.notificationHistoriesItemNumberStart=(this.page-1)*this.pageSize+1,this.notificationHistoriesItemNumberEnd=this.notificationHistories.length<this.pageSize*this.page?this.notificationHistories.length:this.pageSize*this.page),this.showingOfText=this.translate.instant("showingOf",{start:this.notificationHistoriesItemNumberStart,end:this.notificationHistoriesItemNumberEnd,total:this.notificationHistories.length})}onSort({column:t,direction:i}
1){this.headers.forEach(r=>{r.sortable!==t&&(r.direction="")}),this.notificationHistories=""===t||""===i?this.notificationHistories:[...this.notificationHistories].sort((r,u)=>{const v=((n,d)=>n<d?-1:n>d?1:0)(r[t],u[t]);return"asc"===i?v:-v}),this.refreshNotificationHistories()}getRequestId(t){return t.leaveRequestId&&t.wpaRequestId?"":t.leaveRequestId?t.leaveRequestId:t.wpaRequestId?t.wpaRequestId:""}goBack(){this.router.navigateByUrl("absences")}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(q.nX),e.rXU(q.Ix),e.rXU(Y.c$),e.rXU(M.US))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["ng-component"]],viewQuery:function(i,r){if(1&i&&e.GBs(iE,5),2&i){let u;e.mGM(u=e.lsd())&&(r.headers=u)}},decls:50,vars:41,consts:[["id","notifnHistWrkngTitle",4,"ngIf"],[1,"card","notification-history"],[1,"row"],[1,"col-lg-6","col-md-6","col-sm-6","h1Row","ms-1","reset-margins"],["id","viewNotificationHistTitle"],["id","viewLetterDocLink",1,"notification-history-intro"],["routerLink","/viewLetters","id","viewNotificationHistLink",1,"underlineText"],[1,"tableContainer"],[1,"rf-dt","dataTable","restyledTableWidth"],[1,"rf-dt-shdr","sortableTH"],["scope","col","sortable","sentOn","id","sentOnHeader",1,"rf-dt-shdr-c","col-md-3",3,"sort"],[1,"glyphicon","sortText"],["scope","col","sortable","notificationType","id","notificationTypeHeader",1,"rf-dt-shdr-c","col-md-4",3,"sort"],["scope","col","sortable","emailSubject","id","emailSubjectHeader",1,"rf-dt-shdr-c","col-md-4",3,"sort"],["scope","col","sortable","recipients","id","recipientsHeader",1,"rf-dt-shdr-c","col-md-3",3,"sort"],["scope","col","sortable","leaveRequestId","id","leaveRequestIdHeader",1,"rf-dt-shdr-c","col-md-3",3,"sort"],["id","notificationHistData",4,"ngFor","ngForOf"],[1,"rf-dt-tft"],["class","rf-dt-ftr noRecordBlueBkgrnd",4,"ngIf"],["class","d-flex justify-content-between controlsToolbar",4,"ngIf"],["type","button","id","backBtn","name","backBtnName",1,"submit","secondaryBtn","back-to-dashboard-btn",3,"click","value"],["id","notifnHistWrkngTitle"],[1,"font-italic"],[1,"user-info-header"],["id","notificationHistData"],["id","sentOnData",1,"date-column"],["id","notificationTypeData"],["id","emailSubjectData"],["id","recipientsData"],["id","leaveRequestData"],[1,"rf-dt-ftr","noRecordBlueBkgrnd"],["colspan","5",1,"rf-dt-ftr-c"],["id","noResultText2"],[1,"d-flex","justify-content-between","controlsToolbar"],[1,"mt-2","me-auto"],["id","pageNumber",1,"notification-pagination",3,"pageChange","collectionSize","page","pageSize","maxSize","rotate","ellipses","boundaryLinks"],[1,"pl-0","text-right","col-show-row","d-flex","align-items-baseline","ms-auto"],[1,"results-padding","resultsPerPageText"],["class","form-select ms-1","style","width: auto","name","pageSize",3,"ngModel","ngModelChange",4,"ngIf"],["name","pageSize",1,"form-select","ms-1",2,"width","auto",3,"ngModelChange","ngModel"],["selected","",3,"ngValue"],[3,"ngValue"]],template:function(i,r){1&i&&(e.DNE(0,nE,6,6,"h1",0),e.j41(1,"div",1)(2,"div",2)(3,"div",3)(4,"h1",4),e.EFF(5),e.nI1(6,"translate"),e.k0s()()(),e.j41(7,"span",5),e.EFF(8),e.nI1(9,"translate"),e.j41(10,"a",6),e.nI1(11,"translate"),e.EFF(12),e.nI1(13,"translate"),e.k0s()(),e.qex(14),e.j41(15,"div",7)(16,"table",8)(17,"thead")(18,"tr",9)(19,"th",10),e.bIt("sort",function(v){return r.onSort(v)}),e.EFF(20),e.nI1(21,"translate"),e.nrm(22,"span",11),e.k0s(),e.j41(23,"th",12),e.bIt("sort",function(v){return r.onSort(v)}),e.EFF(24),e.nI1(25,"translate"),e.nrm(26,"span",11),e.k0s(),e.j41(27,"th",13),e.bIt("sort",function(v){return r.onSort(v)}),e.EFF(28),e.nI1(29,"translate"),e.nrm(30,"span",11),e.k0s(),e.j41(31,"th",14),e.bIt("sort",function(v){return r.onSort(v)}),e.EFF(32),e.nI1(33,"translate"),e.nrm(34,"span",11),e.k0s(),e.j41(35,"th",15),e.bIt("sort",function(v){return r.onSort(v)}),e.EFF(36),e.nI1(37,"translate"),e.nrm(38,"span",11),e.k0s()()(),e.j41(39,"tbody"),e.DNE(40,AR,12,8,"tr",16),e.k0s(),e.j41(41,"tfoot",17),e.DNE(42,Yp,5,1,"tr",18),e.k0s()(),e.j41(43,"span"),e.EFF(44),e.nI1(45,"translate"),e.k0s(),e.DNE(46,xR,11,15,"div",19),e.k0s(),e.bVm(),e.k0s(),e.j41(47,"input",20),e.nI1(48,"translate"),e.nI1(49,"translate"),e.bIt("click",function(){return r.goBack()}),e.k0s()),2&i&&(e.Y8G("ngIf",r.userInfo.wob),e.R7$(5),e.SpI(" ",e.bMT(6,17,"n
1otificationHistory.title")," "),e.R7$(3),e.Lme(" ",e.bMT(9,19,"notificationHistory.intro")," ",r.viewLetterDocText," "),e.R7$(2),e.BMQ("aria-label",e.bMT(11,21,"ariaLabel.lettersAndDocumentation")),e.R7$(2),e.SpI(" ",e.bMT(13,23,"pleaseClickHere")," "),e.R7$(8),e.SpI(" ",e.bMT(21,25,"notificationHistory.columns.sentOn")," "),e.R7$(4),e.SpI(" ",e.bMT(25,27,"notificationHistory.columns.notificationType")," "),e.R7$(4),e.SpI(" ",e.bMT(29,29,"notificationHistory.columns.emailSubject")," "),e.R7$(4),e.SpI(" ",e.bMT(33,31,"notificationHistory.columns.recipients")," "),e.R7$(4),e.SpI(" ",e.bMT(37,33,"label.leaveTime.leaveReq")," "),e.R7$(4),e.Y8G("ngForOf",r.notificationHistoriesDisp),e.R7$(2),e.Y8G("ngIf",0===(null==r.notificationHistoriesDisp?null:r.notificationHistoriesDisp.length)),e.R7$(2),e.JRh(e.bMT(45,35,"allTimesCentral")),e.R7$(2),e.Y8G("ngIf",r.notificationHistories.length>0),e.R7$(),e.FS9("value",e.bMT(48,37,"submitDecision.backToEmployerPortal")),e.BMQ("aria-label",e.bMT(49,39,"submitDecision.backToEmployerPortal")))},dependencies:[ie.Sq,ie.bT,q.Wk,ge.xH,ge.y7,ge.wz,ge.BC,ge.vS,G.s5,iE,ie.vh,Y.D9],styles:[".absenceResources[_ngcontent-%COMP%]{.restyledTableWidth{min-width:800px}.resultsPerPageText{min-width:120px}.controlsToolbar{min-width:800px;align-items:center}}"]})}}return n})(),LR=(()=>{class n{constructor(t){this.http=t}getNotificationHistory(){return this.http.get(`${p.hP.notificationHistory}`).pipe()}static{this.\u0275fac=function(i){return new(i||n)(e.KVO(Yn.Qq))}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),PR=(()=>{class n{constructor(t){this.service=t}resolve(t,i){return this.service.getNotificationHistory()}static{this.\u0275fac=function(i){return new(i||n)(e.KVO(LR))}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var sE=I(1171);class jR{}var pw={202:"Accepted",502:"Bad Gateway",400:"Bad Request",409:"Conflict",100:"Continue",201:"Created",417:"Expectation Failed",424:"Failed Dependency",403:"Forbidden",504:"Gateway Timeout",410:"Gone",505:"HTTP Version Not Supported",418:"I'm a teapot",419:"Insufficient Space on Resource",507:"Insufficient Storage",500:"Internal Server Error",411:"Length Required",423:"Locked",420:"Method Failure",405:"Method Not Allowed",301:"Moved Permanently",302:"Moved Temporarily",207:"Multi-Status",300:"Multiple Choices",511:"Network Authentication Required",204:"No Content",203:"Non Authoritative Information",406:"Not Acceptable",404:"Not Found",501:"Not Implemented",304:"Not Modified",200:"OK",206:"Partial Content",402:"Payment Required",308:"Permanent Redirect",412:"Precondition Failed",428:"Precondition Required",102:"Processing",407:"Proxy Authentication Required",431:"Request Header Fields Too Large",408:"Request Timeout",413:"Request Entity Too Large",414:"Request-URI Too Long",416:"Requested Range Not Satisfiable",205:"Reset Content",303:"See Other",503:"Service Unavailable",101:"Switching Protocols",307:"Temporary Redirect",429:"Too Many Requests",401:"Unauthorized",451:"Unavailable For Legal Reasons",422:"Unprocessable Entity",415:"Unsupported Media Type",305:"Use Proxy",421:"Misdirected Request"},bE={Accepted:202,"Bad Gateway":502,"Bad Request":400,Conflict:409,Continue:100,Created:201,"Expectation Failed":417,"Failed Dependency":424,Forbidden:403,"Gateway Timeout":504,Gone:410,"HTTP Version Not Supported":505,"I'm a teapot":418,"Insufficient Space on Resource":419,"Insufficient Storage":507,"Internal Server Error":500,"Length Required":411,Locked:423,"Method Failure":420,"Method Not Allowed":405,"Moved Permanently":301,"Moved Temporarily":302,"Multi-Status":207,"Multiple Choices":300,"Network Authentication Required":511,"No Content":204,"Non Authoritative Information":203,"Not Acceptable":406,"Not Found":404,"Not Implemented":501,"Not Modified":304,OK:200,"Partial Content":206,"Payment Required":402,"Permanent Redirect":308,"Precondition Failed":412,"Precondition Required":428,Processing:102,"Proxy Authentication Required":407,"Request Header Fields Too Large":431,"Request Timeout":408,"Request Entity Too Large":413,"Request-URI Too Long":414,"Requested Range Not Satisfiable":416,"Reset Content":205,"See Other":303,"Service Unavailable":503,"Switching Protocols":101,"Temporary Redirect":307,"Too Many Requests":429,Unauthorized:4
101,"Unavailable For Legal Reasons":451,"Unprocessable Entity":422,"Unsupported Media Type":415,"Use Proxy":305,"Misdirected Request":421},Lm=function(){return Lm=Object.assign||function(n){for(var d,t=1,i=arguments.length;t<i;t++)for(var r in d=arguments[t])Object.prototype.hasOwnProperty.call(d,r)&&(n[r]=d[r]);return n},Lm.apply(this,arguments)};const EA=Lm(Lm({},{ACCEPTED:202,BAD_GATEWAY:502,BAD_REQUEST:400,CONFLICT:409,CONTINUE:100,CREATED:201,EXPECTATION_FAILED:417,FORBIDDEN:403,GATEWAY_TIMEOUT:504,GONE:410,HTTP_VERSION_NOT_SUPPORTED:505,IM_A_TEAPOT:418,INSUFFICIENT_SPACE_ON_RESOURCE:419,INSUFFICIENT_STORAGE:507,INTERNAL_SERVER_ERROR:500,LENGTH_REQUIRED:411,LOCKED:423,METHOD_FAILURE:420,METHOD_NOT_ALLOWED:405,MOVED_PERMANENTLY:301,MOVED_TEMPORARILY:302,MULTI_STATUS:207,MULTIPLE_CHOICES:300,NETWORK_AUTHENTICATION_REQUIRED:511,NO_CONTENT:204,NON_AUTHORITATIVE_INFORMATION:203,NOT_ACCEPTABLE:406,NOT_FOUND:404,NOT_IMPLEMENTED:501,NOT_MODIFIED:304,OK:200,PARTIAL_CONTENT:206,PAYMENT_REQUIRED:402,PERMANENT_REDIRECT:308,PRECONDITION_FAILED:412,PRECONDITION_REQUIRED:428,PROCESSING:102,PROXY_AUTHENTICATION_REQUIRED:407,REQUEST_HEADER_FIELDS_TOO_LARGE:431,REQUEST_TIMEOUT:408,REQUEST_TOO_LONG:413,REQUEST_URI_TOO_LONG:414,REQUESTED_RANGE_NOT_SATISFIABLE:416,RESET_CONTENT:205,SEE_OTHER:303,SERVICE_UNAVAILABLE:503,SWITCHING_PROTOCOLS:101,TEMPORARY_REDIRECT:307,TOO_MANY_REQUESTS:429,UNAUTHORIZED:401,UNPROCESSABLE_ENTITY:422,UNSUPPORTED_MEDIA_TYPE:415,USE_PROXY:305}),{getStatusCode:function mw(n){var d=bE[n];if(!d)throw new Error("Reason phrase does not exist: "+n);return d},getStatusText:function hw(n){var d=pw[n.toString()];if(!d)throw new Error("Status code does not exist: "+n);return d}}),TA=n=>({fieldError:n}),fw=n=>({disabled:n});function xg(n,d){if(1&n&&(e.j41(0,"h1",6)(1,"span",7),e.EFF(2),e.nI1(3,"translate"),e.j41(4,"span",8),e.EFF(5),e.k0s()()()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",e.bMT(3,4,"workingAs")," "),e.R7$(3),e.E5c(" ",t.userInfo.onBehalfFirstName," ",t.userInfo.onBehalfLastName," (",t.userInfo.onBehalfEmplNumber,") ")}}function vE(n,d){if(1&n&&(e.j41(0,"div")(1,"h2",9),e.EFF(2),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.Lme("",t.leaveReason," (#",t.leaveRequestId,")")}}function Rc(n,d){if(1&n&&(e.j41(0,"div")(1,"h2",10),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.Lme("",e.bMT(3,2,"workplaceAccommodationDetails")," (#",t.workplaceAccommodationId,")")}}function yE(n,d){if(1&n&&(e.j41(0,"div"),e.DNE(1,xg,6,6,"h1",5)(2,vE,3,2,"div",0)(3,Rc,4,4,"div",0),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.userInfo.wob),e.R7$(),e.Y8G("ngIf",t.leaveRequestId&&t.leaveReason),e.R7$(),e.Y8G("ngIf",t.workplaceAccommodationId)}}function _w(n,d){1&n&&(e.j41(0,"h1",11),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.JRh(e.bMT(2,1,"rac.header")))}function EE(n,d){1&n&&(e.j41(0,"div",27)(1,"span",28)(2,"span",29),e.EFF(3),e.nI1(4,"translate"),e.k0s()()()),2&n&&(e.R7$(3),e.SpI(" ",e.bMT(4,1,"rac.validation.comments.required"),""))}function TE(n,d){if(1&n&&(e.j41(0,"div",27),e.DNE(1,EE,5,3,"div",19),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",null==t.f.comments.errors?null:t.f.comments.errors.required)}}function gw(n,d){1&n&&(e.j41(0,"div",27),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"rac.validation.comments.maxLength")," "))}function Ng(n,d){if(1&n){const t=e.RV6();e.qex(0),e.nrm(1,"input",30),e.nI1(2,"translate"),e.j41(3,"input",31),e.nI1(4,"translate"),e.bIt("change",function(r){e.eBV(t);const u=e.XpG(2);return e.Njj(u.fileUpload(r))}),e.k0s(),e.bVm()}2&n&&(e.R7$(),e.FS9("value",e.bMT(2,2,"submitDocument.browse")),e.R7$(2),e.FS9("placeholder",e.bMT(4,4,"submitDocument.browse")))}function IA(n,d){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"div",34)(2,"span",35),e.EFF(3),e.k0s()(),e.j41(4,"div",36)(5,"button",37),e.bIt("click",function(){const r=e.eBV(t).index,u=e.XpG(3);return e.Njj(u.removeFile(r))}),e.EFF(6," Remove "),e.k0s()(),e.bVm()}if(2&n){const t=d.$implicit;e.R7$(3),e.JRh(t.name)}}function bw(n,d){if(1&n&&(e.qex(0),e.j41(1,"div",32),e.DNE(2,IA,7,1,"ng-container",33),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(2),e.Y8G("ngForOf",t.files)}}function IE(n,d){1&n&&(e.j41(0,"div",38)(1,"span",39),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"rac.collectionSizeErr"),""))}function vw(n,d){if(1&n&&(e.j41(0,"div",40)(1,"span",41),e.EFF(2),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",t.pdfErrorMsg," ")}}function yw(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",12)(1,"div",13),e.nrm(2,"span",14),e.k0s(),e.j41(3,"form",15)(4,"div",16)(5,"label",17),e.EFF(6),e.nI1(7,"translate"),e.k0s(),e.nrm(8,"textarea",18),e.DNE(9,TE,2,1,"div",19)(10,gw,3,3,"div",19),e.k0s(),e.j41(11,"div",16)(12,"div")(13,"label",20),e.EFF(14),e.nI1(15,"translate"),e.k0s()(),e.j41(16,"div",21),e.DNE(17,Ng,5,6,"ng-container",0),e.k0s(),e.DNE(18,bw,3,1,"ng-container",0)(19,IE,4,3,"div",22),e.k0s(),e.DNE(20,vw,3,1,"div",23),e.j41(21,"div",24)(22,"
1input",25),e.nI1(23,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.goBack())}),e.k0s(),e.j41(24,"input",26),e.nI1(25,"translate"),e.nI1(26,"async"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.submit())}),e.k0s()()()()}if(2&n){const t=e.XpG();e.R7$(2),e.Y8G("innerHTML",t.showingOfRequestCoachingText,e.npT),e.R7$(),e.Y8G("formGroup",t.requestAccommodationsCoachingForm),e.R7$(2),e.AVh("commentRequired",!(t.leaveRequestId||t.workplaceAccommodationId)),e.R7$(),e.JRh(e.bMT(7,17,"rac.comments")),e.R7$(2),e.Y8G("ngClass",e.eq3(27,TA,t.f.comments.touched&&t.f.comments.errors&&!(t.leaveRequestId||t.workplaceAccommodationId))),e.R7$(),e.Y8G("ngIf",t.f.comments.touched&&t.f.comments.errors&&!(t.leaveRequestId||t.workplaceAccommodationId)),e.R7$(),e.Y8G("ngIf",null==t.f.comments.errors?null:t.f.comments.errors.maxlength),e.R7$(4),e.JRh(e.bMT(15,19,"rac.Attachments")),e.R7$(3),e.Y8G("ngIf",t.files.length<10),e.R7$(),e.Y8G("ngIf",t.files.length),e.R7$(),e.Y8G("ngIf",t.files.length<10&&""===t.pdfErrorMsg),e.R7$(),e.Y8G("ngIf",t.pdfErrorMsg),e.R7$(2),e.FS9("value",e.bMT(23,21,"rac.back")),e.R7$(2),e.FS9("value",e.bMT(25,23,"rac.submit")),e.Y8G("ngClass",e.eq3(29,fw,t.isSubmitted))("disabled",null!==e.bMT(26,25,t.userService.portalPermission$))}}function DA(n,d){1&n&&(e.j41(0,"h1",42),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.JRh(e.bMT(2,1,"rac.header")))}function CA(n,d){1&n&&(e.j41(0,"span",48),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"rac.confirmation.text")," "))}function DE(n,d){1&n&&(e.j41(0,"div",49)(1,"span",50),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"rac.error.text")," "))}function CE(n,d){if(1&n){const t=e.RV6();e.j41(0,"div")(1,"div",43),e.DNE(2,CA,3,3,"span",44),e.k0s(),e.DNE(3,DE,4,3,"div",45),e.j41(4,"div",46)(5,"input",47),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.successReturn())}),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(2),e.Y8G("ngIf",t.isRacSuccessMessage),e.R7$(),e.Y8G("ngIf",t.isRacErrorMessage),e.R7$(2),e.FS9("value",t.successReturnButtonText)}}let Ew=(()=>{class n{constructor(t,i,r,u,v,V,Ce,it){this.formBuilder=t,this.translate=i,this.eventService=r,this.router=u,this.activatedRoute=v,this.location=V,this.requestCoachingService=Ce,this.userService=it,this.isRacConfirmation=!1,this.isRacSuccessMessage=!1,this.isRacErrorMessage=!1,this.pdfErrorMsg="",this.allowedFileTypes=["application/pdf","image/jpeg","image/jpg","image/gif","image/png","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/msword","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],this.files=[]}ngOnInit(){this.createForm(),this.activatedRoute.queryParams.subscribe(t=>{this.leaveRequestId=Number(t.leaveId),this.leaveReason=this.removeQuotes(String(t.leaveReason)),this.workplaceAccommodationId=Number(t.workplaceAccommodationId),this.wpaCondition=String(t.wpaCondition)}),this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)),this.domainResourcePath=se.z.getBaseResourcePath(),this.leaveReason&&this.leaveRequestId?(this.eventService.logEvent(p.sb.VIEW_REQUEST_COACHING,p.sb.USER_VIEWING_LEAVE_REQUEST_COACHING_MSG,this.leaveRequestId.toString()),this.showingOfRequestCoachingText=this.translate.instant("rac.leave.description")):this.workplaceAccommodationId?(this.eventService.logEvent(p.sb.VIEW_REQUEST_COACHING,p.sb.USER_VIEWING_WPA_REQUEST_COACHING_MSG,this.workplaceAccommodationId.toString()),this.showingOfRequestCoachingText=this.translate.instant("rac.wpa.description")):(this.showingOfRequestCoachingText=this.translate.instant("rac.account.description"),this.eventService.logEvent(p.sb.VIEW_REQUEST_COACHING,p.sb.USER_VIEWING_ACCOUNT_REQUEST_COACHING_MSG,this.userInfo.accountId.toString()))}goToDashboard(){this.router.navigateByUrl("mgr-dashboard")}createForm(){this.requestAccommodationsCoachingForm=this.formBuilder.group({comments:["",[ge.k0.maxLength(4e3)]],pdfFile:["",""]})}goBack(){this.leaveReason&&this.leaveRequestId||this.workplaceAccommodationId?this.location.back():this.router.navigateByUrl("mgr-dashboard")}successReturn(){this.location.back()}submit(){if(this.isSubmitted=!0,!this.validateComments())return void(this.isSubmitted=!1);if(!this.ValidateFiles())return void(this.isSubmitted=!1);const t=new jR;t.leaveReqId=this.leaveRequestId.toString(),t.leaveReason=this.leaveReason,t.wpaId=this.workplaceAccommodationId.toString(),t.wpaCondition=this.wpaCondition,t.files=this.files,t.comments=this.requestAccommodationsCoachingForm.get("comments").value,this.requestCoachingService.submitRequestCoaching(t,this.files).pipe((0,vs.W)(i=>(this.isSubmitted=!1,(0,ci.of)(i)))).subscribe(i=>{!0===i?(this.isRacSuccessMessage=!0,this.isRacConfirmation=!0):(!1===i||i.status===EA.BAD_REQUEST)&&(this.isRacConfirmation=!0,this.isRacErrorMessage=!0),this.isSubmitted=!1}),this.leaveReason&&this.leaveRequestId?(this.successReturnButtonText=this.translate.instant("rac.leave.successButtonText"),this.eventService.logEvent(p.sb.SUBMIT_REQUEST_COACHING,p.sb.USER_SUBMIT_LEAVE_REQUEST_COACHING_MSG,this.leaveRequestId.toString())):this.workplaceAccommodationId?(this.successReturnButtonText=this.translate.instant("rac.wpa.successButtonText"),this.eventService.logEvent(p.sb.SUBMIT_REQUEST_COACHING,p.sb.USER_SUBMIT_WPA_REQUEST_COACHING_MSG,this.workplaceAccommodationId.toString())):(this.successReturnButtonText=this.translate.instant("rac.account.successButtonText"),this.eventService.logEvent(p.sb.SUBMIT_REQUEST_COACHING,p.sb.USER_SUBMIT_ACCOUNT_REQUEST_COACHING_MSG,this.userInfo.accountId.toString()))}fileUpload(t){const i=t.target.files;let r=10-this.files.length;for(let u=0;u<i.length;u++)u<r&&this.files.push(i.item(u));this.ValidateFiles()}removeFile(t){this.pdfErrorMsg="",this.files.splice(t,1)}validateComments(){let t=!0;return this.leaveRequestId||this.workplaceAccommodationId?Object.keys(this.requestAccommodationsCoachingForm.controls).forEac
1h(i=>{this.requestAccommodationsCoachingForm.controls[i].markAsTouched(),this.requestAccommodationsCoachingForm.controls[i].errors&&this.requestAccommodationsCoachingForm.controls[i].errors.maxlength&&(t=!1)}):Object.keys(this.requestAccommodationsCoachingForm.controls).forEach(i=>{this.requestAccommodationsCoachingForm.controls[i].markAsTouched(),this.requestAccommodationsCoachingForm.controls[i].errors&&(t=!1)}),t}ValidateFiles(){this.pdfErrorMsg="";let i,t=!0;if(0==this.files.length)return t;let r=0,u=0;return this.files.forEach(v=>{if(r+=v.size,this.allowedFileTypes.includes(v.type)?v.size>2097152&&(t=!1,this.pdfErrorMsg=this.translate.instant("rac.singleSizeErr"),i=u):(t=!1,this.pdfErrorMsg=this.translate.instant("rac.fileTypeErr"),i=u),"application/pdf"===v.type){const V=new FileReader,Ce=this;V.readAsArrayBuffer(v),V.onload=function(){new Blob([V.result],{type:"application/json"}).text().then(At=>{At.substring(0,8).match(new RegExp("%PDF-1.[0-7]"))&&At.includes("%%EOF")?(At.includes("Encrypt")||At.substring(At.lastIndexOf("<<"),At.lastIndexOf(">>")).includes("/Encrypt"))&&(Ce.pdfErrorMsg=Ce.translate.instant("submitDocument.pdfEncrypted")):Ce.pdfErrorMsg=Ce.translate.instant("submitDocument.invalid")})}}u++}),this.files.length>1&&r>2097152&&(t=!1,this.pdfErrorMsg=this.translate.instant("rac.collectionSizeErr")),t}get f(){return this.requestAccommodationsCoachingForm.controls}removeQuotes(t){return t.replace(/["]+/g,"")}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(ge.ok),e.rXU(Y.c$),e.rXU(M.US),e.rXU(q.Ix),e.rXU(q.nX),e.rXU(ie.aZ),e.rXU(sE.F),e.rXU(M.DL))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-request-accommodations-coaching"]],decls:6,vars:5,consts:[[4,"ngIf"],[1,"card","card-padding"],["id","incidentalTitle","class","page-title",4,"ngIf"],["class","formPage container text-left",4,"ngIf"],["id","requestCoachingSummaryHeader",4,"ngIf"],["class","hoverable","id","wobAbsTitle",4,"ngIf"],["id","wobAbsTitle",1,"hoverable"],[1,"font-italic"],[1,"user-info-header"],["id","leaveReason"],["id","workplaceAccommodation"],["id","incidentalTitle",1,"page-title"],[1,"formPage","container","text-left"],[1,"introText","resetLeftMargin","resetTopMargin"],["id","racIntro",3,"innerHTML"],["id","requestAccommodationsCoachingForm","name","","novalidate","novalidate","enctype","multipart/form-data","method","post",1,"behalfForm",3,"formGroup"],[1,"form-inline","boxText","vertical"],["for","comments",1,"subLabel","commentRequired","resetLeftMargin"],["id","comments","rows","5","cols","15","formControlName","comments","required","",1,"label-spacing",2,"font-size","16px",3,"ngClass"],["class","validation-error",4,"ngIf"],["for","fileId",1,"subLabel","resetLeftMargin"],[1,"rac-file-input-wrapper"],["class","full-width notice-spacing",4,"ngIf"],["class","rf-msgs-err racMsgsErr",4,"ngIf"],[1,"formBtns","resetLeftMargin","buttons-margin"],["id","backButton","name","backButton","type","reset",1,"submit","secondary-btn",3,"click","value"],["type","submit","id","submitButton",1,"submit","primaryBtn","primary-btn",3,"click","value","ngClass","disabled"],[1,"validation-error"],[1,"rf-msgs-inf"],["id","errorMsg",1,"rf-msgs-err"],["type","button","onclick","document.getElementById('fileId').click()",1,"select-button","label-spacing","tab-outline",3,"value"],["type","file","id","fileId","formControlName","pdfFile","accept","application/pdf, image/jpeg, image/jpg, image/gif, image/png,\n                                  application/vnd.openxmlformats-officedocument.wordprocessingml.document,\n                                  application/msword, application/vnd.ms-excel,\n                                  application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","size","2mb","multiple","",2,"display","none",3,"change","placeholder"],[1,"rac-file-grid"],[4,"ngFor","ngForOf"],[1,"rac-file-item"],[1,"rac-file-name"],[1,"text-end"],[1,"remove-btn",3,"click"],[1,"full-width","notice-spacing"],["id","disclaimer",1,"subLabel","resetLeftMargin","rac-file-collectionSize-msg"],[1,"rf-msgs-err","racMsgsErr"],["id","pdfError",1,"rf-msgs-sum"],["id","requestCoachingSummaryHeader"],[1,"introText","resetLeftMargin"],["id","summaryspanSuccess",4,"ngIf"],["class","ErrorText",4,"ngIf"],[1,"centeredItems","topSpacing"],["id","successBackButton","
1name","returnButton","type","reset",1,"submit","primary-btn","primary-btn-long",3,"click","value"],["id","summaryspanSuccess"],[1,"ErrorText"],["id","summaryspanError"]],template:function(i,r){1&i&&(e.DNE(0,yE,4,3,"div",0),e.j41(1,"div",1),e.DNE(2,_w,3,3,"h1",2)(3,yw,27,31,"div",3)(4,DA,3,3,"h1",4)(5,CE,6,3,"div",0),e.k0s()),2&i&&(e.Y8G("ngIf",r.leaveRequestId&&r.leaveReason||r.workplaceAccommodationId),e.R7$(2),e.Y8G("ngIf",!r.isRacConfirmation),e.R7$(),e.Y8G("ngIf",!r.isRacConfirmation),e.R7$(),e.Y8G("ngIf",r.isRacConfirmation),e.R7$(),e.Y8G("ngIf",r.isRacConfirmation))},dependencies:[ie.YU,ie.Sq,ie.bT,ge.qT,ge.me,ge.BC,ge.cb,ge.YS,ge.j4,ge.JD,ie.Jj,Y.D9],styles:['.file-input-wrapper[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-right:30px}.outer-div[_ngcontent-%COMP%]{display:flex;align-items:center;flex-direction:row}.commentRequired[_ngcontent-%COMP%]:before{color:#070f36;content:"*";font-size:1.2em;font-weight:900;line-height:1;margin-right:2px}.rac-file-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:50% 50%;row-gap:15px;margin-top:20px;margin-left:20px;max-width:507px;.rac-file-name{align-items:start}.text-end{justify-content:end}}.centeredItems[_ngcontent-%COMP%]{text-align:center}.topSpacing[_ngcontent-%COMP%]{margin-top:30px}@media (max-width: 485px){.rac-file-grid[_ngcontent-%COMP%]{margin-left:0;grid-template-columns:50% 40%}.rac-file-item[_ngcontent-%COMP%], .rac-file-name[_ngcontent-%COMP%]{width:90%}.rac-remove-btn[_ngcontent-%COMP%]{width:40%}}#successBackButton[_ngcontent-%COMP%]{width:auto!important;min-width:280px;padding:0 30px}@media (max-width: 600px){#successBackButton[_ngcontent-%COMP%]{min-width:0;width:100%!important}}']})}}return n})(),Pm=(()=>{class n{constructor(t){this.createRequestService=t}resolve(t,i){return this.createRequestService.getUserSession()}static{this.\u0275fac=function(i){return new(i||n)(e.KVO(vi))}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac})}}return n})(),ME=(()=>{class n{constructor(t){this.createRequestService=t}resolve(t,i){return this.createRequestService.getWpaConditions()}static{this.\u0275fac=function(i){return new(i||n)(e.KVO(vi))}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac})}}return n})();var MA=I(4776);class SA{}var ts=I(658);let RA=(()=>{class n{constructor(t){this.eventService=t}getEventText(t){return t===p.YM.MAILING_ADDRESS&&sessionStorage.getItem("personalInfoChangeType")===p.YM.ADD?p.sb.ADD_MAILING_ADDRESS:t===p.YM.MAILING_ADDRESS&&sessionStorage.getItem("personalInfoChangeType")===p.YM.UPDATE?p.sb.UPDATE_MAILING_ADDRESS:t===p.YM.PHONE_NUMBER&&sessionStorage.getItem("personalInfoChangeType")===p.YM.ADD?p.sb.ADD_PRIMARY_PHONE:t===p.YM.PHONE_NUMBER&&sessionStorage.getItem("personalInfoChangeType")===p.YM.UPDATE?p.sb.UPDATE_PRIMARY_PHONE:t===p.YM.EMAIL_ADDRESS&&sessionStorage.getItem("personalInfoChangeType")===p.YM.ADD?p.sb.ADD_EMAIL_ADDRESS:t===p.YM.EMAIL_ADDRESS&&sessionStorage.getItem("personalInfoChangeType")===p.YM.UPDATE?p.sb.UPDATE_EMAIL_ADDRESS:void 0}logPageViewEvent(t,i){t===ts.Y.PERSONAL_INFORMATION_STEP?this.logViewAddWpaEvent(p.sb.VIEW_PERSONAL_INFORMATION,null):t===ts.Y.PERSONAL_MEDICAL_CONDITION_STEP?this.logPersonalMedicalConditionEvent(i):t===ts.Y.CONDITION_DETAILS_STEP?this.logConditionDetailsEvent(i):t===ts.Y.WPA_DETAILS_STEP?this.logWpaDetailsEvent(i):t===ts.Y.HCP_INFORMATION_PART_ONE_STEP?this.logHcpInformationPageOneEvent(i):t===ts.Y.HCP_INFORMATION_PART_TWO_STEP?this.logHcpInformationPageTwoEvent(i):t===ts.Y.REVIEW_REQUEST_STEP&&i===ts.Y.FORWARD_NAV&&this.eventService.logEvent(p.sb.ADDING_WPA_REQUEST_NEXT_NAVIGATION_STEP,p.sb.NAVIGATE_TO_STEP,p.sb.STEP_SEVEN_FINAL_REVIEW)}logViewAddWpaEvent(t,i){this.eventService.logEvent(p.sb.ADD_WPA_STEP_ONE,t,i)}logPersonalMedicalConditionEvent(t){t===ts.Y.FORWARD_NAV?(this.eventService.logEvent(p.sb.SUBMITTED_PAPERWORK_ACKNOWLEDGMENT,p.sb.USER_SUBMITTED_PAPERWORK_ACKNOWLEDGMENT,null),this.eventService.logEvent(p.sb.ADDING_WPA_REQUEST_NEXT_NAVIGATION_STEP,p.sb.NAVIGATE_TO_STEP,p.sb.STEP_TWO_CONDITION)):t===ts.Y.BACKWARD_NAV&&this.eventService.logEvent(p.sb.ADDING_WPA_REQUEST_PREVIOUS_NAVIGATION_STEP,p.sb.NAVIGATE_TO_PREVIOUS_STEP,p.sb.STEP_TWO_CONDITION)}
1logConditionDetailsEvent(t){t===ts.Y.FORWARD_NAV?this.eventService.logEvent(p.sb.ADDING_WPA_REQUEST_NEXT_NAVIGATION_STEP,p.sb.NAVIGATE_TO_STEP,p.sb.STEP_THREE_CONDITION_DETAILS):t===ts.Y.BACKWARD_NAV&&this.eventService.logEvent(p.sb.ADDING_WPA_REQUEST_PREVIOUS_NAVIGATION_STEP,p.sb.NAVIGATE_TO_PREVIOUS_STEP,p.sb.STEP_THREE_CONDITION_DETAILS)}logWpaDetailsEvent(t){t===ts.Y.FORWARD_NAV?this.eventService.logEvent(p.sb.ADDING_WPA_REQUEST_NEXT_NAVIGATION_STEP,p.sb.NAVIGATE_TO_STEP,p.sb.STEP_FOUR_WORKPLACE_ACCOMMODATION_DETAILS):t===ts.Y.BACKWARD_NAV&&this.eventService.logEvent(p.sb.ADDING_WPA_REQUEST_PREVIOUS_NAVIGATION_STEP,p.sb.NAVIGATE_TO_PREVIOUS_STEP,p.sb.STEP_FOUR_WORKPLACE_ACCOMMODATION_DETAILS)}logHcpInformationPageOneEvent(t){t===ts.Y.FORWARD_NAV?this.eventService.logEvent(p.sb.ADDING_WPA_REQUEST_NEXT_NAVIGATION_STEP,p.sb.NAVIGATE_TO_STEP,p.sb.STEP_FIVE_HCP_DETAILS_PART_ONE):t===ts.Y.BACKWARD_NAV&&this.eventService.logEvent(p.sb.ADDING_WPA_REQUEST_PREVIOUS_NAVIGATION_STEP,p.sb.NAVIGATE_TO_PREVIOUS_STEP,p.sb.STEP_FIVE_HCP_DETAILS_PART_ONE)}logHcpInformationPageTwoEvent(t){t===ts.Y.FORWARD_NAV?this.eventService.logEvent(p.sb.ADDING_WPA_REQUEST_NEXT_NAVIGATION_STEP,p.sb.NAVIGATE_TO_STEP,p.sb.STEP_SIX_HCP_DETAILS_PART_TWO):t===ts.Y.BACKWARD_NAV&&this.eventService.logEvent(p.sb.ADDING_WPA_REQUEST_PREVIOUS_NAVIGATION_STEP,p.sb.NAVIGATE_TO_PREVIOUS_STEP,p.sb.STEP_SIX_HCP_DETAILS_PART_TWO)}static{this.\u0275fac=function(i){return new(i||n)(e.KVO(M.US))}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var SE=I(2106);const jm=["flexContainer"],Tw=["otherConditionTile"],Iw=["blocks"],$p=n=>({value:n}),ga=n=>({"input-error":n}),Og=(n,d)=>({"leave-condition-block":n,"leave-condition-block-clicked":d}),Fg=n=>({required:n}),ba=()=>["wpaDecisions",0],RE=n=>({hostName:n});function Lg(n,d){if(1&n&&(e.j41(0,"div",14)(1,"h1")(2,"span"),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"span",15),e.EFF(6),e.k0s()()()),2&n){const t=e.XpG();e.R7$(3),e.SpI(" ",e.bMT(4,4,"workingAs"),""),e.R7$(3),e.E5c(" ",t.userSession.behalfOfUserSession.firstName," ",t.userSession.behalfOfUserSession.lastName," (",t.userSession.behalfOfUserSession.employeeNumber,")")}}function Pg(n,d){if(1&n&&(e.j41(0,"div")(1,"span",42),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.nrm(4,"br")(5,"br"),e.k0s()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,1,t.beginRequestError))}}function Bm(n,d){if(1&n&&(e.j41(0,"div",21)(1,"span",43),e.EFF(2),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",t.primaryPhoneDisplay," ")}}function wA(n,d){if(1&n){const t=e.RV6();e.j41(0,"a",47),e.bIt("click",function(){e.eBV(t);const r=e.XpG(3);return r.setFeatureEvent(r.Constants.PHONE_NUMBER,!0),e.Njj(r.saveChangeType(r.Constants.ADD,r.EventConstants.ADD_PRIMARY_PHONE,r.EventConstants.VIEW_PRIMARY_PHONE))})("keydown.enter",function(r){return e.eBV(t),r.preventDefault(),e.Njj(r.target.click())}),e.EFF(1),e.nI1(2,"translate"),e.k0s()}2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"addPhone")," "))}function kA(n,d){if(1&n){const t=e.RV6();e.j41(0,"a",48),e.bIt("click",function(){e.eBV(t);const r=e.XpG(3);return r.setFeatureEvent(r.Constants.PHONE_NUMBER,!1),e.Njj(r.saveChangeType(r.Constants.UPDATE,r.EventConstants.UPDATE_PRIMARY_PHONE,r.EventConstants.VIEW_PRIMARY_PHONE))})("keydown.enter",function(r){return e.eBV(t),r.preventDefault(),e.Njj(r.target.click())}),e.EFF(1),e.nI1(2,"translate"),e.k0s()}2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"updatePhone")," "))}function AA(n,d){if(1&n&&(e.j41(0,"div",44),e.DNE(1,wA,3,3,"a",45)(2,kA,3,3,"a",46),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.primaryPhoneDisplay),e.R7$(),e.Y8G("ngIf",t.primaryPhoneDisplay&&!t.isWob())}}function wE(n,d){if(1&n&&(e.j41(0,"div",21)(1,"div",49)(2,"p",50),e.EFF(3),e.k0s(),e.j41(4,"p",51),e.EFF(5),e.k0s(),e.j41(6,"p",52),e.EFF(7),e.k0s(),e.j41(8,"p",53),e.EFF(9),e.k0s()()()),2&n){const t=e.XpG(2);e.R7$(3),e.JRh(t.oldAddress.street1),e.R7$(2),e.JRh(t.oldAddress.street2),e.R7$(2),e.E5c("",t.oldAddress.city,", ",t.oldAddress.stateAbbreviation," ",t.oldAddress.zipCode,""),e.R7$(2),e.JRh(t.oldAddress.countryNameEng)}}function Dw(n,d){if(1&n){const t=e.RV6();e.j41(0,"a",56),e.bIt("click",function(){e.eBV(t);const r=e.XpG(3);return r.decrementStep(r.Constants.MAILING_ADDRESS),e.Njj(r.saveChangeType(r.Constants.ADD,r.EventC
1onstants.ADD_MAILING_ADDRESS,r.EventConstants.VIEW_MAILING_ADDRESS))})("keydown.enter",function(r){return e.eBV(t),r.preventDefault(),e.Njj(r.target.click())}),e.EFF(1),e.nI1(2,"translate"),e.k0s()}2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"addAddress")," "))}function Cw(n,d){if(1&n){const t=e.RV6();e.j41(0,"a",57),e.bIt("click",function(){e.eBV(t);const r=e.XpG(3);return r.decrementStep(r.Constants.MAILING_ADDRESS),e.Njj(r.saveChangeType(r.Constants.UPDATE,r.EventConstants.UPDATE_MAILING_ADDRESS,r.EventConstants.VIEW_MAILING_ADDRESS))})("keydown.enter",function(r){return e.eBV(t),r.preventDefault(),e.Njj(r.target.click())}),e.EFF(1),e.nI1(2,"translate"),e.k0s()}2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"updateAddress")," "))}function Mw(n,d){if(1&n&&(e.j41(0,"div",44),e.DNE(1,Dw,3,3,"a",54)(2,Cw,3,3,"a",55),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.oldAddress||!t.oldAddress.street1),e.R7$(),e.Y8G("ngIf",t.oldAddress&&t.oldAddress.street1&&!t.isWob())}}function Sw(n,d){if(1&n&&(e.j41(0,"div",21)(1,"span",58),e.EFF(2),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",t.userSession.behalfOfUserSession.primaryEmail,"")}}function kE(n,d){if(1&n){const t=e.RV6();e.j41(0,"a",61),e.bIt("click",function(){e.eBV(t);const r=e.XpG(3);return r.decrementStep(r.Constants.EMAIL_ADDRESS),e.Njj(r.saveChangeType(r.Constants.ADD,r.EventConstants.ADD_EMAIL_ADDRESS,r.EventConstants.VIEW_EMAIL_ADDRESS))})("keydown.enter",function(r){return e.eBV(t),r.preventDefault(),e.Njj(r.target.click())}),e.EFF(1),e.nI1(2,"translate"),e.k0s()}2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"addEmailAddress")," "))}function AE(n,d){if(1&n){const t=e.RV6();e.j41(0,"a",62),e.bIt("click",function(){e.eBV(t);const r=e.XpG(3);return r.decrementStep(r.Constants.EMAIL_ADDRESS),e.Njj(r.saveChangeType(r.Constants.UPDATE,r.EventConstants.UPDATE_EMAIL_ADDRESS,r.EventConstants.VIEW_EMAIL_ADDRESS))})("keydown.enter",function(r){return e.eBV(t),r.preventDefault(),e.Njj(r.target.click())}),e.EFF(1),e.nI1(2,"translate"),e.k0s()}2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"updateEmail")," "))}function xE(n,d){if(1&n&&(e.j41(0,"div",44),e.DNE(1,kE,3,3,"a",59)(2,AE,3,3,"a",60),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.userSession.behalfOfUserSession.primaryEmail),e.R7$(),e.Y8G("ngIf",t.userSession.behalfOfUserSession.primaryEmail&&!t.isWob())}}function Rw(n,d){1&n&&(e.j41(0,"span",63),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"personalInformation.validation.emailOnly")," "))}function ww(n,d){1&n&&(e.j41(0,"span",64),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"personalInformation.validation.postalOnly")," "))}function NE(n,d){if(1&n){const t=e.RV6();e.j41(0,"span",65)(1,"p")(2,"span",66)(3,"input",67),e.bIt("change",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.persistPersonalInfoDisclaimerInCaseOfRefresh())})("keydown.enter",function(r){e.eBV(t);const u=e.XpG(2);return r.preventDefault(),e.Njj(u.persistPersonalInfoDisclaimerInCaseOfRefresh())}),e.k0s(),e.j41(4,"label",68),e.EFF(5),e.nI1(6,"translate"),e.k0s()()(),e.j41(7,"ul",69)(8,"li")(9,"label",70),e.EFF(10),e.nI1(11,"translate"),e.k0s()(),e.j41(12,"li")(13,"label",70),e.EFF(14),e.nI1(15,"translate"),e.k0s()(),e.j41(16,"li")(17,"label",70),e.EFF(18),e.nI1(19,"translate"),e.k0s()()(),e.nrm(20,"p"),e.k0s()}if(2&n){const t=e.XpG(2);e.R7$(3),e.Y8G("checked",t.personalInfoDisclaimer),e.R7$(2),e.SpI(" ",e.bMT(6,5,"personalInformation.disclaimer.iUnderstand")," "),e.R7$(5),e.SpI(" ",e.bMT(11,7,"personalInformation.disclaimer.point1")," "),e.R7$(4),e.SpI(" ",e.bMT(15,9,"personalInformation.disclaimer.point2")," "),e.R7$(4),e.SpI(" ",e.i5U(19,11,"personalInformation.disclaimer.point3",e.eq3(14,$p,t.Constants.ABSENCE_RESOURCES))," ")}}function jg(n,d){1&n&&(e.j41(0,"div",71)(1,"span"),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"personalInformation.disclaimer.wobDescription")," "))}function xA(n,d){if(1&n){const t=e.RV6();e.j41(0,"div")(1,"h1",16),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.DNE(4,Pg,6,3,"div",12),e.j41(5,"form",17)(6,"span",18),e.EFF(7),e.nI1(8,"translate"),e.k0s(),e.j41(9,"span",19)(10,"span",20),e.EFF(11),e.nI1(12,"translate"),e.k0s(),e.j41(13,"div",21)(14,"span",22),e.EFF(15),e.k0s()()(),e.j41(16,"span",23)(17,"span",24),e.EFF(18),e.nI1(19,"translate"),e.k0s(),e.j41(20,"div",21)(21,"span",25),e.EFF(22),e.k0s()()(),e.j41(23,"span",23)(24,"span",26),e.EFF(25),e.nI1(26,"translate"),e.k0s(),e.DNE(27,Bm,3,1,"div",27)(28,AA,3,2,"div",28),e.nI1(29,"async"),e.k0s(),e.j41(30,"span",23)(31,"span",29),e.EFF(32),e.nI1(33,"translate"),e.k0s(),e.DNE(34,wE,10,6,"div",27)(35,Mw,3,2,"div",28),e.nI1(36,"async"),e.k0s(),e.j41(37,"span",23)(38,"span",30),e.EFF(39),e.nI1(40,"translate"),e.k0s(),e.DNE(41,Sw,3,1,"div",27)(42,xE,3,2,"div",28),e.nI1(43,"async"),e.k0s(),e.j41(44,"span",23),e.nrm(45,"br"),e.j41(46,"span",31),e.EFF(47),e.nI1(48,"translate"),e.k0s(),e.j41(49,"div",32)(50,"select",33),e.nI1(51,"async"),e.mxI("ngModelChange",function(r){e.eBV(t);const u=e.XpG();return e.DH7(u.distributionPreferenceId,r)||(u.distributionPreferenceId=r),e.Njj(r)}),e.bIt("change",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.persistDistributionPreferenceIdInCaseOfRefresh())}),e.j41(52,"option",34),e.EFF(53),e.nI1(54,"translate"),e.k0s(),e.j41(55,"option",35),e.EFF(56),e.nI1(57,"translate"),e.k0s(),e.j41(58,"option",35),e.EFF(59),e.nI1(60,"translate"),e.k0s()(),e.DNE(61,Rw,3,3,"span",36)(62,ww,3,3,"span",37),e.k0s()(),e.DNE(63,NE,21,16,"span",38)(64,jg,4,3,"ng-template",null,0,e.C5r),e.k0s(),e.j41(66,"div",39)(67,"input",40),e.nI1(68,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.incrementStep())}),e.k0s(),e.j41(69,"input",41),e.nI1(70,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.back())}),e.k0s()()()}if(2&n){const t=e.sdS(65),i=e.XpG();e.R7$(2),e.JRh(e.bMT(3,34,"wpa.flowTitle")),e.R7$(2),e.Y8G("ngIf",i.beginRequestError),e.R7$(3),e.JRh(e.bMT(8,36,"personalInformation.intro")),e.R7$(4),e.JRh(e.bMT(12,38,"profile.name")),e.R7$(4),e.Lme(" ",i.userSession.behalfOfUserSession.firstName," ",i.userSession.behalfOfUserSession.lastName," "),e.R7$(3),e.JRh(e.bMT(19,40,"employeeNumber")),e.R7$(4),e.SpI(" ",i.userSession.behalfOfUserSession.employeeNumber," "),e.R7$(3),e.JRh(e.bMT(26,42,"primaryPhoneNumber")),e.R7$(2),e.Y8G("ngIf",i.primaryPhoneDisplay),e.R7$(),e.Y8G("ngIf",e.bMT(29,44,i.userService.portalPermission$)!==i.PortalPermission.ClickThru),e.R7$(4),e.JRh(e.bMT(33,46,"mailingAddress")),e.R7$(2),e.Y8G("ngIf",i.oldAddress&&i.oldAddress.street1),e.R7$(),e.Y8G("ngIf",e.bMT(36,48,i.userService.portalPermission$)!==i.PortalPermission.ClickThru),e.R7$(4),e.JRh(e.bMT(40,50,"personalEmailAddress")),e.R7$(2),e.Y8G("ngIf",i.userSession.behalfOfUserSession.primaryEmail),e.R7$(),e.Y8G("ngIf",e.bMT(43,52,i.userService.portalPermission$)!==i.PortalPermission.ClickThru),e.R7$(5),e.JRh(e.bMT(48,54,"personalInformation.wpa.contactUsBy")),e.R7$(3),e.R50("ngModel",i.distributionPreferenceId),e.Y8G("disabled",e.bMT(51,56,i.userService.portalPermission$)===i.PortalPermission.ClickThru),e.R7$(2),e.Y8G("ngValue",i.Constants.SENDMYCORRESPONDENCEBY_EMAIL_ONLY),e.R7$(),e.JRh(e.bMT(54,58,"profile.phone.correspondence343")),e.R7$(2),e.Y8G("ngValue",i.Constants.SENDMYCORRESPONDENCEBY_POSTAL_ONLY),e.R7$(),e.JRh(e.bMT(57,60,"profile.phone.correspondence342")),e.R7$(2),e.Y8G("ngValue",i.Constants.SENDMYCORRESPONDENCEBY_BOTH_POSTAL_AND_EMAIL),e.R7$(),e.JRh(e.bMT(60,62,"profile.phone.correspondence344")),e.R7$(2),e.Y8G("ngIf",i.distributionPreferenceId===i.Constants.SENDMYCORRESPONDENCEBY_EMAIL_ONLY),e.R7$(),e.Y8G("ngIf",i.distributionPreferenceId===i.Constants.SENDMYCORRESPONDENCEBY_POSTAL_ONLY||i.distributionPreferenceId===i.Constants.SENDMYCORRESPONDENCEBY_BOTH_POSTAL_AND_EMAIL),e.R7$(),e.Y8G("ngIf",!i.isWob())("ngIfElse",t),e.R7$(4),e.FS9("value",e.bMT(68,64,"continue")),e.Y8G("ngClass",!i.personalInfoDisclaimer&&!i.isWob()||i.beginRequestError?"disabled":"submit primaryBtn primaryContinue")("disabled",!i.personalInfoDisclaimer&&!i.isWob()||i.beginRequestError),e.R7$(2),e.FS9("value",e.bMT(70,66,"back"))}}function OE(n,d){if(1&n&&(e.j41(0,"div")(1,"span",42),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.nrm(4,"br")(5,"br"),e.k0s()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,1,t.wpaValidationErrors.updateError))}}function Bg(n,d){1&n&&(e.j41(0,"div")(1,"span",77),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.nrm(4,"br")(5,"br"),e.k0s()),2&n&&(e.R7$(2),e.JRh(e.bMT(3,1,"updatePhone.success")))}function kw(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",79)(1,"label",80),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.nrm(4,"input",81),e.j41(5,"fieldset",82)(6,"legend",83),e.EFF(7),e.nI1(8,"translate"),e.k0s(),e.j41(9,"span",84)(10,"input",85),e.bIt("change",function(){e.eBV(t);const r=e.XpG().$implicit;return e.Njj(r.primaryNumber=!r.primaryNumber)}),e.k0s(),e.j41(11,"label",86),e.EFF(12),e.nI1(13,"translate"),e.k0s()()()()}
1if(2&n){const t=e.XpG(),i=t.$implicit,r=t.index;e.R7$(),e.Mz_("for","homePhone-",r,""),e.R7$(),e.SpI(" ",e.bMT(3,13,"updatePhone.homePhone")," "),e.R7$(2),e.Mz_("id","homePhone-",r,""),e.Y8G("placeholder",i.phDisplay),e.R7$(3),e.JRh(e.bMT(8,15,"updatePhone.homeOptions")),e.R7$(3),e.Mz_("id","homePrimary-",r,""),e.Y8G("checked",i.primaryNumber),e.R7$(),e.Mz_("for","homePrimary-",r,""),e.R7$(),e.SpI(" ",e.bMT(13,17,"updatePhone.primary"),"")}}function Aw(n,d){if(1&n&&(e.j41(0,"div"),e.DNE(1,kw,14,19,"div",78),e.k0s()),2&n){const t=d.$implicit,i=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.phoneTypeId===i.Constants.HOME_PHONE_TYPE&&t.phoneNumber)}}function NA(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",88)(1,"label",80),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"input",89),e.bIt("click",function(){e.eBV(t);const r=e.XpG(3);return e.Njj(r.clearErrors())})("input",function(r){e.eBV(t);const u=e.XpG().$implicit;return e.Njj(u.phDisplay=r.target.value)}),e.k0s(),e.j41(5,"fieldset",82)(6,"legend",83),e.EFF(7),e.nI1(8,"translate"),e.k0s(),e.j41(9,"span",84)(10,"input",90),e.bIt("change",function(){e.eBV(t);const r=e.XpG().$implicit;return e.Njj(r.primaryNumber=!r.primaryNumber)}),e.k0s(),e.j41(11,"label",86),e.EFF(12),e.nI1(13,"translate"),e.k0s()(),e.j41(14,"span",84)(15,"input",91),e.bIt("change",function(){e.eBV(t);const r=e.XpG().$implicit;return e.Njj(r.allowText=!r.allowText)}),e.k0s(),e.j41(16,"label",86),e.EFF(17),e.nI1(18,"translate"),e.k0s()()()()}if(2&n){const t=e.XpG(),i=t.$implicit,r=t.index,u=e.XpG(2);e.R7$(),e.Mz_("for","mobilePhone-",r,""),e.R7$(),e.JRh(e.bMT(3,20,"profile.mobile")),e.R7$(2),e.Mz_("id","mobilePhone-",r,""),e.Y8G("ngClass",e.eq3(28,ga,u.updateInfoValidationErrors.mobilePhoneError))("value",i.phDisplay),e.R7$(3),e.JRh(e.bMT(8,22,"updatePhone.mobileOptions")),e.R7$(3),e.Mz_("id","mobilePrimary-",r,""),e.Y8G("checked",i.primaryNumber),e.R7$(),e.Mz_("for","mobilePrimary-",r,""),e.R7$(),e.SpI(" ",e.bMT(13,24,"updatePhone.primary"),""),e.R7$(3),e.Mz_("id","allowText-",r,""),e.Y8G("checked",i.allowText),e.R7$(),e.Mz_("for","allowText-",r,""),e.R7$(),e.SpI(" ",e.bMT(18,26,"profile.phone.allowTextNotification"),"")}}function OA(n,d){if(1&n&&(e.j41(0,"div"),e.DNE(1,NA,19,30,"div",87),e.k0s()),2&n){const t=d.$implicit,i=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.phoneTypeId===i.Constants.MOBILE_PHONE_TYPE)}}function xw(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",11)(1,"h1",16),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div",72),e.DNE(5,OE,6,3,"div",12)(6,Bg,6,3,"div",12),e.j41(7,"div")(8,"p",73),e.EFF(9),e.nI1(10,"translate"),e.k0s()(),e.nrm(11,"br"),e.j41(12,"form")(13,"div",23),e.DNE(14,Aw,2,1,"div",74),e.k0s(),e.j41(15,"div",23),e.DNE(16,OA,2,1,"div",74),e.k0s(),e.j41(17,"div",39)(18,"input",75),e.nI1(19,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.UpdatePhoneNumbers())}),e.k0s(),e.j41(20,"input",76),e.nI1(21,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.incrementStep())}),e.k0s()()()()()}if(2&n){const t=e.XpG();e.R7$(2),e.JRh(e.bMT(3,8,"updatePhone.pageTitle")),e.R7$(3),e.Y8G("ngIf",t.wpaValidationErrors.updateError),e.R7$(),e.Y8G("ngIf",t.successfullyUpdatedPersInfo&&!t.wpaValidationErrors.updateError),e.R7$(3),e.SpI(" ",e.i5U(10,10,"updatePhone.details",e.eq3(17,$p,t.Constants.ABSENCE_RESOURCES))," "),e.R7$(5),e.Y8G("ngForOf",t.newPhones),e.R7$(2),e.Y8G("ngForOf",t.newPhones),e.R7$(2),e.FS9("value",e.bMT(19,13,"submit")),e.R7$(2),e.FS9("value",e.bMT(21,15,"back"))}}function Nw(n,d){if(1&n&&(e.j41(0,"div")(1,"span",42),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.nrm(4,"br")(5,"br"),e.k0s()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,1,t.wpaValidationErrors.updateError))}}function FA(n,d){1&n&&(e.j41(0,"div")(1,"span",77),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.nrm(4,"br")(5,"br"),e.k0s()),2&n&&(e.R7$(2),e.JRh(e.bMT(3,1,"updateAddress.success")))}function Qr(n,d){1&n&&(e.j41(0,"option",113),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.Y8G("value",null),e.R7$(),e.SpI(" ",e.bMT(2,2,"partialLeaveDecision.pleaseSelect"),""))}function Up(n,d){1&n&&(e.j41(0,"option",113),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.Y8G("value",null),e.R7$(),e.SpI(" ",e.bMT(2,2,"profile.state"),""))}function Ym(n,d){if(1&n&&(e.j41(0,"option",114),e.EFF(1),e.k0s()),2&n){const t=d.$implicit,i=e.XpG(2);e.Y8G("value",t.id),e.R7$(),e.SpI(" ",0===i.localeId?t.displayValueEng:t.displayValueEsp," ")}}function $m(n,d){if(1&n&&(e.j41(0,"option",115),e.EFF(1),e.k0s()),2&n){const t=d.$implicit,i=e.XpG(2);e.Y8G("value",t.id),e.R7$(),e.SpI(" ",0===i.localeId?t.displayValueEng:t.displayValueEsp," ")}}function FE(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",11)(1,"h1",16),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div")(5,"p",92),e.EFF(6),e.nI1(7,"translate"),e.k0s()(),e.DNE(8,Nw,6,3,"div",12)(9,FA,6,3,"div",12),e.j41(10,"form")(11,"div",93)(12,"label",94),e.EFF(13),e.nI1(14,"translate"),e.k0s(),e.j41(15,"input",95),e.mxI("ngModelChange",function(r){e.eBV(t);const u=e.XpG();return e.DH7(u.newAddress.street1,r)||(u.newAddress.street1=r),e.Njj(r)}),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.clearErrors())}),e.k0s()(),e.j41(16,"div",93)(17,"label",96),e.EFF(18),e.nI1(19,"translate"),e.k0s(),e.j41(20,"input",97),e.mxI("ngModelChange",function(r){e.eBV(t);const u=e.XpG();return e.DH7(u.newAddress.street2,r)||(u.newAddress.street2=r),e.Njj(r)}
1),e.k0s()(),e.j41(21,"div",98)(22,"label",99),e.EFF(23),e.nI1(24,"translate"),e.k0s(),e.j41(25,"input",100),e.mxI("ngModelChange",function(r){e.eBV(t);const u=e.XpG();return e.DH7(u.newAddress.city,r)||(u.newAddress.city=r),e.Njj(r)}),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.clearErrors())}),e.k0s()(),e.j41(26,"div",101)(27,"label",102),e.EFF(28),e.nI1(29,"translate"),e.k0s(),e.j41(30,"select",103),e.mxI("ngModelChange",function(r){e.eBV(t);const u=e.XpG();return e.DH7(u.newAddress.stateID,r)||(u.newAddress.stateID=r),e.Njj(r)}),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.clearErrors())}),e.DNE(31,Qr,3,4,"option",104)(32,Up,3,4,"option",104)(33,Ym,2,2,"option",105),e.k0s()(),e.j41(34,"div",98)(35,"label",106),e.EFF(36),e.nI1(37,"translate"),e.k0s(),e.j41(38,"input",107),e.mxI("ngModelChange",function(r){e.eBV(t);const u=e.XpG();return e.DH7(u.newAddress.zipCode,r)||(u.newAddress.zipCode=r),e.Njj(r)}),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.clearErrors())}),e.k0s()(),e.j41(39,"div",108)(40,"label",109),e.EFF(41),e.nI1(42,"translate"),e.k0s(),e.j41(43,"select",110),e.mxI("ngModelChange",function(r){e.eBV(t);const u=e.XpG();return e.DH7(u.newAddress.countryID,r)||(u.newAddress.countryID=r),e.Njj(r)}),e.bIt("ngModelChange",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.updateFilteredStates(r.newAddress.countryID))})("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.clearErrors())}),e.j41(44,"option",111),e.EFF(45),e.nI1(46,"translate"),e.k0s(),e.DNE(47,$m,2,2,"option",112),e.k0s()(),e.j41(48,"div",39)(49,"input",75),e.nI1(50,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.updateAddress())}),e.k0s(),e.j41(51,"input",76),e.nI1(52,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.incrementStep())}),e.k0s()()()()}if(2&n){const t=e.XpG();e.R7$(2),e.SpI("",e.bMT(3,29,"updateAddress.pageTitle")," "),e.R7$(4),e.SpI(" ",e.i5U(7,31,"updateAddress.description",e.eq3(52,$p,t.Constants.ABSENCE_RESOURCES))," "),e.R7$(2),e.Y8G("ngIf",t.wpaValidationErrors.updateError),e.R7$(),e.Y8G("ngIf",t.successfullyUpdatedPersInfo&&!t.wpaValidationErrors.updateError),e.R7$(4),e.JRh(e.bMT(14,34,"profile.streetAdd1")),e.R7$(2),e.R50("ngModel",t.newAddress.street1),e.Y8G("ngClass",e.eq3(54,ga,t.updateInfoValidationErrors.streetError)),e.R7$(3),e.JRh(e.bMT(19,36,"profile.streetAdd2")),e.R7$(2),e.R50("ngModel",t.newAddress.street2),e.R7$(3),e.JRh(e.bMT(24,38,"profile.city")),e.R7$(2),e.R50("ngModel",t.newAddress.city),e.Y8G("ngClass",e.eq3(56,ga,t.updateInfoValidationErrors.cityError)),e.R7$(3),e.JRh(e.bMT(29,40,"profile.state")),e.R7$(2),e.R50("ngModel",t.newAddress.stateID),e.Y8G("ngClass",e.eq3(58,ga,t.updateInfoValidationErrors.stateError)),e.R7$(),e.Y8G("ngIf",t.filteredStates.length),e.R7$(),e.Y8G("ngIf",!t.filteredStates.length),e.R7$(),e.Y8G("ngForOf",t.filteredStates),e.R7$(3),e.JRh(e.bMT(37,42,"profile.zipCode")),e.R7$(2),e.R50("ngModel",t.newAddress.zipCode),e.Y8G("ngClass",e.eq3(60,ga,t.updateInfoValidationErrors.zipCodeError)),e.R7$(3),e.JRh(e.bMT(42,44,"profile.country")),e.R7$(2),e.R50("ngModel",t.newAddress.countryID),e.Y8G("ngClass",e.eq3(62,ga,t.updateInfoValidationErrors.countryError)),e.R7$(),e.Y8G("ngValue",null),e.R7$(),e.JRh(e.bMT(46,46,"partialLeaveDecision.pleaseSelect")),e.R7$(2),e.Y8G("ngForOf",t.countries),e.R7$(2),e.FS9("value",e.bMT(50,48,"submit")),e.R7$(2),e.FS9("value",e.bMT(52,50,"back"))}}function LA(n,d){if(1&n&&(e.j41(0,"div")(1,"span",42),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.nrm(4,"br")(5,"br"),e.k0s()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,1,t.wpaValidationErrors.updateError))}}function Ow(n,d){1&n&&(e.j41(0,"div")(1,"span",77),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.nrm(4,"br")(5,"br"),e.k0s()),2&n&&(e.R7$(2),e.JRh(e.bMT(3,1,"emailUpdate.success")))}function PA(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",11)(1,"h1",16),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.DNE(4,LA,6,3,"div",12)(5,Ow,6,3,"div",12),e.j41(6,"form")(7,"div",92),e.EFF(8),e.nI1(9,"translate"),e.k0s(),e.nrm(10,"br"),e.j41(11,"div",93)(12,"label",116),e.EFF(13),e.nI1(14,"translate"),e.k0s(),e.j41(15,"input",117),e.mxI("ngModelChange",function(r){e.eBV(t);const u=e.XpG();return e.DH7(u.primaryEmail,r)||(u.primaryEmail=r),e.Njj(r)}),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.clearErrors())}),e.k0s()(),e.j41(16,"div",93)(17,"label",118),e.EFF(18),e.nI1(19,"translate"),e.k0s(),e.j41(20,"input",119),e.mxI("ngModelChange",function(r){e.eBV(t);const u=e.XpG();return e.DH7(u.confirmedPrimaryEmail,r)||(u.confirmedPrimaryEmail=r),e.Njj(r)}),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.clearErrors())}),e.k0s()(),e.j41(21,"div",39)(22,"input",75),e.nI1(23,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.updateEmailAddress())}),e.k0s(),e.j41(24,"input",76),e.nI1(25,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.incrementStep())}),e.k0s()()()()}if(2&n){const t=e.XpG();e.R7$(2),e.JRh(e.bMT(3,12,"updateEmailAddress")),e.R7$(2),e.Y8G("ngIf",t.wpaValidationErrors.updateError),e.R7$(),e.Y8G("ngIf",t.successfullyUpdatedPersInfo&&!t.wpaValidationErrors.updateError),e.R7$(3),e.SpI(" ",e.i5U(9,14,"updateEmail.introText",e.eq3(25,$p,t.Constants.ABSENCE_RESOURCES))," "),e.R7$(5),e.SpI("",e.bMT(14,17,"contact.question.emailAddr"),": "),e.R7$(2),e.R50("ngModel",t.primaryEmail),e.Y8G("ngClass",e.eq3(27,ga,t.updateInfoValidationErrors.primaryEmailError)),e.R7$(3),e.SpI("",e.bMT(19,19,"updateEmail.confirmEmailAddress"),": "),e.R7$(2),e.R50("ngModel",t.confirmedPrimaryEmail),e.Y8G("ngClass",e.eq3(29,ga,t.updateInfoValidationErrors.confirmedPrimaryEmailError)),e.R7$(2),e.FS9("value",e.bMT(23,21,"submit")),e.R7$(2),e.FS9("value",e.bMT(25,23,"back"))}}function jA(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",126,3),e.bIt("click",function(){const r=e.eBV(t).$implicit,u=e.XpG(2);return e.Njj(u.setConditionCodeId(r.value))})("keydown.enter",function(r){return e.eBV(t),r.preventDefault(),e.Njj(r.target.click())}),e.j41(2,"span",124),e.EFF(3),e.k0s()()}if(2&n){const t=d.$implicit,i=d.index,r=e.XpG(2);e.FS9("id",i),e.Y8G("ngClass",e.l_i(3,Og,t.value!=r.submitWorkplaceAccommodationForm.get("conditionCodeId").value,t.value==r.submitWorkplaceAccommodationForm.get("conditionCodeId").value)),e.R7$(3),e.JRh(t.display)}}function Yg(n,d){if(1&n){const t=e.RV6();e.j41(0,"div")(1,"h1",16),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"legend",18),e.EFF(5),e.nI1(6,"translate"),e.k0s(),e.j41(7,"div",120,1)(9,"div",121),e.DNE(10,jA,4,6,"div",122),e.k0s(),e.j41(11,"div",123,2),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.setConditionCodeId(r.otherCondition.value))})("keydown.enter",function(r){return e.eBV(t),r.preventDefault(),e.Njj(r.target.click())}),e.j41(13,"span",124),e.EFF(14),e.nI1(15,"translate"),e.k0s()()(),e.j41(16,"div",39)(17,"input",125),e.nI1(18,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.incrementStep())}),e.k0s(),e.j41(19,"input",41),e.nI1(20,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.decrementStep())}),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(2),e.JRh(e.bMT(3,9,"condition")),e.R7$(3),e.SpI(" ",e.bMT(6,11,"medicalConditions.prompt")," "),e.R7$(5),e.Y8G("ngForOf",t.wpaConditions),e.R7$(),e.Y8G("ngClass",e.l_i(19,Og,t.otherCondition.value!=t.submitWorkplaceAccommodationForm.get("conditionCodeId").value,t.otherCondition.value==t.submitWorkplaceAccommodationForm.get("conditionCodeId").value)),e.R7$(3),e.JRh(e.bMT(15,13,"otherCondition")),e.R7$(3),e.FS9("value",e.bMT(18,15,"continue")),e.Y8G("disabled",!t.submitWorkplaceAccommodationForm.get("conditionCodeId").value)("ngClass",t.submitWorkplaceAccommodationForm.get("conditionCodeId").value?"submit primaryBtn primaryContinue":"disabled"),e.R7$(2),e.FS9("value",e.bMT(20,17,"back"))}}function Fw(n,d){if(1&n&&(e.j41(0,"div")(1,"span",42),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.nrm(4,"br")(5,"br"),e.k0s()),2&n){const t=e.XpG(2);
1e.R7$(2),e.JRh(e.bMT(3,1,t.wpaValidationErrors.conditionDetailsError))}}function LE(n,d){1&n&&(e.j41(0,"span"),e.EFF(1,"*"),e.k0s())}function PE(n,d){1&n&&(e.j41(0,"span",140),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.JRh(e.bMT(2,1,"conditionDetails.optionalDetails")))}function jE(n,d){1&n&&(e.j41(0,"div",141),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"conditionDetails.maxLengthRequired")," "))}function BE(n,d){if(1&n){const t=e.RV6();e.j41(0,"span",142),e.nrm(1,"br"),e.j41(2,"div",143)(3,"label",144),e.EFF(4),e.nI1(5,"translate"),e.k0s(),e.j41(6,"label",145),e.EFF(7),e.nI1(8,"translate"),e.k0s()(),e.j41(9,"select",146),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.clearErrors())}),e.j41(10,"option",111),e.EFF(11),e.nI1(12,"translate"),e.k0s(),e.j41(13,"option",35),e.EFF(14),e.nI1(15,"translate"),e.k0s(),e.j41(16,"option",35),e.EFF(17),e.nI1(18,"translate"),e.k0s()()()}2&n&&(e.R7$(4),e.JRh(e.bMT(5,8,"workersCompensation.question.restyled1")),e.R7$(3),e.SpI("*",e.bMT(8,10,"workersCompensation.question.restyled2"),""),e.R7$(3),e.Y8G("ngValue",null),e.R7$(),e.JRh(e.bMT(12,12,"partialLeaveDecision.pleaseSelect")),e.R7$(2),e.Y8G("ngValue",!0),e.R7$(),e.JRh(e.bMT(15,14,"yes")),e.R7$(2),e.Y8G("ngValue",!1),e.R7$(),e.JRh(e.bMT(18,16,"no")))}function Lw(n,d){if(1&n){const t=e.RV6();e.j41(0,"span",142),e.nrm(1,"br"),e.j41(2,"div",147)(3,"p",148),e.EFF(4),e.nI1(5,"translate"),e.k0s()(),e.j41(6,"select",149),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.clearErrors())}),e.j41(7,"option",111),e.EFF(8),e.nI1(9,"translate"),e.k0s(),e.j41(10,"option",35),e.EFF(11),e.nI1(12,"translate"),e.k0s(),e.j41(13,"option",35),e.EFF(14),e.nI1(15,"translate"),e.k0s()()()}2&n&&(e.R7$(4),e.SpI("*",e.bMT(5,7,"wpa.conditionDetails.lactationPumpingNursing.question"),""),e.R7$(3),e.Y8G("ngValue",null),e.R7$(),e.JRh(e.bMT(9,9,"partialLeaveDecision.pleaseSelect")),e.R7$(2),e.Y8G("ngValue",!0),e.R7$(),e.JRh(e.bMT(12,11,"yes")),e.R7$(2),e.Y8G("ngValue",!1),e.R7$(),e.JRh(e.bMT(15,13,"no")))}function Pw(n,d){if(1&n){const t=e.RV6();e.j41(0,"div")(1,"h1",16),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.DNE(4,Fw,6,3,"div",12),e.j41(5,"div",127)(6,"h2",18),e.EFF(7),e.nI1(8,"translate"),e.k0s(),e.j41(9,"div",128)(10,"label",129),e.EFF(11),e.nI1(12,"translate"),e.j41(13,"span"),e.EFF(14,":"),e.k0s()(),e.j41(15,"span",130),e.EFF(16),e.k0s()(),e.nrm(17,"br"),e.j41(18,"form",131)(19,"div",132)(20,"label",133)(21,"span",129),e.DNE(22,LE,2,0,"span",12),e.EFF(23),e.nI1(24,"translate"),e.k0s(),e.nrm(25,"br"),e.DNE(26,PE,3,3,"span",134),e.k0s(),e.j41(27,"div",135)(28,"textarea",136),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.isOtherCondition()&&r.clearErrors())}),e.k0s(),e.DNE(29,jE,3,3,"div",137),e.k0s()(),e.DNE(30,BE,19,18,"span",138)(31,Lw,16,15,"span",138),e.k0s()(),e.j41(32,"div",39)(33,"input",139),e.nI1(34,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.doesConditionDetailsPageFormHaveErrors())}),e.k0s(),e.j41(35,"input",41),e.nI1(36,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.decrementStep())}),e.k0s()()()}if(2&n){let t;const i=e.XpG();e.R7$(2),e.JRh(e.bMT(3,17,"conditionDetails.pageTitle")),e.R7$(2),e.Y8G("ngIf",i.wpaValidationErrors.conditionDetailsError),e.R7$(3),e.JRh(e.bMT(8,19,"conditionDetails.prompt")),e.R7$(4),e.JRh(e.bMT(12,21,"condition")),e.R7$(5),e.JRh(i.conditionDisplay),e.R7$(2),e.Y8G("formGroup",i.submitWorkplaceAccommodationForm),e.R7$(2),e.HbH(e.eq3(29,Fg,i.isOtherCondition())),e.R7$(2),e.Y8G("ngIf",i.isOtherCondition()),e.R7$(),e.JRh(e.bMT(24,23,"conditionDetails.pageTitle")),e.R7$(3),e.Y8G("ngIf",!i.isOtherCondition()),e.R7$(2),e.Y8G("required",i.isOtherCondition()),e.R7$(),e.Y8G("ngIf",750===(null==(t=i.submitWorkplaceAccommodationForm.get("conditionDetails"))||null==t.value?null:t.value.length)),e.R7$(),e.Y8G("ngIf",!i.isPregnancyRelated()),e.R7$(),e.Y8G("ngIf",i.isLactationSelected()),e.R7$(2),e.FS9("value",e.bMT(34,25,"continue")),e.R7$(2),e.FS9("value",e.bMT(36,27,"back"))}}function YE(n,d){if(1&n&&(e.j41(0,"div")(1,"span",42),e.EFF(2),e.k0s()()),2&n){const t=d.$implicit;e.R7$(2),e.JRh(t)}}function jw(n,d){if(1&n&&(e.j41(0,"div"),e.DNE(1,YE,3,1,"div",74),e.nrm(2,"br"),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngForOf",t.wpaValidationErrors.wpaDetailsError)}}function $E(n,d){1&n&&(e.j41(0,"p"),e.EFF(1),e.nI1(2,"translate"),e.k0s(),e.j41(3,"p"),e.EFF(4),e.nI1(5,"translate"),e.nI1(6,"translate"),e.k0s(),e.j41(7,"p"),e.EFF(8),e.nI1(9,"translate"),e.nI1(10,"translate"),e.k0s(),e.j41(11,"p"),e.EFF(12),e.nI1(13,"translate"),e.nI1(14,"translate"),e.k0s(),e.j41(15,"p"),e.EFF(16),e.nI1(17,"translate"),e.nI1(18,"translate"),e.k0s(),e.j41(19,"p"),e.EFF(20),e.nI1(21,"translate"),e.nI1(22,"translate"),e.k0s(),e.j41(23,"p"),e.EFF(24),e.nI1(25,"translate"),e.nI1(26,"translate"),e.k0s(),e.j41(27,"p"),e.EFF(28),e.nI1(29,"translate"),e.nI1(30,"translate"),e.k0s(),e.j41(31,"p"),e.EFF(32),e.nI1(33,"translate"),e.nI1(34,"translate"),e.k0s(),e.j41(35,"p"),e.EFF(36),e.nI1(37,"translate"),e.nI1(38,"translate"),e.k0s(),e.j41(39,"p"),e.EFF(40),e.nI1(41,"translate"),e.nI1(42,"translate"),e.k0s()),2&n&&(e.R7$(),e.JRh(e.bMT(2,21,"accommodationTypeExplanationText")),e.R7$(3),e.Lme("",e.bMT(5,23,"equipmentAndServices"),": ",e.bMT(6,25,"equipmentAndServicesDesc"),""),e.R7$(4),e.Lme("",e.bMT(9,27,"jobReassignment"),": ",e.bMT(10,29,"jobReassignmentDesc"),""),e.R7$(4),e.Lme("",e.bMT(13,31,"jobRestructuring"),": ",e.bMT(14,33,"jobRestructuringDesc"),""),e.R7$(4),e.Lme("",e.bMT(17,35,"modifiedPoliciesAndPractices"),": ",e.bMT(18,37,"modifiedPoliciesAndPracticesDesc"),""),e.R7$(4),e.Lme("",e.bMT(21,39,"modifiedWorkSchedule"),": ",e.bMT(22,41,"modifiedWorkScheduleDesc"),""),e.R7$(4),e.Lme("",e.bMT(25,43,"pregnancyRelatedAccommodations"),": ",e.bMT(26,45,"pregnancyRelatedAccommodationsDesc"),""),e.R7$(4),e.Lme("",e.bMT(29,47,"supervisorChange"),": ",e.bMT(30,49,"supervisorChangeDesc"),""),e.R7$(4),e.Lme("",e.bMT(33,51,"workFromHome"),": ",e.bMT(34,53,"workFromHomeDesc"),""),e.R7$(4),e.Lme("",e.bMT(37,55,"worksiteAccessAndEnv"),": ",e.bMT(38,57,"worksiteAccessAndEnvDesc"),""),e.R7$(4),e.Lme("",e.bMT(41,59,"other"),": ",e.bMT(42,61,"otherWpaDesc"),""))}function Um(n,d){if(1&n&&(e.j41(0,"option",35),e.EFF(1),e.k0s()),2&n){const t=d.$implicit,i=e.XpG(2);e.Y8G("ngValue",t.id),e.R7$(),e.SpI(" ",0===i.localeId?t.displayValueEng:t.displayValueEsp," ")}}function Gp(n,d){if(1&n&&(e.j41(0,"option",35),e.EFF(1),e.k0s()),2&n){const t=d.$implicit,i=e.XpG(3);e.Y8G("ngValue",t.value.id),e.R7$(),e.SpI(" ",0===i.localeId?t.value.displayValueEng:t.value.displayValueEsp," ")}}function Eu(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",177)(1,"label",129)(2,"span"),e.EFF(3,"*"),e.k0s(),e.EFF(4),e.nI1(5,"translate"),e.k0s(),e.j41(6,"div",165)(7,"div",159)(8,"div",178)(9,"select",179),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.clearErrors())}),e.j41(10,"option",111),e.EFF(11),e.nI1(12,"translate"),e.k0s(),e.DNE(13,Gp,2,2,"option",156),e.nI1(14,"keyvalue"),e.k0s()()()()()}if(2&n){const t=e.XpG(2);e.R7$(4),e.JRh(e.bMT(5,6,"decision.title")),e.R7$(2),e.Y8G("formGroupName",0),e.R7$(2),e.Y8G("formGroupName",0),e.R7$(2),e.Y8G("ngValue",null),e.R7$(),e.JRh(e.bMT(12,8,"partialLeaveDecision.pleaseSelect")),e.R7$(2),e.Y8G("ngForOf",e.bMT(14,10,t.wpaDecisionStatusesMap))}}function UE(n,d){if(1&n&&(e.j41(0,"option",35),e.EFF(1),e.k0s()),2&n){const t=d.$implicit,i=e.XpG(4);e.Y8G("ngValue",t.id),e.R7$(),e.SpI(" ",0===i.localeId?t.displayValueEng:t.displayValueEsp,"")}}function BA(n,d){if(1&n&&(e.qex(0),e.DNE(1,UE,2,2,"option",156),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",t.denialReasonList)}}function YA(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",177)(1,"label",129)(2,"span"),e.EFF(3,"*"),e.k0s(),e.EFF(4),e.nI1(5,"translate"),e.k0s(),e.j41(6,"div",180)(7,"div",159)(8,"div",181)(9,"select",182),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.clearErrors())}),e.j41(10,"option",111),e.EFF(11),e.nI1(12,"translate"),e.k0s(),e.DNE(13,BA,2,1,"ng-container",12),e.k0s()()()()()}if(2&n){const t=e.XpG(2);e.R7$(4),e.JRh(e.bMT(5,6,"decisionReason")),e.R7$(2),e.Y8G("formGroupName",0),e.R7$(2),e.Y8G("formGroupName",0),e.R7$(2),e.Y8G("ngValue",null),e.R7$(),e.JRh(e.bMT(12,8,"partialLeaveDecision.pleaseSelect")),e.R7$(2),e.Y8G("ngIf",t.isDecisionDenied())}}function $A(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",157)(1,"div",158)(2,"div",159)(3,"div",160)(4,"label",129),e.EFF(5),e.nI1(6,"translate"),e.j41(7,"img",183),e.nI1(8,"translate"),e.bIt("keydown.enter",function(r){return e.eBV(t),r.preventDefault(),e.Njj(r.target.click())}),e.k0s()(),e.nrm(9,"textarea",184),e.k0s()()()()}2&n&&(e.R7$(),e.Y8G("formGroupName",0),e.R7$(2),e.Y8G("formGroupName",0),e.R7$(2),e.SpI("",e.bMT(6,4,"decisionDetail
1s")," "),e.R7$(2),e.Y8G("ngbTooltip",e.bMT(8,6,"wpa.details.tooltip")))}function Bw(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",185)(1,"div",158)(2,"div",159)(3,"div",186)(4,"label",129),e.EFF(5),e.nI1(6,"translate"),e.k0s(),e.j41(7,"input",187),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.clearErrors())}),e.k0s()()()()()}2&n&&(e.R7$(),e.Y8G("formGroupName",0),e.R7$(2),e.Y8G("formGroupName",0),e.R7$(2),e.JRh(e.bMT(6,3,"cost")))}function Yw(n,d){if(1&n){const t=e.RV6();e.j41(0,"div")(1,"h1",16),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.DNE(4,jw,3,1,"div",12),e.j41(5,"div")(6,"h2",18),e.EFF(7),e.nI1(8,"translate"),e.k0s(),e.j41(9,"form",131)(10,"div",150)(11,"label",151)(12,"span",129),e.EFF(13,"*"),e.k0s(),e.EFF(14),e.nI1(15,"translate"),e.nrm(16,"img",152),e.DNE(17,$E,43,63,"ng-template",null,4,e.C5r),e.k0s(),e.j41(19,"div",153)(20,"div",154)(21,"select",155),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.clearErrors())}),e.j41(22,"option",111),e.EFF(23),e.nI1(24,"translate"),e.k0s(),e.DNE(25,Um,2,2,"option",156),e.k0s()()()(),e.j41(26,"div",157)(27,"div",158)(28,"div",159)(29,"div",160)(30,"label",161),e.EFF(31),e.nI1(32,"translate"),e.k0s(),e.nrm(33,"textarea",162),e.k0s()()()(),e.j41(34,"div",163)(35,"label",164)(36,"span"),e.EFF(37,"*"),e.k0s(),e.EFF(38),e.nI1(39,"translate"),e.k0s(),e.j41(40,"div",165)(41,"div",159)(42,"div",166)(43,"input",167,5),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.clearErrors())})("keydown.enter",function(){e.eBV(t);const r=e.sdS(44),u=e.XpG();return r.toggle(),e.Njj(u.clearErrors())})("keydown.space",function(){e.eBV(t);const r=e.sdS(44),u=e.XpG();return r.toggle(),e.Njj(u.clearErrors())}),e.k0s(),e.j41(45,"span",168)(46,"img",169),e.bIt("click",function(){e.eBV(t);const r=e.sdS(44),u=e.XpG();return r.toggle(),e.Njj(u.clearErrors())}),e.k0s()()()()()(),e.j41(47,"div",163)(48,"label",170),e.EFF(49),e.nI1(50,"translate"),e.k0s(),e.j41(51,"div",165)(52,"div",159)(53,"div",166)(54,"input",171,6),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.clearErrors())})("keydown.enter",function(){e.eBV(t);const r=e.sdS(55),u=e.XpG();return r.toggle(),e.Njj(u.clearErrors())})("keydown.space",function(){e.eBV(t);const r=e.sdS(55),u=e.XpG();return r.toggle(),e.Njj(u.clearErrors())}),e.k0s(),e.j41(56,"span",168)(57,"img",172),e.bIt("click",function(){e.eBV(t);const r=e.sdS(55),u=e.XpG();return r.toggle(),e.Njj(u.clearErrors())}),e.k0s()()()()()(),e.DNE(58,Eu,15,12,"div",173)(59,YA,14,10,"div",173)(60,$A,10,8,"div",174)(61,Bw,8,5,"div",175),e.k0s(),e.j41(62,"div",39)(63,"input",176),e.nI1(64,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.doesWpaDetailsPageFormHaveErrors())}),e.k0s(),e.j41(65,"input",41),e.nI1(66,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.decrementStep())}),e.k0s()()()()}if(2&n){const t=e.sdS(18),i=e.XpG();e.R7$(2),e.JRh(e.bMT(3,29,"workplaceAccommodationDetails")),e.R7$(2),e.Y8G("ngIf",i.wpaValidationErrors.wpaDetailsError.length),e.R7$(3),e.JRh(e.bMT(8,31,"addAccommodation.subHeader")),e.R7$(2),e.Y8G("formGroup",i.submitWorkplaceAccommodationForm),e.R7$(5),e.SpI("",e.bMT(15,33,"accommodationType")," "),e.R7$(2),e.Y8G("ngbTooltip",t),e.R7$(4),e.Y8G("formGroupName",0),e.R7$(2),e.Y8G("ngValue",null),e.R7$(),e.JRh(e.bMT(24,35,"partialLeaveDecision.pleaseSelect")),e.R7$(2),e.Y8G("ngForOf",i.wpaTypesList),e.R7$(2),e.Y8G("formGroupName",0),e.R7$(2),e.Y8G("formGroupName",0),e.R7$(2),e.SpI(" ",e.bMT(32,37,"wpa.details.accDetails"),""),e.R7$(7),e.JRh(e.bMT(39,39,"label.startDate")),e.R7$(2),e.Y8G("formGroupName",0),e.R7$(2),e.Y8G("formGroupName",0),e.R7$(4),e.Mz_("src","",i.domainResourcePath,"/gfx/redesignIcons/calendar.svg",e.B4B),e.R7$(3),e.SpI(" ",e.bMT(50,41,"label.endDate"),""),e.R7$(2),e.Y8G("formGroupName",0),e.R7$(2),e.Y8G("formGroupName",0),e.R7$(4),e.Mz_("src","",i.domainResourcePath,"/gfx/redesignIcons/calendar.svg",e.B4B),e.R7$(),e.Y8G("ngIf",i.isWob()),e.R7$(),e.Y8G("ngIf",i.isWob()&&i.isDecisionReasonFieldSelectable()),e.R7$(),e.Y8G("ngIf",i.isWob()&&i.isDecisionDetail
1sFieldSelectable()),e.R7$(),e.Y8G("ngIf",i.isWob()),e.R7$(2),e.FS9("value",e.bMT(64,43,"continue")),e.R7$(2),e.FS9("value",e.bMT(66,45,"back"))}}function UA(n,d){if(1&n&&(e.j41(0,"div")(1,"span",42),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.nrm(4,"br")(5,"br"),e.k0s()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,1,t.wpaValidationErrors.hcpPhoneNumberError))}}function GE(n,d){if(1&n&&(e.j41(0,"option",35),e.EFF(1),e.k0s()),2&n){const t=d.$implicit,i=e.XpG(2);e.Y8G("ngValue",t.id),e.R7$(),e.SpI(" ",0===i.localeId?t.displayValueEng:t.displayValueEsp," ")}}function VE(n,d){if(1&n){const t=e.RV6();e.j41(0,"div")(1,"h1",16),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.DNE(4,UA,6,3,"div",12),e.j41(5,"div",188)(6,"p",92),e.EFF(7),e.nI1(8,"translate"),e.k0s(),e.j41(9,"p",92),e.EFF(10),e.nI1(11,"translate"),e.k0s(),e.j41(12,"form",131)(13,"h2",18),e.EFF(14),e.nI1(15,"translate"),e.k0s(),e.j41(16,"div",189)(17,"div",190)(18,"label",191),e.EFF(19),e.nI1(20,"translate"),e.k0s(),e.nrm(21,"input",192),e.k0s(),e.j41(22,"div",190)(23,"label",193),e.EFF(24),e.nI1(25,"translate"),e.k0s(),e.nrm(26,"input",194),e.k0s(),e.j41(27,"div",190)(28,"label",195),e.EFF(29),e.nI1(30,"translate"),e.k0s(),e.nrm(31,"input",196),e.k0s(),e.j41(32,"div",197)(33,"label",198),e.EFF(34),e.nI1(35,"translate"),e.k0s(),e.j41(36,"select",199)(37,"option",111),e.EFF(38),e.nI1(39,"translate"),e.k0s(),e.DNE(40,GE,2,2,"option",156),e.k0s()()(),e.nrm(41,"br"),e.j41(42,"h2",18),e.EFF(43),e.nI1(44,"translate"),e.k0s(),e.j41(45,"div",200)(46,"div",201)(47,"div",186)(48,"label",202),e.EFF(49),e.nI1(50,"translate"),e.k0s(),e.j41(51,"div",203)(52,"input",204),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.clearErrors())}),e.k0s(),e.nrm(53,"input",205),e.nI1(54,"translate"),e.k0s()(),e.j41(55,"div",206)(56,"label",207),e.EFF(57),e.nI1(58,"translate"),e.k0s(),e.j41(59,"input",208),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.clearErrors())}),e.k0s()(),e.j41(60,"div",206)(61,"label",209),e.EFF(62),e.nI1(63,"translate"),e.k0s(),e.j41(64,"input",210),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.clearErrors())}),e.k0s()()()()(),e.j41(65,"div",39)(66,"input",211),e.nI1(67,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.areHcpNumbersValid())}),e.k0s(),e.j41(68,"input",41),e.nI1(69,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.decrementStep())}),e.k0s(),e.j41(70,"input",212),e.nI1(71,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.skipHcp())}),e.k0s()()()()}if(2&n){const t=e.XpG();e.R7$(2),e.JRh(e.bMT(3,24,"hcp.pageTitle")),e.R7$(2),e.Y8G("ngIf",t.wpaValidationErrors.hcpPhoneNumberError),e.R7$(3),e.JRh(e.bMT(8,26,"hcp.description.partOne")),e.R7$(3),e.JRh(e.bMT(11,28,"hcp.description.partTwo")),e.R7$(2),e.Y8G("formGroup",t.submitWorkplaceAccommodationForm),e.R7$(2),e.JRh(e.bMT(15,30,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.HCPInfo")),e.R7$(5),e.JRh(e.bMT(20,32,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.ProviderFirstName")),e.R7$(5),e.JRh(e.bMT(25,34,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.ProviderLastName")),e.R7$(5),e.JRh(e.bMT(30,36,"myAbsences.leaveRequestDetails.HCP.facilityName")),e.R7$(5),e.JRh(e.bMT(35,38,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.ProviderSpecialty")),e.R7$(3),e.Y8G("ngValue",null),e.R7$(),e.JRh(e.bMT(39,40,"partialLeaveDecision.pleaseSelect")),e.R7$(2),e.Y8G("ngForOf",t.providerSpecialtyList),e.R7$(3),e.SpI(" ",e.bMT(44,42,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.HCPContact"),""),e.R7$(4),e.Y8G("formGroupName",0),e.R7$(2),e.JRh(e.bMT(50,44,"myAbsences.leaveRequestDetails.HCP.officeNum")),e.R7$(4),e.BMQ("aria-label",e.bMT(54,46,"myAbsences.leaveRequestDetails.HCP.officeExt")),e.R7$(2),e.Y8G("formGroupName",1),e.R7$(2),e.SpI(" ",e.bMT(58,48,"myAbsences.leaveRequestDetails.HCP.mobileNum"),""),e.R7$(3),e.Y8G("formGroupName",2),e.R7$(2),e.SpI(" ",e.bMT(63,50,"myAbsences.leaveRequestDetails.HCP.faxNum"),""),e.R7$(4),e.FS9("value",e.bMT(67,52,"continue")),e.R7$(2),e.FS9("value",e.bMT(69,54,"back")),e.R7$(2),e.FS9("value",e.bMT(71,56,"skip"))}}function GA(n,d){if(1&n&&(e.j41(0,"div")(1,"span",42),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.nrm(4,"br")(5,"br"),e.k0s()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,1,t.wpaValidationErrors.hcpPageTwoError))}}function $g(n,d){1&n&&(e.j41(0,"p"),e.EFF(1),e.nI1(2,"translate"),e.k0s(),e.j41(3,"p"),e.EFF(4),e.nI1(5,"translate"),e.k0s(),e.j41(6,"p"),e.EFF(7),e.nI1(8,"translate"),e.k0s()),2&n&&(e.R7$(),e.JRh(e.bMT(2,3,"wpa.hcp.pageTwo.tooltip.partOne")),e.R7$(3),e.JRh(e.bMT(5,5,"wpa.hcp.pageTwo.tooltip.partTwo")),e.R7$(3),e.JRh(e.bMT(8,7,"wpa.hcp.pageTwo.tooltip.partThree")))}function VA(n,d){if(1&n){const t=e.RV6();e.j41(0,"div")(1,"h1",16),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"p",18),e.EFF(5),e.nI1(6,"translate"),e.k0s(),e.DNE(7,GA,6,3,"div",12),e.j41(8,"form",131)(9,"div",213)(10,"span",214)(11,"span"),e.EFF(12,"*"),e.k0s(),e.EFF(13),e.nI1(14,"translate"),e.k0s(),e.j41(15,"select",215),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.clearErrors())}),e.j41(16,"option",111),e.EFF(17),e.nI1(18,"translate"),e.k0s(),e.j41(19,"option",35),e.EFF(20),e.nI1(21,"translate"),e.k0s(),e.j41(22,"option",35),e.EFF(23),e.nI1(24,"translate"),e.k0s()()(),e.nrm(25,"br"),e.j41(26,"div",216)(27,"label",217),e.EFF(28),e.nI1(29,"translate"),e.k0s(),e.nrm(30,"input",218),e.k0s(),e.nrm(31,"br"),e.j41(32,"div",219)(33,"span",220)(34,"span"),e.EFF(35,"*"),e.k0s(),e.EFF(36),e.nI1(37,"translate"),e.k0s()(),e.j41(38,"div",221)(39,"select",222),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.clearErrors())}),e.j41(40,"option",111),e.EFF(41),e.nI1(42,"translate"),e.k0s(),e.j41(43,"option",35),e.EFF(44),e.nI1(45,"translate"),e.k0s(),e.j41(46,"option",35),e.EFF(47),e.nI1(48,"translate"),e.k0s()(),e.j41(49,"img",223),e.bIt("keydown.enter",function(r){return e.eBV(t),r.preventDefault(),e.Njj(r.target.click())}),e.k0s(),e.DNE(50,$g,9,9,"ng-template",null,7,e.C5r),e.k0s()(),e.j41(52,"div",39)(53,"input",224),e.nI1(54,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.doesHcpPageTwoFormHaveErrors())}),e.k0s(),e.j41(55,"input",41),e.nI1(56,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.decrementStep())}),e.k0s()()()}if(2&n){const t=e.sdS(51),i=e.XpG();e.R7$(2),e.JRh(e.bMT(3,24,"hcp.pageTitle")),e.R7$(3),e.JRh(e.bMT(6,26,"wpa.hcp.pageTwo.description")),e.R7$(2),e.Y8G("ngIf",i.wpaValidationErrors.hcpPageTwoError),e.R7$(),e.Y8G("formGroup",i.submitWorkplaceAccommodationForm),e.R7$(5),e.SpI("",e.bMT(14,28,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.FaxForm")," "),e.R7$(3),e.Y8G("ngValue",null),e.R7$(),e.JRh(e.bMT(18,30,"partialLeaveDecision.pleaseSelect")),e.R7$(2),e.Y8G("ngValue",!0),e.R7$(),e.JRh(e.bMT(21,32,"yes")),e.R7$(2),e.Y8G("ngValue",!1),e.R7$(),e.JRh(e.bMT(24,34,"no")),e.R7$(5),e.JRh(e.bMT(29,36,"faxRecipient.other")),e.R7$(8),e.JRh(e.bMT(37,38,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.FormsReturnedSection")),e.R7$(4),e.Y8G("ngValue",null),e.R7$(),e.JRh(e.bMT(42,40,"partialLeaveDecision.pleaseSelect")),e.R7$(2),e.Y8G("ngValue",!0),e.R7$(),e.JRh(e.bMT(45,42,"yes")),e.R7$(2),e.Y8G("ngValue",!1),e.R7$(),e.JRh(e.bMT(48,44,"no")),e.R7$(2),e.Mz_("src","",i.domainResourcePath,"/gfx/redesignIcons/faqs.svg",e.B4B),e.Y8G("ngbTooltip",t),e.R7$(4),e.FS9("value",e.bMT(54,46,"continue")),e.R7$(2),e.FS9("value",e.bMT(56,48,"back"))}}function HA(n,d){if(1&n&&(e.j41(0,"div")(1,"span",42),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.nrm(4,"br")(5,"br"),e.k0s()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,1,t.wpaValidationErrors.submissionError))}}function WA(n,d){1&n&&(e.j41(0,"label",246),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.JRh(e.bMT(2,1,"wpa.confirmReportedDate")))}function $w(n,d){if(1&n&&(e.j41(0,"div",252)(1,"span",42),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(e.bMT(3,1,t.wpaValidationErrors.reviewPageError))}}function qA(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",23)(1,"div",247)(2,"div",248)(3,"input",249,9),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.clearErrors())})("keydown.enter",function(){e.eBV(t);const r=e.sdS(4),u=e.XpG(2);
1return r.toggle(),e.Njj(u.clearErrors())})("keydown.space",function(){e.eBV(t);const r=e.sdS(4),u=e.XpG(2);return r.toggle(),e.Njj(u.clearErrors())}),e.k0s(),e.j41(5,"span",168)(6,"img",250),e.bIt("click",function(){e.eBV(t);const r=e.sdS(4),u=e.XpG(2);return r.toggle(),e.Njj(u.clearErrors())}),e.k0s()(),e.DNE(7,$w,4,3,"div",251),e.k0s()()()}if(2&n){const t=e.XpG(2);e.R7$(3),e.Y8G("maxDate",t.datePickerMax),e.R7$(3),e.Mz_("src","",t.domainResourcePath,"/gfx/redesignIcons/calendar.svg",e.B4B),e.R7$(),e.Y8G("ngIf",t.wpaValidationErrors.reviewPageError)}}function Uw(n,d){if(1&n&&(e.j41(0,"div",253)(1,"p",254),e.EFF(2),e.k0s(),e.j41(3,"p",255),e.EFF(4),e.k0s(),e.j41(5,"p",256),e.EFF(6),e.k0s(),e.j41(7,"p",257),e.EFF(8),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.oldAddress.street1),e.R7$(2),e.JRh(t.oldAddress.street2),e.R7$(2),e.E5c("",t.oldAddress.city,", ",t.oldAddress.stateAbbreviation," ",t.oldAddress.zipCode,""),e.R7$(2),e.JRh(t.oldAddress.countryNameEng)}}function Gw(n,d){if(1&n&&(e.j41(0,"span",130),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",t.value.display,"")}}function XA(n,d){if(1&n&&(e.j41(0,"div"),e.DNE(1,Gw,2,1,"span",258),e.k0s()),2&n){const t=d.$implicit,i=e.XpG(3);e.R7$(),e.Y8G("ngIf",t.value.value===i.wpaForm.conditionCodeId.value.toString())}}function HE(n,d){if(1&n&&(e.qex(0),e.DNE(1,XA,2,1,"div",74),e.nI1(2,"keyvalue"),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngForOf",e.bMT(2,1,t.wpaConditions))}}function Vw(n,d){if(1&n&&(e.j41(0,"span",130),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",t.otherCondition.display,"")}}function zA(n,d){if(1&n&&(e.j41(0,"div",188)(1,"label",236),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div")(5,"span",130),e.EFF(6),e.k0s()()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,2,"conditionDetails.pageTitle")),e.R7$(4),e.SpI(" ",t.wpaForm.conditionDetails.value," ")}}function Hw(n,d){if(1&n&&(e.j41(0,"span",130),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit,i=e.XpG(2);e.R7$(),e.SpI(" ",0===i.localeId?t.value.displayValueEng:t.value.displayValueEsp,"")}}function WE(n,d){if(1&n&&(e.j41(0,"div"),e.DNE(1,Hw,2,1,"span",258),e.k0s()),2&n){const t=d.$implicit,i=e.XpG(2);e.R7$(),e.Y8G("ngIf",i.isWob()&&t.value.id===i.wpaTypes.at(0).get(e.lJ4(1,ba)).get("statusCodeId").value||!i.isWob()&&(i.isLactationPumpingNursingYes()&&t.value.id===i.Constants.FSP_DECISION_STATUS_APPROVED||!i.isLactationPumpingNursingYes()&&t.value.id===i.Constants.FSP_DECISION_STATUS_REQUESTED))}}function KA(n,d){if(1&n&&(e.j41(0,"span",130),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit,i=e.XpG(4);e.R7$(),e.SpI(" ",0===i.localeId?t.displayValueEng:t.displayValueEsp," ")}}function Ww(n,d){if(1&n&&(e.j41(0,"div"),e.DNE(1,KA,2,1,"span",258),e.k0s()),2&n){const t=d.$implicit,i=e.XpG(4);e.R7$(),e.Y8G("ngIf",t.id===i.wpaTypes.at(0).get(e.lJ4(1,ba)).get("reasonCodeIds").value)}}function qw(n,d){if(1&n&&(e.j41(0,"div"),e.DNE(1,Ww,2,2,"div",74),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",t.denialReasonList)}}function JA(n,d){if(1&n&&(e.j41(0,"div",188)(1,"label",236),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div"),e.DNE(5,qw,2,1,"div",12),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,2,"decisionReason")),e.R7$(3),e.Y8G("ngIf",t.isDecisionDenied())}}function Xw(n,d){if(1&n&&(e.j41(0,"div",188)(1,"label",236),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div")(5,"span",130),e.EFF(6),e.k0s()()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,2,"decisionDetails")),e.R7$(4),e.SpI(" ",t.wpaTypes.at(0).get(e.lJ4(4,ba)).get("approvedModification").value," ")}}function QA(n,d){if(1&n&&(e.j41(0,"div",259)(1,"label",236),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div")(5,"span",130),e.EFF(6),e.nI1(7,"date"),e.k0s()()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,2,"label.endDate")),e.R7$(4),e.SpI(" ",e.i5U(7,4,t.convertDateToString(t.wpaTypes.at(0).get(e.lJ4(7,ba)).get("endDate").value),"MM/dd/yyyy")," ")}}function qE(n,d){if(1&n&&(e.j41(0,"span",130),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit,i=e.XpG(2);e.R7$(),e.SpI(" ",0===i.localeId?t.displayValueEng:t.displayValueEsp,"")}}function XE(n,d){if(1&n&&(e.j41(0,"div"),e.DNE(1,qE,2,1,"span",258),e.k0s()),2&n){const t=d.$implicit,i=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.id===i.Number(i.wpaTypes.at(0).get("typeCodeId").value))}}function zE(n,d){if(1&n&&(e.j41(0,"div",188)(1,"label",236),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div",130)(5,"span"),e.EFF(6),e.k0s()()()),2&n){const t=e.XpG(2);
1e.R7$(2),e.JRh(e.bMT(3,2,"wpa.details.accDetails")),e.R7$(4),e.SpI(" ",t.wpaTypes.at(0).get(e.lJ4(4,ba)).get("wpaDetails").value," ")}}function ZA(n,d){if(1&n&&(e.j41(0,"div",188)(1,"label",236),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div")(5,"span",130),e.EFF(6),e.nI1(7,"currency"),e.k0s()()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,2,"cost")),e.R7$(4),e.SpI(" ",e.i5U(7,4,t.wpaTypes.at(0).get(e.lJ4(7,ba)).get("cost").value,"USD")," ")}}function zw(n,d){if(1&n&&(e.j41(0,"div",188)(1,"label",236),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div")(5,"span",130),e.EFF(6),e.nI1(7,"translate"),e.nI1(8,"translate"),e.k0s()()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,2,"wpa.conditionDetails.lactationPumpingNursing.question")),e.R7$(4),e.SpI(" ",t.wpaForm.employeeLactationCondition.value?e.bMT(7,4,"yes"):e.bMT(8,6,"no")," ")}}function ex(n,d){if(1&n&&(e.j41(0,"div",23)(1,"label",236),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div")(5,"span",130),e.EFF(6),e.k0s()()()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",e.bMT(3,2,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.FaxRecepientLabel"),""),e.R7$(4),e.SpI(" ",t.wpaForm.healthCareProvider.get("attention").value," ")}}function Kw(n,d){if(1&n&&(e.j41(0,"div",23)(1,"label",236),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div")(5,"span",130),e.EFF(6),e.k0s()()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,2,"providerName")),e.R7$(4),e.SpI(" ",t.wpaForm.healthCareProvider.get("hcpFirstName").value+" "+t.wpaForm.healthCareProvider.get("hcpLastName").value," ")}}function tx(n,d){if(1&n&&(e.j41(0,"div",23)(1,"label",236),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div")(5,"span",130),e.EFF(6),e.k0s()()()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",e.bMT(3,2,"myAbsences.leaveRequestDetails.HCP.facilityName"),""),e.R7$(4),e.SpI(" ",t.wpaForm.healthCareProvider.get("facilityName").value," ")}}function nx(n,d){if(1&n&&(e.j41(0,"span",130),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit,i=e.XpG(3);e.R7$(),e.SpI(" ",0===i.localeId?t.displayValueEng:t.displayValueEsp,"")}}function Jw(n,d){if(1&n&&(e.j41(0,"div"),e.DNE(1,nx,2,1,"span",258),e.k0s()),2&n){const t=d.$implicit,i=e.XpG(3);e.R7$(),e.Y8G("ngIf",t.id===i.wpaForm.healthCareProvider.get("specialtyCode").value)}}function ix(n,d){if(1&n&&(e.j41(0,"div",23)(1,"label",236),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div"),e.DNE(5,Jw,2,1,"div",74),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",e.bMT(3,2,"myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.ProviderSpecialty"),""),e.R7$(3),e.Y8G("ngForOf",t.providerSpecialtyList)}}function Qw(n,d){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){let t;const i=e.XpG(3);e.R7$(),e.SpI(" x ",null==(t=i.phones.at(0))?null:t.get("extension").value,"")}}function Zw(n,d){if(1&n&&(e.j41(0,"div",23)(1,"label",236),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div",130)(5,"span"),e.EFF(6),e.k0s(),e.DNE(7,Qw,2,1,"span",12),e.k0s()()),2&n){let t,i;const r=e.XpG(2);e.R7$(2),e.SpI(" ",e.bMT(3,4,"myAbsences.leaveRequestDetails.HCP.officeNum"),""),e.R7$(4),e.Lme("1-",null==(t=r.phones.at(0))?null:t.get("areaCode").value,"-",null==(t=r.phones.at(0))?null:t.get("phoneNumber").value,""),e.R7$(),e.Y8G("ngIf",null==(i=r.phones.at(0))?null:i.get("extension").value)}}function e2(n,d){if(1&n&&(e.j41(0,"div",23)(1,"label",236),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div")(5,"span",130),e.EFF(6),e.k0s()()()),2&n){let t;const i=e.XpG(2);e.R7$(2),e.SpI(" ",e.bMT(3,3,"myAbsences.leaveRequestDetails.HCP.mobileNum"),""),e.R7$(4),e.Lme(" 1-",null==(t=i.phones.at(1))?null:t.get("areaCode").value,"-",null==(t=i.phones.at(1))?null:t.get("phoneNumber").value," ")}}function KE(n,d){if(1&n&&(e.j41(0,"div",23)(1,"label",236),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div")(5,"span",130),e.EFF(6),e.k0s()()()),2&n){let t;const i=e.XpG(2);e.R7$(2),e.SpI(" ",e.bMT(3,3,"myAbsences.leaveRequestDetails.HCP.faxNum"),""),e.R7$(4),e.Lme(" 1-",null==(t=i.phones.at(2))?null:t.get("areaCode").value,"-",null==(t=i.phones.at(2))?null:t.get("phoneNumber").value," ")}}function JE(n,d){if(1&n){const t=e.RV6();e.j41(0,"div")(1,"h1",16),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.DNE(4,HA,6,3,"div",12),e.j41(5,"div",225),e.DNE(6,WA,3,3,"label",226),e.j41(7,"form",131),e.DNE(8,qA,8,4,"div",227),e.k0s(),e.j41(9,"label",18),e.EFF(10),e.nI1(11,"translate"),e.k0s()(),e.j41(12,"div")(13,"h1",228),e.EFF(14),e.nI1(15,"translate"),e.k0s(),e.j41(16,"span",65)(17,"span",229),e.EFF(18),e.nI1(19,"translate"),e.k0s(),e.j41(20,"div",130)(21,"span",230),e.EFF(22),e.k0s()()(),e.j41(23,"span",65)(24,"span",231),e.EFF(25),e.nI1(26,"translate"),e.k0s(),e.j41(27,"div",130)(28,"span",232),e.EFF(29),e.k0s()()(),e.j41(30,"span",65)(31,"span",233),e.EFF(32),e.nI1(33,"translate"),e.k0s(),e.j41(34,"div",130)(35,"span",234),e.EFF(36),e.k0s()()(),e.j41(37,"span",235)(38,"span",236),e.EFF(39),e.nI1(40,"translate"),e.k0s(),e.j41(41,"div"),e.DNE(42,Uw,9,6,"div",237),e.k0s()(),e.j41(43,"span",65)(44,"span",236),e.EFF(45),e.nI1(46,"translate"),e.k0s(),e.j41(47,"div",130)(48,"span",238),e.EFF(49),e.k0s()()(),e.j41(50,"span",65)(51,"span",236),e.EFF(52),e.nI1(53,"translate"),e.k0s(),e.j41(54,"div",130)(55,"span",239),e.EFF(56),e.nI1(57,"translate"),e.k0s()()(),e.j41(58,"span",65)(59,"div")(60,"span",240),e.EFF(61),e.nI1(62,"translate"),e.k0s()()()(),e.j41(63,"div")(64,"h1",228),e.EFF(65),e.nI1(66,"translate"),e.k0s(),e.j41(67,"div",188)(68,"label",236),e.EFF(69),e.nI1(70,"translate"),e.k0s(),e.j41(71,"div"),e.DNE(72,HE,3,3,"ng-container",241)(73,Vw,2,1,"ng-template",null,8,e.C5r),e.k0s()(),e.DNE(75,zA,7,4,"div",242),e.j41(76,"div",188)(77,"label",236),e.EFF(78),e.nI1(79,"translate"),e.k0s(),e.j41(80,"div")(81,"span",130),e.EFF(82),e.nI1(83,"translate"),e.nI1(84,"translate"),e.k0s()()(),e.j41(85,"div",188)(86,"label",236),e.EFF(87),e.nI1(88,"translate"),e.k0s(),e.j41(89,"div"),e.DNE(90,WE,2,2,"div",74),e.nI1(91,"keyvalue"),e.k0s()(),e.DNE(92,JA,6,4,"div",242)(93,Xw,7,5,"div",242),e.j41(94,"div",188)(95,"label",236),e.EFF(96),e.nI1(97,"translate"),e.k0s(),e.j41(98,"div")(99,"span",130),e.EFF(100),e.nI1(101,"date"),e.k0s()()(),e.DNE(102,QA,8,8,"div",243),e.j41(103,"div",188)(104,"label",236),e.EFF(105),e.nI1(106,"translate"),e.k0s(),e.j41(107,"div"),e.DNE(108,XE,2,1,"div",74),e.k0s()(),e.DNE(109,zE,7,5,"div",242)(110,ZA,8,8,"div",242)(111,zw,9,8,"div",242),e.k0s(),e.j41(112,"div")(113,"h1",228),e.EFF(114),e.nI1(115,"translate"),e.k0s(),e.j41(116,"div",23)(117,"label",236),e.EFF(118),e.nI1(119,"translate"),e.k0s(),e.j41(120,"div")(121,"span",130),e.EFF(122),e.nI1(123,"translate"),e.nI1(124,"translate"),e.k0s()()(),e.j41(125,"div",23)(126,"label",236),e.EFF(127),e.nI1(128,"translate"),e.k0s(),e.j41(129,"div")(130,"span",130),e.EFF(131),e.nI1(132,"translate"),e.nI1(133,"translate"),e.k0s()()(),e.DNE(134,ex,7,4,"div",227)(135,Kw,7,4,"div",227)(136,tx,7,4,"div",227)(137,ix,6,4,"div",227)(138,Zw,8,6,"div",227)(139,e2,7,5,"div",227)(140,KE,7,5,"div",227),e.k0s(),e.j41(141,"div",244)(142,"input",245),e.nI1(143,"translate"),e.nI1(144,"async"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.doesReviewPageFormHaveErrors())}),e.k0s(),e.j41(145,"input",41),e.nI1(146,"translate"),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.decrementStep())}),e.k0s()()()}if(2&n){let t,i,r;const u=e.sdS(74),v=e.XpG();e.R7$(2),e.JRh(e.bMT(3,56,"wpa.finalStep")),e.R7$(2),e.Y8G("ngIf",v.wpaValidationErrors.submissionError),e.R7$(2),e.Y8G("ngIf",v.isWob()),e.R7$(),e.Y8G("formGroup",v.submitWorkplaceAccommodationForm),e.R7$(),e.Y8G("ngIf",v.isWob()),e.R7$(2),e.JRh(e.bMT(11,58,"wpa.confirmDetails")),e.R7$(4),e.JRh(e.bMT(15,60,"personalInformation")),e.R7$(4),e.JRh(e.bMT(19,62,"profile.name")),e.R7$(4),e.Lme(" ",v.userSession.behalfOfUserSession.firstName," ",v.userSession.behalfOfUserSession.lastName," "),e.R7$(3),e.JRh(e.bMT(26,64,"employeeNumber")),e.R7$(4),e.SpI(" ",v.userSession.behalfOfUserSession.employeeNumber," "),e.R7$(3),e.SpI("",e.bMT(33,66,"primaryPhoneNumber"),":"),e.R7$(4),e.SpI(" ",v.primaryPhoneDisplay," "),e.R7$(3),e.JRh(e.bMT(40,68,"mailingAddress")),e.R7$(3),e.Y8G("ngIf",v.oldAddress),e.R7$(3),e.SpI("",e.bMT(46,70,"personalEmailAddress"),":"),e.R7$(4),e.SpI(" ",v.userSession.behalfOfUserSession.primaryEmail,""),e.R7$(3),e.JRh(e.bMT(53,72,"correspondenceMethod")),e.R7$(4),e.JRh(e.bMT(57,74,v.getCorrespondenceMethod())),e.R7$(5),e.Lme(" ",e.bMT(62,76,v.isWob()?"affirmationMessage.wob":"affirmationMessage")," ",v.isWob()?"":" "+v.Constants.ABSENCE_RESOURCES," "),e.R7$(4),e.JRh(e.bMT(66,78,"workplaceAccommodation")),e.R7$(4),e.JRh(e.bMT(70,80,"condition")),e.R7$(3),e.Y8G("ngIf",!v.isOtherCondition())("ngIfElse",u),e.R7$(3),e.Y8G("ngIf",v.wpaForm.conditionDetail
1s.value),e.R7$(3),e.JRh(e.bMT(79,82,"workersCompensation")),e.R7$(4),e.SpI(" ",v.wpaForm.employeeReportedWorkersCompensation.value?e.bMT(83,84,"yes"):e.bMT(84,86,"no")," "),e.R7$(5),e.JRh(e.bMT(88,88,"decision.title")),e.R7$(3),e.Y8G("ngForOf",e.bMT(91,90,v.wpaDecisionStatusesMap)),e.R7$(2),e.Y8G("ngIf",v.isWob()&&v.wpaTypes.at(0).get(e.lJ4(121,ba)).get("reasonCodeIds").value),e.R7$(),e.Y8G("ngIf",v.isWob()&&v.wpaTypes.at(0).get(e.lJ4(122,ba)).get("approvedModification").value),e.R7$(3),e.JRh(e.bMT(97,92,"label.startDate")),e.R7$(4),e.SpI(" ",e.i5U(101,94,v.convertDateToString(v.wpaTypes.at(0).get(e.lJ4(123,ba)).get("startDate").value),"MM/dd/yyyy")," "),e.R7$(2),e.Y8G("ngIf",v.wpaTypes.at(0).get(e.lJ4(124,ba)).get("endDate").value),e.R7$(3),e.JRh(e.bMT(106,97,"accommodationType")),e.R7$(3),e.Y8G("ngForOf",v.wpaTypesList),e.R7$(),e.Y8G("ngIf",v.wpaTypes.at(0).get(e.lJ4(125,ba)).get("wpaDetails").value),e.R7$(),e.Y8G("ngIf",v.isWob()&&null!==v.wpaTypes.at(0).get(e.lJ4(126,ba)).get("cost").value),e.R7$(),e.Y8G("ngIf",v.isLactationSelected()&&null!=v.wpaForm.employeeLactationCondition.value),e.R7$(3),e.JRh(e.bMT(115,99,"hcpInformation")),e.R7$(4),e.SpI(" ",e.i5U(119,101,"allowFmlaToContactHcp",e.eq3(127,RE,v.Constants.ABSENCE_RESOURCES))," "),e.R7$(4),e.SpI(" ",v.wpaForm.healthCareProvider.get("allowOutreach").value?e.bMT(123,104,"yes"):e.bMT(124,106,"no")," "),e.R7$(5),e.SpI(" ",e.i5U(128,108,"allowFmlaToFaxFormsHcp",e.eq3(129,RE,v.Constants.ABSENCE_RESOURCES)),""),e.R7$(4),e.SpI(" ",v.wpaForm.healthCareProvider.get("faxToHcp").value?e.bMT(132,111,"yes"):e.bMT(133,113,"no")," "),e.R7$(3),e.Y8G("ngIf",v.wpaForm.healthCareProvider.get("attention").value),e.R7$(),e.Y8G("ngIf",v.wpaForm.healthCareProvider.get("hcpFirstName").value&&v.wpaForm.healthCareProvider.get("hcpLastName").value),e.R7$(),e.Y8G("ngIf",v.wpaForm.healthCareProvider.get("facilityName").value),e.R7$(),e.Y8G("ngIf",v.wpaForm.healthCareProvider.get("specialtyCode").value),e.R7$(),e.Y8G("ngIf",null==(t=v.phones.at(0))?null:t.get("phoneNumber").value),e.R7$(),e.Y8G("ngIf",null==(i=v.phones.at(1))?null:i.get("phoneNumber").value),e.R7$(),e.Y8G("ngIf",null==(r=v.phones.at(2))?null:r.get("phoneNumber").value),e.R7$(2),e.FS9("value",e.bMT(143,115,"myAbsences.reportTime.confirmBtn")),e.Y8G("disabled",e.bMT(144,117,v.userService.portalPermission$)===v.PortalPermission.ClickThru),e.R7$(3),e.FS9("value",e.bMT(146,119,"back"))}}function t2(n,d){if(1&n){const t=e.RV6();e.j41(0,"div")(1,"h1",16),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div",260)(5,"div"),e.nrm(6,"img",261),e.k0s(),e.j41(7,"div")(8,"p",262),e.EFF(9),e.nI1(10,"translate"),e.k0s(),e.j41(11,"p",263),e.EFF(12),e.nI1(13,"translate"),e.k0s()()(),e.nrm(14,"br"),e.j41(15,"div",18)(16,"span"),e.EFF(17),e.nI1(18,"translate"),e.k0s(),e.j41(19,"span",264),e.EFF(20),e.k0s()(),e.j41(21,"div")(22,"h2",265),e.EFF(23),e.nI1(24,"translate"),e.k0s(),e.j41(25,"div",266)(26,"div",267),e.nrm(27,"img",268),e.k0s(),e.j41(28,"span")(29,"a",269),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.downloadRequestDetails())})("keydown.enter",function(r){return e.eBV(t),r.preventDefault(),e.Njj(r.target.click())}),e.j41(30,"span",270),e.EFF(31),e.nI1(32,"translate"),e.k0s(),e.j41(33,"span",140),e.EFF(34),e.nI1(35,"translate"),e.k0s()()()()(),e.nrm(36,"br"),e.j41(37,"div",264)(38,"h2",265),e.EFF(39),e.nI1(40,"translate"),e.k0s(),e.j41(41,"div",266)(42,"div",267),e.nrm(43,"img",271),e.k0s(),e.j41(44,"span")(45,"a",272)(46,"span",270),e.EFF(47),e.nI1(48,"translate"),e.k0s(),e.j41(49,"span",140),e.EFF(50),e.nI1(51,"translate"),e.k0s()()()()(),e.nrm(52,"br"),e.k0s()}if(2&n){const t=e.XpG();e.R7$(2),e.JRh(e.bMT(3,11,"wpa.requestConfirmation")),e.R7$(7),e.JRh(e.bMT(10,13,"wpa.successfulRequest.pageDescription1")),e.R7$(3),e.JRh(e.bMT(13,15,"wpa.successfulRequest.pageDescription2")),e.R7$(5),e.JRh(e.bMT(18,17,"wpa.successfulRequest.reference")),e.R7$(3),e.JRh(t.wpaForm.id.value),e.R7$(3),e.SpI(" ",e.bMT(24,19,"wpa.successfulRequest.copyOfWpa"),""),e.R7$(8),e.JRh(e.bMT(32,21,"download")),e.R7$(3),e.JRh(e.bMT(35,23,"wpa.successfulRequest.downloadCopy")),e.R7$(5),e.SpI(" ",e.bMT(40,25,"wpa.successfulRequest.updatesTitle"),""),e.R7$(8),e.JRh(e.bMT(48,27,"contactUs")),e.R7$(3),e.JRh(e.bMT(51,29,"wpa.successfulRequest.updatesDesc"))}}let QE=(()=>{class n{constructor(t,i,r,u,v,V,Ce,it,At,Ot,Jt){this.formBuilder=t,this.router=i,this.createRequestService=r,this.activatedRoute=u,this.translate=v,this.eventService=V,this.createRequestUtil=Ce,this.domainConfigService=it,this.modal=At,this.userService=Ot,this.createRequestLoggingUtil=Jt,this.PortalPermission=p.A$,this.requestBody=new SA,this.co
1deMap=new Map,this.statesMap=new Map,this.countriesMap=new Map,this.wpaDecisionStatusesMap=new Map,this.allStates=[],this.filteredStates=[],this.countries=[],this.wpaConditions=[],this.conditionDisplay="",this.wpaValidationErrors={conditionDetailsError:"",wpaDetailsError:[],hcpPhoneNumberError:"",hcpPageTwoError:"",reviewPageError:"",submissionError:"",updateError:""},this.updateInfoValidationErrors={mobilePhoneError:null,stateError:null,streetError:null,cityError:null,zipCodeError:null,countryError:null,primaryEmailError:null,confirmedPrimaryEmailError:null},this.otherCondition={display:this.translate.instant("other"),value:"11028",sortOrder:null},this.Constants=p.YM,this.EventConstants=p.sb,this.JSON=JSON,this.Number=Number,this.domainResourcePath=se.z.getBaseResourcePath()}ngOnInit(){this.checkSessionStorage(),this.updateStepInUrl(),this.hostName=JSON.parse(sessionStorage.getItem(p.YM.DOMAIN_INFO)).pageElementsNg.productName,this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)),this.localeId=this.userInfo.localeId,this.userSession=this.activatedRoute.snapshot.data.userSession,this.wpaConditions=this.activatedRoute.snapshot.data.wpaConditions,this.setDistributionPreferenceId(),this.setAddresses(),this.setPhones(),this.primaryEmail=this.userSession.behalfOfUserSession.primaryEmail,this.createRequestService.getCodeMap("CountriesMap,StatesMap,WorkplaceAccommodationTypeMap,DecisionReasonDeniedMap,LeaveDecisionStatusMap,lrHCPSpecialtyMap").subscribe(i=>
1{this.codeMap=new Map(Object.entries(i)),this.setupCodeMapValues()}),this.createForm(),this.updateForm(),this.setDatePickerMax(),this.step===ts.Y.PERSONAL_INFORMATION_STEP&&!sessionStorage.getItem("personalInfoLogged")&&(this.createRequestLoggingUtil.logViewAddWpaEvent(p.sb.VIEW_PERSONAL_INFORMATION,null),sessionStorage.setItem("personalInfoLogged","true")),this.baseDomainName=this.domainConfigService.baseDomainName}canDeactivate(){return(0,e.naY)()&&console.log("[canDeactivate] step:",this.step,"| successfullyUpdatedPersInfo:",this.successfullyUpdatedPersInfo,"| isExitModalOpen:",sessionStorage.getItem("isExitModalOpen")),this.step===ts.Y.SUCCESS_STEP||sessionStorage.getItem("isExitModalOpen")?((0,e.naY)()&&console.log("[canDeactivate] \u2192 true (success or modal already open)"),this.createRequestService.clearSessionStorage(),!0):this.step===ts.Y.PERSONAL_INFORMATION_STEP&&this.successfullyUpdatedPersInfo?((0,e.naY)()&&console.log("[canDeactivate] \u2192 true (pers info step, already updated)"),!0):this.step!==ts.Y.SUCCESS_STEP?((0,e.naY)()&&console.log("[canDeactivate] \u2192 opening exit modal"),this.modal.open(SE.A).result.then(i=>((0,e.naY)()&&console.log("[canDeactivate] modal result:",i),!1!==i&&(this.createRequestService.clearSessionStorage(),!0))).catch(()=>((0,e.naY)()&&console.log("[canDeactivate] modal dismissed"),!1))):((0,e.naY)()&&console.log("[canDeactivate] \u2192 false (fallthrough)"),!1)}onWindowResize(){this.step===ts.Y.PERSONAL_MEDICAL_CONDITION_STEP&&this.adjustOtherConditionTileWidth()}ngAfterViewInit(){this.step===ts.Y.PERSONAL_MEDICAL_CONDITION_STEP&&this.adjustOtherConditionTileWidth()}setDistributionPreferenceId(){this.distributionPreferenceId=sessionStorage.getItem("distributionPreferenceId")?Number(sessionStorage.getItem("distributionPreferenceId")):this.userSession.behalfOfUserSession.distributionPreferenceId??p.YM.SENDMYCORRESPONDENCEBY_EMAIL_ONLY}adjustOtherConditionTileWidth(){const u=200*Math.floor(this.flexContainer.nativeElement.offsetWidth/200)-20;this.otherConditionTile.nativeElement.style.width=u+"px"}setupCodeMapValues(){const t=this.createRequestUtil.denialReasonsIds,i=this.createRequestUtil.leaveStatusIdsWithoutCancelled;this.countriesMap=new Map(Object.entries(this.codeMap.get("CountriesMap"))),this.statesMap=new Map(Object.entries(this.codeMap.get("StatesMap"))),this.countries=Array.from(this.countriesMap.values()),this.allStates=Array.from(this.statesMap.values()),this.setFilteredStates(),this.wpaTypesList=this.createRequestUtil.setWpaTypesList(this.localeId,this.codeMap),this.wpaDecisionStatusesMap=new Map(Object.entries(i.reduce((r,u)=>({...r,[u]:this.codeMap.get("LeaveDecisionStatusMap")[u]}),{}))),this.denialReasonList=t.map(r=>this.codeMap.get("DecisionReasonDeniedMap")[r]).sort((r,u)=>r.sortOrder-u.sortOrder),this.providerSpecialtyList=Object.values(this.codeMap.get("lrHCPSpecialtyMap")).sort((r,u)=>r.sortOrder-u.sortOrder)}get wpaForm(){return this.submitWorkplaceAccommodationForm.controls}get wpaTypes(){return this.submitWorkplaceAccommodationForm.get("wpaTypes")}get phones(){return this.submitWorkplaceAccommodationForm.get("healthCareProvider").get("phones")}updateForm(){this.createRequestService.getIncompleteWpaRequestForm().subscribe(t=>{t&&(this.setForm(t),this.setConditionCodeId(t.conditionCodeId)),this.step===ts.Y.HCP_INFORMATION_PART_ONE_STEP&&this.resetHcpPhones()})}skipHcp(){this.submitWorkplaceAccommodationForm.get("healthCareProvider").get("hcpFirstName").setValue(null),this.submitWorkplaceAccommodationForm.get("healthCareProvider").get("hcpLastName").setValue(null),this.submitWorkplaceAccommodationForm.get("healthCareProvider").get("facilityName").setValue(null),this.submitWorkplaceAccommodationForm.get("healthCareProvider").get("specialtyCode").setValue(null),this.phones.at(0).setValue(this.phoneTemplate()),this.phones.at(1).setValue(this.phoneTemplate()),this.phones.at(2).setValue(this.phoneTemplate()),this.submitWorkplaceAccommodationForm.get("healthCareProvider").get("faxToHcp").setValue(!1),this.submitWorkplaceAccommodationForm.get("healthCareProvider").get("allowOutreach").setValue(!1),this.submitWorkplaceAccommodationForm.get("healthCareProvider").get("attention").setValue(null),this.step++,sessionStorage.setItem("hcpSkipped","true"),this.incrementStep()}
1setFaxRecipient(){const t=this.submitWorkplaceAccommodationForm.get("healthCareProvider").get("hcpFirstName").value,i=this.submitWorkplaceAccommodationForm.get("healthCareProvider").get("hcpLastName").value,r=this.submitWorkplaceAccommodationForm.get("healthCareProvider").get("attention").value;t&&i&&!r&&this.submitWorkplaceAccommodationForm.get("healthCareProvider").get("attention").setValue(t+" "+i)}setFeatureEvent(t,i){this.addFeatureEvent=i,sessionStorage.setItem("addFeatureEvent",i.toString()),this.decrementStep(t)}decrementStep(t=null){this.step--,sessionStorage.setItem("step",this.step.toString()),this.postDecrementStepActions(t)}postDecrementStepActions(t=null){this.clearErrors();const i="true"===sessionStorage.getItem("hcpSkipped");sessionStorage.getItem("hcpSkipped")&&!0===i&&this.resetHcpPageTwo(),this.step===ts.Y.HCP_INFORMATION_PART_ONE_STEP&&this.resetHcpPhones(),t&&(this.updateType=t,sessionStorage.setItem("updateType",this.updateType)),this.createRequestLoggingUtil.logPageViewEvent(this.step,ts.Y.BACKWARD_NAV),this.updateStepInUrl()}incrementStep(){this.step===ts.Y.PERSONAL_INFORMATION_STEP&&(this.beginRequest(),this.beginRequestError)||(this.step++,sessionStorage.setItem("step",this.step.toString()),this.postIncrementStepActions())}postIncrementStepActions(){this.step===ts.Y.HCP_INFORMATION_PART_ONE_STEP?(this.resetHcpPhones(),this.isWob()||this.setDecisionToRequested()):this.step===ts.Y.REVIEW_REQUEST_STEP&&(this.setRequestedDate(),this.setDatePickerMax(),this.setFaxRecipient()),this.step>ts.Y.PERSONAL_INFORMATION_STEP&&this.step<ts.Y.SUCCESS_STEP&&this.saveForm().then(),this.step===ts.Y.PERSONAL_INFORMATION_STEP&&this.successfullyUpdatedPersInfo?this.refreshPage():(this.createRequestLoggingUtil.logPageViewEvent(this.step,ts.Y.FORWARD_NAV),this.step===ts.Y.PERSONAL_INFORMATION_STEP&&(this.resetPersonalInfo(),this.beginRequestError=null),this.updateStepInUrl())}refreshPage(){this.router.navigateByUrl("/").then(()=>{this.updateStepInUrl()})}updateStepInUrl(){this.router.navigate(["/createRequest"],this.step!==ts.Y.SUCCESS_STEP?{queryParams:{requestType:sessionStorage.getItem("requestType"),step:+sessionStorage.getItem("step")+1}}:{queryParams:{requestType:sessionStorage.getItem("requestType")}})}saveForm(){var t=this;return(0,rn.A)(function*(){t.createRequestService.postIncompleteWpaRequestForm(t.submitWorkplaceAccommodationForm.value).subscribe()})()}resetPersonalInfo(){this.setPhones(),this.setAddresses(),this.setFilteredStates(),this.confirmedPrimaryEmail=null,this.primaryEmail=this.userSession.behalfOfUserSession.primaryEmail}setFilteredStates(){this.filteredStates=rd.statesForCountry(this.allStates,this.oldAddress.countryID)}resetHcpPageTwo(){this.submitWorkplaceAccommodationForm.get("healthCareProvider").get("faxToHcp").setValue(null),this.submitWorkplaceAccommodationForm.get("healthCareProvider").get("allowOutreach").setValue(null),this.submitWorkplaceAccommodationForm.get("healthCareProvider").get("attention").setValue(null),this.step--,sessionStorage.setItem("step",this.step.toString()),sessionStorage.setItem("hcpSkipped","false")}setRequestedDate(){const t=this.getToday(),i=this.submitWorkplaceAccommodationForm.get("requestedDate").value;this.submitWorkplaceAccommodationForm.get("requestedDate").setValue(i?{year:i.year,month:i.month,day:i.day}:t)}setDatePickerMax(){this.datePickerMax=this.getToday()}getToday(){return{year:(new Date).getFullYear(),month:(new Date).getMonth()+1,day:(new Date).getDate()}}clearErrors(){this.wpaValidationErrors.conditionDetailsError=null,this.wpaValidationErrors.wpaDetailsError=[],this.wpaValidationErrors.hcpPhoneNumberError=null,this.wpaValidationErrors.hcpPageTwoError=null,this.wpaValidationErrors.reviewPageError=null,this.wpaValidationErrors.submissionError=null,this.wpaValidationErrors.updateError=null,this.updateInfoValidationErrors.mobilePhoneError=null,this.updateInfoValidationErrors.stateError=null,this.updateInfoValidationErrors.streetError=null,this.updateInfoValidationErrors.cityError=null,this.updateInfoValidationErrors.zipCodeError=null,this.updateInfoValidationErrors.countryError=null,this.updateInfoValidationErrors.primaryEmailError=null,this.updateInfoValidationErrors.confirmedPrimaryEmailError=null,this.clearFormErrors(this.submitWorkplaceAccommodationForm)}
1clearFormErrors(t){Object.keys(t.controls).forEach(i=>{const r=t.get(i);r instanceof ge.MJ?r.setErrors(null):(r instanceof ge.gE||r instanceof ge.Yp)&&this.clearFormErrors(r)})}setDecisionToRequested(){this.submitWorkplaceAccommodationForm.get(["wpaTypes",0]).get(["wpaDecisions",0]).get("statusCodeId").setValue(p.YM.FSP_DECISION_STATUS_REQUESTED)}submitWpaRequest(){var t=this;if(this.wpaValidationErrors.submissionError=null,this.submitWorkplaceAccommodationForm.invalid)return;const i=this.setRequestBody(new Yt.jH);this.createRequestService.postCompleteWpaRequestForm(i).subscribe(function(){var r=(0,rn.A)(function*(u){t.eventService.logEvent(p.sb.SUBMIT_WORKPLACE_ACCOMMODATION,p.sb.USER_SUCCESSFULLY_SUBMITTED_WORKPLACE_ACCOMMODATION_MSG,u.id.toString()),t.submitWorkplaceAccommodationForm.get("id").setValue(u.id),yield t.saveForm(),t.updateForm(),t.step++,sessionStorage.setItem("step",t.step.toString()),t.updateStepInUrl()});return function(u){return r.apply(this,arguments)}}(),r=>{this.wpaValidationErrors.submissionError=this.translate.instant(400===r?.status&&i?.conditionDetails?.length>750?"wpa.conditionDetails.detailsLength":"createRequest.errorProcessing"),this.eventService.logEvent(p.sb.ADD_WORKPLACE_ACCOMMODATION_ERROR,p.sb.ERROR_PROCESSING_REQUEST,p.sb.STEP_SEVEN_FINAL_REVIEW)})}doesConditionDetailsPageFormHaveErrors(){if(this.wpaValidationErrors.conditionDetailsError=null,this.submitWorkplaceAccommodationForm.get("conditionCodeId")){if(this.submitWorkplaceAccommodationForm.get("conditionCodeId").value==p.YM.OTHER_CONDITION&&!this.submitWorkplaceAccommodationForm.get("conditionDetails").value)return this.submitWorkplaceAccommodationForm.get("conditionDetails").setErrors({"No value provided for required field":!1}),this.wpaValidationErrors.conditionDetailsError=this.translate.instant("wpa.conditionDetails.detailsRequired"),void this.eventService.logEvent(p.sb.ADD_WORKPLACE_ACCOMMODATION_ERROR,p.sb.CONDITION_DETAILS_REQUIRED,p.sb.STEP_THREE_CONDITION_DETAILS);if(this.submitWorkplaceAccommodationForm.get("conditionCodeId").value!=p.YM.PREGNANCY_RELATED_CONDITION&&null==this.submitWorkplaceAccommodationForm.get("employeeReportedWorkersCompensation").value)return this.submitWorkplaceAccommodationForm.get("employeeReportedWorkersCompensation").setErrors({"No value provided for required field":!1}),this.wpaValidationErrors.conditionDetailsError=this.translate.instant("wpa.conditionDetails.isWorkersCompRequired"),void this.eventService.logEvent(p.sb.ADD_WORKPLACE_ACCOMMODATION_ERROR,p.sb.WORKERS_COMPENSATION_INDICATOR_REQUIRED,p.sb.STEP_THREE_CONDITION_DETAILS);if(this.submitWorkplaceAccommodationForm.get("conditionCodeId").value==p.YM.LACTATION&&null==this.submitWorkplaceAccommodationForm.get("employeeLactationCondition").value)return this.submitWorkplaceAccommodationForm.get("employeeLactationCondition").setErrors({"No value provided for required field":!1}),this.wpaValidationErrors.conditionDetailsError=this.translate.instant("wpa.conditionDetails.isNursingRequired"),void this.eventService.logEvent(p.sb.ADD_WORKPLACE_ACCOMMODATION_ERROR,p.sb.LACTATION_NURSING_INDICATOR_REQUIRED,p.sb.STEP_THREE_CONDITION_DETAILS)}this.incrementStep()}doesWpaDetailsPageFormHaveErrors(){this.wpaValidationErrors.wpaDetailsError=[];const t=this.submitWorkplaceAccommodationForm.get(["wpaTypes",0]).get(["wpaDecisions",0]).get("startDate").value,i=this.submitWorkplaceAccommodationForm.get(["wpaTypes",0]).get(["wpaDecisions",0]).get("endDate").value,r=[],u=Ce=>r.push(Ce);this.submitWorkplaceAccommodationForm.get(["wpaTypes",0]).get("typeCodeId").value||(this.submitWorkplaceAccommodationForm.get(["wpaTypes",0]).get("typeCodeId").setErrors({"No value provided for required field":!0}),this.eventService.logEvent(p.sb.ADD_WORKPLACE_ACCOMMODATION_ERROR,p.sb.ACCOMMODATION_TYPE_NOT_SELECTED,p.sb.STEP_FOUR_WORKPLACE_ACCOMMODATION_DETAILS),u(this.translate.instant("wpa.wpaDetails.accommodationTypeRequired")));let v=!1;t?this.createRequestUtil.dateValidator(t)?v=!0:(this.submitWorkplaceAccommodationForm.get(["wpaTypes",0]).get(["wpaDecisions",0]).get("startDate").setErrors({"Invalid date format":!0}),this.eventService.logEvent(p.sb.ADD_WORKPLACE_ACCOMMODATION_ERROR,p.sb.DATE_FORMAT_INVALID,p.sb.STEP_FOUR_WORKPLACE_ACCOMMODATION_DETAILS),u(this.translate.instant("myAbsences.leaveRequestDetails.updateDecisionEndDate.RTW.validation.date.format"))):(this.submitWorkplaceAccommodationForm.get(["wpaTypes",0]).get(["wpaDecisions",0]).get("startDate").setErrors({"No value provided for required field":!0}),this.eventService.logEvent(p.sb.ADD_WORKPLACE_ACCOMMODATION_ERROR,p.sb.START_DATE_NOT_SELECTED,p.sb.STEP_FOUR_WORKPLACE_ACCOMMODATION_DETAILS),u(this.translate.instant("wpa.wpaDetails.startDateRequired")));let V=!0;if(i&&!this.createRequestUtil.dateValidator(i)&&(this.submitWorkplaceAccommodationForm.get(["wpaTypes",0]).get(["wpaDecisions",0]).get("endDate").setErrors({"Invalid date format":!0}),this.eventService.logEvent(p.sb.ADD_WORKPLACE_ACCOMMODATION_ERROR,p.sb.DATE_FORMAT_INVALID,p.sb.STEP_FOUR_WORKPLACE_ACCOMMODATION_DETAILS),u(this.translate.instant("myAbsences.leaveRequestDetails.updateDecisionEndDate.RTW.validation.date.format")),V=!1),v&&V&&this.createRequestUtil.isEndDateBeforeStartDate(t,i)&&(this.submitWorkplaceAccommodationForm.get(["wpaTypes",0]).get(["wpaDecisions",0]).get("startDate").setErrors({"End date before start date":!0}),this.submitWorkplaceAccommodationForm.get(["wpaTypes",0]).get(["wpaDecisions",0]).get("endDate").setErrors({"End date before start date":!0}),this.eventService.logEvent(p.sb.ADD_WORKPLACE_ACCOMMODATION_ERROR,p.sb.END_DATE_BEFORE_START,p.sb.STEP_FOUR_WORKPLACE_ACCOMMODATION_DETAILS),u(this.translate.instant("wpa.reviewPage.endDateBeforeStart"))),this.isWob()){this.submitWorkplaceAccommodationForm.get(["wpaTypes",0]).get(["wpaDecisions",0]).get("statusCodeId").value||(this.submitWorkplaceAccommodationForm.get(["wpaTypes",0]).get(["wpaDecisions",0]).get("statusCodeId").setErrors({"No value provided for required field":!0}),this.eventService.logEvent(p.sb.ADD_WORKPLACE_ACCOMMODATION_ERROR,p.sb.DECISION_NOT_SELECTED,p.sb.STEP_FOUR_WORKPLACE_ACCOMMODATION_DETAILS),u(this.translate.instant("partialLeaveDecision.status.notSelected"))),this.submitWorkplaceAccommodationForm.get(["wpaTypes",0]).get(["wpaDecisions",0]).get("statusCodeId").value==p.YM.FSP_DECISION_STATUS_DENIED&&!this.submitWorkplaceAccommodationForm.get(["wpaTypes",0]).get(["wpaDecisions",0]).get("reasonCodeIds").value&&(this.submitWorkplaceAccommodationForm.get(["wpaTypes",0]).get(["wpaDecisions",0]).get("reasonCodeIds").setErrors({"No value provided for required field":!0}),this.eventService.logEvent(p.sb.ADD_WORKPLACE_ACCOMMODATION_ERROR,p.sb.DECISION_REASON_NOT_SELECTED,p.sb.STEP_FOUR_WORKPLACE_ACCOMMODATION_DETAILS),u(this.translate.instant("partialLeaveDecision.reason.notSelected")));const Ce=this.submitWorkplaceAccommodationForm.get(["wpaTypes",0]).get(["wpaDecisions",0]).get("cost").value;Ce&&(isNaN(Ce)||Ce<0)?(this.submitWorkplaceAccommodationForm.get(["wpaTypes",0]).get(["wpaDecisions",0]).get("cost").setErrors({"Invalid value provided for required field":!0}),this.eventService.logEvent(p.sb.ADD_WORKPLACE_ACCOMMODATION_ERROR,p.sb.COST_NOT_ENTE
1RED,p.sb.STEP_FOUR_WORKPLACE_ACCOMMODATION_DETAILS),u(this.translate.instant("wpa.wpaDetails.invalidCost"))):r.length||this.createRequestUtil.cleanCost(Number(Ce),this.submitWorkplaceAccommodationForm.get(["wpaTypes",0]))}r.length?this.wpaValidationErrors.wpaDetailsError=r:(this.updateReasonCodeId(),this.incrementStep())}updateReasonCodeId(){this.submitWorkplaceAccommodationForm.get(["wpaTypes",0]).get(["wpaDecisions",0]).get("statusCodeId").value!=p.YM.FSP_DECISION_STATUS_DENIED&&this.submitWorkplaceAccommodationForm.get(["wpaTypes",0]).get(["wpaDecisions",0]).get("reasonCodeIds").setValue(null)}doesReviewPageFormHaveErrors(){this.wpaValidationErrors.reviewPageError=null;const t=this.submitWorkplaceAccommodationForm.get("requestedDate").value;if(this.isWob()){if(!t)return this.submitWorkplaceAccommodationForm.get("requestedDate").setErrors({"No value provided for required field":!0}),this.wpaValidationErrors.reviewPageError=this.translate.instant("validation.requestedDate.dateBlank"),void this.eventService.logEvent(p.sb.ADD_WORKPLACE_ACCOMMODATION_ERROR,p.sb.REQUESTED_DATE_REQUIRED,p.sb.STEP_SEVEN_FINAL_REVIEW);if(!this.createRequestUtil.dateValidator(t))return this.submitWorkplaceAccommodationForm.get("requestedDate").setErrors({"Invalid date format":!0}),this.wpaValidationErrors.reviewPageError=this.translate.instant("myAbsences.leaveRequestDetails.updateDecisionEndDate.RTW.validation.date.format"),void this.eventService.logEvent(p.sb.ADD_WORKPLACE_ACCOMMODATION_ERROR,p.sb.DATE_FORMAT_INVALID,p.sb.STEP_SEVEN_FINAL_REVIEW);const i={year:(new Date).getFullYear(),month:(new Date).getMonth()+1,day:(new Date).getDate()};if(on(t).isAfter(i))return this.submitWorkplaceAccommodationForm.get("requestedDate").setErrors({"Date cannot be in the future":!0}),this.wpaValidationErrors.reviewPageError=this.translate.instant("wpa.reviewPage.requestedDateCannotBeFutureDate"),void this.eventService.logEvent(p.sb.ADD_WORKPLACE_ACCOMMODATION_ERROR,p.sb.FUTURE_DATE_INVALID,p.sb.STEP_SEVEN_FINAL_REVIEW)}this.submitWpaRequest()}areHcpNumbersValid(){return this.phones.at(0)&&this.phones.at(0).value.phoneNumber&&!this.isValidPhoneNumber(this.phones.at(0).value.phoneNumber)?(this.wpaValidationErrors.hcpPhoneNumberError=this.translate.instant("myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.OfficePhone.ConverterError"),void this.eventService.logEvent(p.sb.ADD_WORKPLACE_ACCOMMODATION_ERROR,p.sb.OFFICE_PHONE_INVALID,p.sb.STEP_FIVE_HCP_DETAILS_PART_ONE)):this.phones.at(1)&&this.phones.at(1).value.phoneNumber&&!this.isValidPhoneNumber(this.phones.at(1).value.phoneNumber)?(this.wpaValidationErrors.hcpPhoneNumberError=this.translate.instant("myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.MobilePhone.ConverterError"),void this.eventService.logEvent(p.sb.ADD_WORKPLACE_ACCOMMODATION_ERROR,p.sb.MOBILE_PHONE_INVALID,p.sb.STEP_FIVE_HCP_DETAILS_PART_ONE)):this.phones.at(2)&&this.phones.at(2).value.phoneNumber&&!this.isValidPhoneNumber(this.phones.at(2).value.phoneNumber)?(this.wpaValidationErrors.hcpPhoneNumberError=this.translate.instant("myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.FaxPhone.ConverterError"),void this.eventService.logEvent(p.sb.ADD_WORKPLACE_ACCOMMODATION_ERROR,p.sb.FAX_PHONE_INVALID,p.sb.STEP_FIVE_HCP_DETAILS_PART_ONE)):(this.setHcpNumbers(),void this.incrementStep())}resetHcpPhones(){if(this.phones.at(0).value.areaCode&&this.phones.at(0).value.phoneNumber){const t=this.phoneTemplate();t.phoneNumber="("+this.phones.at(0).value.areaCode+") "+this.phones.at(0).value.phoneNumber,this.phones.at(0).value.extension&&(t.extension=this.phones.at(0).value.extension),this.phones.at(0).setValue(t)}if(this.phones.at(1).value.areaCode&&this.phones.at(1).value.phoneNumber){const t=this.phoneTemplate();t.phoneNumber="("+this.phones.at(1).value.areaCode+") "+this.phones.at(1).value.phoneNumber,this.phones.at(1).setValue(t)}if(this.phones.at(2).value.areaCode&&this.phones.at(2).value.phoneNumber){const t=this.phoneTemplate();t.phoneNumber="("+this.phones.at(2).value.areaCode+") "+this.phones.at(2).value.phoneNumber,this.phones.at(2).setValue(t)}}phoneTemplate(){return{areaCode:null,phoneNumber:null,extension:null,phoneTypeId:null,phDisplay:null}}copyPhone(t){return{areaCode:t.areaCode,phoneNumber:t.phoneNumber,extension:t.extension,phoneTypeId:t.phoneTypeId,p
1hDisplay:t.phDisplay,phoneId:t.phoneId,countryCode:t.countryCode,primaryNumber:t.primaryNumber,allowText:t.allowText}}setHcpNumbers(){this.phones.at(0)&&this.phones.at(0).value.phoneNumber&&this.formatHcpNumbers(0),this.phones.at(1)&&this.phones.at(1).value.phoneNumber&&this.formatHcpNumbers(1),this.phones.at(2)&&this.phones.at(2).value.phoneNumber&&this.formatHcpNumbers(2)}formatHcpNumbers(t){const i=this.phones.at(t).value;let r=-1;0==t?r=p.YM.WORK_PHONE_TYPE:1==t?r=p.YM.MOBILE_PHONE_TYPE:2==t&&(r=p.YM.FAX_PHONE_TYPE);let u=i.phoneNumber.replace(/\D/g,"");11===u.length&&u.startsWith("1")&&(u=u.substring(1));const v={areaCode:u.slice(0,3),phoneNumber:u.slice(3,6)+"-"+u.slice(6,10),extension:i.extension,phoneTypeId:r,phDisplay:"("+u.slice(0,3)+") "+u.slice(3,6)+"-"+u.slice(6,10)};this.phones.at(t).setValue(v)}isValidPhoneNumber(t){const i=t.replace(/\D/g,"");return/^1?\d{10}$/.test(i)}doesHcpPageTwoFormHaveErrors(){return this.wpaValidationErrors.hcpPageTwoError=null,null==this.submitWorkplaceAccommodationForm.get("healthCareProvider").get("faxToHcp").value?(this.submitWorkplaceAccommodationForm.get("healthCareProvider").get("faxToHcp").setErrors({"No value provided for required field":!1}),this.wpaValidationErrors.hcpPageTwoError=this.translate.instant("myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.missingRefaxForm"),void this.eventService.logEvent(p.sb.ADD_WORKPLACE_ACCOMMODATION_ERROR,p.sb.FAX_FORM_INDICATOR_REQUIRED,p.sb.STEP_SIX_HCP_DETAILS_PART_TWO)):null==this.submitWorkplaceAccommodationForm.get("healthCareProvider").get("allowOutreach").value?(this.submitWorkplaceAccommodationForm.get("healthCareProvider").get("allowOutreach").setErrors({"No value provided for required field":!1}),this.wpaValidationErrors.hcpPageTwoError=this.translate.instant("wpa.hcpDetails.pageTwo.allowOutreachRequired"),void this.eventService.logEvent(p.sb.ADD_WORKPLACE_ACCOMMODATION_ERROR,p.sb.CONTACT_PROVIDER_INDICATOR_REQUIRED,p.sb.STEP_SIX_HCP_DETAILS_PART_TWO)):1!=this.submitWorkplaceAccommodationForm.get("healthCareProvider").get("faxToHcp").value||this.phones.at(2).value.phoneNumber?void this.incrementStep():(this.wpaValidationErrors.hcpPageTwoError=this.translate.instant("hcp.faxToHcp.required"),void this.eventService.logEvent(p.sb.ADD_WORKPLACE_ACCOMMODATION_ERROR,p.sb.PROVIDER_NAME_REQUIRED_TO_FAX_FORMS,p.sb.STEP_SIX_HCP_DETAILS_PART_TWO))}isOtherCondition(){return this.submitWorkplaceAccommodationForm.get("conditionCodeId").value==p.YM.OTHER_CONDITION}setReasonCodeId(){const t=this.isLactationPumpingNursingYes()?p.YM.FSP_DECISION_STATUS_APPROVED:this.submitWorkplaceAccommodationForm.get(["wpaTypes",0]).get(["wpaDecisions",0]).get("statusCodeId").value;return t==p.YM.FSP_DECISION_STATUS_APPROVED?null:t==p.YM.FSP_DECISION_STATUS_REQUESTED?[p.YM.WORK_PLACE_ACCOMMODATION_REASON_CERTIFICATION_NEEDED]:t==p.YM.FSP_DECISION_STATUS_DENIED?[this.submitWorkplaceAccommodationForm.get(["wpaTypes",0]).get(["wpaDecisions",0]).get("reasonCodeIds").value]:void 0}isPregnancyRelated(){return this.submitWorkplaceAccommodationForm.get("conditionCodeId").value==p.YM.PREGNANCY_RELATED_CONDITION}isLactationSelected(){return this.submitWorkplaceAccommodationForm.get("conditionCodeId").value==p.YM.LACTATION}isLactationPumpingNursingYes(){return this.isLactationSelected()&&!0===this.submitWorkplaceAccommodationForm.get("employeeLactationCondition").value}resolveStatusCodeId(t){if(this.isEmployee()&&this.isLactationPumpingNursingYes())return p.YM.FSP_DECISION_STATUS_APPROVED;if(this.isWob()){const i=Number(t.get("statusCodeId")?.value);return this.isLactationPumpingNursingYes()?p.YM.FSP_DECISION_STATUS_APPROVED:i||p.YM.FSP_DECISION_STATUS_REQUESTED}return p.YM.FSP_DECISION_STATUS_REQUESTED}setRequestBody(t){const i=this.submitWorkplaceAccommodationForm,r=i.get("healthCareProvider").get("phones"),u=i.get("wpaTypes").at(0),v=u.get("wpaDecisions").at(0),V=i.get("requestedDate").value,Ce=v.get("startDate").value,it=v.get("endDate").value,At={id:null,wpaId:null,createdBy:null,createdOn:null,versionId:null,decisionId:null,note:null,wpaNote:null,typeCodeId:Number(u.get("typeCodeId").value),wpaDecisions:[{id:null,
1statusCodeId:this.resolveStatusCodeId(v),reasonCodeIds:this.setReasonCodeId(),startDate:new Date(`${Ce.year}-${String(Ce.month).padStart(2,"0")}-${String(Ce.day).padStart(2,"0")}`).toISOString().substring(0,10),endDate:it?new Date(`${it.year}-${String(it.month).padStart(2,"0")}-${String(it.day).padStart(2,"0")}`).toISOString().substring(0,10):null,cost:v.get("cost").value?Number(v.get("cost").value):null,approvedModification:v.get("approvedModification").value,wpaDetails:v.get("wpaDetails").value,typeId:null,typeVersionId:null,createdBy:null,createdOn:null,certifiedWpaDetails:null}]},Jt=r.controls.filter(ns=>ns.value.phoneNumber).map(ns=>({areaCode:ns.get("areaCode").value,phoneNumber:ns.get("phoneNumber").value,extension:ns.get("extension").value,phoneTypeId:ns.get("phoneTypeId").value,phoneId:null,countryCode:null,primaryNumber:null,allowText:null,phDisplay:ns.get("phDisplay").value})),wn=new Date;return{conditionCodeId:i.get("conditionCodeId").value,employeeReportedWorkersCompensation:i.get("employeeReportedWorkersCompensation").value,conditionDetails:i.get("conditionDetails").value,personId:this.userSession.behalfOfUserSession.fspSystemId,createdBy:this.userSession.firstName+" "+this.userSession.lastName,requestedDate:V?new Date(`${V.year}-${String(V.month).padStart(2,"0")}-${String(V.day).padStart(2,"0")}`).toISOString().substring(0,10):new Date(`${wn.getFullYear()}-${String(wn.getMonth()+1).padStart(2,"0")}-${String(wn.getDate()).padStart(2,"0")}`).toISOString().substring(0,10),wpaTypes:[At],healthCareProvider:{attention:i.get("healthCareProvider")?.get("attention")?.value,hcpFirstName:i.get("healthCareProvider")?.get("hcpFirstName")?.value,hcpLastName:i.get("healthCareProvider")?.get("hcpLastName")?.value,facilityName:i.get("healthCareProvider")?.get("facilityName")?.value,specialtyCode:i.get("healthCareProvider").get("specialtyCode").value?Number(i.get("healthCareProvider").get("specialtyCode").value):null,allowOutreach:i.get("healthCareProvider")?.get("allowOutreach")?.value,faxToHcp:i.get("healthCareProvider")?.get("faxToHcp")?.value,specialtyName:null,id:null,leaveRequestId:null,refaxForm:null,faxRecepient:null,address1:null,address2:null,city:null,stateAbbreviation:null,zipCode:null,phones:Jt},decisionId:null,decisionDetails:null,startDate:null,endDate:null,accommodationTypeCodeId:null,id:i.get("id").value,
1note:null,emailOnly:null,employeeEmail:this.userSession.behalfOfUserSession.primaryEmail,message:null,errorCodeId:null,employeeAddress:this.newAddress.street1+", "+this.newAddress.stateAbbreviation+" "+this.newAddress.zipCode+" "+(0===this.localeId?this.newAddress.countryNameEng:this.newAddress.countryNameEsp),employeeNumber:this.userSession.behalfOfUserSession.employeeNumber,accountNumber:null,accountName:null,employeeName:this.userSession.behalfOfUserSession.firstName+" "+this.userSession.behalfOfUserSession.lastName,cost:null,approvedModification:null,hcpName:null,hcpFax:null,mcNeeded:null,createdOn:null,revisedOn:null,dateModified:null,correspondenceMethod:this.distributionPreferenceId,linkedLeaveRequestIds:null,typeCodeId:null,summaryStatusId:null,hrVerifiedWorkersCompensation:null,codeMapValuesToStringsList:this.setCodeMapValuesForRequestCopyDownload(),wpaStatusReason:null}}beginRequest(){if(this.beginRequestError=null,this.wpaValidationErrors.updateError)return;if(!this.oldAddress||!this.oldAddress.street1)return this.beginRequestError=this.translate.instant("mailAddress.errorMsg"),void this.eventService.logEvent(p.sb.ADD_WORKPLACE_ACCOMMODATION_ERROR,p.sb.MAILING_ADDRESS_REQUIRED,p.sb.STEP_ONE_PERSONAL_INFORMATION);if(!this.oldPhones||0===this.oldPhones.length||!this.oldPhones[0].phDisplay)return this.beginRequestError=this.translate.instant("primaryPhone.errorMsg"),void this.eventService.logEvent(p.sb.ADD_WORKPLACE_ACCOMMODATION_ERROR,p.sb.PHONE_NUMBER_REQUIRED,p.sb.STEP_ONE_PERSONAL_INFORMATION);let t=0;for(const i of this.oldPhones)if(i.primaryNumber&&(t++,14!=i.phDisplay.length&&i.phoneTypeId!==p.YM.HOME_PHONE_TYPE))return this.beginRequestError=this.translate.instant("primaryPhone.errorMsg"),void this.eventService.logEvent(p.sb.ADD_WORKPLACE_ACCOMMODATION_ERROR,p.sb.PHONE_NUMBER_REQUIRED,p.sb.STEP_ONE_PERSONAL_INFORMATION);return 0===t?(this.beginRequestError=this.translate.instant("primaryPhone.errorMsg"),void this.eventService.logEvent(p.sb.ADD_WORKPLACE_ACCOMMODATION_ERROR,p.sb.PHONE_NUMBER_REQUIRED,p.sb.STEP_ONE_PERSONAL_INFORMATION)):this.distributionPreferenceId!==p.YM.SENDMYCORRESPONDENCEBY_EMAIL_ONLY||this.primaryEmail?void this.updateCorrespondenceMethod():(this.beginRequestError=this.translate.instant("validation.enterEmail"),void this.eventService.logEvent(p.sb.ADD_WORKPLACE_ACCOMMODATION_ERROR,p.sb.EMAIL_ADDRESS_REQUIRED,p.sb.STEP_ONE_PERSONAL_INFORMATION))}updateCorrespondenceMethod(){this.distributionPreferenceId!=this.userSession.behalfOfUserSession.distributionPreferenceId&&(this.wpaValidationErrors.updateError=null,this.createRequestService.updateCorrespondence({emailAddr:this.primaryEmail,newAddress:null,oldAddress:null,sameAsHome:null,distributionPreferenceId:this.distributionPreferenceId,allowText:!1,phoneReferenceId:null,mobilePhones:null,homePhones:null,oldPhones:null,newPhones:null,oldSameAsHome:null}).subscribe(null,i=>{this.wpaValidationErrors.updateError=i.error.message?i.error.message:this.translate.instant("profile.updateFailure"),this.eventService.logEvent(p.sb.ADD_WORKPLACE_ACCOMMODATION_ERROR,p.sb.UPDATE_PERSONAL_INFORMATION_ERROR,p.sb.STEP_ONE_PERSONAL_INFORMATION)}))}setCodeMapValuesForRequestCopyDownload(){let t=null;t=this.submitWorkplaceAccommodationForm.get("conditionCodeId").value==p.YM.OTHER_CONDITION?this.otherCondition.display:this.wpaConditions.filter(Ce=>Ce.value==this.submitWorkplaceAccommodationForm.get("conditionCodeId").value).map(Ce=>Ce.display)[0];const i=Array.from(this.wpaDecisionStatusesMap.values()).filter(Ce=>Ce.id==this.submitWorkplaceAccommodationForm.get(["wpaTypes",0]).get(["wpaDecisions",0]).get("statusCodeId").value).map(Ce=>0===this.localeId?Ce.displayValueEng:Ce.displayValueEsp)[0];let r=null;this.isDecisionDenied()&&(r=this.denialReasonList.filter(Ce=>Ce.id==this.submitWorkplaceAccommodationForm.get(["wpaTypes",0]).get(["wpaDecisions",0]).get("reasonCodeIds").value).map(Ce=>0===this.localeId?Ce.displayValueEng:Ce.displayValueEsp)[0]);const u=this.wpaTypesList.filter(Ce=>Ce.id==this.submitWorkplaceAccommodationForm.get(["wpaTypes",0]).get("typeCodeId").value).map(Ce=>0===this.localeId?Ce.displayValueEng:Ce.displayValueEsp)[0];let v=null;this.submitWorkplaceAccommodationForm.get("healthCareProvider").get("specialtyCode").value&&(v=this.providerSpecialtyList.filter(Ce=>Ce.id===this.submitWorkplaceAccommodationForm.get("healthCareProvider").get("specialtyCode").value).map(Ce=>0===this.localeId?Ce.displayValueEng:Ce.displayValueEsp)[0]);const V=[];return V.push(t),V.push(i),V.push(r),V.push(u),V.push(v||"null"),V.push(this.hostName),V}isDecisionDenied(){return this.submitWorkplaceAccommodationForm.get(["wpaTypes",0]).value.wpaDecisions[0].statusCodeId==p.YM.FSP_DECISION_STATUS_DENIED}convertDateToString(t){return t.month+"/"+t.day+"/"+t.year}createForm(){this.submitWorkplaceAccommodationForm=this.formBuilder.group({id:null,conditionCodeId:["",ge.k0.required],employeeReportedWorkersCompensation:null,employeeLactationCondition:null,conditionDetail
1s:"",personId:null,createdBy:"",requestedDate:null,wpaTypes:this.formBuilder.array([this.formBuilder.group({typeCodeId:null,wpaDecisions:this.formBuilder.array([this.formBuilder.group({statusCodeId:null,reasonCodeIds:null,startDate:null,endDate:null,cost:null,approvedModification:"",wpaDetails:""})])})]),healthCareProvider:this.formBuilder.group({attention:"",hcpFirstName:null,hcpLastName:null,facilityName:null,specialtyCode:null,allowOutreach:null,faxToHcp:null,phones:this.formBuilder.array([this.createPhoneFormGroup(),this.createPhoneFormGroup(),this.createPhoneFormGroup()])})})}setForm(t){this.submitWorkplaceAccommodationForm.patchValue({id:t.id,conditionCodeId:t.conditionCodeId,employeeReportedWorkersCompensation:t.employeeReportedWorkersCompensation,employeeLactationCondition:t.employeeLactationCondition,conditionDetails:t.conditionDetails,personId:t.personId,createdBy:t.createdBy,requestedDate:t.requestedDate,wpaTypes:[{typeCodeId:t.wpaTypes[0].typeCodeId,wpaDecisions:[{statusCodeId:t.wpaTypes[0].wpaDecisions[0].statusCodeId,reasonCodeIds:t.wpaTypes[0].wpaDecisions[0].reasonCodeIds,startDate:t.wpaTypes[0].wpaDecisions[0].startDate,endDate:t.wpaTypes[0].wpaDecisions[0].endDate,cost:t.wpaTypes[0].wpaDecisions[0].cost,approvedModification:t.wpaTypes[0].wpaDecisions[0].approvedModification,wpaDetails:t.wpaTypes[0].wpaDecisions[0].wpaDetails}]}],healthCareProvider:{attention:t.healthCareProvider.attention,hcpFirstName:t.healthCareProvider.hcpFirstName,hcpLastName:t.healthCareProvider.hcpLastName,facilityName:t.healthCareProvider.facilityName,specialtyCode:t.healthCareProvider.specialtyCode,allowOutreach:t.healthCareProvider.allowOutreach,faxToHcp:t.healthCareProvider.faxToHcp,phones:[{areaCode:t.healthCareProvider.phones[0].areaCode,phoneNumber:t.healthCareProvider.phones[0].phoneNumber,extension:t.healthCareProvider.phones[0].extension,phoneTypeId:t.healthCareProvider.phones[0].phoneTypeId,phDisplay:t.healthCareProvider.phones[0].phDisplay},{areaCode:t.healthCareProvider.phones[1].areaCode,phoneNumber:t.healthCareProvider.phones[1].phoneNumber,extension:t.healthCareProvider.phones[1].extension,phoneTypeId:t.healthCareProvider.phones[1].phoneTypeId,phDisplay:t.healthCareProvider.phones[1].phDisplay},{areaCode:t.healthCareProvider.phones[2].areaCode,phoneNumber:t.healthCareProvider.phones[2].phoneNumber,extension:t.healthCareProvider.phones[2].extension,phoneTypeId:t.healthCareProvider.phones[2].phoneTypeId,phDisplay:t.healthCareProvider.phones[2].phDisplay}]}})}createPhoneFormGroup(){return this.formBuilder.group({areaCode:null,phoneNumber:null,extension:null,phoneTypeId:null,phDisplay:null})}downloadRequestDetails(){const t=this.setRequestBody(new Yt.jH);this.createRequestService.downloadCopyOfRequest(t).subscribe(i=>{const r=window.URL.createObjectURL(i),u=document.createElement("a");u.href=r,u.target="_blank",document.body.appendChild(u),u.click(),this.eventService.logEvent(p.sb.WORKPLACE_ACCOMMODATION_REQUEST_PDF_DOWNLOAD,p.sb.PDF_DOWNLOAD,t.id.toString()),u.remove()},i=>{console.error("Error: ",i)})}isDecisionReasonFieldSelectable(){return this.submitWorkplaceAccommodationForm.get(["wpaTypes",0]).value.wpaDecisions[0].statusCodeId!=p.YM.FSP_DECISION_STATUS_APPROVED&&this.submitWorkplaceAccommodationForm.get(["wpaTypes",0]).value.wpaDecisions[0].statusCodeId!=p.YM.FSP_DECISION_STATUS_REQUESTED}isDecisionDetailsFieldSelectable(){return this.submitWorkplaceAccommodationForm.get(["wpaTypes",0]).value.wpaDecisions[0].statusCodeId!=p.YM.FSP_DECISION_STATUS_REQUESTED}setConditionCodeId(t){this.submitWorkplaceAccommodationForm.get("conditionCodeId").setValue(Number(t)),this.conditionDisplay=t&&Number(t)!==p.YM.OTHER_CONDITION?this.wpaConditions.filter(i=>i.value==t)[0].display:t?this.otherCondition.display:""}checkSessionStorage(){sessionStorage.getItem("step")?this.step=Number(sessionStorage.getItem("step")):(this.step=0,sessionStorage.setItem("step",this.step.toString())),this.personalInfoDisclaimer=!!sessionStorage.getItem("personalInfoDisclaimer")&&!!sessionStorage.getItem("personalInfoDisclaimer"),sessionStorage.getItem("updateType")&&(this.updateType=sessionStorage.getItem("updateType")),sessionStorage.getItem("addFeatureEvent")&&(this.addFeatureEvent=!!sessionStorage.getItem("addFeatureEvent"))}getCorrespondenceMethod(){return this.distributionPreferenceId===p.YM.SENDMYCORRESPONDENCEBY_EMAIL_ONLY?"profile.phone.correspondence343":this.distributionPreferenceId===p.YM.SENDMYCORRESPONDENCEBY_POSTAL_ONLY?"profile.phone.correspondence342":this.distributionPreferenceId===p.YM.SENDMYCORRESPONDENCEBY_BOTH_POSTAL_AND_EMAIL?"profile.phone.correspondence344":void 0}persistPersonalInfoDisclaimerInCaseOfRefresh(){this.personalInfoDisclaimer=!this.personalInfoDisclaimer,this.personalInfoDisclaimer?sessionStorage.setItem("personalInfoDisclaimer",this.personalInfoDisclaimer.toString()):sessionStorage.removeItem("personalInfoDisclaimer")}persistDistributionPreferenceIdInCaseOfRefresh(){sessionStorage.setItem("distributionPreferenceId",this.distributionPreferenceId.toString()),this.beginRequestError===this.translate.instant("validation.enterEmail")&&this.distributionPreferenceId===p.YM.SENDMYCORRESPONDENCEBY_POSTAL_ONLY&&(this.beginRequestError=null)}updateFilteredStates(t){this.filteredStates=rd.statesForCountry(this.allStates,t),this.newAddress.stateID=null,this.newAddress.stateName="",this.newAddress.stateAbbreviation=""}
1isWob(){return this.userInfo.wob}isEmployee(){return!this.userInfo.webEmployerContact&&!this.userInfo.userPrivilege.superUser}setAddresses(){this.userSession.behalfOfUserSession.homeAlternateAddress&&this.userSession.behalfOfUserSession.homeAlternateAddress.street1?this.setUpAddress(this.userSession.behalfOfUserSession.homeAlternateAddress):this.userSession.behalfOfUserSession.homeAddress&&this.userSession.behalfOfUserSession.homeAddress.street1?this.setUpAddress(this.userSession.behalfOfUserSession.homeAddress):(this.oldAddress=new Yt.pV,this.newAddress=new Yt.pV),this.newAddress.countryID||(this.newAddress.countryID=p.YM.COUNTRY_UNITED_STATES),this.newAddress.street1||(this.newAddress.stateID=null,this.newAddress.countryID=null)}setUpAddress(t){this.oldAddress=JSON.parse(JSON.stringify(t)),this.newAddress=JSON.parse(JSON.stringify(t))}setPhones(){this.oldPhones=[],this.newPhones=[],this.setUpPhonesHelper(this.userSession.behalfOfUserSession.homePhoneList,this.translate.instant("profile.phone.home")),this.setUpPhonesHelper(this.userSession.behalfOfUserSession.mobilePhoneList,this.translate.instant("profile.phone.mobile")),this.setPhoneNumbers()}setUpPhonesHelper(t,i){t&&t.forEach(r=>{if(r.phoneNumber&&r.phoneNumber.length>6){const u=this.copyPhone(r);r.phoneNumber.includes("-")||(r.phoneNumber=`${r.phoneNumber.substring(0,3)}-${r.phoneNumber.substring(3,8)}`,u.phoneNumber=`${u.phoneNumber.substring(0,3)}-${u.phoneNumber.substring(3,8)}`),r.phDisplay=`(${r.areaCode}) ${r.phoneNumber.substring(0,8)}`,this.oldPhones.push(r),u.phDisplay=`(${u.areaCode}) ${u.phoneNumber.substring(0,8)}`,this.newPhones.push(u),r.primaryNumber&&(this.primaryPhoneDisplay=i+` - (${u.areaCode}) ${u.phoneNumber}`)}})}setPhoneNumbers(){if(0==this.userSession.behalfOfUserSession.mobilePhoneList.length){const t=new Yt.bc;t.phoneId=null,t.phDisplay=null,t.phoneTypeId=p.YM.MOBILE_PHONE_TYPE,this.newPhones.push(t)}if(0==this.userSession.behalfOfUserSession.homePhoneList.length){const t=new Yt.bc;t.phoneId=null,t.phoneTypeId=p.YM.HOME_PHONE_TYPE,t.phDisplay="(###) ###-####",this.newPhones.push(t)}}back(){(0,e.naY)()&&console.log("[back] wob:",this.userInfo?.wob,"| mgrOrHR:",this.userInfo?.userPrivilege?.mgrOrHR,"| showLeadershipDashboard:",this.userInfo?.userPrivilege?.showLeadershipDashboard,"| step:",this.step);const t=this.userInfo?.wob||!this.userInfo?.userPrivilege?"absences":MA.b.homeRouteForUser(this.userInfo);this.router.navigateByUrl(t)}UpdatePhoneNumbers(){this.wpaValidationErrors.updateError=null;let t=0,i=0;for(const v of this.newPhones)if(v.primaryNumber&&t++,v.phDisplay&&v.phoneTypeId!==p.YM.HOME_PHONE_TYPE){let V=v.phDisplay.replace(/\D/g,"");if(11===V.length&&V.startsWith("1")&&(V=V.substring(1)),V.length>0&&10!=V.length)return this.updateInfoValidationErrors.mobilePhoneError=!0,void(this.wpaValidationErrors.updateError="myAbsences.leaveRequestDetails.updateHCP.HCPProvidersDetails.MobilePhone.ConverterError");if(v.allowText&&(i++,i>1))return void(this.wpaValidationErrors.updateError=this.translate.instant("profile.validation.allowTextTwice"));v.areaCode=V.substring(0,3),v.phoneNumber=`${V.substring(3,6)}-${V.substring(6,10)}`}if(0==t)return void(this.wpaValidationErrors.updateError=this.isWob()?this.translate.instant("updatePhone.error.noPrimaryNumberWob"):this.translate.instant("updatePhone.error.noPrimaryNumber"));if(t>1)return void(this.wpaValidationErrors.updateError=this.translate.instant("updatePhone.error.moreThanOnePrimaryNum"));if(this.isMobilePhoneDeleted())return void(this.wpaValidationErrors.updateError=this.translate.instant("mobileNum.error.delete"));const r=this.newPhones.filter(v=>null!==v.phDisplay&&"(###) ###-####"!==v.phDisplay),u={emailAddr:this.primaryEmail,newAddress:null,oldAddress:null,sameAsHome:null,distributionPreferenceId:this.userSession.behalfOfUserSession.distributionPreferenceId,allowText:1==i,phoneReferenceId:null,mobilePhones:null,homePhones:null,oldPhones:this.oldPhones,newPhones:r,oldSameAsHome:null};this.createRequestService.updatePhoneNumbers(u,this.addFeatureEvent).subscribe(v=>{this.successfullyUpdatedPersInfo=!0;const V=`${p.sb.PRIMARY_PHONE_SAVED} with Allow Text saved as: ${u.allowText} from Create WPA`;this.createRequestLoggingUtil.logViewAddWpaEvent(this.createRequestLoggingUtil.getEventText(p.YM.PHONE_NUMBER),V),this.saveForm()},v=>{v.error&&(this.wpaValidationErrors.updateError=this.translate.instant("updatePhone.error.serverError"),this.eventService.logEvent(p.sb.ADD_WORKPLACE_ACCOMMODATION_ERROR,p.sb.UPDATE_PHONE_NUMBERS_ERROR,p.sb.STEP_ONE_PERSONAL_INFORMATION))})}isMobilePhoneDeleted(){let t=0;for(const r of this.oldPhones)r.phDisplay&&r.phoneTypeId==p.YM.MOBILE_PHONE_TYPE&&t++;let i=0;for(const r of this.newPhones)r.phDisplay&&r.phoneTypeId==p.YM.MOBILE_PHONE_TYPE&&i++;return t>i}updateAddress(){this.wpaValidationErrors.updateError=null;const t={emailAddr:this.primaryEmail,newAddress:this.newAddress,oldAddress:this.oldAddress,sameAsHome:null,distributionPreferenceId:this.userSession.behalfOfUserSession.distributionPreferenceId,allowText:!1,phoneReferenceId:null,mobilePhones:null,homePhones:null,oldPhones:null,newPhones:null,oldSameAsHome:null},i=this.doesAddressChangeHaveErrors();if(i)this.wpaValidationErrors.updateError=i;else{for(const r of this.filteredStates)this.newAddress.stateID&&r.id===Number(this.newAddress.stateID)&&(this.newAddress.stateName=0===this.localeId?r.displayValueEng:r.displayValueEsp,this.newAddress.stateAbbreviation=r.description);for(const r of this.countries)r.id===Number(this.newAddress.countryID)&&(this.newAddress.countryNameEng=r.displayValueEng,this.newAddress.countryNameEsp=r.displayValueEsp);this.createRequestService.updateAddress(t).subscribe(r=>{this.successfullyUpdatedPersInfo=!0,this.createRequestLoggingUtil.logViewAddWpaEvent(this.createRequestLoggingUtil.getEventText(p.YM.MAILING_ADDRESS),p.sb.MAILING_ADDRESS_SAVED),this.saveForm()},r=>{r.error&&(this.wpaValidationErrors.updateError=this.translate.instant("updateAddress.errorMsg"),this.eventService.logEvent(p.sb.ADD_WORKPLACE_ACCOMMODATION_ERROR,p.sb.UPDATE_ADDRESS_E
1RROR,p.sb.STEP_ONE_PERSONAL_INFORMATION))})}}doesAddressChangeHaveErrors(){let t=!1;for(const i of this.filteredStates)if(i.parentId===Number(this.newAddress.countryID)){t=!0;break}return t&&!this.newAddress.stateID?(this.updateInfoValidationErrors.stateError=!0,this.translate.instant("profile.validation.state")):this.newAddress.street1?this.newAddress.city?this.newAddress.zipCode?this.newAddress.countryID?null:(this.updateInfoValidationErrors.countryError=!0,this.translate.instant("profile.validation.country")):(this.updateInfoValidationErrors.zipCodeError=!0,this.translate.instant("profile.validation.zipCode")):(this.updateInfoValidationErrors.cityError=!0,this.translate.instant("profile.validation.city")):(this.updateInfoValidationErrors.streetError=!0,this.translate.instant("profile.validation.streetAdd1"))}updateEmailAddress(){this.clearErrors();const t={emailAddr:this.primaryEmail,newAddress:null,oldAddress:null,sameAsHome:null,distributionPreferenceId:this.userSession.behalfOfUserSession.distributionPreferenceId,allowText:!1,phoneReferenceId:null,mobilePhones:null,homePhones:null,oldPhones:null,newPhones:null,oldSameAsHome:null};return this.primaryEmail?this.confirmedPrimaryEmail?this.primaryEmail!==this.confirmedPrimaryEmail?(this.wpaValidationErrors.updateError=this.translate.instant("validation.emailNotMatch"),this.updateInfoValidationErrors.primaryEmailError=!0,void(this.updateInfoValidationErrors.confirmedPrimaryEmailError=!0)):void this.createRequestService.updateEmailAddress(t).subscribe(i=>{this.successfullyUpdatedPersInfo=!0,this.createRequestLoggingUtil.logViewAddWpaEvent(this.createRequestLoggingUtil.getEventText(p.YM.EMAIL_ADDRESS),p.sb.MAILING_EMAIL_SAVED),this.confirmedPrimaryEmail=null,this.saveForm()},i=>{i.error&&("emailInvalid"===i.error?(this.wpaValidationErrors.updateError=this.translate.instant(i.error),this.eventService.logEvent(p.sb.ADD_WORKPLACE_ACCOMMODATION_ERROR,p.sb.INVALID_EMAIL_ADDRESS,p.sb.STEP_ONE_PERSONAL_INFORMATION)):"emailUsernameNotUnique"===i.error?(this.wpaValidationErrors.updateError=this.translate.instant(i.error,this.domainConfigService.params),this.eventService.logEvent(p.sb.ADD_WORKPLACE_ACCOMMODATION_ERROR,p.sb.EMAIL_ADDRESS_NOT_UNIQUE.replace("{0}",this.domainConfigService.baseDomainName).replace("{1}",this.domainConfigService.centerEmailAddress),p.sb.STEP_ONE_PERSONAL_INFORMATION)):"updateEmail.errorMsg"===i.error&&(this.wpaValidationErrors.updateError=this.translate.instant(i.error),this.eventService.logEvent(p.sb.ADD_WORKPLACE_ACCOMMODATION_ERROR,p.sb.UPDATE_EMAIL_GENERIC_ERROR,p.sb.STEP_ONE_PERSONAL_INFORMATION)))}):(this.wpaValidationErrors.updateError=this.translate.instant("validation.confirmEmailNull"),void(this.updateInfoValidationErrors.confirmedPrimaryEmailError=!0)):(this.wpaValidationErrors.updateError=this.translate.instant("validation.emailNull"),void(this.updateInfoValidationErrors.primaryEmailError=!0))}saveChangeType(t,i,r){sessionStorage.setItem("personalInfoChangeType",t),this.createRequestLoggingUtil.logViewAddWpaEvent(i,r)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(ge.ok),e.rXU(q.Ix),e.rXU(vi),e.rXU(q.nX),e.rXU(Y.c$),e.rXU(M.US),e.rXU(bu),e.rXU(xe.K),e.rXU(G.Bq),e.rXU(M.DL),e.rXU(RA))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["compsych-personal-information"]],viewQuery:function(i,r){if(1&i&&(e.GBs(jm,5),e.GBs(Tw,5),e.GBs(Iw,5)),2&i){let u;e.mGM(u=e.lsd())&&(r.flexContainer=u.first),e.mGM(u=e.lsd())&&(r.otherConditionTile=u.first),e.mGM(u=e.lsd())&&(r.blocks=u)}},hostBindings:function(i,r){1&i&&e.bIt("resize",function(){return r.onWindowResize()},!1,e.tSv)},features:[e.Jv_([{provide:G.tN,useClass:b.ls}])],decls:13,vars:12,consts:[["wob",""],["flexContainer",""],["otherConditionTile",""],["blocks",""],["wpaTypeToolTipContent",""],["startDate","ngbDatepicker"],["endDate","ngbDatepicker"],["allowOutreachToolTipContent",""],["showOtherCondition",""],["requestedDate","ngbDatepicker"],["class","italicText restyledWorkingAs",4,"ngIf"],[1,"plainRestyled"],[4,"ngIf"],["class","plainRestyled",4,"ngIf"],[1,"italicText","restyledWorkingAs"],[1,"user-info-header"],[1,"restyledTitle"],[1,"widerPage"],[1,"restyledLabel"],[1,"form-inline","boxText","marginTop"],["id","personalInfoNameLabel",1,"restyledSubLabel","mobileLabel"],[1,"readonlyDataCol","personal-info-col-width","restyledSubValue"],["id","personalInfoNameData"],[1,"form-inline","boxText"],["id","personalInfoEmpNumLabel",1,"restyledSubLabel","mobileLabel"],["id","personalInfoEmpNumData"],["id","personalInfoPhoneNumLabel",1,"restyledSubLabel","mobileLabel"],["class","readonlyDataCol personal-info-col-width restyledSubValue",4,"ngIf"],["class","stepThirdCol",4,"ngIf"],[1,"restyledSubLabel","mobileLabel","subLabel"],[1,"restyledSubLabel","mobileLabel"],["id","communicationPreference",1,"restyledLabel"],["id","preStepContactDropdown"],["id","stepForm:corresType","aria-labelledby","communicationPreference","name","stepForm:corresType","size","1",3,"ngModelChange","change","ngModel","disabled"],["selected","selected",3,"ngValue"],[3,"ngValue"],["id","stepForm:displayText.emailOnly","class","selectTriggerText greenText",4,"ngIf"],["id","stepForm:displayText.postalOnly","class","selectTriggerText ",4,"ngIf"],["class","form-inline boxText final-step-left-margin-sm",4,"ngIf","ngIfElse"],[1,"stepBtns","restyledSmBtns","reverseButtons"],["
1id","personalContinueBtn","type","submit","name","personalContinueBtn",3,"click","value","ngClass","disabled"],["type","button","name","backBtn",1,"submit","secondaryBtn","secondaryBack",3,"click","value"],[1,"ui-messages-error-summary"],["id","personalInfoPhoneNumData"],[1,"stepThirdCol"],["id","personalInfoEmpPhoneNumAddLink","class","bold-font","tabindex","0",3,"click","keydown.enter",4,"ngIf"],["id","personalInfoEmpPhoneNumUpdateLink","class","stepThirdColdLeftMargin","tabindex","0",3,"click","keydown.enter",4,"ngIf"],["id","personalInfoEmpPhoneNumAddLink","tabindex","0",1,"bold-font",3,"click","keydown.enter"],["id","personalInfoEmpPhoneNumUpdateLink","tabindex","0",1,"stepThirdColdLeftMargin",3,"click","keydown.enter"],[1,"preStepAddressBox"],["id","oldAddressStreet1"],["id","oldAddressStreet2"],["id","oldAddressCityZip"],["id","oldAddressCountry"],["id","personalInfoEmpAddressAddLink","class","bold-font","tabindex","0",3,"click","keydown.enter",4,"ngIf"],["id","personalInfoEmpAddressUpdateLink","class","stepThirdColdLeftMargin","tabindex","0",3,"click","keydown.enter",4,"ngIf"],["id","personalInfoEmpAddressAddLink","tabindex","0",1,"bold-font",3,"click","keydown.enter"],["id","personalInfoEmpAddressUpdateLink","tabindex","0",1,"stepThirdColdLeftMargin",3,"click","keydown.enter"],["id","primaryEmail"],["id","personalInfoEmpEmailAddLink","class","bold-font","tabindex","0",3,"click","keydown.enter",4,"ngIf"],["id","personalInfoEmpEmailUpdateLink","class","stepThirdColdLeftMargin","tabindex","0",3,"click","keydown.enter",4,"ngIf"],["id","personalInfoEmpEmailAddLink","tabindex","0",1,"bold-font",3,"click","keydown.enter"],["id","personalInfoEmpEmailUpdateLink","tabindex","0",1,"stepThirdColdLeftMargin",3,"click","keydown.enter"],["id","stepForm:displayText.emailOnly",1,"selectTriggerText","greenText"],["id","stepForm:displayText.postalOnly",1,"selectTriggerText"],[1,"form-inline","boxText","final-step-left-margin-sm"],[1,"vertical-align"],["id","checkBox","type","checkbox","name","checkBox",3,"change","keydown.enter","checked"],["for","checkBox",1,"normalLabel"],[1,"disclLeaveBltnPoints","disclLeaveTabTxt"],[1,"normalLabel"],[1,"disclaimerText"],[1,"content"],[1,"restyledSubtitle",2,"max-width","85%"],[4,"ngFor","ngForOf"],["type","submit",1,"submit","primaryBtn","primaryContinue",3,"click","value"],["type","button",1,"submit","secondaryBtn","secondaryBack",3,"click","value"],[1,"ui-messages-success-summary"],["class","readOnlyDataCol phone-entry-margin-bottom inputWCheckboxContainer",4,"ngIf"],[1,"readOnlyDataCol","phone-entry-margin-bottom","inputWCheckboxContainer"],[1,"restyledSubLabel",3,"for"],["name","homePhone","ngModel","","readonly","","autocomplete","home tel",1,"disableGreyedButton","form-control","inputContainer",3,"id","placeholder"],[1,"checkboxContainer","noFieldsetBorder"],[1,"offScreen"],[1,"vertical-align-inline"],["readonly","","type","checkbox","name","homePrimary",1,"smCheckbox",3,"change","id","checked"],[1,"normalLabel","smallResponseText",3,"for"],["class","stepEditFields phone-entry-margin-bottom smInputContainer inputWCheckboxContainer",4,"ngIf"],[1,"stepEditFields","phone-entry-margin-bottom","smInputContainer","inputWCheckboxContainer"],["name","mobilePhone","placeholder","(###) ###-####","autocomplete","mobile tel",1,"form-control","inputContainer",3,"click","input","ngClass","id","value"],["type","checkbox","name","mobilePrimary",1,"smCheckbox",3,"change","id","checked"],["type","checkbox","name","allowText",1,"smCheckbox",3,"change","id","checked"],[1,"restyledSubtitle"],[1,"form-inline","boxText","final-step-left-margin-sm","mdInputContainer"],["for","addressStreet1",1,"restyledSubLabel"],["type","text","id","addressStreet1","name","addressStreet1","required","","name","street1","autocomplete","address-line1",1,"form-control","inputContainer",3,"ngModelChange","click","ngModel","ngClass"],["for","addressStreet2",1,"restyledSubLabel"],["type","text","id","addressStreet2","name","addressStreet2","required","","name","street2","autocomplete","address-line2",1,"form-control","inputContainer",3,"ngModelChange","ngModel"],[1,"form-inline","boxText","final-step-left-margin-sm","smInputContainer"],["for","city",1,"restyledSubLabel"],["type","text","id","city","name","city","required","","name","city","autocomplete","address-level2",1,"form-control","inputContainer",3,"ngModelChange","click","ngModel","ngClass"],[1,"form-inline","boxText","final-step-left-margin-sm","dropdownContainer","mdDropdownContainer"],["for","selectState",1,"restyledSubLabel"],["id","selectState","name","state",1,"selectableAddressFieldMinWidth",3,"ngModelChange","click","ngModel","ngClass"],["hidden","","disabled","",3,"value","selected",4,"ngIf"],["type","text","id","state","required","","name","state","class","form-control",3,"value",4,"ngFor","ngForOf"],["for","zipCode",1,"restyledSubLabel"],["type","text","id","zipCode","name","zipCode","required","","name","zipCode","autocomplete","postal-code",1,"form-control","inputContainer",3,"ngModelChange","click","ngModel","ngClass"],[1,"form-inline","boxText","final-step-left-margin-sm","selectableAddressFieldMinWidth","dropdownContainer","mdDropdownContainer"],["for","selectCountry",1,"restyledSubLabel"],["name","countrySelector","id","selectCountry",3,"ngModelChange","click","ngModel","ngClass"],["hidden","","disabled","",3,"ngValue","selected"],["type","text","id","country","required","","name","country","class","form-control",3,"value",4,"ngFor","ngForOf"],["hidden","","disabled","",3,"value","selected"],["type","text","id","state","required","","name","state",1,"form-control",3,"value"],["type","text","id","country","required","","name","country",1,"form-control",3,"value"],["for","personalEmail",1,"restyledSubLabel"],["type","text","required","","id","personalEmail","name","personalEmail","autocomplete","email",1,"form-control","inputContainer",3,"ngModelChange","click","ngModel","ngClass"],["for","confirmEmail",1,"restyledSubLabel"],["type","text","required","","id","confirmEmail","name","confirmEmail","autocomplete","email",1,"form-control","inputContainer",3,"ngModelChange","click","ngModel","ngClass"],[2,"display","flex","flex-wrap","wrap"],[1,"conditionDetail
1sGrid"],["style","cursor: pointer","class","leave-condition-block-size","tabindex","0",3,"ngClass","id","click","keydown.enter",4,"ngFor","ngForOf"],["tabindex","0",1,"otherConditionNote",3,"click","keydown.enter","ngClass"],[1,"condition-label",2,"cursor","pointer"],["id","conditionContinueButton","type","submit","name","personalContinueBtn",1,"submit","primaryBtn",3,"click","disabled","ngClass","value"],["tabindex","0",1,"leave-condition-block-size",2,"cursor","pointer",3,"click","keydown.enter","ngClass","id"],[1,"stepBox"],[1,"detailSection"],[1,"restyledConditionsLabel"],[1,"restyledSubValue"],[3,"formGroup"],[1,"columnFlex"],["for","conditionDetails",1,"wide"],["class","textWImage",4,"ngIf"],[1,"restyledConditionsContainer"],["id","conditionDetails","formControlName","conditionDetails","maxlength","750",1,"restyledConditionsTextArea",3,"click","required"],["class","error-message",4,"ngIf"],["class","form-inline boxText dropdownContainer smDropdownContainer",4,"ngIf"],["id","conditionDetailsContinueButton","type","submit","name","personalContinueBtn",1,"submit","primaryBtn","primaryContinue",3,"click","value"],[1,"textWImage"],[1,"error-message"],[1,"form-inline","boxText","dropdownContainer","smDropdownContainer"],[1,"wide","workersCompensationQuestions"],[1,"restyledConditionsLabel","wide"],["for","employeeReportedWorkersCompensationSelector",1,"restyledLongLabel","restyledSubValue","wide"],["id","employeeReportedWorkersCompensationSelector","formControlName","employeeReportedWorkersCompensation",1,"required","should-validate",3,"click"],[1,"wide"],[1,"restyledLongLabel","restyledSubValue"],["id","employeeLactationConditionSelection","formControlName","employeeLactationCondition",1,"required","should-validate",3,"click"],[1,"form-inline","boxText","vertical"],["for","AccommodationTypeSelect",1,"restyledSubLabel"],["placement","bottom","triggers","click:blur","src","./assets/baseResources/gfx/redesignIcons/faqs.svg","alt","Info","height","21px","width","21px",1,"helptip","ms-2",3,"ngbTooltip"],["formArrayName","wpaTypes"],[1,"dropdownContainer","mdDropdownContainer","vertical",3,"formGroupName"],["id","AccommodationTypeSelect","name","wpaType","formControlName","typeCodeId",1,"rf-cal-inp","should-validate",3,"click"],[3,"ngValue",4,"ngFor","ngForOf"],["formArrayName","wpaTypes",1,"form-inline","boxText"],[3,"formGroupName"],["formArrayName","wpaDecisions"],[1,"restyledConditionsContainer","vertical",3,"formGroupName"],["for","wpaDetailsText",1,"restyledConditionsLabel"],["id","wpaDetailsText","name","wpaDetails","formControlName","wpaDetails","maxlength","4000",1,"restyledConditionsTextArea"],["formArrayName","wpaTypes",1,"vertical"],["for","startDate","id","startDateLabel",1,"restyledConditionsLabel"],[1,"display-inline-flex",3,"formGroupName"],[1,"d-flex","align-items-center","smInputContainer",3,"formGroupName"],["type","text","id","startDate","ngbDatepicker","","name","startDate","formControlName","startDate","placeholder","mm/dd/yyyy","firstDayOfWeek","7","autocomplete","off",1,"rf-cal-inp","should-validate","inputContainer",3,"click","keydown.enter","keydown.space"],[1,"display-block"],["alt","","aria-hidden","true","id","startDatePicker","height","31px",3,"click","src"],["for","endDate","id","endDateLabel",1,"restyledConditionsLabel"],["type","text","id","endDate","ngbDatepicker","","name","endDate","formControlName","endDate","placeholder","mm/dd/yyyy","firstDayOfWeek","7","autocomplete","off",1,"rf-cal-inp","should-validate","inputContainer",3,"click","keydown.enter","keydown.space"],["alt","","aria-hidden","true","id","endDatePicker","height","31px",3,"click","src"],["class","form-inline boxText vertical","formArrayName","wpaTypes",4,"ngIf"],["class","form-inline boxText","formArrayName","wpaTypes",4,"ngIf"],["class","form-inline boxText display-inline-flex","formArrayName","wpaTypes",4,"ngIf"],["id","wpaDetailsContinueButton","type","submit","name","personalContinueBtn",1,"submit","primaryBtn","primaryContinue",3,"click","value"],["formArrayName","wpaTypes",1,"form-inline","boxText","vertical"],[1,"d-flex","align-items-center","dropdownContainer","smDropdownContainer",3,"formGroupName"],["name","decision","formControlName","statusCodeId",1,"rf-cal-inp","should-validate",3,"click"],[1,"display-inline-flex","mdDropdownContainer",3,"formGroupName"],[1,"d-flex","align-items-center","dropdownContainer","mdDropdownContainer",3,"formGroupName"],["name","decisionReason","formControlName","reasonCodeIds","ngClass","pld-reason-show",1,"rf-cal-inp","should-validate",3,"click"],["alt","Info","placement","auto","adaptivePosition","true","triggers","click:blur","src","./assets/baseResources/gfx/redesignIcons/faqs.svg","height","25px","tabindex","0",1,"helptip","ms-2",3,"keydown.enter","ngbTooltip"],["name","conditionDetail
1s","formControlName","approvedModification","maxlength","4000",1,"restyledConditionsTextArea"],["formArrayName","wpaTypes",1,"form-inline","boxText","display-inline-flex"],[1,"vertical",3,"formGroupName"],["placeholder","$","name","cost","formControlName","cost",1,"rf-cal-inp","should-validate","inputContainer",3,"click"],[1,"reviewContainerPadding"],[1,"wpa-form-indent"],["formGroupName","healthCareProvider",1,"mdInputContainer","vertical"],["for","hcpFirstName",1,"restyledConditionsLabel"],["id","hcpFirstName","formControlName","hcpFirstName",1,"rf-cal-inp","inputContainer"],["for","hcpLastName",1,"restyledConditionsLabel"],["id","hcpLastName","formControlName","hcpLastName",1,"rf-cal-inp","inputContainer"],["for","facilityName",1,"restyledConditionsLabel"],["id","facilityName","formControlName","facilityName",1,"rf-cal-inp","inputContainer"],["formGroupName","healthCareProvider",1,"dropdownContainer","mdDropdownContainer","vertical"],["for","providerSpecialty",1,"restyledConditionsLabel"],["id","providerSpecialty","name","wpaType","formControlName","specialtyCode",1,"rf-cal-inp"],["formGroupName","healthCareProvider",1,"wpa-form-indent"],["formArrayName","phones"],["for","hcpOfficeNumber",1,"restyledConditionsLabel"],[1,"twoPhoneInputs"],["id","hcpOfficeNumber","placeholder","(###) ###-####","formControlName","phoneNumber",1,"rf-cal-inp","inputContainer","flex1",3,"click"],["id","hcpOfficeExt","placeholder","Ext","formControlName","extension",1,"rf-cal-inp","inputContainer",2,"max-width","50px !important"],[1,"phoneInputContainer","vertical",3,"formGroupName"],["for","hcpMobileNumber",1,"restyledConditionsLabel"],["id","hcpMobileNumber","placeholder","(###) ###-####","formControlName","phoneNumber",1,"rf-cal-inp","inputContainer",3,"click"],["for","hcpFaxNumber",1,"restyledConditionsLabel"],["id","hcpFaxNumber","placeholder","(###) ###-####","formControlName","phoneNumber",1,"rf-cal-inp","inputContainer",3,"click"],["id","hcpPageOneSubmitBtn","type","submit","name","personalContinueBtn",1,"submit","primaryBtn","primaryContinue",3,"click","value"],["id","skipBtn","type","submit","name","skipBtn",1,"submit","tertiary",3,"click","value"],["formGroupName","healthCareProvider",1,"vertical","dropdownContainer","smDropdownContainer"],["id","faxToHcpQuestion",1,"restyledSubtitle"],["aria-labelledby","faxToHcpQuestion","name","decision","formControlName","faxToHcp",1,"should-validate",3,"click"],["formGroupName","healthCareProvider",1,"vertical","mdInputContainer"],["for","faxRecipient",1,"restyledSubtitle"],["id","faxRecipient","formControlName","attention",1,"inputContainer"],[1,"label-container"],["id","contacdtProviderQuestion",1,"restyledSubtitle"],["formGroupName","healthCareProvider",1,"dropdownContainer","smDropdownContainer","horizontal"],["aria-labelledby","contacdtProviderQuestion","name","decision","formControlName","allowOutreach",1,"should-validate",3,"click"],["id","helpTipReturnFormImg","triggers","click:blur","placement","right","tabindex","0","height","25px","alt","Helpttip",1,"rebrandedHelpTip",3,"keydown.enter","ngbTooltip","src"],["id","hcpPageTwoSubmitBtn","type","submit","name","personalContinueBtn",1,"submit","primaryBtn","primaryContinue",3,"click","value"],[1,"inlineBlock"],["class","restyledLabel required",4,"ngIf"],["class","form-inline boxText",4,"ngIf"],[1,"restyledHeadingWBorder"],["id","reviewPagePersonalInfoNameLabel",1,"restyledSubLabel"],["id","reviewPagePersonalInfoNameData"],["id","reviewPagePersonalInfoEmpNumLabel",1,"restyledSubLabel"],["id","reviewPagePersonalInfoEmpNumData"],["id","reviewPagePersonalInfoPhoneNumLabel",1,"restyledSubLabel"],["id","reviewPagePersonalInfoPhoneNumData"],[1,"reviewContainer","d-flex"],[1,"restyledSubLabel"],["class","preStepAddressBox restyledSubValue",4,"ngIf"],["id","reviewPagePrimaryEmail"],["id","correspondenceMethod"],["id","affirmationMessage",1,"restyledSubValue","subLabelSpace"],[4,"ngIf","ngIfElse"],["class","reviewContainerPadding",4,"ngIf"],["class","reviewContainer",4,"ngIf"],[1,"final-step-left-margin-lg","stepBtns","restyledSmBtns","reverseButtons"],["
1id","submitBtn","type","submit","name","confirmRequestSubmissionButton",1,"submit","primaryBtn","primaryContinue",3,"click","value","disabled"],[1,"restyledLabel","required"],[1,"display-inline-flex"],[1,"d-flex","align-items-center"],["type","text","id","notifiedDate","ngbDatepicker","","name","requestedDate","formControlName","requestedDate","placeholder","mm/dd/yyyy","firstDayOfWeek","7","autocomplete","off",1,"rf-cal-inp","should-validate","inputContainer",3,"click","keydown.enter","keydown.space","maxDate"],["alt","Calendar","id","requestedDatePicker","height","31px",3,"click","src"],["class","margin-left-10",4,"ngIf"],[1,"margin-left-10"],[1,"preStepAddressBox","restyledSubValue"],["id","reviewPageOldAddressStreet1"],["id","reviewPageOldAddressStreet2"],["id","reviewPageOldAddressCityZip"],["id","reviewPageOldAddressCountry"],["class","restyledSubValue",4,"ngIf"],[1,"reviewContainer"],[1,"decisionBox"],["src","assets/baseResources/gfx/redesignIcons/info.svg","alt","infoIcon","height","26px"],[1,"thanksText"],[1,"smallResponseText"],[1,"bold"],[1,"restyledHeadingWBorder","reviewContainerPadding"],[1,"confirmWImgContainer"],[1,"large-icon"],["alt","downloadIcon","src","assets/baseResources/gfx/redesignIcons/download.png",1,"confirmationImg"],["tabindex","0",3,"click","keydown.enter"],[1,"textWImage","clickableLink"],["alt","contactIcon","src","assets/baseResources/gfx/redesignIcons/mail.png",1,"confirmationImg"],["routerLink","/contactUs"]],template:function(i,r){1&i&&(e.DNE(0,Lg,7,6,"div",10),e.j41(1,"div",11),e.DNE(2,xA,71,68,"div",12)(3,xw,22,19,"div",13)(4,FE,53,64,"div",13)(5,PA,26,31,"div",13)(6,Yg,21,22,"div",12)(7,Pw,37,31,"div",12)(8,Yw,67,47,"div",12)(9,VE,72,58,"div",12)(10,VA,57,50,"div",12)(11,JE,147,131,"div",12)(12,t2,53,31,"div",12),e.k0s()),2&i&&(e.Y8G("ngIf",r.isWob()),e.R7$(2),e.Y8G("ngIf",0===r.step),e.R7$(),e.Y8G("ngIf",-1===r.step&&r.updateType===r.Constants.PHONE_NUMBER),e.R7$(),e.Y8G("ngIf",-1===r.step&&r.updateType===r.Constants.MAILING_ADDRESS&&r.codeMap),e.R7$(),e.Y8G("ngIf",-1===r.step&&r.updateType===r.Constants.EMAIL_ADDRESS),e.R7$(),e.Y8G("ngIf",1===r.step&&r.submitWorkplaceAccommodationForm),e.R7$(),e.Y8G("ngIf",2===r.step&&r.submitWorkplaceAccommodationForm),e.R7$(),e.Y8G("ngIf",3===r.step&&r.submitWorkplaceAccommodationForm),e.R7$(),e.Y8G("ngIf",4===r.step&&r.submitWorkplaceAccommodationForm),e.R7$(),e.Y8G("ngIf",5===r.step&&r.submitWorkplaceAccommodationForm),e.R7$(),e.Y8G("ngIf",6===r.step&&r.submitWorkplaceAccommodationForm),e.R7$(),e.Y8G("ngIf",7===r.step&&r.submitWorkplaceAccommodationForm))},dependencies:[ie.YU,ie.Sq,ie.bT,q.Wk,ge.qT,ge.xH,ge.y7,ge.me,ge.wz,ge.BC,ge.cb,ge.YS,ge.tU,ge.vS,ge.cV,ge.j4,ge.JD,ge.$R,ge.v8,G.cw,G.md,ie.Jj,ie.oe,ie.vh,ie.lG,Y.D9],styles:['.input-error[_ngcontent-%COMP%]{border:red 2px solid!important;color:red;font-weight:700;background-color:#fbdbdb;max-width:172px}.absenceResources[_ngcontent-%COMP%]{.reverseButtons{flex-direction:row-reverse;justify-content:left;input.primaryContinue:hover{background:#070f36!important}}@media (max-width: 850px){.reverseButtons{flex-direction:column-reverse;max-width:unset!important;width:100%!important;input{max-width:unset!important;width:100%!important;margin:0!important}}}}.condition-details-container[_ngcontent-%COMP%]{display:flow-root}.restyledConditionsContainer[_ngcontent-%COMP%]{max-width:593px!important}.restyledConditionsTextArea[_ngcontent-%COMP%]{border-radius:10px;border:1px solid #AAAAAA!important;height:201px;max-height:201px;
1min-width:200px;width:100%;font: 16px/20px Aptos,sans-serif!important;color:#070f36!important}.error-message[_ngcontent-%COMP%]{color:red;font-size:.8rem;margin-top:4px}.widerPage[_ngcontent-%COMP%]{max-width:1000px}.marginTop[_ngcontent-%COMP%]{margin-top:20px}.restyledTitle[_ngcontent-%COMP%]{font: 35px/80px Aptos,sans-serif!important;color:#070f36!important;margin:0}.restyledLabel[_ngcontent-%COMP%]{font:lighter 25px/60px Aptos Light,sans-serif!important;color:#070f36!important;margin-left:0!important;margin-bottom:0!important}.restyledSubLabel[_ngcontent-%COMP%]{font: 18px/25px Aptos,sans-serif!important;color:#070f36!important;padding:4px 0!important;width:39%!important;display:inline-block;margin:0!important}.restyledSubValue[_ngcontent-%COMP%]{font: 18px/25px Aptos,sans-serif!important;color:#070f36!important;padding:4px 0!important;display:inline-block;margin:0!important;max-width:40%}.restyledSubtitle[_ngcontent-%COMP%]{font: 18px/25px Aptos,sans-serif!important;color:#070f36!important;margin:0!important}.restyledLongLabel[_ngcontent-%COMP%]{font: 18px/25px Aptos,sans-serif!important;color:#070f36!important;width:100%!important;display:inline-block;margin:0!important}.textWImage[_ngcontent-%COMP%]{font: 18px/25px Aptos,sans-serif!important;color:#070f36!important;width:100%!important}.restyledConditionsLabel[_ngcontent-%COMP%]{font: 18px/25px Aptos,sans-serif!important;color:#070f36!important;min-width:41px;width:auto;padding:4px 0;margin-bottom:0}.disclaimerText[_ngcontent-%COMP%]{font: 18px/24px Aptos,sans-serif!important;color:#070f36!important;width:100%;padding-top:4px}.workersCompQs[_ngcontent-%COMP%]{font: 20px/60px Aptos,sans-serif!important;width:100%}.twoPhoneInputs[_ngcontent-%COMP%]{display:flex;gap:10px;max-width:360px!important}.phoneInput[_ngcontent-%COMP%]{max-width:280px!important;border-radius:10px!important;border:1px solid #707070!important;height:43px}.restyledHeadingWBorder[_ngcontent-%COMP%]{border-bottom:1px solid #707070;color:#070f36!important;width:100%;font:lighter 25px/60px Aptos Light,sans-serif!important;padding-top:16px;clear:both}.subLabelSpace[_ngcontent-%COMP%]{margin-left:39%!important;margin-right:10%!important}.reviewContainerPadding[_ngcontent-%COMP%]{margin-bottom:15px}.confirmWImgContainer[_ngcontent-%COMP%]{height:80px;margin:50px 25% 50px 4em;display:flex;align-items:center;gap:30px}.large-icon[_ngcontent-%COMP%]{width:150px;>img{height:100%;width:42px}}.clickableLink[_ngcontent-%COMP%]{text-decoration:underline;color:#070f36;font-weight:700!important}.decisionBox[_ngcontent-%COMP%]{border-radius:20px;border:1px solid #070f36;padding:20px 30px;display:flex;gap:10px;max-height:150px}.thanksText[_ngcontent-%COMP%]{font: 20px/34px Aptos,sans-serif!important;color:#070f36}.smallResponseText[_ngcontent-%COMP%]{font: 18px/25px Aptos,sans-serif!important;color:#070f36}img.rebrandedHelpTip[_ngcontent-%COMP%]:after{content:"";background:url(faqs.1c823fb50d5b10ca.svg) no-repeat}@media (max-width: 850px){.restyledTitle[_ngcontent-%COMP%]{font:lighter 20px/37px Aptos Light,sans-serif!important;margin-bottom:20px}.restyledLabel[_ngcontent-%COMP%]{font:lighter 16px/24px Aptos Light,sans-serif!important;margin-bottom:20px!important}.mobileLabel[_ngcontent-%COMP%]{font:bolder 14px/25px Aptos,sans-serif!important}.mobileLightLabel[_ngcontent-%COMP%]{font:lighter 14px/25px Aptos Light,sans-serif!important}.restyledConditionsLabel[_ngcontent-%COMP%]{font:bolder 14px/25px Aptos,sans-serif!important}.restyledConditionsTextArea[_ngcontent-%COMP%]{font: 14px/19px Aptos,sans-serif!important}.restyledSubLabel[_ngcontent-%COMP%]{font:bolder 14px/25px Aptos,sans-serif!important;width:100%!important}.restyledSubValue[_ngcontent-%COMP%]{font:lighter 14px/25px Aptos Light,sans-serif!important;max-width:80%}.restyledHeadingWBorder[_ngcontent-%COMP%]{border-bottom:1px solid #000000;font:lighter 20px/37px Aptos Light,sans-serif!important}.subLabelSpace[_ngcontent-%COMP%]{margin-left:0!important;margin-right:20%!important}.reviewContainer[_ngcontent-%COMP%]{flex-direction:column}.confirmWImgContainer[_ngcontent-%COMP%]{min-height:120px;margin:25px 10% 25px 2em}.textWImage[_ngcontent-%COMP%]{font: 16px/24px Aptos,sans-serif!important}.large-icon[_ngcontent-%COMP%]{width:50px;>img{width:40px}}.thanksText[_ngcontent-%COMP%]{font:lighter 14px/20px Aptos Light,sans-serif!important}.smallResponseText[_ngcontent-%COMP%]{font:lighter 12px/16px Aptos Light,sans-serif!important}.decisionBox[_ngcontent-%COMP%]{max-height:unset}}
1@media (max-width: 565px){.condition-details-container[_ngcontent-%COMP%]{display:block}.error-message[_ngcontent-%COMP%]{margin-left:15px}.twoPhoneInputs[_ngcontent-%COMP%]{max-width:100%}.confirmWImgContainer[_ngcontent-%COMP%]{margin:0}}.noFieldsetBorder[_ngcontent-%COMP%]{border:0;margin:0;padding:0;min-width:0}.rf-cal-inp[_ngcontent-%COMP%]::placeholder{color:#595959!important;opacity:1}@media (max-width: 850px){.noFieldsetBorder[_ngcontent-%COMP%]{padding-top:8px}}']})}}return n})();var Ug=I(9252);let n2=(()=>{class n{constructor(t){this.service=t}resolve(t,i){return this.service.getAllDecisionStatusReasonCodes()}static{this.\u0275fac=function(i){return new(i||n)(e.KVO(ad.n))}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac})}}return n})();function s2(n,d){if(1&n&&(e.j41(0,"div",32)(1,"h1")(2,"span"),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"span",33),e.EFF(6),e.k0s()()()),2&n){const t=e.XpG();e.R7$(3),e.SpI(" ",e.bMT(4,4,"workingAs"),""),e.R7$(3),e.E5c(" ",t.userInfo.onBehalfFirstName," ",t.userInfo.onBehalfLastName," (",t.userInfo.onBehalfEmplNumber,")")}}function Gm(n,d){if(1&n&&(e.j41(0,"div")(1,"span",36),e.EFF(2),e.k0s()()),2&n){const t=d.$implicit;e.R7$(2),e.JRh(t)}}function ZE(n,d){if(1&n){const t=e.RV6();e.j41(0,"a",37),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.emailUs())}),e.EFF(1),e.nI1(2,"translate"),e.k0s()}2&n&&(e.R7$(),e.SpI("",e.bMT(2,1,"contactUs"),"."))}function eT(n,d){if(1&n&&(e.j41(0,"div",6),e.DNE(1,Gm,3,1,"div",34)(2,ZE,3,3,"a",35),e.nrm(3,"br")(4,"br"),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.typeFormErrors),e.R7$(),e.Y8G("ngIf",t.duplicateTypeError)}}function r2(n,d){1&n&&(e.j41(0,"p"),e.EFF(1),e.nI1(2,"translate"),e.k0s(),e.j41(3,"p"),e.EFF(4),e.nI1(5,"translate"),e.nI1(6,"translate"),e.k0s(),e.j41(7,"p"),e.EFF(8),e.nI1(9,"translate"),e.nI1(10,"translate"),e.k0s(),e.j41(11,"p"),e.EFF(12),e.nI1(13,"translate"),e.nI1(14,"translate"),e.k0s(),e.j41(15,"p"),e.EFF(16),e.nI1(17,"translate"),e.nI1(18,"translate"),e.k0s(),e.j41(19,"p"),e.EFF(20),e.nI1(21,"translate"),e.nI1(22,"translate"),e.k0s(),e.j41(23,"p"),e.EFF(24),e.nI1(25,"translate"),e.nI1(26,"translate"),e.k0s(),e.j41(27,"p"),e.EFF(28),e.nI1(29,"translate"),e.nI1(30,"translate"),e.k0s(),e.j41(31,"p"),e.EFF(32),e.nI1(33,"translate"),e.nI1(34,"translate"),e.k0s(),e.j41(35,"p"),e.EFF(36),e.nI1(37,"translate"),e.nI1(38,"translate"),e.k0s(),e.j41(39,"p"),e.EFF(40),e.nI1(41,"translate"),e.nI1(42,"translate"),e.k0s()),2&n&&(e.R7$(),e.JRh(e.bMT(2,21,"accommodationTypeExplanationText")),e.R7$(3),e.Lme("",e.bMT(5,23,"equipmentAndServices"),": ",e.bMT(6,25,"equipmentAndServicesDesc"),""),e.R7$(4),e.Lme("",e.bMT(9,27,"jobReassignment"),": ",e.bMT(10,29,"jobReassignmentDesc"),""),e.R7$(4),e.Lme("",e.bMT(13,31,"jobRestructuring"),": ",e.bMT(14,33,"jobRestructuringDesc"),""),e.R7$(4),e.Lme("",e.bMT(17,35,"modifiedPoliciesAndPractices"),": ",e.bMT(18,37,"modifiedPoliciesAndPracticesDesc"),""),e.R7$(4),e.Lme("",e.bMT(21,39,"modifiedWorkSchedule"),": ",e.bMT(22,41,"modifiedWorkScheduleDesc"),""),e.R7$(4),e.Lme("",e.bMT(25,43,"pregnancyRelatedAccommodations"),": ",e.bMT(26,45,"pregnancyRelatedAccommodationsDesc"),""),e.R7$(4),e.Lme("",e.bMT(29,47,"supervisorChange"),": ",e.bMT(30,49,"supervisorChangeDesc"),""),e.R7$(4),e.Lme("",e.bMT(33,51,"workFromHome"),": ",e.bMT(34,53,"workFromHomeDesc"),""),e.R7$(4),e.Lme("",e.bMT(37,55,"worksiteAccessAndEnv"),": ",e.bMT(38,57,"worksiteAccessAndEnvDesc"),""),e.R7$(4),e.Lme("",e.bMT(41,59,"other"),": ",e.bMT(42,61,"otherWpaDesc"),""))}function o2(n,d){if(1&n&&(e.j41(0,"option",38),e.EFF(1),e.k0s()),2&n){const t=d.$implicit,i=e.XpG();e.Y8G("value",t.id),e.R7$(),e.SpI(" ",0===i.localeId?t.displayValueEng:t.displayValueEsp," ")}}function Vm(n,d){if(1&n&&(e.j41(0,"option",38),e.EFF(1),e.k0s()),2&n){const t=d.$implicit,i=e.XpG(2);e.Y8G("value",t.value.id),e.R7$(),e.SpI(" ",0===i.localeId?t.value.displayValueEng:t.value.displayValueEsp," ")}}function a2(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",8)(1,"label",39),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div",20)(5,"div",21)(6,"select",40),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.clearErrors())}),e.j41(7,"option",13),e.EFF(8),e.nI1(9,"translate"),e.k0s(),e.DNE(10,Vm,2,2,"option",14),e.nI1(11,"keyvalue"),e.k0s()()()()}if(2&n){const t=e.XpG();e.R7$(2),e.Lme("",t.isAbsenceResourcesDomain?"*":"","",e.bMT(3,6,"decision.title"),""),e.R7$(3),e.Y8G("formGroupName",0),e.R7$(2),e.Y8G("ngValue",null),e.R7$(),e.JRh(e.bMT(9,8,"partialLeaveDecision.pleaseSelect")),e.R7$(2),e.Y8G("ngForOf",e.bMT(11,10,t.wpaDecisionStatusesMap))}}function l2(n,d){if(1&n&&(e.j41(0,"option",38),e.EFF(1),e.k0s()),2&n){const t=d.$implicit,i=e.XpG(3);e.Y8G("value",t.id),e.R7$(),e.SpI(" ",0===i.localeId?t.displayValueEng:t.displayValueEsp,"")}}function c2(n,d){if(1&n&&(e.qex(0),e.DNE(1,l2,2,2,"option",14),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngForOf",t.denialReasonList)}}function d2(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",8)(1,"label",39),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div",20)(5,"div",21)(6,"select",41),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.clearErrors())}),e.j41(7,"option",13),e.EFF(8),e.nI1(9,"translate"),e.k0s(),e.DNE(10,c2,2,1,"ng-container",42),e.k0s()()()()}if(2&n){const t=e.XpG();e.R7$(2),e.Lme("",t.isAbsenceResourcesDomain?"*":"","",e.bMT(3,6,"viewWorkplaceAccommodation.decisionReason"),""),e.R7$(3),e.Y8G("formGroupName",0),e.R7$(2),e.Y8G("ngValue",null),e.R7$(),e.JRh(e.bMT(9,8,"partialLeaveDecision.pleaseSelect")),e.R7$(2),e.Y8G("ngIf",t.isDecisionDenied())}}function sx(n,d){1&n&&(e.nrm(0,"img",47),e.nI1(1,"translate")),2&n&&e.Y8G("ngbTooltip",e.bMT(1,1,"decisionDetail
1sToolTip"))}function rx(n,d){1&n&&(e.nrm(0,"img",48),e.nI1(1,"translate")),2&n&&e.Y8G("ngbTooltip",e.bMT(1,1,"decisionDetailsToolTip"))}function ox(n,d){if(1&n&&(e.j41(0,"div",8)(1,"div",15)(2,"div",16)(3,"label",43),e.EFF(4),e.nI1(5,"translate"),e.DNE(6,sx,2,3,"img",44)(7,rx,2,3,"img",45),e.k0s(),e.nrm(8,"textarea",46),e.k0s()()()),2&n){const t=e.XpG();e.R7$(2),e.Y8G("formGroupName",0),e.R7$(2),e.SpI("",e.bMT(5,4,"decisionDetails")," "),e.R7$(2),e.Y8G("ngIf",t.isAbsenceResourcesDomain),e.R7$(),e.Y8G("ngIf",!t.isAbsenceResourcesDomain)}}function ax(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",8)(1,"div",15)(2,"div",49)(3,"label",43),e.EFF(4),e.nI1(5,"translate"),e.k0s(),e.j41(6,"input",50),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.clearErrors())}),e.k0s()()()()}2&n&&(e.R7$(2),e.Y8G("formGroupName",0),e.R7$(2),e.JRh(e.bMT(5,2,"cost")))}let lx=(()=>{class n{constructor(t,i,r,u,v,V,Ce,it){this.formBuilder=t,this.translate=i,this.router=r,this.leaveRequestService=u,this.wpaRequestService=v,this.createRequestUtil=V,this.eventService=Ce,this.userService=it,this.codeMap=new Map,this.wpaDecisionStatusesMap=new Map,this.typeFormErrors=[],this.typesOnWpa=[]}ngOnInit(){this.domainResourcePath=se.z.getBaseResourcePath(),this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)),this.wpaId=Number(localStorage.getItem("wpaId")),sessionStorage.getItem("typesOnWpa")&&(this.typesOnWpa=sessionStorage.getItem("typesOnWpa").split(",").map(Number)),this.localeId=this.userInfo.localeId,this.getCodeMaps("WorkplaceAccommodationTypeMap,LeaveDecisionStatusMap,DecisionReasonDeniedMap"),this.createForm(),this.eventService.logEvent(p.sb.LOAD_NEW_ACCOMMODATION_TYPE,p.sb.LOADING_DATA_FOR_NEW_ACCOMMODATION_TYPE,this.wpaId.toString()),this.isAbsenceResourcesDomain=!se.z.isDomainBlockedFromRedesignUpdates()}getCodeMaps(t){this.leaveRequestService.getCodeMap(t).subscribe(i=>
1{this.codeMap=new Map(Object.entries(i)),this.setDropDownFieldValues()})}createForm(){this.accommodationTypeForm=this.formBuilder.group({wpaId:null,typeCodeId:null,createdBy:null,createdOn:null,wpaNotes:this.formBuilder.group({categoryCodeId:null,remarks:null,subCategoryCodeId:null}),wpaDecisions:this.formBuilder.array([this.formBuilder.group({statusCodeId:null,reasonCodeIds:null,startDate:null,endDate:null,cost:null,approvedModification:"",wpaDetails:""})])})}setDropDownFieldValues(){const t=this.createRequestUtil.denialReasonsIds,i=this.createRequestUtil.leaveStatusIdsWithoutCancelled;this.wpaTypesList=this.createRequestUtil.setWpaTypesList(this.localeId,this.codeMap),this.wpaDecisionStatusesMap=new Map(Object.entries(i.reduce((r,u)=>({...r,[u]:this.codeMap.get("LeaveDecisionStatusMap")[u]}),{}))),this.denialReasonList=t.map(r=>this.codeMap.get("DecisionReasonDeniedMap")[r]).sort((r,u)=>r.sortOrder-u.sortOrder)}isDecisionReasonFieldSelectable(){return this.accommodationTypeForm.value.wpaDecisions[0].statusCodeId!=p.YM.FSP_DECISION_STATUS_APPROVED&&this.accommodationTypeForm.value.wpaDecisions[0].statusCodeId!=p.YM.FSP_DECISION_STATUS_REQUESTED}isDecisionDenied(){return this.accommodationTypeForm.value.wpaDecisions[0].statusCodeId==p.YM.FSP_DECISION_STATUS_DENIED}isDecisionDetailsFieldSelectable(){return this.accommodationTypeForm.value.wpaDecisions[0].statusCodeId!=p.YM.FSP_DECISION_STATUS_REQUESTED}submitForm(){if(this.clearErrors(),this.getFormError())return;const t=this.getTypeName(),i=this.setRequestBody(new Mc);this.wpaRequestService.addAccommodationType(i).subscribe(r=>{sessionStorage.setItem(p.YM.CONFIRMATION_MSG_SUCCESS,this.translate.instant("updateWpaType.success")),this.eventService.logEvent(p.sb.SUBMIT_NEW_ACCOMMODATION_TYPE,p.sb.NEW_ACCOMMODATION_TYPE_SUBMITTED,this.wpaId.toString()+"-"+t),this.back()},r=>{this.typeFormErrors=[this.translate.instant("createRequest.errorProcessing")],this.eventService.logEvent(p.sb.ERROR_NEW_ACCOMMODATION_TYPE,p.sb.ERROR_PROCESSING_REQUEST,this.wpaId.toString())})}getFormError(){if(this.typeFormErrors=this.createRequestUtil.isTypeFormValid(this.accommodationTypeForm,this.isWob(),this.wpaId.toString()),this.typeFormErrors.length)return!0;const t=this.checkForDuplicateType();return!!t&&(this.typeFormErrors=[t],!0)}checkForDuplicateType(){if(this.typesOnWpa.includes(Number(this.accommodationTypeForm.value.typeCodeId))&&Number(this.accommodationTypeForm.value.typeCodeId)!=p.YM.OTHER_WPA_TYPE_ID)return this.accommodationTypeForm.get("typeCodeId").setErrors({"This accommodation type already exists on this WPA":!0}),this.duplicateTypeError=!0,this.eventService.logEvent(p.sb.ERROR_NEW_ACCOMMODATION_TYPE,p.sb.DUPLICATE_ACCOMMODATION_TYPE,this.wpaId.toString()),this.translate.instant("wpa.wpaDetails.duplicateType")}setRequestBody(t){const i=this.accommodationTypeForm,r=i.get("wpaDecisions").at(0),u=r.get("startDate").value,v=r.get("endDate").value;return{id:null,versionId:null,wpaId:this.wpaId,createdBy:this.userInfo.firstName+" "+this.userInfo.lastName,createdOn:(new Date).toISOString(),typeCodeId:Number(i.get("typeCodeId").value),decisionId:null,note:null,wpaNote:{categoryCodeId:p.YM.FSP_NOTES_CATEGORY_WEBSITE_UPDATE_ID,subCategoryCodeId:p.YM.FSP_WPA_NOTE_SUBCATEGORY_ADDITIONAL_ACCOMMODATION_TYPE_ID,remarks:"Employee requested an additional accommodation type"},wpaDecisions:[{id:null,statusCodeId:this.isWob()?Number(r.get("statusCodeId").value):p.YM.FSP_DECISION_STATUS_REQUESTED,reasonCodeIds:this.createRequestUtil.setReasonCodeIdForWpaTypeRequest(i),startDate:new Date(u.year+"-"+u.month+"-"+u.day).toISOString().substring(0,10),endDate:v?new Date(v.year+"-"+v.month+"-"+v.day).toISOString().substring(0,10):null,cost:r.get("cost").value?Number(r.get("cost").value):null,approvedModification:r.get("approvedModification").value?r.get("approvedModification").value:null,wpaDetails:r.get("wpaDetails").value?r.get("wpaDetails").value:null,typeId:null,typeVersionId:null,createdBy:null,createdOn:null,certifiedWpaDetails:null}]}}getTypeName(){return this.wpaTypesList.find(t=>t.id===Number(this.accommodationTypeForm.value.typeCodeId)).displayValueEng}isWob(){return this.userInfo.wob}clearErrors(){this.typeFormErrors=[],this.duplicateTypeError=!1,this.createRequestUtil.clearFormErrors(this.accommodationTypeForm)}back(){this.router.navigateByUrl("viewWorkplaceAccommodation?workplaceAccommodationId="+this.wpaId+"&mapTypes=WorkplaceAccommodationTypeMap,DecisionReasonDeniedMap,DecisionReasonCancelledMap,LeaveDecisionStatusMap,lrHCPSpecialtyMap")}emailUs(){this.router.navigate(["/contactUs"],{queryParams:{isAdjustAccommodationType:!0,requestId:this.wpaId}})}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(ge.ok),e.rXU(Y.c$),e.rXU(q.Ix),e.rXU(M.IT),e.rXU(ad.n),e.rXU(bu),e.rXU(M.US),e.rXU(M.DL))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["compsych-wpa-add-type"]],features:[e.Jv_([bu,{provide:G.tN,useClass:b.ls}])],decls:63,vars:47,consts:[["wpaTypeToolTipContent",""],["startDate","ngbDatepicker"],["endDate","ngbDatepicker"],["class","italicText",4,"ngIf"],[1,"plainRestyled"],["class","form-margin-sm",4,"ngIf"],[1,"form-margin-sm"],[3,"formGroup"],[1,"form-inline","boxText","form-margin-lg"],["for","wpaTypeSelect",1,"redesign-body-text"],[1,"required"],["placement","bottom","triggers","click:blur","src","./assets/baseResources/gfx/redesignIcons/faqs.svg","alt","Info","height","21p
1x","width","21px",1,"helptip","ms-2",3,"ngbTooltip"],["id","wpaTypeSelect","name","wpaType","formControlName","typeCodeId",1,"should-validate","input-border","input-md",3,"click"],["hidden","","disabled","",3,"ngValue","selected"],[3,"value",4,"ngFor","ngForOf"],["formArrayName","wpaDecisions"],[1,"textarea-md",3,"formGroupName"],["for","wpaDetails",1,"redesign-body-text"],["id","wpaDetails","name","wpaDetails","formControlName","wpaDetails","maxlength","4000",1,"condition-details-textarea","input-border","input-lg"],["id","startDateLabel",1,"required","redesign-body-text"],["formArrayName","wpaDecisions",1,"display-inline-flex"],[1,"d-flex","align-items-center",3,"formGroupName"],["type","text","id","startDate","ngbDatepicker","","name","startDate","formControlName","startDate","placeholder","mm/dd/yyyy","firstDayOfWeek","7","autocomplete","off",1,"should-validate","input-border","input-sm",3,"click","keydown.enter","keydown.space"],[1,"display-block"],["alt","Calendar","id","startDatePicker",1,"calendar-scale",3,"click","src"],["id","endDateLabel",1,"redesign-body-text"],["type","text","id","endDate","ngbDatepicker","","name","endDate","formControlName","endDate","placeholder","mm/dd/yyyy","firstDayOfWeek","7","autocomplete","off",1,"should-validate","input-border","input-sm",3,"click","keydown.enter","keydown.space"],["alt","Calendar","id","endDatePicker",1,"calendar-scale",3,"click","src"],["class","form-inline boxText form-margin-lg",4,"ngIf"],[1,"stepBtns","reverseButtons","transition-buttons"],["id","wpaDetailsContinueButton","type","submit","name","personalContinueBtn",1,"primaryBtn","primary-btn","wpa-add-buttons",3,"click","value","disabled"],["type","button","name","backBtn",1,"submit","secondary-btn","wpa-add-buttons",3,"click","value"],[1,"italicText"],[1,"user-info-header"],[4,"ngFor","ngForOf"],["id","contactUs","class","duplicate-type-contact",3,"click",4,"ngIf"],[1,"ui-messages-error-summary"],["id","contactUs",1,"duplicate-type-contact",3,"click"],[3,"value"],[1,"required","redesign-body-text"],["name","decision","formControlName","statusCodeId",1,"should-validate","input-border","input-sm",3,"click"],["name","decisionReason","formControlName","reasonCodeIds","ngClass","pld-reason-show",1,"should-validate","input-border","input-md",3,"click"],[4,"ngIf"],[1,"redesign-body-text"],["alt","","placement","bottom","adaptivePosition","true","triggers","click:blur","class","small-icon ms-2","src","./assets/baseResources/gfx/redesignIcons/info.svg",3,"ngbTooltip",4,"ngIf"],["alt","","placement","auto","adaptivePosition","true","triggers","click:blur","class","helptip ms-2","src","./assets/baseResources/info-icon_bw.png",3,"ngbTooltip",4,"ngIf"],["name","conditionDetails","formControlName","approvedModification","maxlength","4000",1,"condition-details-textarea","input-border","input-lg"],["alt","","placement","bottom","adaptivePosition","true","triggers","click:blur","src","./assets/baseResources/gfx/redesignIcons/info.svg",1,"small-icon","ms-2",3,"ngbTooltip"],["alt","","placement","auto","adaptivePosition","true","triggers","click:blur","src","./assets/baseResources/info-icon_bw.png",1,"helptip","ms-2",3,"ngbTooltip"],[1,"vertical",3,"formGroupName"],["placeholder","$","name","cost","formControlName","cost",1,"should-validate","input-border","input-sm",3,"click"]],template:function(i,r){if(1&i){const u=e.RV6();e.j41(0,"div"),e.DNE(1,s2,7,6,"div",3),e.j41(2,"div",4)(3,"h1"),e.EFF(4),e.nI1(5,"translate"),e.k0s(),e.DNE(6,eT,5,2,"div",5),e.j41(7,"div")(8,"div",6)(9,"h2"),e.EFF(10),e.nI1(11,"translate"),e.k0s()(),e.j41(12,"form",7)(13,"div",8)(14,"label",9),e.EFF(15),e.nI1(16,"translate"),e.nrm(17,"span",10)(18,"img",11),e.DNE(19,r2,43,63,"ng-template",null,0,e.C5r),e.k0s(),e.j41(21,"select",12),e.bIt("click",function(){return e.eBV(u),e.Njj(r.clearErrors())}),e.j41(22,"option",13),e.EFF(23),e.nI1(24,"translate"),e.k0s(),e.DNE(25,o2,2,2,"option",14),e.k0s()(),e.j41(26,"div",8)(27,"div",15)(28,"div",16)(29,"label",17),e.EFF(30),e.nI1(31,"translate"),e.k0s(),e.nrm(32,"textarea",18),e.k0s()()(),e.j41(33,"div",8)(34,"label",19),e.EFF(35),e.nI1(36,"translate"),e.k0s(),e.j41(37,"div",20)(38,"div",21)(39,"input",22,1),e.bIt("click",function(){return e.eBV(u),e.Njj(r.clearErrors())})("keydown.enter",function(){return e.eBV(u),e.sdS(40).toggle(),e.Njj(r.clearErrors())})("keydown.space",function(){return e.eBV(u),e.sdS(40).toggle(),e.Njj(r.clearErrors())}),e.k0s(),e.j41(41,"span",23)(42,"img",24),e.bIt("click",function(){return e.eBV(u),e.sdS(40).toggle(),e.Njj(r.clearErrors())}),e.k0s()()()()(),e.j41(43,"div",8)(44,"label",25),e.EFF(45),e.nI1(46,"translate"),e.k0s(),e.j41(47,"div",20)(48,"div",21)(49,"input",26,2),e.bIt("click",function(){return e.eBV(u),e.Njj(r.clearErrors())})("keydown.enter",function(){return e.eBV(u),e.sdS(50).toggle(),e.Njj(r.clearErrors())})("keydown.space",function(){return e.eBV(u),e.sdS(50).toggle(),e.Njj(r.clearErrors())}),e.k0s(),e.j41(51,"span",23)(52,"img",27),e.bIt("click",function(){return e.eBV(u),e.sdS(50).toggle(),e.Njj(r.clearErrors())}),e.k0s()()()()(),e.DNE(53,a2,12,12,"div",28)(54,d2,11,10,"div",28)(55,ox,9,6,"div",28)(56,ax,7,4,"div",28),e.k0s(),e.j41(57,"div",29)(58,"input",30),e.nI1(59,"translate"),e.nI1(60,"async"),e.bIt("click",function(){return e.eBV(u),e.Njj(r.submitForm(
1))}),e.k0s(),e.j41(61,"input",31),e.nI1(62,"translate"),e.bIt("click",function(){return e.eBV(u),e.Njj(r.back())}),e.k0s()()()()()}if(2&i){const u=e.sdS(20);e.R7$(),e.Y8G("ngIf",r.isWob()),e.R7$(3),e.JRh(e.bMT(5,27,"viewWorkplaceAccommodation.addNewAccommodationType")),e.R7$(2),e.Y8G("ngIf",r.typeFormErrors.length),e.R7$(4),e.JRh(e.bMT(11,29,"addAccommodation.subHeader")),e.R7$(2),e.Y8G("formGroup",r.accommodationTypeForm),e.R7$(3),e.SpI("*",e.bMT(16,31,"accommodationType")," "),e.R7$(3),e.Y8G("ngbTooltip",u),e.R7$(4),e.Y8G("ngValue",null),e.R7$(),e.JRh(e.bMT(24,33,"partialLeaveDecision.pleaseSelect")),e.R7$(2),e.Y8G("ngForOf",r.wpaTypesList),e.R7$(3),e.Y8G("formGroupName",0),e.R7$(2),e.JRh(e.bMT(31,35,"viewWorkplaceAccommodation.accommodationDetails")),e.R7$(5),e.SpI("*",e.bMT(36,37,"label.startDate"),""),e.R7$(3),e.Y8G("formGroupName",0),e.R7$(4),e.Mz_("src","",r.domainResourcePath,"/gfx/redesignIcons/calendar.svg",e.B4B),e.R7$(3),e.JRh(e.bMT(46,39,"label.endDate")),e.R7$(3),e.Y8G("formGroupName",0),e.R7$(4),e.Mz_("src","",r.domainResourcePath,"/gfx/redesignIcons/calendar.svg",e.B4B),e.R7$(),e.Y8G("ngIf",r.isWob()),e.R7$(),e.Y8G("ngIf",r.isWob()&&r.isDecisionReasonFieldSelectable()),e.R7$(),e.Y8G("ngIf",r.isWob()&&r.isDecisionDetailsFieldSelectable()),e.R7$(),e.Y8G("ngIf",r.isWob()),e.R7$(2),e.FS9("value",e.bMT(59,41,"submit")),e.Y8G("disabled",null!==e.bMT(60,43,r.userService.portalPermission$)),e.R7$(3),e.FS9("value",e.bMT(62,45,"back"))}},dependencies:[ie.YU,ie.Sq,ie.bT,ge.qT,ge.xH,ge.y7,ge.me,ge.wz,ge.BC,ge.cb,ge.tU,ge.j4,ge.JD,ge.$R,ge.v8,G.cw,G.md,ie.Jj,ie.lG,Y.D9]})}}return n})();function u2(n,d){if(1&n){const t=e.RV6();e.j41(0,"li",19),e.bIt("click",function(){const r=e.eBV(t).$implicit,u=e.XpG(2);return e.Njj(u.selectTopic(r))})("keydown.enter",function(){const r=e.eBV(t).$implicit,u=e.XpG(2);return e.Njj(u.selectTopic(r))}),e.EFF(1),e.k0s()}if(2&n){const t=d.$implicit,i=e.XpG(2);e.AVh("sc-rail-selected",i.selectedTopic===t),e.R7$(),e.SpI(" ",t," ")}}function cx(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",25)(1,"span"),e.EFF(2),e.k0s(),e.j41(3,"button",26),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2);return e.Njj(r.clearFilters())}),e.EFF(4,"Clear filters"),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(2),e.Lme("",t.totalFilteredCount," result",1!==t.totalFilteredCount?"s":"","")}}function dx(n,d){1&n&&(e.j41(0,"p",27),e.EFF(1," Nothing matches those filters. Try removing one, or search for something broader. "),e.k0s())}function ux(n,d){if(1&n){const t=e.RV6();e.j41(0,"button",36),e.bIt("click",function(){e.eBV(t);const r=e.XpG(3);return e.Njj(r.clearFilters())}),e.qSk(),e.j41(1,"svg",37),e.nrm(2,"path",38),e.k0s()()}}function px(n,d){if(1&n&&(e.j41(0,"span",39),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",t.items.length," ")}}function hx(n,d){if(1&n){const t=e.RV6();e.j41(0,"button",40),e.bIt("click",function(){e.eBV(t);const r=e.XpG().$implicit,u=e.XpG(2);return e.Njj(u.selectTopic(r.topic))}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" View all ",t.items.length," ")}}function p2(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",41)(1,"article",42),e.bIt("click",function(){const r=e.eBV(t).$implicit,u=e.XpG(3);return e.Njj(u.openArticle(r))})("keydown.enter",function(){const r=e.eBV(t).$implicit,u=e.XpG(3);return e.Njj(u.openArticle(r))}),e.j41(2,"span",43),e.EFF(3),e.k0s(),e.j41(4,"h3",44),e.EFF(5),e.k0s()()()}if(2&n){const t=d.$implicit,i=e.XpG(3);e.R7$(2),e.xc7("color",i.formatColor(t.format)),e.R7$(),e.SpI(" ",t.format," "),e.R7$(2),e.JRh(t.title)}}function h2(n,d){if(1&n&&(e.j41(0,"section",28)(1,"div",29),e.DNE(2,ux,3,0,"button",30),e.j41(3,"h2",31),e.EFF(4),e.k0s(),e.DNE(5,px,2,1,"span",32)(6,hx,2,1,"button",33),e.k0s(),e.j41(7,"div",34),e.DNE(8,p2,6,4,"div",35),e.k0s()()),2&n){const t=d.$implicit,i=e.XpG(2);e.R7$(2),e.Y8G("ngIf","topic"===i.viewMode),e.R7$(2),e.JRh(t.topic),e.R7$(),e.Y8G("ngIf",i.isOverview&&!i.showViewAll(t)),e.R7$(),e.Y8G("ngIf",i.showViewAll(t)),e.R7$(2),e.Y8G("ngForOf",i.previewItems(t))}}function m2(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",14)(1,"nav",15)(2,"div",16)(3,"span",17),e.EFF(4,"Topics"),e.k0s(),e.j41(5,"ul",18)(6,"li",19),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.clearFilters())})("keydown.enter",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.clearFilters())}),e.EFF(7," All "),e.k0s(),e.DNE(8,u2,2,3,"li",20),e.k0s()()(),e.j41(9,"main",21),e.DNE(10,cx,5,2,"div",22)(11,dx,2,0,"p",23)(12,h2,9,5,"section",24),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(6),e.AVh("sc-rail-selected","overview"===t.viewMode&&!t.searchTerm),e.R7$(2),e.Y8G("ngForOf",t.topics),e.R7$(2),e.Y8G("ngIf","search"===t.viewMode),e.R7$(),e.Y8G("ngIf",0===t.filteredGroups.length),e.R7$(),e.Y8G("ngForOf",t.filteredGroups)}}function f2(n,d){1&n&&(e.j41(0,"div",45),e.EFF(1," Loading support content\u2026 "),e.k0s())}function _2(n,d){1&n&&(e.j41(0,"div",46),e.EFF(1," Unable to load support content. Please try again later. "),e.k0s())}let tT=(()=>{class n{constructor(t,i){this.router=t,this.supportContentService=i,this.allResources=[],this.topics=[],this.topicGroups=[],this.filteredGroups=[],this.viewMode="overview",this.selectedTopic=null,this.searchTerm="",this.loading=!0,this.error=!1,this.PREVIEW_COUNT=4}ngOnInit(){this.supportContentService.getResources().subscribe({next:t=>{this.allResources=t,this.topics=[...new Set(t.map(i=>i.topic))].sort(),this.topicGroups=this.topics.map(i=>({topic:i,items:t.filter(r=>r.topic===i).sort((r,u)=>r.rank-u.rank)})),this.loading=!1,this.searchTerm?this.onSearch():this.filteredGroups=this.topicGroups},error:()=>{this.error=!0,this.loading=!1}})}get isOverview(){return"overview"===this.viewMode&&!this.searchTerm}get totalFilteredCount(){return this.filteredGroups.reduce((t,i)=>t+i.items.length,0)}previewItems(t){return"overview"!==this.viewMode||this.searchTerm?t.items:t.items.slice(0,this.PREVIEW_COUNT)}showViewAll(t){return this.isOverview&&t.items.length>this.PREVIEW_COUNT}selectTopic(t){this.searchTerm="",this.selectedTopic=t,this.viewMode="topic",this.filteredGroups=this.topicGroups.filter(i=>i.topic===t)}clearFilters(){this.searchTerm="",this.selectedTopic=null,this.viewMode="overview",this.filteredGroups=this.topicGroups}onSearch(){const t=this.searchTerm.toLowerCase().trim();t?(this.viewMode="search",this.selectedTopic=null,this.filteredGroups=this.topicGroups.map(i=>({topic:i.topic,items:i.items.filter(r=>r.title.toLowerCase().includes(t)||(r.description||"").toLowerCase().includes(t)||r.topic.toLowerCase().includes(t)||r.format.toLowerCase().includes(t))})).filter(i=>i.items.length>0)):this.clearFilters()}slugify(t){return t.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/(^-|-$)/g,"")}openArticle(t){this.router.navigate(["/support-content/article",this.slugify(t.title)])}goBack(){this.router.navigate(["/resources"])}formatColor(t){return{Article:"#b04438",Guide:"#0f6b4f",Video:"#6d28d9",Webinar:"#9a5b13",Form:"#a12d8a"}[t]||"#b04438"}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(q.Ix),e.rXU(M.iY))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-support-content-library"]],decls:16,vars:4,consts:[[1,"sc-library"],[1,"sc-pagehead"],[1,"sc-pageback",3,"click"],[1,"sc-pagehead-row"],[1,"sc-page-title"],[1,"sc-topline"],[1,"sc-search-wrap"],["width","16","height","16","viewBox","0 0 16 16","fill","none",1,"sc-search-icon"],["cx","7","cy","7","r","5.5","stroke","currentColor","stroke-width","1.4"],["x1","11","y1","11","x2","14.5","y2","14.5","stroke","currentColor","stroke-width","1.4","stroke-linecap","round"],["type","text","placeholder","Search support content",1,"sc-search",3,"ngModelChange","input","ngModel"],["class","sc-body",4,"ngIf"],["class","sc-loading",4,"ngIf"],["class","sc-error",4,"ngIf"],[1,"sc-body"],[1,"sc-rail"],[1,"sc-rail-group"],[1,"sc-rail-label"],[1,"sc-rail-list"],["tabindex","0",1,"sc-rail-item",3,"click","keydown.enter"],["class","sc-rail-item","tabindex","0",3,"sc-rail-selected","click","keydown.enter",4,"ngFor","ngForOf"],[1,"sc-main"],["class","sc-meta-row",4,"ngIf"],["class","sc-empty",4,"ngIf"],["class","sc-section",4,"ngFor","ngForOf"],[1,"sc-meta-row"],[1,"sc-clear-btn",3,"click"],[1,"sc-empty"],[1,"sc-section"],[1,"sc-section-header"],["class","sc-secback","type","button","aria-label","Back to all topics",3,"click",4,"ngIf"],[1,"sc-section-title"],["class","sc-topic-count",4,"ngIf"],["class","sc-view-all",3,"click",4,"ngIf"],[1,"sc-card-grid"],["class","sc-card-col",4,"ngFor","ngForOf"],["type","button","aria-label","Back to all topics",1,"sc-secback",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","15","height","15","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["d","M15 18l-6-6 6-6"],[1,"sc-topic-count"],[1,"sc-view-all",3,"click"],[1,"sc-card-col"],["tabindex","0",1,"sc-card",3,"click","keydown.enter"],[1,"sc-eyebrow"],[1,"sc-card-title"],[1,"sc-loading"],[1,"sc-error"]],template:function(i,r){1&i&&(e.j41(0,"div",0)(1,"div",1)(2,"button",2),e.bIt("click",function(){return r.goBack()}),e.EFF(3," \u2039 Resources "),e.k0s(),e.j41(4,"div",3)(5,"h1",4),e.EFF(6,"Support Content"),e.k0s(),e.j41(7,"div",5)(8,"div",6),e.qSk(),e.j41(9,"svg",7),e.nrm(10,"circle",8)(11,"line",9),e.k0s(),e.joV(),e.j41(12,"input",10),e.mxI("ngModelChange",function(v){return e.DH7(r.searchTerm,v)||(r.searchTerm=v),v}),e.bIt("input",function(){return r.onSearch()}),e.k0s()()()()(),e.DNE(13,m2,13,6,"div",11)(14,f2,2,0,"div",12)(15,_2,2,0,"div",13),e.k0s()),2&i&&(e.R7$(12),e.R50("ngModel",r.searchTerm),e.R7$(),e.Y8G("ngIf",!r.loading&&!r.error),e.R7$(),e.Y8G("ngIf",r.loading),e.R7$(),e.Y8G("ngIf",r.error))},dependencies:[ie.Sq,ie.bT,ge.me,ge.BC,ge.vS],styles:[".sc-library[_ngcontent-%COMP%]{font-family:Aptos,sans-serif;color:#070f36}.sc-pageback[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:6px;font:13.5px Aptos,sans-serif;color:#070f3699;text-decoration:none;background:none;border:none;padding:0;cursor:pointer;transition:color .14s ease;margin-bottom:10px}.sc-pageback[_ngcontent-%COMP%]:hover{color:#070f36;text-decoration:underline;text-underline-offset:3px}.sc-pagehead[_ngcontent-%COMP%]{padding-top:26px;margin:0 0 30px}.sc-pagehead-row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;gap:16px}.sc-page-title[_ngcontent-%COMP%]{font-size:36px!important;font-weight:700;line-height:1.2;margin:0!important}.sc-topline[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap;flex:0 0 auto;align-items:center;gap:12px;margin:0 0 0 auto}.sc-search-wrap[_ngcontent-%COMP%]{position:relative;flex:0 1 250px;min-width:190px}.sc-search[_ngcontent-%COMP%]{width:100%!important;font:15px Aptos,sans-serif!important;color:#070f36;padding:11px 14px 11px 38px!important;background:#fff;border:1px solid rgba(7,15,54,.14);border-radius:100px;height:auto!important;line-height:1.3!important;box-sizing:border-box;outline:none}.sc-search[_ngcontent-%COMP%]::placeholder{color:#070f3680}.sc-search[_ngcontent-%COMP%]:focus{outline:none;border-color:#070f36}.sc-search-icon[_ngcontent-%COMP%]{position:absolute;
1left:14px;top:50%;transform:translateY(-50%);opacity:.4;pointer-events:none}.sc-body[_ngcontent-%COMP%]{display:grid;grid-template-columns:190px 1fr;gap:30px;align-items:start}.sc-rail[_ngcontent-%COMP%]{position:sticky;top:18px}.sc-rail-group[_ngcontent-%COMP%]{display:block;margin:0 0 26px}.sc-rail-label[_ngcontent-%COMP%]{display:block;font:11px Aptos,sans-serif;letter-spacing:.085em;text-transform:uppercase;color:#070f3680;margin:0 0 8px 12px}.sc-rail-list[_ngcontent-%COMP%]{list-style:none;padding:0;margin:0}.sc-rail-item[_ngcontent-%COMP%]{display:flex;align-items:baseline;width:100%;text-align:left;border:0;background:transparent;border-radius:10px;padding:8px 12px;font:15px Aptos,sans-serif;color:#070f36cc;line-height:1.35;cursor:pointer}.sc-rail-item[_ngcontent-%COMP%]:hover{background:#070f360d;color:#070f36}.sc-rail-selected[_ngcontent-%COMP%]{background:#070f3612;color:#070f36;font-weight:700}.sc-main[_ngcontent-%COMP%]{min-width:0}.sc-meta-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;font:13px Aptos,sans-serif;color:#070f368c;margin:0 0 16px}.sc-clear-btn[_ngcontent-%COMP%]{margin-left:auto;appearance:none;border:0;background:none;cursor:pointer;font:13px Aptos,sans-serif;color:#003e74;text-decoration:underline;text-underline-offset:3px;padding:2px}.sc-section[_ngcontent-%COMP%] + .sc-section[_ngcontent-%COMP%]{margin-top:36px;padding-top:30px;border-top:1px solid rgba(7,15,54,.12)}.sc-section-header[_ngcontent-%COMP%]{display:flex;align-items:baseline;gap:10px;margin:0 0 16px}.sc-section-title[_ngcontent-%COMP%]{font:22px Aptos,sans-serif;font-weight:700;line-height:1.25;color:#070f36;margin:0}.sc-topic-count[_ngcontent-%COMP%]{font:13px Aptos,sans-serif;font-weight:400;color:#070f3680;font-variant-numeric:tabular-nums}.sc-view-all[_ngcontent-%COMP%]{appearance:none;border:0;background:none;cursor:pointer;margin-left:auto;padding:2px 0;font:13.5px Aptos,sans-serif;color:#003e74;text-decoration:underline;text-underline-offset:3px}.sc-secback[_ngcontent-%COMP%]{appearance:none;cursor:pointer;align-self:center;flex:0 0 auto;width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;background:#fff;border:1px solid rgba(7,15,54,.14);border-radius:100px;color:#070f36;font-size:18px;transition:border-color .14s ease}.sc-secback[_ngcontent-%COMP%]:hover{border-color:#070f3673}.sc-card-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fill,minmax(216px,1fr));gap:20px;align-items:stretch}.sc-card-col[_ngcontent-%COMP%]{display:flex}.sc-card[_ngcontent-%COMP%]{width:100%;min-height:100px;height:100%;background:#fff;border-radius:20px;box-shadow:none;border:0;padding:20px 22px 18px;display:flex;flex-direction:column;gap:0;text-decoration:none;color:#070f36;cursor:pointer;transition:transform .15s ease;outline:none}.sc-card[_ngcontent-%COMP%]:hover{transform:translateY(-2px)}.sc-card[_ngcontent-%COMP%]:hover   .sc-card-title[_ngcontent-%COMP%]{text-decoration:underline}.sc-card[_ngcontent-%COMP%]:focus-visible{outline:none;box-shadow:0 0 0 3px #070f362e}.sc-eyebrow[_ngcontent-%COMP%]{font:11px Aptos,sans-serif;letter-spacing:.085em;text-transform:uppercase;margin-bottom:7px;display:block}.sc-card-title[_ngcontent-%COMP%]{font:19px Aptos,sans-serif;font-weight:700;line-height:1.28;color:#070f36;margin:0}.sc-empty[_ngcontent-%COMP%]{font:15px Aptos,sans-serif;color:#070f3699;padding:34px 4px;border-top:1px solid rgba(7,15,54,.12)}.sc-loading[_ngcontent-%COMP%], .sc-error[_ngcontent-%COMP%]{font:15px Aptos,sans-serif;color:#070f3699;padding:40px 0;text-align:center}[_nghost-%COMP%]{display:block}[_nghost-%COMP%]     #bodyContainer{overflow-x:clip!important;overflow-y:visible!important}@media (max-width: 900px){.sc-body[_ngcontent-%COMP%]{grid-template-columns:1fr;gap:18px}.sc-rail[_ngcontent-%COMP%]{position:static}}@media (max-width: 640px){.sc-card-grid[_ngcontent-%COMP%]{grid-template-columns:1fr}}"]})}}return n})();function g2(n,d){if(1&n&&e.nrm(0,"iframe",12),2&n){const t=e.XpG(2);e.Y8G("src",t.pdfUrl,e.f$h)}}function b2(n,d){1&n&&(e.j41(0,"p",13),e.EFF(1,"Loading document\u2026"),e.k0s())}function mx(n,d){1&n&&(e.j41(0,"p",13),e.EFF(1,"Unable to load this document. Please try again later."),e.k0s())}function s(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",2)(1,"button",3),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.goBack())}),e.qSk(),e.j41(2,"svg",4),e.nrm(3,"path",5),e.k0s(),e.EFF(4," Go Back "),e.k0s(),e.joV(),e.j41(5,"div",6)(6,"span",7),e.EFF(7),e.k0s(),e.j41(8,"h1",8),e.EFF(9),e.k0s(),e.j41(10,"div",9),e.DNE(11,g2,1,1,"iframe",10)(12,b2,2,0,"p",11)(13,mx,2,0,"p",11),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(6),e.xc7("background",t.formatColor(t.resource.format)+"0F")("color",t.formatColor(t.resource.format)),e.R7$(),e.SpI(" ",t.resource.format," "),e.R7$(2),e.JRh(t.resource.title),e.R7$(2),e.Y8G("ngIf",t.pdfUrl),e.R7$(),e.Y8G("ngIf",!t.pdfUrl&&!t.pdfError),e.R7$(),e.Y8G("ngIf",t.pdfError)}}function o(n,d){1&n&&(e.j41(0,"div",14),e.EFF(1," Loading\u2026\n"),e.k0s())}let a=(()=>{class n{constructor(t,i,r,u,v){this.route=t,this.router=i,this.sanitizer=r,this.http=u,this.supportContentService=v,this.resource=null,this.loading=!0,this.pdfUrl=null,this.pdfError=!1,this.currentObjectUrl=null}
1ngOnInit(){const t=this.route.snapshot.paramMap.get("slug")||"";this.resourceSub=this.supportContentService.getResources().subscribe({next:i=>{this.resource=i.find(r=>r.title.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/(^-|-$)/g,"")===t)||null,this.loading=!1,this.resource?this.resource.pdf_blob_path&&this.loadPdf(this.resource.pdf_blob_path):this.router.navigate(["/support-content"])},error:()=>{this.loading=!1,this.router.navigate(["/support-content"])}})}ngOnDestroy(){this.resourceSub?.unsubscribe(),this.pdfSub?.unsubscribe(),this.currentObjectUrl&&URL.revokeObjectURL(this.currentObjectUrl)}goBack(){this.router.navigate(["/support-content"])}formatColor(t){return{Article:"#b04438",Guide:"#0f6b4f",Video:"#6d28d9",Webinar:"#9a5b13",Form:"#a12d8a"}[t]||"#b04438"}loadPdf(t){this.pdfSub=this.supportContentService.resolveDocumentUrl(t).pipe((0,zl.n)(({url:i})=>this.http.post(p.hP.abibotResourcePdfUrl,{url:i},{responseType:"blob"}))).subscribe({next:i=>{this.currentObjectUrl&&URL.revokeObjectURL(this.currentObjectUrl),this.currentObjectUrl=URL.createObjectURL(i),this.pdfUrl=this.sanitizer.bypassSecurityTrustResourceUrl(`${this.currentObjectUrl}#zoom=page-width`)},error:()=>{this.pdfError=!0}})}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(q.nX),e.rXU(q.Ix),e.rXU(l.up),e.rXU(Yn.Qq),e.rXU(M.iY))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-support-content-article"]],decls:2,vars:2,consts:[["class","sc-article-page",4,"ngIf"],["class","sc-loading",4,"ngIf"],[1,"sc-article-page"],[1,"sc-pageback",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","14","height","14","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["d","M15 18l-6-6 6-6"],[1,"sc-article-card"],[1,"sc-format-chip"],[1,"sc-article-title"],[1,"sc-pdf-frame"],["class","sc-pdf-iframe",3,"src",4,"ngIf"],["class","sc-pdf-placeholder",4,"ngIf"],[1,"sc-pdf-iframe",3,"src"],[1,"sc-pdf-placeholder"],[1,"sc-loading"]],template:function(i,r){1&i&&e.DNE(0,s,14,9,"div",0)(1,o,2,0,"div",1),2&i&&(e.Y8G("ngIf",!r.loading&&r.resource),e.R7$(),e.Y8G("ngIf",r.loading))},dependencies:[ie.bT],styles:[".sc-article-page[_ngcontent-%COMP%]{font-family:Aptos,sans-serif;color:#070f36;padding:26px 0 40px}.sc-pageback[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:4px;font:13.5px Aptos,sans-serif;color:#070f36b3;background:#fff;border:1px solid rgba(7,15,54,.14);border-radius:100px;padding:7px 16px 7px 12px;cursor:pointer;transition:border-color .14s ease,color .14s ease;margin-bottom:14px}.sc-pageback[_ngcontent-%COMP%]:hover{color:#070f36;border-color:#070f3673}.sc-article-card[_ngcontent-%COMP%]{max-width:768px;margin:0 auto;background:#fff;border-radius:28px;padding:42px 44px 46px}.sc-format-chip[_ngcontent-%COMP%]{display:inline-block;font:12px Aptos,sans-serif;font-weight:400;padding:3px 10px;border-radius:100px;margin-bottom:12px}.sc-article-title[_ngcontent-%COMP%]{font-size:42px;font-weight:700;line-height:1.15;margin:0 0 28px}.sc-pdf-frame[_ngcontent-%COMP%]{border:1px solid rgba(7,15,54,.12);border-radius:14px;min-height:760px;display:flex;align-items:center;justify-content:center;overflow:hidden}.sc-pdf-iframe[_ngcontent-%COMP%]{width:100%;height:760px;border:none}.sc-pdf-placeholder[_ngcontent-%COMP%]{font:15px Aptos,sans-serif;color:#070f3680}.sc-loading[_ngcontent-%COMP%]{font:15px Aptos,sans-serif;color:#070f3699;padding:40px 0;text-align:center}"]})}}return n})();const c=n=>({fieldError:n});function h(n,d){if(1&n&&(e.j41(0,"h1",20)(1,"span",21),e.EFF(2),e.nI1(3,"translate"),e.j41(4,"span",22),e.EFF(5),e.k0s()()()),2&n){const t=e.XpG();e.R7$(2),e.SpI(" ",e.bMT(3,4,"workingAs")," "),e.R7$(3),e.E5c(" ",t.userInfo.onBehalfFirstName," ",t.userInfo.onBehalfLastName," (",t.userInfo.onBehalfEmplNumber,") ")}}function _(n,d){1&n&&(e.j41(0,"div",23)(1,"span",24),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"validation.invalidDate")," "))}function D(n,d){if(1&n&&(e.j41(0,"div",25)(1,"span",26),e.nrm(2,"span",27),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.Y8G("innerHTML",t.errorMsg,e.npT)}}function R(n,d){1&n&&(e.j41(0,"div",23)(1,"span",28),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"validation.invalidDate")," "))}let P=(()=>{class n{constructor(t,i,r){this.activeModal=t,this.service=i,this.translate=r,this.dateFormater=ho}onCancel(){this.activeModal.dismiss()}onRequestExt(){this.requestBody=new Rm,this.requestBody.wpaId=this.wpaId,this.requestBody.id=this.typeId,this.requestBody.versionId=this.typeVersionId,this.requestBody.createdBy=this.userInfo.firstName+" "+this.userInfo.lastName;const t=this.newEndDate.toISOString().slice(0,10),i=new wm({id:this.decisionId,endDate:t});this.requestBody.wpaDecisions=[i];const r=new km;r.categoryCodeId=p.YM.FSP_NOTES_CATEGORY_WEBSITE_UPDATE_ID,r.subCategoryCodeId=p.YM.FSP_WPA_NOTE_SUBCATEGORY_REQUEST_EXTENSION,r.remarks="Employee requested an extension to their workplace accommodation date range",this.requestBody.wpaNote=r,this.isSubmitted=!0,this.service.updateWpaDecisionEndDate(this.requestBody).subscribe(u=>{this.isSubmitted=!1,this.activeModal.close(u)})}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(G.Lw),e.rXU(ad.n),e.rXU(Y.c$))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["ng-component"]],inputs:{wpaId:"wpaId",decisionId:"decisionId",typeId:"typeId",typeVersionId:"typeVersionId",currentStartDate:"currentStartDate",currentEndDate:"currentEndDate",newStartDate:"newStartDate",newEndDate:"newEndDate",userInfo:"userInfo"},decls:27,vars:31,consts:[[1,"rf-pp-cntr","confirmModal","absenceConfirmModal"],[1,"rf-pp-cnt"],["src","assets/baseResources/gfx/redesignIcons/exit.svg","alt","Close","height","25px",3,"click"],["id","terms2"],[1,"form-inline","boxText"],["id","rECurrent",1,"textAsLabel","subLabel","restyledLabel"],["id","rEcurrentStartDate",1,"modalDataCol","restyledValue"],["id","rENeeded",1,"textAsLabel","subLabel","restyledLabel"],["id","rEStartEndDate",1,"modalDataCol","restyledValue"],[1,"btnRow","restyledSmBtns"],["type","submit","id","confirmBtn",1,"submit","primaryContinue",3,"click","value"],["type","button","id","cancelBtn",1,"submit","secondaryBtn","secondaryBack",3,"click","value"]],template:function(i,r){1&i&&(e.j41(0,"div",0)(1,"div",1)(2,"img",2),e.bIt("click",function(){return r.onCancel()}),e.k0s(),e.j41(3,"h2",3),e.EFF(4),e.nI1(5,"translate"),e.k0s(),e.j41(6,"div",4)(7,"span",5),e.EFF(8),e.nI1(9,"translate"),e.k0s(),e.j41(10,"span",6),e.EFF(11),e.nI1(12,"date"),e.nI1(13,"date"),e.k0s()(),e.j41(14,"div",4)(15,"span",7),e.EFF(16),e.nI1(17,"translate"),e.k0s(),e.j41(18,"span",8),e.EFF(19),e.nI1(20,"date"),e.nI1(21,"date"),e.k0s()(),e.j41(22,"div",9)(23,"input",10),e.nI1(24,"translate"),e.bIt("click",function(){return r.onRequestExt()}),e.k0s(),e.j41(25,"input",11),e.nI1(26,"translate"),e.bIt("click",function(){return r.onCancel()}),e.k0s()()()()),2&i&&(e.R7$(4),e.JRh(e.bMT(5,9,"myAbsences.leaveRequestDetails.updateDecisionEndDate.requestExtension.terms2")),e.R7$(4),e.SpI(" ",e.bMT(9,11,"myAbsences.leaveRequestDetails.updateDecisionEndDate.requestExtension.current")," "),e.R7$(3),e.Lme(" ",e.i5U(12,13,r.dateFormater.getDate(r.currentStartDate),"MM/dd/yyyy")," - ",e.i5U(13,16,r.dateFormater.getDate(r.currentEndDate),"MM/dd/yyyy")," "),e.R7$(5),e.SpI(" ",e.bMT(17,19,"myAbsences.leaveRequestDetails.updateDecisionEndDate.requestExtension.needed")," "),e.R7$(3),e.Lme(" ",e.i5U(20,21,r.newStartDate,"MM/dd
1/yyyy")," - ",e.i5U(21,24,r.newEndDate,"MM/dd/yyyy")," "),e.R7$(4),e.FS9("value",e.bMT(24,27,"myAbsences.reportTime.confirmBtn")),e.R7$(2),e.FS9("value",e.bMT(26,29,"myAbsences.reportTime.cancelBtn")))},dependencies:[ie.vh,Y.D9],styles:[".modal-dialog[_ngcontent-%COMP%]{min-width:600px!important}.absenceConfirmModal[_ngcontent-%COMP%]{border-radius:30px!important;display:flex;flex-direction:column;max-width:750px!important;width:auto!important;hr{display:none}h2,#titleId{font: 35px/36px Aptos,sans-serif!important;text-align:center;color:#070f36!important;padding-bottom:20px}img{width:25px;height:25px;align-self:end}img:hover{cursor:pointer}span,#timeoutBody{font: 22px/36px Aptos,sans-serif!important;color:#070f36!important;word-break:normal!important}input.primaryLongContinue{border:none!important}.centered{text-align:center}.modal-header{padding-top:40px;justify-content:center}.exitCreateRequestModalTitle{color:#070f36!important;font-weight:400!important;padding-top:20px}.rf-pp-cnt{margin:20px 30px!important;display:flex;flex-direction:column}.dataGroupTitle{font: 25px/31px Aptos,sans-serif!important;padding:16px 0 4px}span.centered.dataGroupTitle{padding:30px 30px 10px}.restyledLabel{font: 22px/36px Aptos,sans-serif!important;color:#070f36!important;width:45%!important;margin-right:0;display:inline-block;margin-bottom:8px;text-align:left!important}.lighterLabel{font:lighter 22px/36px Aptos Light,sans-serif!important;color:#070f36!important;width:70%!important;margin-right:0;display:inline-block;text-align:left!important}.restyledValue{font: 22px/36px Aptos,sans-serif!important;color:#070f36!important;margin-right:0;display:inline-block;margin-bottom:8px;text-align:start!important}.lighterValue{font:lighter 22px/36px Aptos Light,sans-serif!important;color:#070f36!important;width:40%!important;margin-right:0;display:inline-block;text-align:start!important}.restyledSmBtns{flex-direction:row-reverse;justify-content:center;align-self:center;width:90%;margin-top:0;input{height:54px!important;width:50%!important;max-width:unset!important;padding:0 10px!important}}button.secondaryBtn:hover{background:transparent!important}.close-button{align-self:end;width:35px;height:35px}.secondaryLongBackButton,.twoSecondaryButtons{text-align:center;align-items:center;height:103px;input,button{height:54px!important;padding:0 10px!important;border-radius:30px!important;background:transparent!important;border:1px solid #070f36!important}}.twoSecondaryButtons input{width:50%!important;max-width:unset!important;margin:0}.secondaryLongBackButton{width:50%;button{width:100%}button:hover{color:#070f36!important}}.secondaryBack{color:#070f36!important}.confirmModal.textAsLabel{width:55%}.confirmModal.boxText{align-items:center}.modal-footer{border:none!important;padding-bottom:20px}.boxText{margin-left:8%}}@media (max-width: 850px){.absenceConfirmModal[_ngcontent-%COMP%]{.rf-pp-cnt{margin:20px 10px!important}.restyledLabel{width:100%!important}.restyledValue,.lighterValue,.lighterLabel{width:100%!important;max-width:unset!important}.lighterValue,.lighterLabel{margin-bottom:0!important}.restyledSmBtns{flex-direction:column!important;input{width:100%!important}.secondaryBack{margin:0!important}}.twoSecondaryButtons{flex-direction:column!important;input{width:100%!important;height:40px!important;margin:8px 0!important}}.indent{padding-left:0}.dataGroupTitle{padding:16px 0 0}.boxText{flex-direction:column;margin-left:8%}}}"]})}}return n})(),ne=(()=>{class n{constructor(t,i,r,u,v){this.modalService=t,this.activatedRoute=i,this.router=r,this.translate=u,this.eventService=v,this.domainResourcePath=se.z.getBaseResourcePath(),this.data=history.state.data,this.dateFormater=ho}ngOnInit(){null==this.data&&(localStorage.clear(),this.router.navigate(["error-page"])),this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)),this.wpaId=this.data.wpaId,this.decision=JSON.parse(this.data.decision),this.wpaRequestPlannedBegin=JSON.parse(this.data.wpaRequestPlannedBegin),this.emptyEndDate=!1,this.showRequestExtension=!0}getCalculatedStartDate(t){const i=this.dateFormater.getDate(t);
1this.newStartDateExt=i;const r=i;return r.setDate(r.getDate()+1),this.calDate={year:r.getFullYear(),month:r.getMonth()+1,day:r.getDate()},i}clearError(){this.emptyEndDate=!1,this.errorMsg=void 0}submitExtension(){const t=this.extNewDate;let i;if(t)try{i=new Date(t.year,t.month-1,t.day).toISOString()}catch{return void(this.emptyEndDate=!0)}if(!(t&&t.year&&t.month&&t.day))return void(this.emptyEndDate=!0);const r=on(i),u=on(this.newStartDateExt);if(r.isBefore(u))return void(this.errorMsg=this.translate.instant("myAbsences.viewWorkplaceAccommodation.updateDecisionEndDate.requestExtension.validation.date.prior"));const v=this.modalService.open(P,{centered:!0,backdrop:"static"});v.componentInstance.wpaId=this.wpaId,v.componentInstance.decisionId=this.decision.id,v.componentInstance.typeId=this.decision.typeId,v.componentInstance.typeVersionId=this.decision.typeVersionId,v.componentInstance.currentStartDate=this.decision.startDate,v.componentInstance.currentEndDate=this.decision.endDate,v.componentInstance.newStartDate=this.newStartDateExt,v.componentInstance.userInfo=this.userInfo,v.componentInstance.newEndDate=new Date(this.extNewDate.year,this.extNewDate.month-1,this.extNewDate.day),v.result.then(V=>{1==V?(this.eventService.logEvent(p.sb.UPDATE_REQUEST_EXTENSION_SUBMIT,p.sb.USER_SUBMIT_WPA_REQUEST_EXTENSION_MSG,this.wpaId+" - "+this.decision.id.toString()),sessionStorage.setItem(p.YM.CONFIRMATION_MSG_SUCCESS,this.translate.instant("myAbsences.viewWorkplaceAccommodation.updateDecisionEndDate.requestExtension.validation.success")),this.back()):-1==V&&(this.eventService.logEvent(p.sb.UPDATE_REQUEST_EXTENSION_ERROR,p.sb.WPA_ERROR_MSG,this.wpaId+" - "+this.decision.id.toString()),sessionStorage.setItem(p.YM.CONFIRMATION_MSG_FAILURE,this.translate.instant("myAbsences.viewWorkplaceAccommodation.updateDecisionEndDate.requestExtension.validation.error")),this.back())})}back(){this.router.navigateByUrl("viewWorkplaceAccommodation?workplaceAccommodationId="+this.wpaId+"&mapTypes=WorkplaceAccommodationTypeMap,DecisionReasonDeniedMap,DecisionReasonCancelledMap,LeaveDecisionStatusMap,lrHCPSpecialtyMap")}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(G.Bq),e.rXU(q.nX),e.rXU(q.Ix),e.rXU(Y.c$),e.rXU(M.US))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["wpa-request-extension"]],features:[e.Jv_([{provide:G.tN,useClass:b.ls}])],decls:41,vars:46,consts:[["d","ngbDatepicker"],["class","hoverable","id","wobAbsTitle",4,"ngIf"],["class","rf-msgs-err clear",4,"ngIf"],["id","requestExtensionBox",1,"absenceResources","card","card-padding"],["id","RETitle",1,"page-title"],[1,"intFormPage","adjustLeave"],[1,"clearFix"],["id","disclaimer1",1,"redesign-body-text"],["id","disclaimer2",1,"redesign-body-text-md"],["class","rf-msgs-err",4,"ngIf"],[1,"form-inline","boxText"],["id","rECurrent",1,"textAsLabel","redesign-body-text-md","two-column-body"],["id","startEndDate",1,"redesign-body-text"],["for","dateField","id","rENeeded",1,"redesign-body-text-md","two-column-body"],["id","rEEndDate",1,"redesign-body-text"],["ngbDatepicker","","id","dateField","placeholder","mm/dd/yyyy","autocomplete","off","name","extNewDate",1,"rf-cal-inp","input-border","input-sm","input-sm-mobile",3,"dateSelect","focus","ngModelChange","firstDayOfWeek","startDate","ngModel","ngClass"],["alt","Calendar","id","datePicker",1,"calendar-scale",3,"click","src"],[1,"reverseButtons","vertical-btns"],["type","button","id","rESubmit",1,"primaryBtn","blueBtn","primary-btn","primary-btn-long",3,"click","value","disabled"],["type","button","id","backBtn",1,"submit","secondaryBtn","secondary-btn","complete-width",3,"click","value"],["id","wobAbsTitle",1,"hoverable"],[1,"font-italic"],[1,"user-info-header"],[1,"rf-msgs-err","clear"],["id","errDateBlankExt",1,"rf-msgs-sum"],[1,"rf-msgs-err"],["id","errMsgExt",1,"rf-msgs-sum"],["id","errorMsg",3,"innerHTML"],["id","errDateBlank",1,"rf-msgs-sum"]],template:function(i,r){if(1&i){const u=e.RV6();e.DNE(0,h,6,6,"h1",1)(1,_,4,3,"div",2),e.j41(2,"div",3)(3,"h1",4),e.EFF(4),e.nI1(5,"translate"),e.k0s(),e.j41(6,"div",5),e.nrm(7,"div",6),e.j41(8,"p",7),e.EFF(9),e.nI1(10,"translate"),e.k0s(),e.nrm(11,"div",6),e.j41(12,"p",8),e.EFF(13),e.nI1(14,"translate"),e.k0s(),e.DNE(15,D,3,1,"div",9),e.nrm(16,"br"),e.j41(17,"div",10)(18,"span",11),e.EFF(19),e.nI1(20,"translate"),e.k0s(),e.j41(21,"span",12),e.EFF(22),e.nI1(23,"date"),e.nI1(24,"date"),e.k0s()(),e.j41(25,"div",10)(26,"label",13),e.EFF(27),e.nI1(28,"translate"),e.k0s(),e.nrm(29,"span",14),e.EFF(30),e.nI1(31,"date"),e.j41(32,"input",15,0),e.bIt("dateSelect",function(){return e.eBV(u),e.Njj(r.clearError())})("focus",function(){return e.eBV(u),e.Njj(r.clearError())}),e.mxI("ngModelChange",function(V){return e.eBV(u),e.DH7(r.extNewDate,V)||(r.extNewDate=V),e.Njj(V)}),e.k0s(),e.j41(34,"img",16),e.bIt("click",function(){e.eBV(u);const V=e.sdS(33);return e.Njj(V.toggle())}),e.k0s()(),e.DNE(35,R,4,3,"div",2),e.j41(36,"div",17)(37,"input",18),e.nI1(38,"translate"),e.bIt("click",function(){return e.eBV(u),e.Njj(r.submitExtension())}),e.k0s(),e.j41(39,"input",19),e.nI1(40,"translate"),e.bIt("click",function(){return e.eBV(u),e.Njj(r.back())}),e.k0s()()()()}2&i&&(e.Y8G("ngIf",r.userInfo.wob),e.R7$(),e.Y8G("ngIf",r.emptyEndDate),e.R7$(3),e.JRh(e.bMT(5,21,"myAbsences.viewWorkplaceAccommodation.updateDecisionEndDate.requestExtension.title")),e.R7$(5),e.SpI(" ",e.bMT(10,23,"myAbsences.viewWorkplaceAccommodation.updateDecisionEndDate.requestExtension.disclaimer1")," "),e.R7$(4),e.SpI(" ",e.bMT(14,25,"myAbsences.viewWorkplaceAccommodation.updateDecisionEndDate.requestExtension.disclaimer2")," "),e.R7$(2),e.Y8G("ngIf",r.errorMsg),e.R7$(4),e.SpI(" ",e.bMT(20,27,"myAbsences.viewWorkplaceAccommodation.updateDecisionEndDate.requestExtension.current")," "),e.R7$(3),e.Lme(" ",e.i5U(23,29,r.dateFormater.getDate(r.decision.startDate),"MM/dd/yyyy")," - ",e.i5U(24,32,r.dateFormater.getDate(r.decision.endDate),"MM/dd/yyyy")," "),e.R7$(5),e.SpI(" ",e.bMT(28,35,"myAbsences.viewWorkplaceAccommodation.updateDecisionEndDate.requestExtension.needed")," "),e.R7$(3),e.SpI(" ",e.i5U(31,37,r.getCalculatedStartDate(r.decision.endDate),"MM/dd/yyyy")," - "),e.R7$(2),e.Y8G("firstDayOfWeek",7)("startDate",r.calDate),e.R50("ngModel",r.extNewDate),e.Y8G("ngClass",e.eq3(44,c,r.emptyEndDate)),e.R7$(2),e.Mz_("src","",r.domainResourcePath,"/gfx/redesignIcons/calendar.svg",e.B4B),e.R7$(),e.Y8G("ngIf",r.emptyEndDate),e.R7$(2),e.FS9("value",e.bMT(38,40,"myAbsences.viewWorkplaceAccommodation.updateDecisionEndDate.requestExtension.submit")),e.Y8G("disabled",r.userInfo.userPrivilege.portalPermission),e.R7$(2),e.FS9("value",e.bMT(40,42,"myAbsences.reportTime.cancelBtn")))},dependencies:[ie.YU,ie.bT,ge.me,ge.BC,ge.vS,G.cw,ie.vh,Y.D9],encapsulation:2})}}return n})();const ve=n=>({fieldError:n});function Pe(n,d){if(1&n&&(e.j41(0,"h1",20)(1,"span",21),e.EFF(2),e.nI1(3,"translate"),e.j41(4,"span",22),e.EFF(5),e.k0s()()()),2&n){const t=e.XpG();e.R7$(2),e.SpI(" ",e.bMT(3,4,"workingAs")," "),e.R7$(3),e.E5c(" ",t.userInfo.onBehalfFirstName," ",t.userInfo.onBehalfLastName," 
1(",t.userInfo.onBehalfEmplNumber,") ")}}function st(n,d){if(1&n&&(e.j41(0,"div",23)(1,"span",24),e.nrm(2,"span",25),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.Y8G("innerHTML",t.errorMsg,e.npT)}}function gt(n,d){1&n&&(e.j41(0,"div",26)(1,"span",27),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"validation.invalidDate")," "))}let Dt=(()=>{class n{constructor(t,i,r){this.activeModal=t,this.service=i,this.translate=r,this.dateFormater=ho}onCancel(){this.activeModal.dismiss()}onAdjustStartDate(){this.requestBody=new Rm,this.requestBody.wpaId=this.wpaId,this.requestBody.id=this.typeId,this.requestBody.versionId=this.typeVersionId,this.requestBody.createdBy=this.userInfo.firstName+" "+this.userInfo.lastName;const t=this.newStartDate.toISOString().slice(0,10);let i=new wm({id:this.decisionId,startDate:t});this.requestBody.wpaDecisions=[i];const r=new km;r.categoryCodeId=p.YM.FSP_NOTES_CATEGORY_WEBSITE_UPDATE_ID,r.subCategoryCodeId=p.YM.FSP_WPA_NOTE_SUBCATEGORY_ADJUST_START_DATE,r.remarks="Employee updated the start date of the workplace accommodation",this.requestBody.wpaNote=r,this.isSubmitted=!0,this.service.updateWpaDecisionStartDate(this.requestBody).subscribe(u=>{this.isSubmitted=!1,this.activeModal.close(u)})}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(G.Lw),e.rXU(ad.n),e.rXU(Y.c$))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["ng-component"]],inputs:{wpaId:"wpaId",decisionId:"decisionId",typeId:"typeId",typeVersionId:"typeVersionId",currentStartDate:"currentStartDate",currentEndDate:"currentEndDate",newStartDate:"newStartDate",newEndDate:"newEndDate",userInfo:"userInfo"},decls:27,vars:31,consts:[[1,"rf-pp-cntr","confirmModal","absenceConfirmModal"],[1,"rf-pp-cnt"],["src","assets/baseResources/gfx/redesignIcons/exit.svg","alt","Close","height","25px",3,"click"],["id","terms2"],[1,"form-inline","boxText"],["id","rECurrent",1,"textAsLabel","subLabel","restyledLabel"],["id","aDjcurrentStartDate",1,"modalDataCol","restyledValue"],["id","rENeeded",1,"textAsLabel","subLabel","restyledLabel"],["id","aDjStartEndDate",1,"modalDataCol","restyledValue"],[1,"btnRow","restyledSmBtns"],["type","submit","id","confirmBtn",1,"submit","primaryContinue",3,"click","value"],["type","button","id","cancelBtn",1,"submit","secondaryBtn","secondaryBack",3,"click","value"]],template:function(i,r){1&i&&(e.j41(0,"div",0)(1,"div",1)(2,"img",2),e.bIt("click",function(){return r.onCancel()}),e.k0s(),e.j41(3,"h2",3),e.EFF(4),e.nI1(5,"translate"),e.k0s(),e.j41(6,"div",4)(7,"span",5),e.EFF(8),e.nI1(9,"translate"),e.k0s(),e.j41(10,"span",6),e.EFF(11),e.nI1(12,"date"),e.nI1(13,"date"),e.k0s()(),e.j41(14,"div",4)(15,"span",7),e.EFF(16),e.nI1(17,"translate"),e.k0s(),e.j41(18,"span",8),e.EFF(19),e.nI1(20,"date"),e.nI1(21,"date"),e.k0s()(),e.j41(22,"div",9)(23,"input",10),e.nI1(24,"translate"),e.bIt("click",function(){return r.onAdjustStartDate()}),e.k0s(),e.j41(25,"input",11),e.nI1(26,"translate"),e.bIt("click",function(){return r.onCancel()}),e.k0s()()()()),2&i&&(e.R7$(4),e.JRh(e.bMT(5,9,"myAbsences.leaveRequestDetails.updateDecisionEndDate.requestExtension.terms2")),e.R7$(4),e.SpI(" ",e.bMT(9,11,"myAbsences.leaveRequestDetails.updateDecisionEndDate.requestExtension.current")," "),e.R7$(3),e.Lme(" ",e.i5U(12,13,r.dateFormater.getDate(r.currentStartDate),"MM/dd/yyyy")," - ",e.i5U(13,16,r.dateFormater.getDate(r.currentEndDate),"MM/dd/yyyy")," "),e.R7$(5),e.SpI(" ",e.bMT(17,19,"myAbsences.leaveRequestDetails.updateDecisionEndDate.requestExtension.needed")," "),e.R7$(3),e.Lme(" ",e.i5U(20,21,r.newStartDate,"MM/dd/yyyy")," - ",e.i5U(21,24,r.newEndDate,"MM/dd/yyyy")," "),e.R7$(4),e.FS9("value",e.bMT(24,27,"myAbsences.reportTime.confirmBtn")),e.R7$(2),e.FS9("value",e.bMT(26,29,"myAbsences.reportTime.cancelBtn")))},dependencies:[ie.vh,Y.D9],styles:[".modal-dialog[_ngcontent-%COMP%]{min-width:600px!important}.absenceConfirmModal[_ngcontent-%COMP%]{border-radius:30px!important;display:flex;flex-direction:column;max-width:750px!important;width:auto!important;hr{display:none}h2,#titleId{font: 35px/36px Aptos,sans-serif!important;text-align:center;color:#070f36!important;padding-bottom:20px}img{width:25px;height:25px;align-self:end}img:hover{cursor:pointer}span,#timeoutBody{font: 22px/36px Aptos,sans-serif!important;color:#070f36!important;word-break:normal!important}input.primaryLongContinue{border:none!important}.centered{text-align:center}.modal-header{padding-top:40px;justify-content:center}.exitCreateRequestModalTitle{color:#070f36!important;font-weight:400!important;padding-top:20px}.rf-pp-cnt{margin:20px 30px!important;display:flex;flex-direction:column}.dataGroupTitle{font: 25px/31px Aptos,sans-serif!important;padding:16px 0 4px}span.centered.dataGroupTitle{padding:30px 30px 10px}.restyledLabel{font: 22px/36px Aptos,sans-serif!important;color:#070f36!important;width:45%!important;margin-right:0;display:inline-block;margin-bottom:8px;text-align:left!important}.lighterLabel{font:lighter 22px/36px Aptos Light,sans-serif!important;color:#070f36!important;width:70%!important;margin-right:0;display:inline-block;text-align:left!important}.restyledValue{font: 22px/36px Aptos,sans-serif!important;color:#070f36!important;margin-right:0;display:inline-block;margin-bottom:8px;text-align:start!important}.lighterValue{font:lighter 22px/36px Aptos Light,sans-serif!important;color:#070f36!important;width:40%!important;margin-right:0;display:inline-block;text-align:start!important}.restyledSmBtns{flex-direction:row-reverse;justify-content:center;align-self:center;width:90%;margin-top:0;input{height:54px!important;width:50%!important;max-width:unset!important;padding:0 10px!important}}button.secondaryBtn:hover{background:transparent!important}.close-button{align-self:end;width:35px;height:35px}.secondaryLongBackButton,.twoSecondaryButtons{text-align:center;align-items:center;height:103px;input,button{height:54px!important;padding:0 10px!important;border-radius:30px!important;background:transparent!important;border:1px solid #070f36!important}}.twoSecondaryButtons input{width:50%!important;max-width:unset!important;margin:0}.secondaryLongBackButton{width:50%;button{width:100%}button:hover{color:#070f36!important}}.secondaryBack{color:#070f36!important}.confirmModal.textAsLabel{width:55%}.confirmModal.boxText{align-items:center}.modal-footer{border:none!important;padding-bottom:20px}.boxText{margin-left:8%}}@media (max-width: 850px){.absenceConfirmModal[_ngcontent-%COMP%]{.rf-pp-cnt{margin:20px 10px!important}.restyledLabel{width:100%!important}.restyledValue,.lighterValue,.lighterLabel{width:100%!important;max-width:unset!important}.lighterValue,.lighterLabel{margin-bottom:0!important}.restyledSmBtns{flex-direction:column!important;input{width:100%!important}.secondaryBack{margin:0!important}}.twoSecondaryButtons{flex-direction:column!important;input{width:100%!important;height:40px!important;margin:8px 0!important}}.indent{padding-left:0}.dataGroupTitle{padding:16px 0 0}.boxText{flex-direction:column;margin-left:8%}}}"]})}}return n})(),Ht=(()=>{class n{constructor(t,i,r,u,v,V){this.modalService=t,this.activatedRoute=i,this.router=r,this.eventService=u,this.translate=v,this.userService=V,this.domainResourcePath=se.z.getBaseResourcePath(),this.data=history.state.data,this.dateFormater=ho}ngOnInit(){null==this.data&&(localStorage.clear(),this.router.navigate(["error-page"])),this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)),this.wpaId=this.data.wpaId,this.decision=JSON.parse(this.data.decision),this.wpaRequestPlannedEnd=JSON.parse(this.data.wpaRequestPlannedEnd),this.emptyStartDate=!1,this.showAdjustStartDate=!0}clearError(){this.emptyStartDate=!1,this.errorMsg=void 0}submitAdjustStartDate(){const t=this.extNewDate;let i;if(t)try{i=new Date(t.year,t.month-1,t.day).toISOString()}catch{return void(this.emptyStartDate=!0)}const r=this.dateFormater.getDate(this.decision.startDate).toISOString();let u;if(this.decision.endDate&&(u=this.dateFormater.getDate(this.decision.endDate).toISOString()),!(t&&t.year&&t.month&&t.day))return void(this.emptyStartDate=!0);const v=on(i),V=on(r),Ce=on(u);if(v.isSame(V)?this.errorMsg=this.translate.instant("myAbsences.viewWorkplaceAccommodation.AdjustStartDate.validation.date.matches"):this.decision.endDate&&v.isAfter(Ce)&&(this.errorMsg=this.translate.instant("myAbsences.viewWorkplaceAccommodation.AdjustStartDate.validation.date.after")),this.errorMsg)return;const it=this.modalService.open(Dt,{centered:!0,backdrop:"static"});it.componentInstance.wpaId=this.wpaId,it.componentInstance.decisionId=this.decision.id,it.componentInstance.typeId=this.decision.typeId,it.componentInstance.typeVersionId=this.decision.typeVersionId,it.componentInstance.currentStartDate=this.decision.startDate,it.componentInstance.currentEndDate=this.decision.endDate,it.componentInstance.newEndDate=this.decision.endDate,it.componentInstance.userInfo=this.userInfo,it.componentInstance.newStartDate=new Date(this.extNewDate.year,this.extNewDate.month-1,this.extNewDate.day),it.result.then(At=>{1==At?(this.eventService.logEvent(p.sb.UPDATE_ADJUST_START_DATE_SUBMIT,p.sb.USER_SUBMIT_WPA_ADJUST_START_DATE_MSG,this.wpaId+" - "+this.decision.id.toString()),sessionStorage.setItem(p.YM.CONFIRMATION_MSG_SUCCESS,this.translate.instant("myAbsences.viewWorkplaceAccommodation.AdjustStartDate.validation.success")),this.back()):-1==At&&(this.eventService.logEvent(p.sb.UPDATE_ADJUST_START_DATE_ERROR,p.sb.WPA_ERROR_MSG,this.wpaId+" - "+this.decision.id.toString()),sessionStorage.setItem(p.YM.CONFIRMATION_MSG_FAILURE,this.translate.instant("myAbsences.viewWorkplaceAccommodation.AdjustStartDate.validation.error")),this.back())})}back(){this.router.navigateByUrl("viewWorkplaceAccommodation?workplaceAccommodationId="+this.wpaId+"&mapTypes=WorkplaceAccommodationTypeMap,DecisionReasonDeniedMap,DecisionReasonCancelledMap,LeaveDecisionStatusMap,lrHCPSpecialtyMap")}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(G.Bq),e.rXU(q.nX),e.rXU(q.Ix),e.rXU(M.US),e.rXU(Y.c$),e.rXU(M.DL))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["wpa-adjust-start-date"]],features:[e.Jv_([{provide:G.tN,useClass:b.ls}])],decls:38,vars:43,consts:[["d","ngbDatepicker"],["class","hoverable","id","wobAbsTitle",4,"ngIf"],["id","rtwBox",1,"card","card-padding"],["id","rtwTitle"],[1,"intFormPage","adjustLeave"],[1,"clearFix"],["id","disclaimer1",1,"wpa-text"],["id","disclaimer2",1,"wpa-text"],["class","rf-msgs-err",4,"ngIf"],[1,"form-inline","boxText","wpa-date-row"],["id","rECurrent",1,"textAsLabel","wpa-adjust-date-column"],["id","startEndDate",1,"wpa-text","wpa-adjust-date-column"],["for","dateField","id","rENeeded",1,"wpa-text","wpa-adjust-date-column"],["id","adjStartDate"],["ngbDatepicker","","id","dateField","placeholder","mm/dd/yyyy","autocomplete","off","name","extNewDate",1,"rf-cal-inp","input-container","wpa-adjust-date-column","wpa-adjust-datepicker",3,"dateSelect","focus","ngModelChange","firstDayOfWeek","startDate","ngModel","ngClass"],["alt","Calendar","id","datePicker",1,"calendar-scale",3,"click","
1src"],["class","rf-msgs-err clear",4,"ngIf"],[1,"reverseButtons","vertical-btns"],["type","button","id","AdjStartSubmit",1,"primaryBtn","blueBtn","primaryLongContinue",3,"click","value","disabled"],["type","button","id","backBtn",1,"submit","secondaryBtn","secondary-btn","complete-width",3,"click","value"],["id","wobAbsTitle",1,"hoverable"],[1,"font-italic"],[1,"user-info-header"],[1,"rf-msgs-err"],["id","errErrorMsgRtw",1,"rf-msgs-sum"],["id","errorMsg",3,"innerHTML"],[1,"rf-msgs-err","clear"],["id","errDateBlankExt",1,"rf-msgs-sum"]],template:function(i,r){if(1&i){const u=e.RV6();e.DNE(0,Pe,6,6,"h1",1),e.j41(1,"div",2)(2,"h1",3),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"div",4),e.nrm(6,"div",5),e.j41(7,"p",6),e.EFF(8),e.nI1(9,"translate"),e.k0s(),e.nrm(10,"div",5),e.j41(11,"p",7),e.EFF(12),e.nI1(13,"translate"),e.k0s(),e.DNE(14,st,3,1,"div",8),e.j41(15,"div",9)(16,"span",10),e.EFF(17),e.nI1(18,"translate"),e.k0s(),e.j41(19,"span",11),e.EFF(20),e.nI1(21,"date"),e.nI1(22,"date"),e.k0s()(),e.j41(23,"div",9)(24,"label",12),e.EFF(25),e.nI1(26,"translate"),e.k0s(),e.nrm(27,"span",13),e.j41(28,"input",14,0),e.bIt("dateSelect",function(){return e.eBV(u),e.Njj(r.clearError())})("focus",function(){return e.eBV(u),e.Njj(r.clearError())}),e.mxI("ngModelChange",function(V){return e.eBV(u),e.DH7(r.extNewDate,V)||(r.extNewDate=V),e.Njj(V)}),e.k0s(),e.j41(30,"img",15),e.bIt("click",function(){e.eBV(u);const V=e.sdS(29);return e.Njj(V.toggle())}),e.k0s()(),e.DNE(31,gt,4,3,"div",16),e.j41(32,"div",17)(33,"input",18),e.nI1(34,"translate"),e.nI1(35,"async"),e.bIt("click",function(){return e.eBV(u),e.Njj(r.submitAdjustStartDate())}),e.k0s(),e.j41(36,"input",19),e.nI1(37,"translate"),e.bIt("click",function(){return e.eBV(u),e.Njj(r.back())}),e.k0s()()()()}2&i&&(e.Y8G("ngIf",r.userInfo.wob),e.R7$(3),e.JRh(e.bMT(4,19,"myAbsences.viewWorkplaceAccommodation.AdjustStartDate.title")),e.R7$(5),e.JRh(e.bMT(9,21,"myAbsences.viewWorkplaceAccommodation.AdjustStartDate.disclaimer1")),e.R7$(4),e.JRh(e.bMT(13,23,"myAbsences.viewWorkplaceAccommodation.AdjustStartDate.disclaimer2")),e.R7$(2),e.Y8G("ngIf",r.errorMsg),e.R7$(3),e.SpI(" ",e.bMT(18,25,"myAbsences.viewWorkplaceAccommodation.AdjustStartDate.current")," "),e.R7$(3),e.Lme(" ",e.i5U(21,27,r.dateFormater.getDate(r.decision.startDate),"MM/dd/yyyy")," - ",e.i5U(22,30,r.dateFormater.getDate(r.decision.endDate),"MM/dd/yyyy")," "),e.R7$(5),e.SpI(" ",e.bMT(26,33,"myAbsences.viewWorkplaceAccommodation.AdjustStartDate.needed")," "),e.R7$(3),e.Y8G("firstDayOfWeek",7)("startDate",r.calDate),e.R50("ngModel",r.extNewDate),e.Y8G("ngClass",e.eq3(41,ve,r.emptyStartDate)),e.R7$(2),e.Mz_("src","",r.domainResourcePath,"/gfx/redesignIcons/calendar.svg",e.B4B),e.R7$(),e.Y8G("ngIf",r.emptyStartDate),e.R7$(2),e.FS9("value",e.bMT(34,35,"myAbsences.viewWorkplaceAccommodation.AdjustStartDate.submit")),e.Y8G("disabled",null!==e.bMT(35,37,r.userService.portalPermission$)),e.R7$(3),e.FS9("value",e.bMT(37,39,"myAbsences.reportTime.cancelBtn")))},dependencies:[ie.YU,ie.bT,ge.me,ge.BC,ge.vS,G.cw,ie.Jj,ie.vh,Y.D9],encapsulation:2})}}return n})(),tn=(()=>{class n{constructor(t){this.service=t}resolve(t,i){let r=t.queryParamMap.get("workplaceAccommodationId");return this.service.hasWpaLetter(r)}static{this.\u0275fac=function(i){return new(i||n)(e.KVO(ad.n))}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac})}}return n})();const cn=[{path:"",redirectTo:"/login",pathMatch:"full"},{path:"login",component:Du},{path:"absences",component:wD,resolve:{viewLeaves:M.gO,announcment:M.TH,workplaceAccommodations:M.nI}},{path:"planMyLeave",component:Fk},{path:"leavePlanSummary",component:jk},{path:"reportTime",component:u_,resolve:{recentLeave:M.it,leaveRequestDescription:M.Hm,absenceReasons:M.ht}},{path:"viewLeaveTimes",component:kC,resolve:{leavePlans:M.ge,leavePlanTimes:M.nZ,codeMap:M.We}},{path:"mgr-dashboard",component:kb},{path:"ec-dashboard",component:FD},{path:"viewDisabilityClaim/:claimId",component:IC},{path:"workOnBehalf",component:dD},{path:"generateReports",component:am,resolve:{reports:M._t}},{path:"reportsDashboard",component:vv},{path:"reportCriteria/:reportNameId/:reportId",component:VC,resolve:{reportCriteria:M.yU}},{path:"viewLetters",component:Nr,resolve:{viewLetters:M.l$}},{path:"leaveDetails",component:W_,resolve:{leaveDetails:M.AV,viewLetters:M.l$,leaveCodeMap:M.We,hasLatter:M.hu,accountHasRtwProduct:M.uW}}
1,{path:"updateHCP",component:uy,resolve:{leaveCodeList:M.o6}},{path:"updateDecisionEndDate",component:hy,resolve:{antiRTWDate:M.Cy,accountHasRtwProduct:M.uW}},{path:"confirmRequestExtention",component:Iy},{path:"updatePlacementDelivery",component:oS,resolve:{leaveCodeMap:M.We}},{path:"faqs",component:er,resolve:{faqs:M.Uu}},{path:"publicFaqs",component:pS,resolve:{faqs:M.f4}},{path:"contactUs",component:pr,resolve:{userSession:Pm}},{path:"publicContactUs/:appName/:localeId",component:Ae},{path:"error-page",component:Uo},{path:"incidentalAbsence",component:au,resolve:{incidentalReasonsByAccount:M.FY}},{path:"profile",component:vn,resolve:{profile:M.oT,codeList:M.o6}},{path:"change-username",component:Wi},{path:"change-password",component:bs},{path:"update-security-questions",component:Os,resolve:{userQuestions:M.Vq}},{path:"eapPage",component:oa},{path:"ssoError",component:Td},{path:"ssoLogout",component:Id},{path:"webviewError",component:zp},{path:"healthStatus",component:My,resolve:{health:M.z$}},{path:"submitDocumentation",component:H,resolve:{submitDocLeaveRequest:M.Hw,userSession:Pm,workplaceAccommodations:M.nI,accountHasRtwProduct:M.uW}},{path:"caseActivityReport",component:Em},{path:"notes",component:bg,resolve:{viewLeaves:M.gO}},{path:"submitRequestDecision",component:c0},{path:"account-report-selection",component:I0,resolve:{subAccounts:M.VB}},{path:"report-recipients-selection",component:R0},{path:"viewWorkplaceAccommodation",component:CR,resolve:{workplaceAccommodationCodeMap:M.We,workplaceAccommodation:M.nI,wpaConditions:ME,viewLeaves:M.gO,wpaDecisionReasons:n2,viewLetters:M.l$,hasWpaLetter:tn}},{path:"viewLetterAttachments",component:kR,resolve:{letterAttachments:M.RB}},{path:"viewCommunicationMaterials",component:mA,resolve:{communicationMaterialTypes:M.Xf}},{path:"requestAccommodationsCoaching",component:Ew},{path:"notificationHistory",component:FR,resolve:{notificationHistory:PR}},{path:"wpaRequestExtension",component:ne},{path:"wpaAdjustStartDate",component:Ht},{path:"wpaAddType",component:lx},{path:"createRequest",canDeactivate:[Ug.K],component:QE,resolve:{userSession:Pm,wpaConditions:ME}},{path:"createLeaveRequest",loadChildren:()=>I.e(518).then(I.bind(I,6518)).then(n=>n.LeaveRequestWizardModule)},{path:"termsUse",component:O,canActivate:[M.Ik]},{path:"supportedBrowsers",component:W,canActivate:[M.Ik]},{path:"feedback",component:an},{path:"forgotUsername",component:xc},{path:"forgotPassword",component:fn},{path:"sessionExpired",component:rc},{path:"force-update-security-questions",component:Os,resolve:{userQuestions:M.Vq},canDeactivate:[Ug.K]},{path:"forceChangePassword",component:Na,resolve:{publicUserInfo:M.tm}},{path:"resources",component:Ir},{path:"caring-conversations",component:Dd},{path:"support-content",component:tT},{path:"support-content/article/:slug",component:a},{path:"registration",component:kd}];let Kt=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=e.$C({type:n})}static{this.\u0275inj=e.G2t({providers:[M.Cy,M.uW,M.f4,M.Uu,M.o6,M.hu,M.AV,M.yU,M._t,M.We,M.ge,M.nZ,M.gO,M.it,M.Hm,M.FY,M.ht,M.TH,M.l$,M.oT,M.Vq,M.z$,M.Hw,M.VB,M.nI,ME,n2,M.nI,Pm,tn,M.tm],imports:[Oa,q.iI.forRoot(cn,{scrollPositionRestoration:"enabled",anchorScrolling:"enabled",scrollOffset:[0,30],useHash:!0}),q.iI]})}}return n})();const pi=()=>({mapTypes:"ProtectionStatusTypeMap,ReportingMethodMap"}),ds=n=>({greenRowBackground:n});function Bs(n,d){1&n&&(e.j41(0,"div",12)(1,"a",13),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&n&&(e.R7$(),e.Y8G("queryParams",e.lJ4(4,pi)),e.R7$(),e.SpI(" ",e.bMT(3,2,"myAbsences.reportTime.leaveTimeUsed.balanceLink")," "))}function Zr(n,d){1&n&&(e.j41(0,"th",7),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"label.leaveTimeUsed.action")," "))}function va(n,d){if(1&n){const t=e.RV6();e.j41(0,"a",28),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2).$implicit,u=e.XpG(2);return e.Njj(u.onEdit(r))})("keydown.enter",function(r){return e.eBV(t),r.preventDefault(),e.Njj(r.target.click())}),e.EFF(1),e.nI1(2,"translate"),e.k0s()}2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"label.leaveTimeUsed.edit")," "))}function Tu(n,d){1&n&&e.nrm(0,"br")}function nT(n,d){if(1&n){const t=e.RV6();e.j41(0,"a",29),e.bIt("click",function(){e.eBV(t);const r=e.XpG(2).$implicit,u=e.XpG(2);return e.Njj(u.onDelete(r))})("keydown.enter",function(r){return e.eBV(t),r.preventDefault(),e.Njj(r.target.click())}),e.EFF(1),e.nI1(2,"translate"),e.k0s()}2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"label.leaveTimeUsed.delete")," "))}function v2(n,d){if(1&n&&(e.j41(0,"td",24),e.DNE(1,va,3,3,"a",25)(2,Tu,1,0,"br",26)(3,nT,3,3,"a",27),e.k0s()),2&n){const t=e.XpG().$implicit,i=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.isEditable&&(!i.isWob||i.userInfo.userPrivilege.allowLoggedUserEditReportedTimeOnBhfEmp)),e.R7$(),e.Y8G("ngIf",t.isEditable),e.R7$(),e.Y8G("ngIf",!i.isWob||i.userInfo.userPrivilege.allowLoggedUserDeleteReportedTimeOnBhfEmp)}}function Px(n,d){if(1&n&&(e.j41(0,"tr",15)(1,"td",16),e.EFF(2),e.nrm(3,"br"),e.k0s(),e.j41(4,"td",17),e.EFF(5),e.nrm(6,"br"),e.k0s(),e.j41(7,"td",18),e.EFF(8),e.nI1(9,"translate"),e.k0s(),e.j41(10,"td",19),e.EFF(11),e.k0s(),e.j41(12,"td",20),e.EFF(13),e.nI1(14,"date"),e.k0s(),e.j41(15,"td",21)(16,"div"),e.EFF(17),e.nI1(18,"translate"),e.k0s()(),e.j41(19,"td",22),e.EFF(20),e.k0s(),e.DNE(21,v2,4,3,"td",23),e.k0s()),2&n){const t=d.$implicit,i=e.XpG(2);e.Y8G("ngClass",e.eq3(16,ds,t.leaveTimeId==i.highlightedLeave)),e.R7$(2),e.SpI(" ",t.leaveTimeId," "),e.R7$(3),e.SpI(" ",t.leaveRequestId>0?t.leaveRequestId:"N/A"," "),e.R7$(3),e.SpI(" ",t.leaveRequestId>0?t.leaveDescription:e.bMT(9,9,"incidentalAbsence.label")," "),e.R7$(3),e.JRh(t.absenseReason),e.R7$(2),e.JRh(e.i5U(14,11,t.leaveDate,"MM/dd
1/yyyy")),e.R7$(4),e.SpI(" ",t.fullDayUsed?e.bMT(18,14,"label.leaveTime.fullDayUsed"):t.leaveHours," "),e.R7$(3),e.SpI(" ",t.fullDayUsed?"":t.leaveMinutes," "),e.R7$(),e.Y8G("ngIf",i.isWob&&(i.userInfo.userPrivilege.allowLoggedUserEditReportedTimeOnBhfEmp||i.userInfo.userPrivilege.allowLoggedUserDeleteReportedTimeOnBhfEmp))}}function jx(n,d){if(1&n&&(e.qex(0),e.j41(1,"tbody"),e.DNE(2,Px,22,18,"tr",14),e.k0s(),e.bVm()),2&n){const t=e.XpG();e.R7$(2),e.Y8G("ngForOf",t.recentDispLeaveTimes)}}function Bx(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",30)(1,"ngb-pagination",31),e.mxI("pageChange",function(r){e.eBV(t);const u=e.XpG();return e.DH7(u.page,r)||(u.page=r),e.Njj(r)}),e.bIt("pageChange",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.refreshRecentLeaves())}),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(),e.Y8G("collectionSize",t.recentLeaveTimes.length),e.R50("page",t.page),e.Y8G("pageSize",t.pageSize)("maxSize",5)("rotate",!0)("ellipses",!1)("boundaryLinks",!0)}}function Yx(n,d){1&n&&(e.j41(0,"tfoot")(1,"tr")(2,"td",32),e.EFF(3),e.nI1(4,"translate"),e.k0s()()()),2&n&&(e.R7$(3),e.SpI(" ",e.bMT(4,1,"myAbsences.reportTime.leaveTimeUsed.noLeave")," "))}let $x=(()=>{class n{constructor(t){this.modalService=t,this.onLeaveEdit=new e.bkB,this.onLeaveDelete=new e.bkB,this._recentLeaveTimes=[],this._highlightedLeave=0,this.page=1,this.pageSize=25}get recentLeaveTimes(){return this._recentLeaveTimes}set recentLeaveTimes(t){this._recentLeaveTimes=t}get highlightedLeave(){return this._highlightedLeave}set highlightedLeave(t){this._highlightedLeave=t}get recentDispLeaveTimes(){return this._recentDispLeaveTimes}ngOnInit(){this.userInfo=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO))}ngOnChanges(){this.refreshRecentLeaves()}refreshRecentLeaves(){this._recentDispLeaveTimes=[],this._recentDispLeaveTimes=this._recentLeaveTimes.map((t,i)=>({leaveTimeId:i+1,...t})).slice((this.page-1)*this.pageSize,(this.page-1)*this.pageSize+this.pageSize)}onEdit(t){this._highlightedLeave=void 0,this.onLeaveEdit.emit({key:!0,value:t})}onDelete(t){const i=this.modalService.open(qh,{centered:!0});i.componentInstance.deletedLeave=t,i.result.then(r=>{-1!=r&&this._recentLeaveTimes.forEach((u,v)=>{u.leaveTimeId===t.leaveTimeId&&this._recentLeaveTimes.splice(v,1)}),this.refreshRecentLeaves(),this.onLeaveDelete.emit(-1!=r?1:-1)}).catch(()=>{})}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(G.Bq))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-view-used-time"]],inputs:{recentLeaveTimes:"recentLeaveTimes",highlightedLeave:"highlightedLeave",isWob:"isWob"},outputs:{onLeaveEdit:"onLeaveEdit",onLeaveDelete:"onLeaveDelete"},features:[e.OA$],decls:39,vars:32,consts:[["noRecentLeaves",""],["class","viewTimeLink",4,"ngIf"],["id","leaveTimesPanel"],["id","usedTimeTitle"],[1,"tableContainer"],["id","timeUsedTable",1,"rf-dt","dataTable"],[1,"rf-dt-shdr","dashboard-header"],["scope","col",1,"rf-dt-shdr-c"],["class","rf-dt-shdr-c","scope","col",4,"ngIf"],[4,"ngIf","ngIfElse"],["id","noLeaveNote",1,"outroText"],["class","d-flex justify-content-between p-2",4,"ngIf"],[1,"viewTimeLink"],["routerLink","/viewLeaveTimes","id","viewLeaveTimesReqLink",3,"queryParams"],["class","rf-dt-r rf-dt-fst-r",3,"ngClass",4,"ngFor","ngForOf"],[1,"rf-dt-r","rf-dt-fst-r",3,"ngClass"],["id","leaveTimeId",1,"rf-dt-c","right"],["id","leaveRequestId",1,"rf-dt-c"],["id","leaveDescription",1,"rf-dt-c"],["id","absReason",1,"rf-dt-c"],["id","leaveDate",1,"rf-dt-c","right"],["id","leaveH",1,"rf-dt-c","right"],["id","leaveM",1,"rf-dt-c","right"],["class","rf-dt-c",4,"ngIf"],[1,"rf-dt-c"],["class","checkLabel","role","link","tabindex","0","id","editBtn",3,"click","keydown.enter",4,"ngIf"],[4,"ngIf"],["class","checkLabel","role","link","tabindex","0","id","deleteBtn",3,"click","keydown.enter",4,"ngIf"],["role","link","tabindex","0","id","editBtn",1,"checkLabel",3,"click","keydown.enter"],["role","link","tabindex","0","id","deleteBtn",1,"checkLabel",3,"click","keydown.enter"],[1,"d-flex","justify-content-between","p-2"],["id","pageNumber",3,"pageChange","collectionSize","page","pageSize","maxSize","rotate","ellipses","boun
1daryLinks"],["colspan","7",2,"text-align","center"]],template:function(i,r){if(1&i&&(e.DNE(0,Bs,4,5,"div",1),e.j41(1,"div",2),e.qex(2),e.j41(3,"h2",3),e.EFF(4),e.nI1(5,"translate"),e.k0s(),e.j41(6,"div",4)(7,"table",5)(8,"thead")(9,"tr",6)(10,"th",7),e.EFF(11),e.nI1(12,"translate"),e.k0s(),e.j41(13,"th",7),e.EFF(14),e.nI1(15,"translate"),e.k0s(),e.j41(16,"th",7),e.EFF(17),e.nI1(18,"translate"),e.k0s(),e.j41(19,"th",7),e.EFF(20),e.nI1(21,"translate"),e.k0s(),e.j41(22,"th",7),e.EFF(23),e.nI1(24,"translate"),e.k0s(),e.j41(25,"th",7),e.EFF(26),e.nI1(27,"translate"),e.k0s(),e.j41(28,"th",7),e.EFF(29),e.nI1(30,"translate"),e.k0s(),e.DNE(31,Zr,3,3,"th",8),e.k0s()(),e.DNE(32,jx,3,1,"ng-container",9),e.k0s()(),e.j41(33,"div",10),e.EFF(34),e.nI1(35,"translate"),e.k0s(),e.DNE(36,Bx,2,7,"div",11),e.bVm(),e.DNE(37,Yx,5,3,"ng-template",null,0,e.C5r),e.k0s()),2&i){const u=e.sdS(38);e.Y8G("ngIf",r.userInfo.userPrivilege.allowedViewLeaveTimes&&r.userInfo.userPrivilege.allowedViewLeaveTimeBalances),e.R7$(4),e.JRh(e.bMT(5,14,"myAbsences.reportTime.leaveTimeUsed.webTitle")),e.R7$(7),e.JRh(e.bMT(12,16,"label.leaveTime.leaveId")),e.R7$(3),e.JRh(e.bMT(15,18,"label.leaveTime.leaveReq")),e.R7$(3),e.JRh(e.bMT(18,20,"label.leaveTime.leaveDesc")),e.R7$(3),e.JRh(e.bMT(21,22,"label.leaveTime.absReason")),e.R7$(3),e.JRh(e.bMT(24,24,"label.leaveTime.dateReportTime")),e.R7$(3),e.JRh(e.bMT(27,26,"label.leaveTime.hours")),e.R7$(3),e.JRh(e.bMT(30,28,"label.leaveTime.minutes")),e.R7$(2),e.Y8G("ngIf",r.isWob&&(r.userInfo.userPrivilege.allowLoggedUserEditReportedTimeOnBhfEmp||r.userInfo.userPrivilege.allowLoggedUserDeleteReportedTimeOnBhfEmp)),e.R7$(),e.Y8G("ngIf",r.recentLeaveTimes.length>0)("ngIfElse",u),e.R7$(2),e.JRh(e.bMT(35,30,"myAbsences.reportTime.leaveTimeUsed.note")),e.R7$(2),e.Y8G("ngIf",r.recentLeaveTimes.length>r.pageSize)}},dependencies:[ie.YU,ie.Sq,ie.bT,q.Wk,G.s5,ie.vh,Y.D9]})}}return n})(),Ux=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=e.$C({type:n})}static{this.\u0275inj=e.G2t({imports:[Oa]})}}return n})();var Gx=I(3703),Vx=I(253);I(1594);let Vp={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function fx(n){Vp=n}const _x=/[&<>"']/,Wx=new RegExp(_x.source,"g"),gx=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,qx=new RegExp(gx.source,"g"),Xx={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},bx=n=>Xx[n];function _l(n,d){if(d){if(_x.test(n))return n.replace(Wx,bx)}else if(gx.test(n))return n.replace(qx,bx);return n}const zx=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,Jx=/(^|[^\[])\^/g;function Ys(n,d){n="string"==typeof n?n:n.source,d=d||"";const t={replace:(i,r)=>(r=(r="object"==typeof r&&"source"in r?r.source:r).replace(Jx,"$1"),n=n.replace(i,r),t),getRegex:()=>new RegExp(n,d)};return t}function vx(n){try{n=encodeURI(n).replace(/%25/g,"%")}catch{return null}return n}const iT={exec:()=>null};function yx(n,d){const i=n.replace(/\|/g,(u,v,V)=>{let Ce=!1,it=v;for(;--it>=0&&"\\"===V[it];)Ce=!Ce;return Ce?"|":" |"}).split(/ \|/);let r=0;if(i[0].trim()||i.shift(),i.length>0&&!i[i.length-1].trim()&&i.pop(),d)if(i.length>d)i.splice(d);else for(;i.length<d;)i.push("");for(;r<i.length;r++)i[r]=i[r].trim().replace(/\\\|/g,"|");return i}function sT(n,d,t){const i=n.length;if(0===i)return"";let r=0;for(;r<i;){const u=n.charAt(i-r-1);if(u!==d||t){if(u===d||!t)break;r++}else r++}return n.slice(0,i-r)}function Ex(n,d,t,i){const r=d.href,u=d.title?_l(d.title):null,v=n[1].replace(/\\([\[\]])/g,"$1");if("!"!==n[0].charAt(0)){i.state.inLink=!0;const V={type:"link",raw:t,href:r,title:u,text:v,tokens:i.inlineTokens(v)};return i.state.inLink=!1,V}return{type:"image",raw:t,href:r,title:u,text:_l(v)}}class rT{options;rules;lexer;constructor(d){this.options=d||Vp}space(d){const t=this.rules.block.newline.exec(d);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(d){const t=this.rules.block.code.exec(d);if(t){const i=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?i:sT(i,"\n")}}}fences(d){const t=this.rules.block.fences.exec(d);if(t){const i=t[0],r=function Zx(n,d){const t=n.match(/^(\s+)(?:```)/);if(null===t)return d;const i=t[1];return d.split("\n").map(r=>{const u=r.match(/^\s+/);if(null===u)return r;const[v]=u;return v.length>=i.length?r.slice(i.length):r}).join("\n")}(i,t[3]||"");return{type:"code",raw:i,lang:t[2]?t[2].trim().replace(this.rules.inline._escapes,"$1"):t[2],text:r}}}heading(d){const t=this.rules.block.heading.exec(d);if(t){let i=t[2].trim();if(/#$/.test(i)){const r=sT(i,"#");(this.options.pedantic||!r||/ $/.test(r))&&(i=r.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:i,tokens:this.lexer.inline(i)}}}hr(d){const t=this.rules.block.hr.exec(d);if(t)return{type:"hr",raw:t[0]}}blockquote(d){const t=this.rules.block.blockquote.exec(d);if(t){const i=sT(t[0].replace(/^ *>[ \t]?/gm,""),"\n"),r=this.lexer.state.top;this.lexer.state.top=!0;const u=this.lexer.blockTokens(i);return this.lexer.state.top=r,{type:"blockquote",raw:t[0],tokens:u,text:i}}}list(d){let t=this.rules.block.list.exec(d);if(t){let i=t[1].trim();const r=i.length>1,u={type:"list",raw:"",ordered:r,start:r?+i.slice(0,-1):"",loose:!1,items:[]};i=r?`\\d{1,9}\\${i.slice(-1)}`:`\\${i}`,this.options.pedantic&&(i=r?i:"[*+-]");const v=new RegExp(`^( {0,3}${i})((?:[\t ][^\\n]*)?(?:\\n|$))`);let V="",Ce="",it=!1;for(;d;){let At=!1;
1if(!(t=v.exec(d))||this.rules.block.hr.test(d))break;V=t[0],d=d.substring(V.length);let Ot=t[2].split("\n",1)[0].replace(/^\t+/,cd=>" ".repeat(3*cd.length)),Jt=d.split("\n",1)[0],wn=0;this.options.pedantic?(wn=2,Ce=Ot.trimStart()):(wn=t[2].search(/[^ ]/),wn=wn>4?1:wn,Ce=Ot.slice(wn),wn+=t[1].length);let ns=!1;if(!Ot&&/^ *$/.test(Jt)&&(V+=Jt+"\n",d=d.substring(Jt.length+1),At=!0),!At){const cd=new RegExp(`^ {0,${Math.min(3,wn-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),cT=new RegExp(`^ {0,${Math.min(3,wn-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),dT=new RegExp(`^ {0,${Math.min(3,wn-1)}}(?:\`\`\`|~~~)`),uT=new RegExp(`^ {0,${Math.min(3,wn-1)}}#`);for(;d;){const Gg=d.split("\n",1)[0];if(Jt=Gg,this.options.pedantic&&(Jt=Jt.replace(/^ {1,4}(?=( {4})*[^ ])/g,"  ")),dT.test(Jt)||uT.test(Jt)||cd.test(Jt)||cT.test(d))break;if(Jt.search(/[^ ]/)>=wn||!Jt.trim())Ce+="\n"+Jt.slice(wn);else{if(ns||Ot.search(/[^ ]/)>=4||dT.test(Ot)||uT.test(Ot)||cT.test(Ot))break;Ce+="\n"+Jt}!ns&&!Jt.trim()&&(ns=!0),V+=Gg+"\n",d=d.substring(Gg.length+1),Ot=Jt.slice(wn)}}u.loose||(it?u.loose=!0:/\n *\n *$/.test(V)&&(it=!0));let Zo,yo=null;this.options.gfm&&(yo=/^\[[ xX]\] /.exec(Ce),yo&&(Zo="[ ] "!==yo[0],Ce=Ce.replace(/^\[[ xX]\] +/,""))),u.items.push({type:"list_item",raw:V,task:!!yo,checked:Zo,loose:!1,text:Ce,tokens:[]}),u.raw+=V}u.items[u.items.length-1].raw=V.trimEnd(),u.items[u.items.length-1].text=Ce.trimEnd(),u.raw=u.raw.trimEnd();for(let At=0;At<u.items.length;At++)if(this.lexer.state.top=!1,u.items[At].tokens=this.lexer.blockTokens(u.items[At].text,[]),!u.loose){const Ot=u.items[At].tokens.filter(wn=>"space"===wn.type),Jt=Ot.length>0&&Ot.some(wn=>/\n.*\n/.test(wn.raw));u.loose=Jt}if(u.loose)for(let At=0;At<u.items.length;At++)u.items[At].loose=!0;return u}}html(d){const t=this.rules.block.html.exec(d);if(t)return{type:"html",block:!0,raw:t[0],pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:t[0]}}def(d){const t=this.rules.block.def.exec(d);if(t){const i=t[1].toLowerCase().replace(/\s+/g," "),r=t[2]?t[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline._escapes,"$1"):"",u=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline._escapes,"$1"):t[3];return{type:"def",tag:i,raw:t[0],href:r,title:u}}}table(d){const t=this.rules.block.table.exec(d);if(t){if(!/[:|]/.test(t[2]))return;const i={type:"table",raw:t[0],header:yx(t[1]).map(r=>({text:r,tokens:[]})),align:t[2].replace(/^\||\| *$/g,"").split("|"),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(i.header.length===i.align.length){let u,v,V,Ce,r=i.align.length;for(u=0;u<r;u++){const it=i.align[u];it&&(i.align[u]=/^ *-+: *$/.test(it)?"right":/^ *:-+: *$/.test(it)?"center":/^ *:-+ *$/.test(it)?"left":null)}for(r=i.rows.length,u=0;u<r;u++)i.rows[u]=yx(i.rows[u],i.header.length).map(it=>({text:it,tokens:[]}));for(r=i.header.length,v=0;v<r;v++)i.header[v].tokens=this.lexer.inline(i.header[v].text);for(r=i.rows.length,v=0;v<r;v++)for(Ce=i.rows[v],V=0;V<Ce.length;V++)Ce[V].tokens=this.lexer.inline(Ce[V].text);return i}}}lheading(d){const t=this.rules.block.lheading.exec(d);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(d){const t=this.rules.block.paragraph.exec(d);if(t){const i="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:i,tokens:this.lexer.inline(i)}}}text(d){const t=this.rules.block.text.exec(d);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(d){const t=this.rules.inline.escape.exec(d);if(t)return{type:"escape",raw:t[0],text:_l(t[1])}}tag(d){const t=this.rules.inline.tag.exec(d);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(d){const t=this.rules.inline.link.exec(d);if(t){const i=t[2].trim();
vendor: 9,187 bytes, line 1
1if(!this.options.pedantic&&/^</.test(i)){if(!/>$/.test(i))return;const v=sT(i.slice(0,-1),"\\");if((i.length-v.length)%2==0)return}else{const v=function Qx(n,d){if(-1===n.indexOf(d[1]))return-1;let t=0;for(let i=0;i<n.length;i++)if("\\"===n[i])i++;else if(n[i]===d[0])t++;else if(n[i]===d[1]&&(t--,t<0))return i;return-1}(t[2],"()");if(v>-1){const Ce=(0===t[0].indexOf("!")?5:4)+t[1].length+v;t[2]=t[2].substring(0,v),t[0]=t[0].substring(0,Ce).trim(),t[3]=""}}let r=t[2],u="";if(this.options.pedantic){const v=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r);v&&(r=v[1],u=v[3])}else u=t[3]?t[3].slice(1,-1):"";return r=r.trim(),/^</.test(r)&&(r=this.options.pedantic&&!/>$/.test(i)?r.slice(1):r.slice(1,-1)),Ex(t,{href:r&&r.replace(this.rules.inline._escapes,"$1"),title:u&&u.replace(this.rules.inline._escapes,"$1")},t[0],this.lexer)}}reflink(d,t){let i;if((i=this.rules.inline.reflink.exec(d))||(i=this.rules.inline.nolink.exec(d))){let r=(i[2]||i[1]).replace(/\s+/g," ");if(r=t[r.toLowerCase()],!r){const u=i[0].charAt(0);return{type:"text",raw:u,text:u}}return Ex(i,r,i[0],this.lexer)}}emStrong(d,t,i=""){let r=this.rules.inline.emStrong.lDelim.exec(d);if(!(!r||r[3]&&i.match(/[\p{L}\p{N}]/u))&&(!r[1]&&!r[2]||!i||this.rules.inline.punctuation.exec(i))){const v=[...r[0]].length-1;let V,Ce,it=v,At=0;const Ot="*"===r[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(Ot.lastIndex=0,t=t.slice(-1*d.length+v);null!=(r=Ot.exec(t));){if(V=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!V)continue;if(Ce=[...V].length,r[3]||r[4]){it+=Ce;continue}if((r[5]||r[6])&&v%3&&!((v+Ce)%3)){At+=Ce;continue}if(it-=Ce,it>0)continue;Ce=Math.min(Ce,Ce+it+At);const Jt=[...r[0]][0].length,wn=d.slice(0,v+r.index+Jt+Ce);if(Math.min(v,Ce)%2){const yo=wn.slice(1,-1);return{type:"em",raw:wn,text:yo,tokens:this.lexer.inlineTokens(yo)}}const ns=wn.slice(2,-2);return{type:"strong",raw:wn,text:ns,tokens:this.lexer.inlineTokens(ns)}}}}codespan(d){const t=this.rules.inline.code.exec(d);if(t){let i=t[2].replace(/\n/g," ");const r=/[^ ]/.test(i),u=/^ /.test(i)&&/ $/.test(i);return r&&u&&(i=i.substring(1,i.length-1)),i=_l(i,!0),{type:"codespan",raw:t[0],text:i}}}br(d){const t=this.rules.inline.br.exec(d);if(t)return{type:"br",raw:t[0]}}del(d){const t=this.rules.inline.del.exec(d);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(d){const t=this.rules.inline.autolink.exec(d);if(t){let i,r;return"@"===t[2]?(i=_l(t[1]),r="mailto:"+i):(i=_l(t[1]),r=i),{type:"link",raw:t[0],text:i,href:r,tokens:[{type:"text",raw:i,text:i}]}}}url(d){let t;if(t=this.rules.inline.url.exec(d)){let i,r;if("@"===t[2])i=_l(t[0]),r="mailto:"+i;else{let u;do{u=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])[0]}while(u!==t[0]);i=_l(t[0]),r="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:i,href:r,tokens:[{type:"text",raw:i,text:i}]}}}inlineText(d){const t=this.rules.inline.text.exec(d);if(t){let i;return i=this.lexer.state.inRawBlock?t[0]:_l(t[0]),{type:"text",raw:t[0],text:i}}}}const ri={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:iT,lheading:/^(?!bull )((?:.|\n(?!\s*?\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\.|[^\[\]\\])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};ri.def=Ys(ri.def).replace("label",ri._label).replace("title",ri._title).getRegex(),ri.bullet=/(?:[*+-]|\d{1,9}[.)])/,ri.listItemStart=Ys(/^( *)(bull) */).replace("bull",ri.bullet).getRegex(),ri.list=Ys(ri.list).replace(/bull/g,ri.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+ri.def.source+")").getRegex(),ri._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",ri._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,ri.html=Ys(ri.html,"i").replace("comment",ri._comment).replace("tag",ri._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),ri.lheading=Ys(ri.lheading).replace(/bull/g,ri.bullet).getRegex(),ri.paragraph=Ys(ri._paragraph).replace("hr",ri.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ri._tag).getRegex(),ri.blockquote=Ys(ri.blockquote).replace("paragraph",ri.paragraph).getRegex(),ri.normal={...ri},ri.gfm={...ri.normal,table:"^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"},ri.gfm.table=Ys(ri.gfm.table).replace("hr",ri.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ri._tag).getRegex(),ri.gfm.paragraph=Ys(ri._paragraph).replace("hr",ri.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",ri.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ri._tag).getRegex(),ri.pedantic={...ri.normal,html:Ys("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",ri._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:iT,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Ys(ri.normal._paragraph).replace("hr",ri.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",ri.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const kn={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:iT,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,rDelimAst:/^[^_*]*?__[^_*]*?\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\*)[punct](\*+)(?=[\s]|$)|[^punct\s](\*+)(?!\*)(?=[punct\s]|$)|(?!\*)[punct\s](\*+)(?=[^punct\s])|[\s](\*+)(?!\*)(?=[punct])|(?!\*)[punct](\*+)(?!\*)(?=[punct])|[^punct\s](\*+)(?=[^punct\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\s]|$)|[^punct\s](_+)(?!_)(?=[punct\s]|$)|(?!_)[punct\s](_+)(?=[^punct\s])|[\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:iT,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^((?![*_])[\spunctuation])/,_punctuation:"\\p{P}$+<=>`^|~"};kn.punctuation=Ys(kn.punctuation,"u").replace(/punctuation/g,kn._punctuation).getRegex(),kn.blockSkip=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,kn.anyPunctuation=/\\[punct]/g,kn._escapes=/\\([punct])/g,kn._comment=Ys(ri._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),kn.emStrong.lDelim=Ys(kn.emStrong.lDelim,"u").replace(/punct/g,kn._punctuation).getRegex(),kn.emStrong.rDelimAst=Y
1s(kn.emStrong.rDelimAst,"gu").replace(/punct/g,kn._punctuation).getRegex(),kn.emStrong.rDelimUnd=Ys(kn.emStrong.rDelimUnd,"gu").replace(/punct/g,kn._punctuation).getRegex(),kn.anyPunctuation=Ys(kn.anyPunctuation,"gu").replace(/punct/g,kn._punctuation).getRegex(),kn._escapes=Ys(kn._escapes,"gu").replace(/punct/g,kn._punctuation).getRegex(),kn._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,kn._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,kn.autolink=Ys(kn.autolink).replace("scheme",kn._scheme).replace("email",kn._email).getRegex(),kn._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,kn.tag=Ys(kn.tag).replace("comment",kn._comment).replace("attribute",kn._attribute).getRegex(),kn._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,kn._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,kn._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,kn.link=Ys(kn.link).replace("label",kn._label).replace("href",kn._href).replace("title",kn._title).getRegex(),kn.reflink=Ys(kn.reflink).replace("label",kn._label).replace("ref",ri._label).getRegex(),kn.nolink=Ys(kn.nolink).replace("ref",ri._label).getRegex(),kn.reflinkSearch=Ys(kn.reflinkSearch,"g").replace("reflink",kn.reflink).replace("nolink",kn.nolink).getRegex(),kn.normal={...kn},kn.pedantic={...kn.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:Ys(/^!?\[(label)\]\((.*?)\)/).replace("label",kn._label).getRegex(),reflink:Ys(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",kn._label).getRegex()},kn.gfm={...kn.normal,escape:Ys(kn.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},kn.gfm.url=Ys(kn.gfm.url,"i").replace("email",kn.gfm._extended_email).getRegex(),kn.breaks={...kn.gfm,br:Ys(kn.br).replace("{2,}","*").getRegex(),text:Ys(kn.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()};class wc{tokens;options;state;tokenizer;inlineQueue;constructor(d){this.tokens=[],this.tokens.links=Object.create(null),this.options=d||Vp,this.options.tokenizer=this.options.tokenizer||new rT,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const t={block:ri.normal,inline:kn.normal};this.options.pedantic?(t.block=ri.pedantic,t.inline=kn.pedantic):this.options.gfm&&(t.block=ri.gfm,t.inline=this.options.breaks?kn.breaks:kn.gfm),this.tokenizer.rules=t}static get rules(){return{block:ri,inline:kn}}static lex(d,t){return new wc(t).lex(d)}static lexInline(d,t){return new wc(t).inlineTokens(d)}lex(d){let t;for(d=d.replace(/\r\n|\r/g,"\n"),this.blockTokens(d,this.tokens);t=this.inlineQueue.shift();)this.inlineTokens(t.src,t.tokens);return this.tokens}blockTokens(d,t=[]){let i,r,u,v;for(d=this.options.pedantic?d.replace(/\t/g,"    ").replace(/^ +$/gm,""):d.replace(/^( *)(\t+)/gm,(V,Ce,it)=>Ce+"    ".repeat(it.length));d;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(V=>!!(i=V.call({lexer:this},d,t))&&(d=d.substring(i.raw.length),t.push(i),!0)))){if(i=this.tokenizer.space(d)){d=d.substring(i.raw.length),1===i.raw.length&&t.length>0?t[t.length-1].raw+="\n":t.push(i);continue}if(i=this.tokenizer.code(d)){d=d.substring(i.raw.length),r=t[t.length-1],!r||"paragraph"!==r.type&&"text"!==r.type?t.push(i):(r.raw+="\n"+i.raw,r.text+="\n"+i.text,this.inlineQueue[this.inlineQueue.length-1].src=r.text);continue}
vendor: 4,253 bytes, line 1
1if(i=this.tokenizer.fences(d)){d=d.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.heading(d)){d=d.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.hr(d)){d=d.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.blockquote(d)){d=d.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.list(d)){d=d.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.html(d)){d=d.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.def(d)){d=d.substring(i.raw.length),r=t[t.length-1],!r||"paragraph"!==r.type&&"text"!==r.type?this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title}):(r.raw+="\n"+i.raw,r.text+="\n"+i.raw,this.inlineQueue[this.inlineQueue.length-1].src=r.text);continue}if(i=this.tokenizer.table(d)){d=d.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.lheading(d)){d=d.substring(i.raw.length),t.push(i);continue}if(u=d,this.options.extensions&&this.options.extensions.startBlock){let V=1/0;const Ce=d.slice(1);let it;this.options.extensions.startBlock.forEach(At=>{it=At.call({lexer:this},Ce),"number"==typeof it&&it>=0&&(V=Math.min(V,it))}),V<1/0&&V>=0&&(u=d.substring(0,V+1))}if(this.state.top&&(i=this.tokenizer.paragraph(u))){r=t[t.length-1],v&&"paragraph"===r.type?(r.raw+="\n"+i.raw,r.text+="\n"+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):t.push(i),v=u.length!==d.length,d=d.substring(i.raw.length);continue}if(i=this.tokenizer.text(d)){d=d.substring(i.raw.length),r=t[t.length-1],r&&"text"===r.type?(r.raw+="\n"+i.raw,r.text+="\n"+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):t.push(i);continue}if(d){const V="Infinite loop on byte: "+d.charCodeAt(0);if(this.options.silent){console.error(V);break}throw new Error(V)}}return this.state.top=!0,t}inline(d,t=[]){return this.inlineQueue.push({src:d,tokens:t}),t}inlineTokens(d,t=[]){let i,r,u,V,Ce,it,v=d;if(this.tokens.links){const At=Object.keys(this.tokens.links);if(At.length>0)for(;null!=(V=this.tokenizer.rules.inline.reflinkSearch.exec(v));)At.includes(V[0].slice(V[0].lastIndexOf("[")+1,-1))&&(v=v.slice(0,V.index)+"["+"a".repeat(V[0].length-2)+"]"+v.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(V=this.tokenizer.rules.inline.blockSkip.exec(v));)v=v.slice(0,V.index)+"["+"a".repeat(V[0].length-2)+"]"+v.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(V=this.tokenizer.rules.inline.anyPunctuation.exec(v));)v=v.slice(0,V.index)+"++"+v.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;d;)if(Ce||(it=""),Ce=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(At=>!!(i=At.call({lexer:this},d,t))&&(d=d.substring(i.raw.length),t.push(i),!0)))){if(i=this.tokenizer.escape(d)){d=d.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.tag(d)){d=d.substring(i.raw.length),r=t[t.length-1],r&&"text"===i.type&&"text"===r.type?(r.raw+=i.raw,r.text+=i.text):t.push(i);continue}if(i=this.tokenizer.link(d)){d=d.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.reflink(d,this.tokens.links)){d=d.substring(i.raw.length),r=t[t.length-1],r&&"text"===i.type&&"text"===r.type?(r.raw+=i.raw,r.text+=i.text):t.push(i);continue}if(i=this.tokenizer.emStrong(d,v,it)){d=d.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.codespan(d)){d=d.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.br(d)){d=d.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.del(d)){d=d.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.autolink(d)){d=d.substring(i.raw.length),t.push(i);continue}if(!this.state.inLink&&(i=this.tokenizer.url(d))){d=d.substring(i.raw.length),t.push(i);continue}if(u=d,this.options.extensions&&this.options.extensions.startInline){let At=1/0;const Ot=d.slice(1);let Jt;this.options.extensions.startInline.forEach(wn=>{Jt=wn.call({lexer:this},Ot),"number"==typeof Jt&&Jt>=0&&(At=Math.min(At,Jt))}),At<1/0&&At>=0&&(u=d.substring(0,At+1))}if(i=this.tokenizer.inlineText(u)){d=d.substring(i.raw.length),"_"!==i.raw.slice(-1)&&(it=i.raw.slice(-1)),Ce=!0,r=t[t.length-1],r&&"text"===r.type?(r.raw+=i.raw,r.text+=i.text):t.push(i);continue}
1if(d){const At="Infinite loop on byte: "+d.charCodeAt(0);if(this.options.silent){console.error(At);break}throw new Error(At)}}return t}}class Hp{options;constructor(d){this.options=d||Vp}code(d,t,i){const r=(t||"").match(/^\S*/)?.[0];return d=d.replace(/\n$/,"")+"\n",r?'<pre><code class="language-'+_l(r)+'">'+(i?d:_l(d,!0))+"</code></pre>\n":"<pre><code>"+(i?d:_l(d,!0))+"</code></pre>\n"}blockquote(d){return`<blockquote>\n${d}</blockquote>\n`}html(d,t){return d}heading(d,t,i){return`<h${t}>${d}</h${t}>\n`}hr(){return"<hr>\n"}list(d,t,i){const r=t?"ol":"ul";return"<"+r+(t&&1!==i?' start="'+i+'"':"")+">\n"+d+"</"+r+">\n"}listitem(d,t,i){return`<li>${d}</li>\n`}checkbox(d){return"<input "+(d?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph(d){return`<p>${d}</p>\n`}table(d,t){return t&&(t=`<tbody>${t}</tbody>`),"<table>\n<thead>\n"+d+"</thead>\n"+t+"</table>\n"}tablerow(d){return`<tr>\n${d}</tr>\n`}tablecell(d,t){const i=t.header?"th":"td";return(t.align?`<${i} align="${t.align}">`:`<${i}>`)+d+`</${i}>\n`}strong(d){return`<strong>${d}</strong>`}em(d){return`<em>${d}</em>`}codespan(d){return`<code>${d}</code>`}br(){return"<br>"}del(d){return`<del>${d}</del>`}link(d,t,i){const r=vx(d);if(null===r)return i;let u='<a href="'+(d=r)+'"';return t&&(u+=' title="'+t+'"'),u+=">"+i+"</a>",u}image(d,t,i){const r=vx(d);if(null===r)return i;let u=`<img src="${d=r}" alt="${i}"`;return t&&(u+=` title="${t}"`),u+=">",u}text(d){return d}}class E2{strong(d){return d}em(d){return d}codespan(d){return d}del(d){return d}html(d){return d}text(d){return d}link(d,t,i){return""+i}image(d,t,i){return""+i}br(){return""}}class kc{options;renderer;textRenderer;constructor(d){this.options=d||Vp,this.options.renderer=this.options.renderer||new Hp,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new E2}static parse(d,t){return new kc(t).parse(d)}static parseInline(d,t){return new kc(t).parseInline(d)}parse(d,t=!0){let i="";for(let r=0;r<d.length;r++){const u=d[r];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[u.type]){const v=u,V=this.options.extensions.renderers[v.type].call({parser:this},v);if(!1!==V||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(v.type)){i+=V||"";continue}}switch(u.type){case"space":continue;case"hr":i+=this.renderer.hr();continue;case"heading":{const v=u;i+=this.renderer.heading(this.parseInline(v.tokens),v.depth,this.parseInline(v.tokens,this.textRenderer).replace(zx,(d,t)=>"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""));continue}case"code":i+=this.renderer.code(u.text,u.lang,!!u.escaped);continue;case"table":{const v=u;let V="",Ce="";for(let At=0;At<v.header.length;At++)Ce+=this.renderer.tablecell(this.parseInline(v.header[At].tokens),{header:!0,align:v.align[At]});V+=this.renderer.tablerow(Ce);let it="";for(let At=0;At<v.rows.length;At++){const Ot=v.rows[At];Ce="";for(let Jt=0;Jt<Ot.length;Jt++)Ce+=this.renderer.tablecell(this.parseInline(Ot[Jt].tokens),{header:!1,align:v.align[Jt]});it+=this.renderer.tablerow(Ce)}i+=this.renderer.table(V,it);continue}case"blockquote":{const V=this.parse(u.tokens);i+=this.renderer.blockquote(V);continue}case"list":{const v=u,V=v.ordered,Ce=v.start,it=v.loose;let At="";for(let Ot=0;Ot<v.items.length;Ot++){const Jt=v.items[Ot],wn=Jt.checked,ns=Jt.task;let yo="";if(Jt.task){const Zo=this.renderer.checkbox(!!wn);it?Jt.tokens.length>0&&"paragraph"===Jt.tokens[0].type?(Jt.tokens[0].text=Zo+" "+Jt.tokens[0].text,Jt.tokens[0].tokens&&Jt.tokens[0].tokens.length>0&&"text"===Jt.tokens[0].tokens[0].type&&(Jt.tokens[0].tokens[0].text=Zo+" "+Jt.tokens[0].tokens[0].text)):Jt.tokens.unshift({type:"text",text:Zo+" "}):yo+=Zo+" "}yo+=this.parse(Jt.tokens,it),At+=this.renderer.listitem(yo,ns,!!wn)}i+=this.renderer.list(At,V,Ce);continue}case"html":i+=this.renderer.html(u.text,u.block);continue;case"paragraph":i+=this.renderer.paragraph(this.parseInline(u.tokens));continue;case"text":{let v=u,V=v.tokens?this.parseInline(v.tokens):v.text;for(;r+1<d.length&&"text"===d[r+1].type;)v=d[++r],V+="\n"+(v.tokens?this.parseInline(v.tokens):v.text);i+=t?this.renderer.paragraph(V):V;continue}default:{const v='Token with "'+u.type+'" type was not found.';if(this.options.silent)return console.error(v),"";throw new Error(v)}}}return i}parseInline(d,t){t=t||this.renderer;let i="";for(let r=0;r<d.length;r++){const u=d[r];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[u.type]){const v=this.options.extensions.renderers[u.type].call({parser:this},u);if(!1!==v||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(u.type)){i+=v||"";continue}}switch(u.type){case"escape":case"text":i+=t.text(u.text);break;case"html":i+=t.html(u.text);break;case"link":i+=t.link(u.href,u.title,this.parseInline(u.tokens,t));break;case"image":i+=t.image(u.href,u.title,u.text);break;case"strong":i+=t.strong(this.parseInline(u.tokens,t));break;case"em":i+=t.em(this.parseInline(u.tokens,t));break;case"codespan":i+=t.codespan(u.text);break;case"br":i+=t.br();break;case"del":i+=t.del(this.parseInline(u.tokens,t));break;default:{const v='Token with "'+u.type+'" type was not found.';if(this.options.silent)return console.error(v),"";throw new Error(v)}}}return i}}class oT{options;constructor(d){this.options=d||Vp}static passThroughHooks=new Set(["preprocess","postprocess"]);preprocess(d){return d}postprocess(d){return d}}const Wp=new class eN{defaults={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};options=this.setOptions;parse=this.#e(wc.lex,kc.parse);parseInline=this.#e(wc.lexInline,kc.parseInline);Parser=kc;Renderer=Hp;TextRenderer=E2;Lexer=wc;Tokenizer=rT;Hooks=oT;
1constructor(...d){this.use(...d)}walkTokens(d,t){let i=[];for(const r of d)switch(i=i.concat(t.call(this,r)),r.type){case"table":{const u=r;for(const v of u.header)i=i.concat(this.walkTokens(v.tokens,t));for(const v of u.rows)for(const V of v)i=i.concat(this.walkTokens(V.tokens,t));break}case"list":i=i.concat(this.walkTokens(r.items,t));break;default:{const u=r;this.defaults.extensions?.childTokens?.[u.type]?this.defaults.extensions.childTokens[u.type].forEach(v=>{i=i.concat(this.walkTokens(u[v],t))}):u.tokens&&(i=i.concat(this.walkTokens(u.tokens,t)))}}return i}use(...d){const t=this.defaults.extensions||{renderers:{},childTokens:{}};return d.forEach(i=>{const r={...i};if(r.async=this.defaults.async||r.async||!1,i.extensions&&(i.extensions.forEach(u=>{if(!u.name)throw new Error("extension name required");if("renderer"in u){const v=t.renderers[u.name];t.renderers[u.name]=v?function(...V){let Ce=u.renderer.apply(this,V);return!1===Ce&&(Ce=v.apply(this,V)),Ce}:u.renderer}if("tokenizer"in u){if(!u.level||"block"!==u.level&&"inline"!==u.level)throw new Error("extension level must be 'block' or 'inline'");const v=t[u.level];v?v.unshift(u.tokenizer):t[u.level]=[u.tokenizer],u.start&&("block"===u.level?t.startBlock?t.startBlock.push(u.start):t.startBlock=[u.start]:"inline"===u.level&&(t.startInline?t.startInline.push(u.start):t.startInline=[u.start]))}"childTokens"in u&&u.childTokens&&(t.childTokens[u.name]=u.childTokens)}),r.extensions=t),i.renderer){const u=this.defaults.renderer||new Hp(this.defaults);for(const v in i.renderer){const V=i.renderer[v],it=u[v];u[v]=(...At)=>{let Ot=V.apply(u,At);return!1===Ot&&(Ot=it.apply(u,At)),Ot||""}}r.renderer=u}if(i.tokenizer){const u=this.defaults.tokenizer||new rT(this.defaults);for(const v in i.tokenizer){const V=i.tokenizer[v],it=u[v];u[v]=(...At)=>{let Ot=V.apply(u,At);return!1===Ot&&(Ot=it.apply(u,At)),Ot}}r.tokenizer=u}if(i.hooks){const u=this.defaults.hooks||new oT;for(const v in i.hooks){const V=i.hooks[v],it=u[v];u[v]=oT.passThroughHooks.has(v)?At=>{if(this.defaults.async)return Promise.resolve(V.call(u,At)).then(Jt=>it.call(u,Jt));const Ot=V.call(u,At);return it.call(u,Ot)}:(...At)=>{let Ot=V.apply(u,At);return!1===Ot&&(Ot=it.apply(u,At)),Ot}}r.hooks=u}if(i.walkTokens){const u=this.defaults.walkTokens,v=i.walkTokens;r.walkTokens=function(V){let Ce=[];return Ce.push(v.call(this,V)),u&&(Ce=Ce.concat(u.call(this,V))),Ce}}this.defaults={...this.defaults,...r}}),this}setOptions(d){return this.defaults={...this.defaults,...d},this}lexer(d,t){return wc.lex(d,t??this.defaults)}parser(d,t){return kc.parse(d,t??this.defaults)}#e(d,t){return(i,r)=>{const u={...r},v={...this.defaults,...u};!0===this.defaults.async&&!1===u.async&&(v.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),v.async=!0);const V=this.#t(!!v.silent,!!v.async);if(typeof i>"u"||null===i)return V(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof i)return V(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(i)+", string expected"));if(v.hooks&&(v.hooks.options=v),v.async)return Promise.resolve(v.hooks?v.hooks.preprocess(i):i).then(Ce=>d(Ce,v)).then(Ce=>v.walkTokens?Promise.all(this.walkTokens(Ce,v.walkTokens)).then(()=>Ce):Ce).then(Ce=>t(Ce,v)).then(Ce=>v.hooks?v.hooks.postprocess(Ce):Ce).catch(V);try{v.hooks&&(i=v.hooks.preprocess(i));const Ce=d(i,v);v.walkTokens&&this.walkTokens(Ce,v.walkTokens);let it=t(Ce,v);return v.hooks&&(it=v.hooks.postprocess(it)),it}catch(Ce){return V(Ce)}}}#t(d,t){return i=>{if(i.message+="\nPlease report this to https://github.com/markedjs/marked.",d){const r="<p>An error occurred:</p><pre>"+_l(i.message+"",!0)+"</pre>";return t?Promise.resolve(r):r}if(t)return Promise.reject(i);throw i}}};function ws(n,d){return Wp.parse(n,d)}ws.options=ws.setOptions=function(n){return Wp.setOptions(n),fx(ws.defaults=Wp.defaults),ws},ws.getDefaults=function y2(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}},ws.defaults=Vp,ws.use=function(...n){return Wp.use(...n),fx(ws.defaults=Wp.defaults),ws},ws.walkTokens=function(n,d){return Wp.walkTokens(n,d)},ws.parseInline=Wp.parseInline,ws.Parser=kc,ws.parser=kc.parse,ws.Renderer=Hp,ws.TextRenderer=E2,ws.Lexer=wc,ws.lexer=wc.lex,ws.Tokenizer=rT,ws.Hooks=oT,ws.parse=ws;const tN=["*"];let Tx=(()=>{class n{constructor(){this._buttonClick$=new Gn.B,this.copied$=this._buttonClick$.pipe((0,zl.n)(()=>(0,Zu.h)((0,ci.of)(!0),(0,xf.O)(3e3).pipe((0,Gx.u)(!1)))),(0,qc.F)(),(0,Vx.t)(1)),this.copiedText$=this.copied$.pipe((0,Se.Z)(!1),(0,yi.T)(t=>t?"Copied":"Copy"))}onCopyToClipboardClick(){this._buttonClick$.next()}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["markdown-clipboard"]],decls:4,vars:7,consts:[[1,"markdown-clipboard-button",3,"click"]],template:function(i,r){1&i&&(e.j41(0,"button",0),e.nI1(1,"async"),e.bIt("click",function(){return r.onCopyToClipboardClick()}),e.EFF(2),e.nI1(3,"async"),e.k0s()),2&i&&(e.AVh("copied",e.bMT(1,3,r.copied$)),e.R7$(2),e.JRh(e.bMT(3,5,r.copiedText$)))},dependencies:[ie.Jj],encapsulation:2,changeDetection:0})}}return n})();const sN=new e.nKC("CLIPBOARD_OPTIONS");var T2=function(n){return n.CommandLine="command-line",n.LineHighlight="line-highlight",n.LineNumbers="line-numbers",n}(T2||{});const Ix=new e.nKC("MARKED_EXTENSIONS"),Dx=new e.nKC("MARKED_OPTIONS"),Cx=new e.nKC("SECURITY_CONTEXT");let aT=(()=>{class n{get options(){return this._options}set options(t){this._options={...this.DEFAULT_MARKED_OPTIONS,...t}}get renderer(){return this.options.renderer}set renderer(t){this.options.renderer=t}constructor(t,i,r,u,v,V,Ce){this.clipboardOptions=t,this.extensions=i,this.platform=u,this.securityContext=v,this.http=V,this.sanitizer=Ce,this.DEFAULT_MARKED_OPTIONS={renderer:new Hp},this.DEFAULT_KATEX_OPTIONS={delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1},{left:"\\(",right:"\\)",display:!1},{left:"\\begin{equation}",right:"\\end{equation}",display:!0},{left:"\\begin{align}",right:"\\end{align}",display:!0},{left:"\\begin{alignat}",right:"\\end{alignat}",display:!0},{left:"\\begin{gather}",right:"\\end{gather}",display:!0},{left:"\\begin{CD}",right:"\\end{CD}",display:!0},{left:"\\[",right:"\\]",display:!0}]},this.DEFAULT_MERMAID_OPTIONS={startOnLoad:!1},this.DEFAULT_CLIPBOARD_OPTIONS={buttonComponent:void 0},this.DEFAULT_PARSE_OPTIONS={decodeHtml:!1,inline:!1,emoji:!1,mermaid:!1,markedOptions:this.DEFAULT_MARKED_OPTIONS,disableSanitizer:!1},this.DEFAULT_RENDER_OPTIONS={clipboard:!1,clipboardOptions:void 0,katex:!1,katexOptions:void 0,mermaid:!1,mermaidOptions:void 0},this._reload$=new Gn.B,this.reload$=this._reload$.asObservable(),this.options=r}parse(t,i=this.DEFAULT_PARSE_OPTIONS){const{decodeHtml:r,inline:u,emoji:v,mermaid:V,disableSanitizer:Ce}=i,it={...this.options,...i.markedOptions},At=it.renderer||this.renderer||new Hp;this.extensions&&(this.renderer=this.extendsRendererForExtensions(At)),V&&(this.renderer=this.extendsRendererForMermaid(At));const Ot=this.trimIndentation(t),Jt=r?this.decodeHtml(Ot):Ot,wn=v?this.parseEmoji(Jt):Jt,ns=this.parseMarked(wn,it,u);return(Ce?ns:this.sanitizer.sanitize(this.securityContext,ns))||""}render(t,i=this.DEFAULT_RENDER_OPTIONS,r){const{clipboard:u,clipboardOptions:v,katex:V,katexOptions:Ce,mermaid:it,mermaidOptions:At}=i;u&&this.renderClipboard(t,r,{...this.DEFAULT_CLIPBOARD_OPTIONS,...this.clipboardOptions,...v}),V&&this.renderKatex(t,{...this.DEFAULT_KATEX_OPTIONS,...Ce}),it&&this.renderMermaid(t,{...this.DEFAULT_MERMAID_OPTIONS,...At}),this.highlight(t)}reload(){this._reload$.next()}getSource(t){if(!this.http)throw new Error("[ngx-markdown] When using the `src` attribute you *have to* pass the `HttpClient` as a parameter of the `forRoot` method. See README for more information");return this.http.get(t,{responseType:"text"}).pipe((0,yi.T)(i=>this.handleExtension(t,i)))}highlight(t){if(!(0,ie.UE)(this.platform)||typeof Prism>"u"||typeof Prism.highlightAllUnder>"u")return;t||(t=document);const i=t.querySelectorAll('pre code:not([class*="language-"])');Array.prototype.forEach.call(i,r=>r.classList.add("language-none")),Prism.highlightAllUnder(t)}decodeHtml(t){if(!(0,ie.UE)(this.platform))return t;const i=document.createElement("textarea");return i.innerHTML=t,i.value}extendsRendererForExtensions(t){const i=t;return!0===i.\u0275NgxMarkdownRendererExtendedForExtensions||(this.extensions?.length>0&&ws.use(...this.extensions),i.\u0275NgxMarkdownRendererExtendedForExtensions=!0),t}extendsRendererForMermaid(t){const i=t;if(!0===i.\u0275NgxMarkdownRendererExtendedForMermaid)return t;const r=t.code;return t.code=function(u,v,V){return"mermaid"===v?`<div class="mermaid">${u}</div>`:r.call(this,u,v,V)},i.\u0275NgxMarkdownRendererExtendedForMermaid=!0,t}handleExtension(t,i){const r=t.lastIndexOf("://"),u=r>-1?t.substring(r+4):t,v=u.lastIndexOf("/"),V=v>-1?u.substring(v+1).split("?")[0]:"",Ce=V.lastIndexOf("."),it=Ce>-1?V.substring(Ce+1):"";return it&&"md"!==it?"```"+it+"\n"+i+"\n```":i}parseMarked(t,i,r=!1){return i.renderer&&(ws.use({renderer:i.renderer}
1),delete i.renderer),r?ws.parseInline(t,i):ws.parse(t,i)}parseEmoji(t){if(!(0,ie.UE)(this.platform))return t;if(typeof joypixels>"u"||typeof joypixels.shortnameToUnicode>"u")throw new Error("[ngx-markdown] When using the `emoji` attribute you *have to* include Emoji-Toolkit files to `angular.json` or use imports. See README for more information");return joypixels.shortnameToUnicode(t)}renderKatex(t,i){if((0,ie.UE)(this.platform)){if(typeof katex>"u"||typeof renderMathInElement>"u")throw new Error("[ngx-markdown] When using the `katex` attribute you *have to* include KaTeX files to `angular.json` or use imports. See README for more information");renderMathInElement(t,i)}}renderClipboard(t,i,r){if(!(0,ie.UE)(this.platform))return;if(typeof ClipboardJS>"u")throw new Error("[ngx-markdown] When using the `clipboard` attribute you *have to* include Clipboard files to `angular.json` or use imports. See README for more information");if(!i)throw new Error("[ngx-markdown] When using the `clipboard` attribute you *have to* provide the `viewContainerRef` parameter to `MarkdownService.render()` function");const{buttonComponent:u,buttonTemplate:v}=r,V=t.querySelectorAll("pre");for(let Ce=0;Ce<V.length;Ce++){const it=V.item(Ce),At=document.createElement("div");At.style.position="relative",it.parentNode.insertBefore(At,it),At.appendChild(it);const Ot=document.createElement("div");let Jt,wn;Ot.style.position="absolute",Ot.style.top=".5em",Ot.style.right=".5em",Ot.style.opacity="0",Ot.style.transition="opacity 250ms ease-out",At.insertAdjacentElement("beforeend",Ot),it.onmouseover=()=>Ot.style.opacity="1",it.onmouseout=()=>Ot.style.opacity="0",Jt=u?i.createComponent(u).hostView:v?i.createEmbeddedView(v):i.createComponent(Tx).hostView,Jt.rootNodes.forEach(ns=>{ns.onmouseover=()=>Ot.style.opacity="1",Ot.appendChild(ns),wn=new ClipboardJS(ns,{text:()=>it.innerText})}),Jt.onDestroy(()=>wn.destroy())}}renderMermaid(t,i=this.DEFAULT_MERMAID_OPTIONS){if(!(0,ie.UE)(this.platform))return;if(typeof mermaid>"u"||typeof mermaid.initialize>"u")throw new Error("[ngx-markdown] When using the `mermaid` attribute you *have to* include Mermaid files to `angular.json` or use imports. See README for more information");const r=t.querySelectorAll(".mermaid");0!==r.length&&(mermaid.initialize(i),mermaid.run({nodes:r}))}trimIndentation(t){if(!t)return"";let i;return t.split("\n").map(r=>{let u=i;return r.length>0&&(u=isNaN(u)?r.search(/\S|$/):Math.min(r.search(/\S|$/),u)),isNaN(i)&&(i=u),u?r.substring(u):r}).join("\n")}static{this.\u0275fac=function(i){return new(i||n)(e.KVO(sN,8),e.KVO(Ix,8),e.KVO(Dx,8),e.KVO(e.Agw),e.KVO(Cx),e.KVO(Yn.Qq,8),e.KVO(l.up))}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac})}}return n})(),Mx=(()=>{class n{get disableSanitizer(){return this._disableSanitizer}set disableSanitizer(t){this._disableSanitizer=this.coerceBooleanProperty(t)}get inline(){return this._inline}set inline(t){this._inline=this.coerceBooleanProperty(t)}get clipboard(){return this._clipboard}set clipboard(t){this._clipboard=this.coerceBooleanProperty(t)}get emoji(){return this._emoji}set emoji(t){this._emoji=this.coerceBooleanProperty(t)}get katex(){return this._katex}set katex(t){this._katex=this.coerceBooleanProperty(t)}get mermaid(){return this._mermaid}set mermaid(t){this._mermaid=this.coerceBooleanProperty(t)}get lineHighlight(){return this._lineHighlight}set lineHighlight(t){this._lineHighlight=this.coerceBooleanProperty(t)}get lineNumbers(){return this._lineNumbers}set lineNumbers(t){this._lineNumbers=this.coerceBooleanProperty(t)}get commandLine(){return this._commandLine}set commandLine(t){this._commandLine=this.coerceBooleanProperty(t)}constructor(t,i,r){this.element=t,this.markdownService=i,this.viewContainerRef=r,this.error=new e.bkB,this.load=new e.bkB,this.ready=new e.bkB,this._clipboard=!1,this._commandLine=!1,this._disableSanitizer=!1,this._emoji=!1,this._inline=!1,this._katex=!1,this._lineHighlight=!1,this._lineNumbers=!1,this._mermaid=!1,this.destroyed$=new Gn.B}ngOnChanges(){this.loadContent()}loadContent(){null==this.data?null==this.src||this.handleSrc():this.handleData()}ngAfterViewInit(){!this.data&&!this.src&&this.handleTransclusion(),this.markdownService.reload$.pipe((0,Kn.Q)(this.destroyed$)).subscribe(()=>this.loadContent())}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}render(t){var i=this;return(0,rn.A)(function*(r,u=!1){const v={decodeHtml:u,inline:i.inline,emoji:i.emoji,mermaid:i.mermaid,disableSanitizer:i.disableSanitizer}
1,V={clipboard:i.clipboard,clipboardOptions:{buttonComponent:i.clipboardButtonComponent,buttonTemplate:i.clipboardButtonTemplate},katex:i.katex,katexOptions:i.katexOptions,mermaid:i.mermaid,mermaidOptions:i.mermaidOptions},Ce=yield i.markdownService.parse(r,v);i.element.nativeElement.innerHTML=Ce,i.handlePlugins(),i.markdownService.render(i.element.nativeElement,V,i.viewContainerRef),i.ready.emit()}).apply(this,arguments)}coerceBooleanProperty(t){return null!=t&&"false"!=`${String(t)}`}handleData(){this.render(this.data)}handleSrc(){this.markdownService.getSource(this.src).subscribe({next:t=>{this.render(t).then(()=>{this.load.emit(t)})},error:t=>this.error.emit(t)})}handleTransclusion(){this.render(this.element.nativeElement.innerHTML,!0)}handlePlugins(){this.commandLine&&(this.setPluginClass(this.element.nativeElement,T2.CommandLine),this.setPluginOptions(this.element.nativeElement,{dataFilterOutput:this.filterOutput,dataHost:this.host,dataPrompt:this.prompt,dataOutput:this.output,dataUser:this.user})),this.lineHighlight&&this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset}),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,T2.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}setPluginClass(t,i){const r=t.querySelectorAll("pre");for(let u=0;u<r.length;u++){const v=i instanceof Array?i:[i];r.item(u).classList.add(...v)}}setPluginOptions(t,i){const r=t.querySelectorAll("pre");for(let u=0;u<r.length;
1u++)Object.keys(i).forEach(v=>{const V=i[v];if(V){const Ce=this.toLispCase(v);r.item(u).setAttribute(Ce,V.toString())}})}toLispCase(t){const i=t.match(/([A-Z])/g);if(!i)return t;let r=t.toString();for(let u=0,v=i.length;u<v;u++)r=r.replace(new RegExp(i[u]),"-"+i[u].toLowerCase());return"-"===r.slice(0,1)&&(r=r.slice(1)),r}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.aKT),e.rXU(aT),e.rXU(e.c1b))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["markdown"],["","markdown",""]],inputs:{data:"data",src:"src",disableSanitizer:"disableSanitizer",inline:"inline",clipboard:"clipboard",clipboardButtonComponent:"clipboardButtonComponent",clipboardButtonTemplate:"clipboardButtonTemplate",emoji:"emoji",katex:"katex",katexOptions:"katexOptions",mermaid:"mermaid",mermaidOptions:"mermaidOptions",lineHighlight:"lineHighlight",line:"line",lineOffset:"lineOffset",lineNumbers:"lineNumbers",start:"start",commandLine:"commandLine",filterOutput:"filterOutput",host:"host",prompt:"prompt",output:"output",user:"user"},outputs:{error:"error",load:"load",ready:"ready"},features:[e.OA$],ngContentSelectors:tN,decls:1,vars:0,template:function(i,r){1&i&&(e.NAR(),e.SdG(0))},encapsulation:2})}}return n})(),Sx=(()=>{class n{static forRoot(t){return{ngModule:n,providers:[aT,t?.loader??[],t?.clipboardOptions??[],t?.markedOptions??[],{provide:Ix,useValue:t?.markedExtensions??[]},{provide:Cx,useValue:t?.sanitize??e.WPN.HTML}]}}static forChild(){return{ngModule:n}}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=e.$C({type:n})}static{this.\u0275inj=e.G2t({imports:[ie.MD]})}}return n})();var Rx;!function(n){let d;var r;let t,i;(r=d=n.SecurityLevel||(n.SecurityLevel={})).Strict="strict",r.Loose="loose",r.Antiscript="antiscript",r.Sandbox="sandbox",function(r){r.Base="base",r.Forest="forest",r.Dark="dark",r.Default="default",r.Neutral="neutral"}(t=n.Theme||(n.Theme={})),function(r){r[r.Debug=1]="Debug",r[r.Info=2]="Info",r[r.Warn=3]="Warn",r[r.Error=4]="Error",r[r.Fatal=5]="Fatal"}(i=n.LogLevel||(n.LogLevel={}))}(Rx||(Rx={}));let wx=(()=>{class n{constructor(){this.placeholder="Message Ava",this.value="",this.disabled=!1,this.ariaLabel="Message",this.valueChange=new e.bkB,this.send=new e.bkB}onInput(t){this.value=t,this.valueChange.emit(t)}onEnter(t){t.preventDefault(),this.submit()}submit(){const t=this.value.trim();!t||this.disabled||this.send.emit(t)}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["compsych-chat-input"]],inputs:{placeholder:"placeholder",value:"value",disabled:"disabled",ariaLabel:"ariaLabel"},outputs:{valueChange:"valueChange",send:"send"},standalone:!0,features:[e.aNF],decls:7,vars:5,consts:[[1,"field"],["rows","1",1,"field__input",3,"ngModelChange","keydown.enter","placeholder","ngModel","disabled"],[1,"field__actions"],["type","button","aria-label","Send message",1,"send",3,"click","disabled"],["viewBox","0 0 24 24","width","16","height","16","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round","aria-hidden","true",1,"send__icon"],["d","M12 19V5"],["d","M5 12l7-7 7 7"]],template:function(i,r){1&i&&(e.j41(0,"div",0)(1,"textarea",1),e.bIt("ngModelChange",function(v){return r.onInput(v)})("keydown.enter",function(v){return r.onEnter(v)}),e.k0s(),e.j41(2,"div",2)(3,"button",3),e.bIt("click",function(){return r.submit()}),e.qSk(),e.j41(4,"svg",4),e.nrm(5,"path",5)(6,"path",6),e.k0s()()()()),2&i&&(e.R7$(),e.Y8G("placeholder",r.placeholder)("ngModel",r.value)("disabled",r.disabled),e.BMQ("aria-label",r.ariaLabel),e.R7$(2),e.Y8G("disabled",r.disabled))},dependencies:[ge.YN,ge.me,ge.BC,ge.vS],styles:["[_nghost-%COMP%]{display:block;width:100%}.field[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--spacing-padding-sys-padding-8);padding:var(--spacing-padding-sys-padding-8);border:var(--border-width-sys-stroke-medium) solid var(--accent-secondary-sys-secondary);border-radius:var(--border-radius-sys-radius-lg);background-color:var(--surface-surface-container-sys-surface-container-lowest);overflow:hidden;
1transition:box-shadow .15s ease}.field[_ngcontent-%COMP%]:focus-within{box-shadow:0 0 0 var(--spacing-padding-sys-padding-4) var(--transparent-primary-sys-primary-10)}.field__input[_ngcontent-%COMP%]{width:100%;min-height:1.5rem;max-height:7.5rem;padding:var(--spacing-padding-sys-padding-8);border:none!important;outline:none;resize:none;background:transparent;color:var(--surface-surface-sys-on-surface);font-family:var(--body-medium-sys-font-family);font-size:var(--body-medium-sys-font-size);line-height:var(--body-medium-sys-line-height);letter-spacing:var(--body-medium-sys-tracking)}.field__input[_ngcontent-%COMP%]::placeholder{color:var(--surface-surface-sys-on-surface-variant)}.field__actions[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end;gap:var(--spacing-padding-sys-padding-4);width:100%}.send[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;padding:var(--spacing-padding-sys-padding-8);border:none;border-radius:var(--border-radius-sys-radius-full);background-color:var(--accent-secondary-sys-secondary);color:var(--accent-secondary-sys-on-secondary);cursor:pointer;overflow:hidden;transition:opacity .15s ease}.send[_ngcontent-%COMP%]:hover{opacity:.92}.send[_ngcontent-%COMP%]:disabled{background-color:var(--surface-surface-container-sys-surface-container);color:var(--surface-surface-sys-on-surface-variant);opacity:1;cursor:not-allowed}.send[_ngcontent-%COMP%]:focus-visible{outline:var(--border-width-sys-stroke-thick) solid var(--accent-secondary-sys-secondary);outline-offset:var(--border-width-sys-stroke-thin)}.send__icon[_ngcontent-%COMP%]{display:block}"]})}}return n})(),pN=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=e.$C({type:n})}static{this.\u0275inj=e.G2t({providers:[M.gO,M.Xf,M.RB],imports:[Oa,Ux,yI,Sx.forChild(),wx,Oa]})}}return n})();e.wjB(u_,function(){return[ie.YU,ie.Sq,ie.bT,ge.qT,ge.xH,ge.y7,ge.me,ge.Zm,ge.wz,ge.BC,ge.cb,ge.tU,ge.j4,ge.JD,G.cw,G.md,$x]},function(){return[ie.Jj,ie.lG,Y.D9]}),e.wjB(nD,function(){return[ie.YU,ie.Sq,ie.bT,ge.xH,ge.y7,ge.me,ge.wz,ge.BC,ge.vS,G.md,G.s5,Xd,rk,up]},function(){return[ie.vh,Y.D9]});var hN=I(3285),mN=I(6657),fN=I(93);let _N=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=e.$C({type:n})}static{this.\u0275inj=e.G2t({imports:[Oa]})}}return n})(),gN=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=e.$C({type:n})}static{this.\u0275inj=e.G2t({imports:[Oa,ge.X1]})}}return n})(),bN=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=e.$C({type:n})}static{this.\u0275inj=e.G2t({imports:[Oa]})}}return n})(),vN=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=e.$C({type:n})}static{this.\u0275inj=e.G2t({imports:[ie.MD,ge.YN,Y.h]})}}return n})();const yN=["openerButton"];let kx=(()=>{class n{constructor(t){this.abiChat=t,this.open=new e.bkB}onOpen(t){this.open.emit(t.currentTarget)}ngAfterViewInit(){const t=this.openerButton?.nativeElement;if(t){const i=this.abiChat.takeFocusRestoreTarget(t);i&&setTimeout(()=>i.focus())}}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(Ad.a))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-abi-opener-button"]],viewQuery:function(i,r){if(1&i&&e.GBs(yN,5),2&i){let u;e.mGM(u=e.lsd())&&(r.openerButton=u.first)}},outputs:{open:"open"},decls:6,vars:1,consts:[["openerButton",""],["type","button","data-theme","abi","aria-label","Connect with Ava","aria-haspopup","dialog",1,"abi-opener",3,"click"],["aria-hidden","true",1,"abi-opener__icon"],[3,"size"],[1,"abi-opener__label"]],template:function(i,r){if(1&i){const u=e.RV6();e.j41(0,"button",1,0),e.bIt("click",function(V){return e.eBV(u),e.Njj(r.onOpen(V))}),e.j41(2,"span",2),e.nrm(3,"app-abi-orb",3),e.k0s(),e.j41(4,"span",4),e.EFF(5,"Connect with Ava"),e.k0s()()}2&i&&(e.R7$(3),e.Y8G("size",28))},dependencies:[Ha],styles:[".abi-opener[_ngcontent-%COMP%]{position:fixed;right:var(--spacing-padding-sys-padding-24);bottom:var(--spacing-padding-sys-padding-24);z-index:1040;
1display:inline-flex;align-items:center;gap:var(--spacing-padding-sys-padding-12);height:3.5rem;padding:var(--spacing-padding-sys-padding-8) var(--spacing-padding-sys-padding-24);border:none;border-radius:var(--border-radius-sys-radius-full);background-color:var(--surface-surface-container-sys-surface-container-lowest);color:var(--surface-surface-sys-on-surface);box-shadow:var( --abi-elevation-lv2, 0 .25rem 1rem rgba(0, 0, 0, .1), 0 .125rem .25rem rgba(0, 0, 0, .08) );font-family:var(--label-large-sys-font-family);font-size:var(--label-large-sys-font-size);font-weight:var(--label-large-sys-font-weight-emphasized);line-height:var(--label-large-sys-line-height);letter-spacing:var(--label-large-sys-tracking);white-space:nowrap;cursor:pointer;transition:box-shadow .15s ease,transform .15s ease}.abi-opener[_ngcontent-%COMP%]:hover{transform:translateY(-.0625rem)}.abi-opener[_ngcontent-%COMP%]:focus-visible{outline:var(--border-width-sys-stroke-thick) solid var(--accent-secondary-sys-secondary);outline-offset:var(--border-width-sys-stroke-thin)}.abi-opener__icon[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}.abi-opener__label[_ngcontent-%COMP%]{display:inline-block}@media (max-width: 30rem){.abi-opener[_ngcontent-%COMP%]{right:var(--spacing-padding-sys-padding-16);bottom:var(--spacing-padding-sys-padding-16)}}"]})}}return n})();var I2=I(9030);let qp=(()=>{class n{constructor(t){this.api=t}openLeaves(){return this.api.viewLeaveRequests().pipe((0,yi.T)(t=>(t?.absenceOpenedList??[]).filter(i=>i.leaveRequest)))}details(t){return this.api.getLeaveDetails(t)}static createdOnMillis(t){return t.createdOn?new Date(t.createdOn).getTime():NaN}static{this.\u0275fac=function(i){return new(i||n)(e.KVO(M.IT))}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),EN=(()=>{class n{static{this.DELIVERY_PAGE_TITLE="confirmDelivery"}static{this.DELIVERY_MAP_TYPES="MaternityDeliveryMethodMap"}constructor(t){this.leaveRequests=t}resolve(){return(0,I2.v)(()=>{const t=this.getUserInfo();return mo.canUserAdjust(t)?this.leaveRequests.openLeaves().pipe((0,yi.T)(i=>this.mostRecentApplicable(i,t)),(0,zl.n)(i=>i?this.leaveRequests.details(i.absenceId).pipe((0,yi.T)(r=>r?this.buildTarget(r):null),(0,vs.W)(()=>(0,ci.of)(null))):(0,ci.of)(null))):(0,ci.of)(null)}).pipe((0,vs.W)(()=>(0,ci.of)(null)))}mostRecentApplicable(t,i){return t.filter(r=>r.leaveRequest&&mo.canConfirmDeliveryDetails(r,i)).sort((r,u)=>(qp.createdOnMillis(u)||0)-(qp.createdOnMillis(r)||0))[0]??null}buildTarget(t){return{nav:{state:{data:{leaveRequest:JSON.stringify(t),pageTitle:n.DELIVERY_PAGE_TITLE}},queryParams:{mapTypes:n.DELIVERY_MAP_TYPES}},leaveLabel:(0,Ka._F)(t)}}getUserInfo(){const t=sessionStorage.getItem(p.YM.USER_INFO);return t?JSON.parse(t):null}static{this.\u0275fac=function(i){return new(i||n)(e.KVO(qp))}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),TN=(()=>{class n{constructor(t,i,r){this.leaves=t,this.users=i,this.navigation=r}resolve(){return(0,I2.v)(()=>{const t=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)??"null");return t?this.users.portalPermission$.pipe((0,Vu.s)(1),(0,zl.n)(i=>this.leaves.openLeaves().pipe((0,zl.n)(r=>r.length?(0,ae.p)(r.map(u=>this.leaves.details(u.absenceId).pipe((0,yi.T)(v=>({created:qp.createdOnMillis(u),targets:Al.abiTargets(v,t,i)}))))):(0,ci.of)([])),(0,yi.T)(r=>Al.selectAbiTarget(r))))):(0,ci.of)(null)}).pipe((0,vs.W)(()=>(0,ci.of)(null)))}open(t){var i=this;return(0,rn.A)(function*(){try{const r=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)??"null"),u=yield(0,Dc._)(i.users.portalPermission$),v=yield(0,Dc._)(i.leaves.details(String(t.leave.leaveID))),V=Al.abiTargets(v,r,u).find(Ce=>Ce.action.actionId===t.action.actionId&&Ce.decision.decisionId===t.decision.decisionId);return!!V&&(yield i.navigation.open(V))}catch{return!1}})()}static{this.\u0275fac=function(i){return new(i||n)(e.KVO(qp),e.KVO(M.DL),e.KVO(nd))}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),IN=(()=>{class n{constructor(t,i,r){this.leaves=t,this.users=i,this.navigation=r}resolve(){return(0,I2.v)(()=>{const t=this.userInfo();return t?this.users.portalPermission$.pipe((0,Vu.s)(1),(0,zl.n)(i=>this.leaves.openLeaves().pipe((0,zl.n)(r=>r.length?(0,ae.p)(r.map(u=>this.leaves.details(u.absenceId).pipe((0,yi.T)(v=>({created:qp.createdOnMillis(u),targets:Kl.findEligibleTargets(v,t,i)}))))):(0,ci.of)([])),(0,yi.T)(r=>this.selectTarget(r))))):(0,ci.of)(null)}).pipe((0,vs.W)(()=>(0,ci.of)(null)))}open(t){var i=this;return(0,rn.A)(function*(){try{const r=yield(0,Dc._)(i.leaves.details(String(t.leave.leaveID))),u=Kl.findEligibleTargets(r,i.userInfo(),null).find(v=>v.decision.decisionId===t.decision.decisionId);return!!u&&(yield i.navigation.open(u))}catch{return!1}})()}userInfo(){return JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)??"null")}selectTarget(t){const i=t.filter(r=>r.targets.length>0);return!i.length||i.length>1&&i.some(r=>!Number.isFinite(r.created))||(i.sort((r,u)=>u.created-r.created),i.length>1&&i[0].created===i[1].created)?null:1===i[0].targets.length?i[0].targets[0]:null}static{this.\u0275fac=function(i){return new(i||n)(e.KVO(qp),e.KVO(M.DL),e.KVO(id))}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();const lT={fallbackMessage:"I couldn\u2019t identify an applicable leave for this action. You can review your leave details on My Dashboard."};let DN=(()=>{class n{constructor(t,i,r,u,v){this.reportDod=t,this.router=i,this.lrState=r,this.extendLeave=u,this.reportRtw=v,this.actions={newLeave:()=>(0,ci.of)({run:()=>this.startNewLeaveRequest()}),submitDoc:()=>(0,ci.of)({run:()=>this.navigate("/submitDocumentation")}),addTime:()=>(0,ci.of)({run:()=>this.navigate(Ka.BV.reportTime)}),reportRTW:()=>this.leaveAction(this.reportRtw.resolve(),V=>this.reportRtw.open(V),V=>(0,Ka._F)(V.leave)),reportDOD:()=>this.leaveAction(this.reportDod.resolve(),V=>this.navigate(Ka.BV.updatePlacementDelivery,V.nav),V=>V.leaveLabel),extendLeave:()=>this.extendLeave.resolve().pipe((0,yi.T)(V=>V?{run:()=>this.extendLeave.open(V)}:lT),(0,vs.W)(()=>(0,ci.of)(lT))),checkStatus:()=>(0,ci.of)({run:()=>this.navigate(Ka.BV.dashboard)}),viewLetters:()=>(0,ci.of)({run:()=>this.navigate("/viewLetters")}),resources:()=>(0,ci.of)({run:()=>this.navigate("/resources")}),escalate:()=>(0,ci.of)({run:()=>this.contactUs()}),faqs:()=>(0,ci.of)({run:()=>this.navigate("/faqs")})}}resolve(t){return t&&Object.prototype.hasOwnProperty.call(this.actions,t)?this.actions[t]():(0,ci.of)(null)}contactUs(){return this.navigate("/contactUs")}leaveAction(t,i,r){return t.pipe((0,yi.T)(u=>u?{run:()=>i(u),note:`This is for ${r(u)}.`}:lT),(0,vs.W)(()=>(0,ci.of)(lT)))}startNewLeaveRequest(){return this.lrState.submissionResult&&this.lrState.reset(jl.Rh),this.navigate("/createLeaveRequest")}navigate(t,i){return this.router.navigate([t],{state:i?.state,queryParams:i?.queryParams})}static{this.\u0275fac=function(i){return new(i||n)(e.KVO(EN),e.KVO(q.Ix),e.KVO(Bl.R),e.KVO(TN),e.KVO(IN))}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var Ax=I(8522);let CN=(()=>{class n{constructor(t){this.http=t}normalizePhone(t){return(0,Ax.KF)((0,Ax.cY)(t))}requestCallback(t,i){return this.http.post(p.hP.abibotCallbackUrl,{phone:t,messages:i})}confirmation(t,i){const r=n.formatPhone(t);return i?`Thanks! An absence specialist will call you at ${r}
1 within 30 minutes.`:`Thanks! Our team is available Monday to Friday, 7:30 AM to 9:30 PM Central, so a specialist will call you at ${r} on the next business day.`}static formatPhone(t){return`(${t.slice(0,3)}) ${t.slice(3,6)}-${t.slice(6)}`}static{this.\u0275fac=function(i){return new(i||n)(e.KVO(Yn.Qq))}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function MN(n,d){if(1&n){const t=e.RV6();e.j41(0,"button",7),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.download())}),e.j41(1,"span",4),e.EFF(2,"download"),e.k0s(),e.EFF(3," Download Document "),e.k0s()}}function SN(n,d){if(1&n&&e.nrm(0,"iframe",8),2&n){const t=e.XpG();e.Y8G("src",t.safeUrl,e.f$h)}}let RN=(()=>{class n{constructor(t){this.activeModal=t}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(G.Lw))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-abi-pdf-dialog"]],inputs:{safeUrl:"safeUrl",download:"download"},decls:8,vars:2,consts:[["data-theme","abi",1,"abi-pdf"],[1,"abi-pdf__header"],["type","button","class","abi-pdf__download",3,"click",4,"ngIf"],["type","button","aria-label","Close document",1,"abi-pdf__close",3,"click"],["aria-hidden","true",1,"material-symbols-rounded"],[1,"abi-pdf__body"],["class","abi-pdf__frame","title","Document",3,"src",4,"ngIf"],["type","button",1,"abi-pdf__download",3,"click"],["title","Document",1,"abi-pdf__frame",3,"src"]],template:function(i,r){1&i&&(e.j41(0,"div",0)(1,"div",1),e.DNE(2,MN,4,0,"button",2),e.j41(3,"button",3),e.bIt("click",function(){return r.activeModal.dismiss()}),e.j41(4,"span",4),e.EFF(5,"close"),e.k0s()()(),e.j41(6,"div",5),e.DNE(7,SN,1,1,"iframe",6),e.k0s()()),2&i&&(e.R7$(2),e.Y8G("ngIf",r.download),e.R7$(5),e.Y8G("ngIf",r.safeUrl))},dependencies:[ie.bT],styles:["[_nghost-%COMP%]{display:block;height:100%;min-height:0}.abi-pdf[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column;min-height:0}.abi-pdf__header[_ngcontent-%COMP%]{flex:0 0 auto;display:flex;align-items:center;gap:.5rem;padding:.25rem .5rem}.abi-pdf__download[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.25rem;color:#5b21d6;font-size:.875rem;font-weight:600;text-decoration:none;border:0;background:transparent;padding:0;cursor:pointer}.abi-pdf__download[_ngcontent-%COMP%]:hover{text-decoration:underline}.abi-pdf__download[_ngcontent-%COMP%]:focus-visible{outline:2px solid #5b21d6;outline-offset:2px}.abi-pdf__download[_ngcontent-%COMP%]   .material-symbols-rounded[_ngcontent-%COMP%]{font-size:18px}.abi-pdf__close[_ngcontent-%COMP%]{flex:0 0 auto;margin-left:auto;display:inline-flex;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;padding:0;border:0;border-radius:50%;background:transparent;color:#444;cursor:pointer}.abi-pdf__close[_ngcontent-%COMP%]:hover{background:#f0f0f3}.abi-pdf__close[_ngcontent-%COMP%]:focus-visible{outline:2px solid #5b21d6;outline-offset:2px}.abi-pdf__body[_ngcontent-%COMP%]{position:relative;flex:1 1 auto;min-height:0;width:100%;background:#525659}.abi-pdf__frame[_ngcontent-%COMP%]{position:absolute;inset:0;display:block;width:100%;height:100%;border:0}"]})}}return n})(),wN=(()=>{class n{static{this.AZURE_BLOB_HOST_SUFFIX=".blob.core.windows.net"}constructor(t,i,r){this.modalService=t,this.sanitizer=i,this.http=r}view(t){this.isAllowedDocumentUrl(t)&&this.http.post(p.hP.abibotResourcePdfUrl,{url:t},{responseType:"blob"}).subscribe(i=>this.openModal(i,this.filenameFor(t)))}openModal(t,i){const r=URL.createObjectURL(t),u=this.modalService.open(RN,{centered:!0,scrollable:!0,windowClass:"abi-pdf-modal",backdropClass:"abi-pdf-backdrop"});u.componentInstance.safeUrl=this.sanitizer.bypassSecurityTrustResourceUrl(`${r}#toolbar=0&navpanes=0`),u.componentInstance.download=()=>(0,ss.saveAs)(t,i);const V=()=>URL.revokeObjectURL(r);u.result.then(V,V)}isAllowedDocumentUrl(t){if(!t)return!1;try{const i=new URL(t);return"https:"===i.protocol&&i.hostname.toLowerCase().endsWith(n.AZURE_BLOB_HOST_SUFFIX)&&!i.username&&!i.password&&(!i.port||"443"===i.port)}catch{return!1}}filenameFor(t){try{return new URL(t).pathname.split("/").pop()||"document.pdf"}catch{return"document.pdf"}}static{this.\u0275fac=function(i){return new(i||n)(e.KVO(G.Bq),e.KVO(l.up),e.KVO(Yn.Qq))}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),kN=(()=>{class n{static{this.STORAGE_KEY="abiChatHistory"}static{this.MAX_MESSAGES=20}static{this.MAX_MESSAGE_CHARS=4e3}save(t){const i={...t,fmlaUserId:this.currentUserId(),messages:t.messages.slice(-n.MAX_MESSAGES).map(r=>({author:r.author,text:this.cap(r.text),showFeedback:r.showFeedback,context:r.context,rating:r.rating,feedbackClosed:r.feedbackClosed,answered:r.answered,reply:void 0===r.reply?void 0:this.cap(r.reply),fallbackMessage:r.fallbackMessage,ctas:r.ctas?.map(({label:u,type:v,content:V,document_id:Ce,none_of_these:it})=>({label:u,type:v,content:V,document_id:Ce,none_of_these:it}))})),transcript:t.transcript.slice(-n.MAX_MESSAGES).map(r=>({...r,content:this.cap(r.content)}))};try{sessionStorage.setItem(n.STORAGE_KEY,JSON.stringify(i))}
1catch{try{sessionStorage.removeItem(n.STORAGE_KEY)}catch{}}}load(){try{const t=JSON.parse(sessionStorage.getItem(n.STORAGE_KEY)??"null");return t&&t.fmlaUserId===this.currentUserId()?t:null}catch{return null}}currentUserId(){return JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)??"null")?.fmlaUserId}cap(t){const i=n.MAX_MESSAGE_CHARS;return t&&t.length>i?t.slice(0,i-1)+"\u2026":t}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();const AN=["*"];let xN=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["compsych-chat-sheet"]],hostAttrs:["role","dialog",1,"compsych-chat-sheet"],standalone:!0,features:[e.aNF],ngContentSelectors:AN,decls:1,vars:0,template:function(i,r){1&i&&(e.NAR(),e.SdG(0))},styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;overflow:hidden;background-color:var(--surface-surface-container-sys-surface-container-lowest);border-radius:var(--border-radius-sys-radius-lg);box-shadow:var( --abi-elevation-lv3, 0 .125rem .375rem rgba(0, 0, 0, .12), 0 .25rem 1rem rgba(0, 0, 0, .16) )}"]})}}return n})();const NN=["*",[["","bubbleAvatar",""]]],ON=["*","[bubbleAvatar]"];function FN(n,d){1&n&&(e.j41(0,"span",2),e.SdG(1,1),e.k0s())}let LN=(()=>{class n{constructor(){this.author="agent",this.variant="default"}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["compsych-chat-bubble"]],hostAttrs:[1,"compsych-chat-bubble"],hostVars:6,hostBindings:function(i,r){2&i&&e.AVh("compsych-chat-bubble--agent","agent"===r.author)("compsych-chat-bubble--user","user"===r.author)("compsych-chat-bubble--cta","cta"===r.variant)},inputs:{author:"author",variant:"variant"},standalone:!0,features:[e.aNF],ngContentSelectors:ON,decls:3,vars:1,consts:[["class","avatar",4,"ngIf"],[1,"bubble"],[1,"avatar"]],template:function(i,r){1&i&&(e.NAR(NN),e.DNE(0,FN,2,0,"span",0),e.j41(1,"div",1),e.SdG(2),e.k0s()),2&i&&e.Y8G("ngIf","agent"===r.author&&"cta"!==r.variant)},dependencies:[ie.bT],styles:["[_nghost-%COMP%]{display:flex;align-items:flex-end;gap:var(--spacing-padding-sys-padding-8);width:100%}.compsych-chat-bubble--user[_nghost-%COMP%]{justify-content:flex-end}.avatar[_ngcontent-%COMP%]{flex:0 0 auto;width:var(--sys-size-md);height:var(--sys-size-md);display:inline-flex;align-items:center;justify-content:center}.bubble[_ngcontent-%COMP%]{padding:var(--spacing-padding-sys-padding-16) var(--spacing-padding-sys-padding-20);white-space:pre-line;font-family:var(--body-medium-sys-font-family);font-size:var(--body-medium-sys-font-size);line-height:var(--body-medium-sys-line-height);letter-spacing:var(--body-medium-sys-tracking);color:var(--surface-surface-sys-on-surface)}.compsych-chat-bubble--agent[_nghost-%COMP%]   .bubble[_ngcontent-%COMP%]{flex:1 1 auto;margin-right:var(--spacing-padding-sys-padding-32);background-color:var(--surface-surface-container-sys-surface-container);border-radius:var(--border-radius-sys-radius-lg-increased) var(--border-radius-sys-radius-lg-increased) var(--border-radius-sys-radius-lg-increased) var(--border-radius-sys-radius-xs)}.compsych-chat-bubble--user[_nghost-%COMP%]   .bubble[_ngcontent-%COMP%]{max-width:80%;padding:var(--spacing-padding-sys-padding-12) var(--spacing-padding-sys-padding-16);background-color:var(--accent-secondary-sys-secondary);color:var(--accent-secondary-sys-on-secondary);border-radius:var(--border-radius-sys-radius-xl) var(--border-radius-sys-radius-xl) var(--border-radius-sys-radius-xs) var(--border-radius-sys-radius-xl)}.compsych-chat-bubble--cta[_nghost-%COMP%]   .bubble[_ngcontent-%COMP%]{display:flex;flex:1 1 auto;flex-direction:column;gap:var(--spacing-padding-sys-padding-16);width:100%;margin-right:0;padding:var(--spacing-padding-sys-padding-20);border:var(--border-width-sys-stroke-medium) solid var(--accent-secondary-sys-secondary);border-radius:var(--border-radius-sys-radius-lg-increased);background-color:var(--surface-surface-container-sys-surface-container-lowest);box-sizing:border-box}"]})}}return n})();const PN=["*"];let jN=(()=>{class n{constructor(){this.disabled=!1,this.selected=new e.bkB}onClick(){this.disabled||this.selected.emit()}onActivateKey(t){this.disabled||(t.preventDefault(),this.selected.emit())}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["compsych-chip"]
1],hostAttrs:["role","button",1,"compsych-chip"],hostVars:2,hostBindings:function(i,r){1&i&&e.bIt("click",function(){return r.onClick()})("keydown.enter",function(v){return r.onActivateKey(v)})("keydown.space",function(v){return r.onActivateKey(v)}),2&i&&e.BMQ("tabindex",r.disabled?-1:0)("aria-disabled",r.disabled?"true":null)},inputs:{disabled:"disabled"},outputs:{selected:"selected"},standalone:!0,features:[e.aNF],ngContentSelectors:PN,decls:1,vars:0,template:function(i,r){1&i&&(e.NAR(),e.SdG(0))},styles:['[_nghost-%COMP%]{display:inline-flex;align-items:center;justify-content:center;gap:var(--spacing-padding-sys-padding-8);height:2rem;padding:var(--spacing-padding-sys-padding-4) var(--spacing-padding-sys-padding-16);border:var(--border-width-sys-stroke-thin) solid var(--accent-secondary-sys-secondary-container);border-radius:var(--border-radius-sys-radius-full);background-color:var(--surface-surface-container-sys-surface-container-lowest);color:var(--accent-secondary-sys-secondary);font-family:var(--label-medium-sys-font-family);font-size:var(--label-medium-sys-font-size);font-weight:var(--label-medium-sys-font-weight);line-height:var(--label-medium-sys-line-height);letter-spacing:var(--label-medium-sys-tracking);white-space:nowrap;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color .15s ease}[_nghost-%COMP%]:hover{background-color:var(--transparent-secondary-sys-secondary-10, transparent)}[_nghost-%COMP%]:focus-visible{outline:var(--border-width-sys-stroke-thin) solid var(--accent-secondary-sys-secondary);outline-offset:var(--border-width-sys-stroke-thin)}[aria-disabled="true"][_nghost-%COMP%]{opacity:.5;cursor:default}']})}}return n})(),BN=(()=>{class n{constructor(t){this.chatWindow=t,this.chatWidth=null,this.chatHeight=null,this.resizing=!1,this.minChatWidth=320,this.minChatHeight=320,this.viewportMargin=24,this.keyboardResizeStep=16}startResize(t,i){if(0!==t.button)return;const r=this.chatWindow.nativeElement.getBoundingClientRect();this.resizeState={edge:i,pointerId:t.pointerId,startX:t.clientX,startY:t.clientY,startWidth:r.width,startHeight:r.height},this.resizing=!0,t.currentTarget?.setPointerCapture?.(t.pointerId),t.preventDefault()}onResizePointerMove(t){const i=this.resizeState;!i||t.pointerId!==i.pointerId||("top"===i.edge?this.chatHeight=this.clampHeight(i.startHeight-(t.clientY-i.startY)):this.chatWidth=this.clampWidth(i.startWidth-(t.clientX-i.startX)),t.preventDefault())}finishResize(t){this.resizeState?.pointerId===t.pointerId&&(this.resizeState=void 0,this.resizing=!1)}resizeWithKeyboard(t,i){const r=this.chatWindow.nativeElement.getBoundingClientRect();"top"!==i||"ArrowUp"!==t.key&&"ArrowDown"!==t.key?"left"!==i||"ArrowLeft"!==t.key&&"ArrowRight"!==t.key||(this.chatWidth=this.clampWidth(r.width+("ArrowLeft"===t.key?this.keyboardResizeStep:-this.keyboardResizeStep)),t.preventDefault()):(this.chatHeight=this.clampHeight(r.height+("ArrowUp"===t.key?this.keyboardResizeStep:-this.keyboardResizeStep)),t.preventDefault())}constrainToViewport(){null!==this.chatWidth&&(this.chatWidth=this.clampWidth(this.chatWidth)),null!==this.chatHeight&&(this.chatHeight=this.clampHeight(this.chatHeight))}ngOnDestroy(){this.resizeState=void 0}clampWidth(t){const i=Math.max(0,window.innerWidth-2*this.viewportMargin);return Math.min(Math.max(t,Math.min(this.minChatWidth,i)),i)}clampHeight(t){const i=Math.min(this.chatWindow.nativeElement.getBoundingClientRect().bottom,window.innerHeight),r=Math.max(0,i-this.viewportMargin);return Math.min(Math.max(t,Math.min(this.minChatHeight,r)),r)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:n,selectors:[["","appChatResizing",""]],hostVars:6,hostBindings:function(i,r){1&i&&e.bIt("pointermove",function(v){return r.onResizePointerMove(v)},!1,e.EBC)("pointerup",function(v){return r.finishResize(v)},!1,e.EBC)("pointercancel",function(v){return r.finishResize(v)},!1,e.EBC)("resize",function(){return r.constrainToViewport()},!1,e.tSv),2&i&&(e.xc7("width",r.chatWidth,"px")("height",r.chatHeight,"px"),e.AVh("abi-chat--resizing",r.resizing))},exportAs:["chatResizing"]})}}return n})(),YN=(()=>{class n{constructor(t){this.host=t}ngAfterViewInit(){this.host.nativeElement.focus()}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:n,selectors:[["compsych-chat-sheet",8,"abi-chat__sheet"]]})}}return n})();const $N=[[["","list-button-icon",""]]],UN=["[list-button-icon]"];let D2=(()=>{class n{constructor(){this.label="",this.disabled=!1,this.selected=new e.bkB}onClick(){this.disabled||this.selected.emit()}onActivateKey(t){this.disabled||(t.preventDefault(),this.selected.emit())}static{this.\u0275fac=function(i){return new(i||n)}}
1static{this.\u0275cmp=e.VBU({type:n,selectors:[["compsych-list-button"]],hostAttrs:["role","button",1,"compsych-list-button"],hostVars:2,hostBindings:function(i,r){1&i&&e.bIt("click",function(){return r.onClick()})("keydown.enter",function(v){return r.onActivateKey(v)})("keydown.space",function(v){return r.onActivateKey(v)}),2&i&&e.BMQ("tabindex",r.disabled?-1:0)("aria-disabled",r.disabled?"true":null)},inputs:{label:"label",disabled:"disabled"},outputs:{selected:"selected"},standalone:!0,features:[e.aNF],ngContentSelectors:UN,decls:7,vars:1,consts:[[1,"list-button__label"],["aria-hidden","true",1,"list-button__arrow"],["viewBox","0 0 24 24","width","20","height","20","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["d","M5 12h14"],["d","M13 6l6 6-6 6"]],template:function(i,r){1&i&&(e.NAR($N),e.SdG(0),e.j41(1,"span",0),e.EFF(2),e.k0s(),e.j41(3,"span",1),e.qSk(),e.j41(4,"svg",2),e.nrm(5,"path",3)(6,"path",4),e.k0s()()),2&i&&(e.R7$(2),e.JRh(r.label))},styles:['[_nghost-%COMP%]{display:flex;align-items:center;gap:var(--spacing-padding-sys-padding-8);width:100%;padding:var(--spacing-padding-sys-padding-12) var(--spacing-padding-sys-padding-20);border:none;border-radius:var(--border-radius-sys-radius-lg-increased);background-color:var(--accent-secondary-sys-secondary-container);color:var(--surface-surface-sys-on-surface);font-family:var(--body-medium-sys-font-family);font-size:var(--body-medium-sys-font-size);font-weight:var(--body-medium-sys-font-weight-emphasized);line-height:var(--body-medium-sys-line-height);letter-spacing:var(--body-medium-sys-tracking);text-align:left;cursor:pointer;transition:filter .15s ease}[_nghost-%COMP%]:hover{filter:brightness(.97)}[_nghost-%COMP%]:focus-visible{outline:var(--border-width-sys-stroke-thick) solid var(--accent-secondary-sys-secondary);outline-offset:var(--border-width-sys-stroke-thin)}[aria-disabled="true"][_nghost-%COMP%]{background-color:var(--surface-surface-container-sys-surface-container);color:var(--surface-surface-sys-on-surface-variant);cursor:not-allowed;filter:none}[aria-disabled="true"][_nghost-%COMP%]   .list-button__arrow[_ngcontent-%COMP%]{color:var(--surface-surface-sys-on-surface-variant)}.list-button__label[_ngcontent-%COMP%]{flex:1 1 auto;min-width:0}.list-button__arrow[_ngcontent-%COMP%]{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;color:var(--accent-secondary-sys-secondary)}']})}}return n})(),GN=(()=>{class n{constructor(){this.disabled=!1,this.selected=new e.bkB}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["compsych-abi-prompt-cta"]],inputs:{cta:"cta",disabled:"disabled"},outputs:{selected:"selected"},decls:1,vars:2,consts:[[3,"selected","label","disabled"]],template:function(i,r){1&i&&(e.j41(0,"compsych-list-button",0),e.bIt("selected",function(){return r.selected.emit()}),e.k0s()),2&i&&e.Y8G("label",r.cta.label)("disabled",r.disabled)},dependencies:[D2],styles:["[_nghost-%COMP%]{display:block;width:100%}"]})}}return n})(),VN=(()=>{class n{constructor(){this.disabled=!1,this.selected=new e.bkB}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["compsych-abi-navigation-cta"]],inputs:{cta:"cta",disabled:"disabled"},outputs:{selected:"selected"},decls:1,vars:2,consts:[[3,"selected","label","disabled"]],template:function(i,r){1&i&&(e.j41(0,"compsych-list-button",0),e.bIt("selected",function(){return r.selected.emit()}),e.k0s()),2&i&&e.Y8G("label",r.cta.label)("disabled",r.disabled)},dependencies:[D2],styles:["[_nghost-%COMP%]{display:block;width:100%}"]})}}return n})(),HN=(()=>{class n{constructor(){this.disabled=!1,this.selected=new e.bkB}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["compsych-abi-view-pdf-cta"]],inputs:{cta:"cta",disabled:"disabled"},outputs:{selected:"selected"},decls:6,vars:2,consts:[[3,"selected","label","disabled"],["list-button-icon","","aria-hidden","true","focusable","false","viewBox","0 0 24 24","width","24","height","24","fill","none","stroke","currentColor","stroke-width","1.5","stroke-linecap","round","stroke-linejoin","round",1,"pdf-icon"],["d","M15 18h-5"],["d","M18 14h-8"],["d","M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-4 0v-9a2 2 0 0 1 2-2h2"],["width","8","height","4","x","10","y","6","rx","1"]],template:function(i,r){1&i&&(e.j41(0,"compsych-l
1ist-button",0),e.bIt("selected",function(){return r.selected.emit()}),e.qSk(),e.j41(1,"svg",1),e.nrm(2,"path",2)(3,"path",3)(4,"path",4)(5,"rect",5),e.k0s()()),2&i&&e.Y8G("label",r.cta.label)("disabled",r.disabled)},dependencies:[D2],styles:["[_nghost-%COMP%]{display:block;width:100%}.pdf-icon[_ngcontent-%COMP%]{flex:0 0 auto}"]})}}return n})();function WN(n,d){1&n&&(e.j41(0,"p",5),e.EFF(1,"How is your conversation with Ava?"),e.k0s())}function qN(n,d){1&n&&(e.j41(0,"p",5),e.EFF(1,"Thanks for your feedback!"),e.k0s())}function XN(n,d){if(1&n){const t=e.RV6();e.j41(0,"button",6),e.bIt("mouseenter",function(){const r=e.eBV(t).$implicit,u=e.XpG();return e.Njj(u.onHover(r))})("click",function(){const r=e.eBV(t).$implicit,u=e.XpG();return e.Njj(u.onSelect(r))}),e.qSk(),e.j41(1,"svg",7),e.nrm(2,"path",8),e.k0s()()}if(2&n){const t=d.$implicit,i=e.XpG();e.AVh("abi-star-rating__star--active",i.isActive(t)),e.Y8G("disabled",i.submitted),e.BMQ("aria-label",t+" star"+(t>1?"s":""))("aria-checked",i.selectedStar===t),e.R7$(2),e.BMQ("fill",i.isActive(t)?"currentColor":"none")}}let zN=(()=>{class n{constructor(){this.rated=new e.bkB,this.stars=[1,2,3,4,5],this.hoveredStar=0,this.selectedStar=0,this.submitted=!1}ngOnInit(){this.rating&&(this.selectedStar=this.rating,this.submitted=!0)}onHover(t){this.submitted||(this.hoveredStar=t)}onLeave(){this.hoveredStar=0}onSelect(t){this.submitted||(this.selectedStar=t,this.submitted=!0,this.rated.emit(t))}isActive(t){return t<=(this.hoveredStar||this.selectedStar)}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-abi-star-rating"]],inputs:{rating:"rating"},outputs:{rated:"rated"},decls:6,vars:5,consts:[[1,"abi-star-rating"],[1,"abi-star-rating__card"],["class","abi-star-rating__label",4,"ngIf"],["role","radiogroup","aria-label","Rate your conversation from 1 to 5 stars",1,"abi-star-rating__stars",3,"mouseleave"],["type","button","class","abi-star-rating__star","role","radio",3,"abi-star-rating__star--active","disabled","mouseenter","click",4,"ngFor","ngForOf"],[1,"abi-star-rating__label"],["type","button","role","radio",1,"abi-star-rating__star",3,"mouseenter","click","disabled"],["aria-hidden","true","viewBox","0 0 24 24","xmlns","http://www.w3.org/2000/svg",1,"abi-star-rating__icon"],["d","M12 2l2.94 6.26L21.73 9.27l-4.87 4.55L18.18 21 12 17.27 5.82 21l1.32-7.18L2.27 9.27l6.79-1.01z","stroke","currentColor","stroke-width","1.2","stroke-linejoin","round"]],template:function(i,r){1&i&&(e.j41(0,"div",0)(1,"div",1),e.DNE(2,WN,2,0,"p",2)(3,qN,2,0,"p",2),e.j41(4,"div",3),e.bIt("mouseleave",function(){return r.onLeave()}),e.DNE(5,XN,3,6,"button",4),e.k0s()()()),2&i&&(e.AVh("abi-star-rating--submitted",r.submitted),e.R7$(2),e.Y8G("ngIf",!r.submitted),e.R7$(),e.Y8G("ngIf",r.submitted),e.R7$(2),e.Y8G("ngForOf",r.stars))},dependencies:[ie.Sq,ie.bT],styles:["[_nghost-%COMP%]{display:block;width:100%;min-width:0}.abi-star-rating[_ngcontent-%COMP%]{display:flex;justify-content:center}.abi-star-rating__card[_ngcontent-%COMP%]{box-sizing:border-box;width:100%;display:flex;flex-direction:column;align-items:center;gap:var(--spacing-padding-sys-padding-8);padding:var(--spacing-padding-sys-padding-8) var(--spacing-padding-sys-padding-12);border:var(--border-width-sys-stroke-thin) solid var(--outline-sys-outline);border-radius:var(--border-radius-sys-radius-lg);background-color:var(--surface-surface-container-sys-surface-container)}.abi-star-rating__label[_ngcontent-%COMP%]{margin:0;text-align:center;white-space:nowrap;color:var(--surface-surface-sys-on-surface);font-family:var(--label-medium-sys-font-family);font-size:var(--label-medium-sys-font-size);line-height:var(--label-medium-sys-line-height);letter-spacing:var(--label-medium-sys-tracking)}.abi-star-rating__stars[_ngcontent-%COMP%]{flex:0 0 auto;display:flex;align-items:center;gap:var(--spacing-padding-sys-padding-4)}.abi-star-rating__star[_ngcontent-%COMP%]{min-width:24px;min-height:24px;display:inline-flex;align-items:center;justify-content:center;padding:var(--spacing-padding-sys-padding-2);border:none;border-radius:var(--border-radius-sys-radius-full);background-color:transparent;color:#565f6c;cursor:pointer;transition:color .15s ease,transform .15s ease}.abi-star-rating__icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem}.abi-star-rating__star--active[_ngcontent-%COMP%]{color:var(--accent-secondary-sys-secondary)}.abi-star-rating__star[_ngcontent-%COMP%]:not(:disabled):hover{transform:scale(1.15)}.abi-star-rating__star[_ngcontent-%COMP%]:focus-visible{outline:var(--border-width-sys-stroke-thin) solid var(--accent-secondary-sys-secondary);outline-offset:var(--border-width-sys-stroke-thin)}.abi-star-rating__star[_ngcontent-%COMP%]:disabled{cursor:default}.abi-star-rating--submitted[_ngcontent-%COMP%]   .abi-star-rating__star[_ngcontent-%COMP%]:not(.abi-star-rating__star--active){opacity:.3}"]})}}return n})();function KN(n,d){if(1&n){const t=e.RV6();e.j41(0,"button",3),e.bIt("click",function(){const r=e.eBV(t).$implicit,u=e.XpG();return e.Njj(u.select(r.rating))}),e.j41(1,"span",4),e.EFF(2),e.k0s()()}if(2&n){const t=d.$implicit,i=e.XpG();e.AVh("abi-message-feedback__button--selected",i.rating===t.rating),e.Y8G("disabled",i.disabled||!!i.rating),e.BMQ("aria-label",t.label)("aria-pressed",i.rating===t.rating),e.R7$(2),e.JRh(t.icon)}}let JN=(()=>{class n{constructor(){this.disabled=!1,this.inset=!1,this.rated=new e.bkB,this.options=[{rating:"positive",icon:"thumb_up",label:"Helpful"},{rating:"negative",icon:"thumb_down",label:"Not helpful"}]}select(t){!this.rating&&!this.disabled&&this.rated.emit(t)}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-abi-message-feedback"]],hostVars:2,hostBindings:function(i,r){2&i&&e.AVh("abi-message-feedback--inset",r.inset)},inputs:{rating:"rating",disabled:"disabled",inset:"inset"},outputs:{rated:"rated"},decls:4,vars:1,consts:[["role","group","aria-label","Was this response helpful?",1,"abi-message-feedback"],["aria-hidden","true",1,"abi-message-feedback__label"],["type","button","class","abi-message-feedback__button",3,"abi-message-feedback__button--selected","disabled","click",4,"ngFor","ngForOf"],["type","button",1,"abi-message-feedback__button",3,"click","disabled"],["aria-hidden","true",1,"material-symbols-rounded"]],template:function(i,r){1&i&&(e.j41(0,"div",0)(1,"span",1),e.EFF(2,"Was this helpful?"),e.k0s(),e.DNE(3,KN,3,6,"button",2),e.k0s()),2&i&&(e.R7$(3),e.Y8G("ngForOf",r.options))},dependencies:[ie.Sq],styles:["[_nghost-%COMP%]{display:block}.abi-message-feedback--inset[_nghost-%COMP%]{padding-left:calc(var(--sys-size-md) + var(--spacing-padding-sys-padding-8))}.abi-message-feedback[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--spacing-padding-sys-padding-8)}.abi-message-feedback__label[_ngcontent-%COMP%]{color:var(--surface-surface-sys-on-surface-variant);font-family:var(--label-medium-sys-font-family);font-size:var(--label-medium-sys-font-size);line-height:var(--label-medium-sys-line-height);letter-spacing:var(--label-medium-sys-tracking)}.abi-message-feedback__button[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;padding:var(--spacing-padding-sys-padding-4) var(--spacing-padding-sys-padding-12);border:var(--border-width-sys-stroke-thin) solid var(--outline-sys-outline);border-radius:var(--border-radius-sys-radius-full);background-color:transparent;color:var(--surface-surface-sys-on-surface);cursor:pointer}.abi-message-feedback__button[_ngcontent-%COMP%]   .material-symbols-rounded[_ngcontent-%COMP%]{font-size:1.125rem}.abi-message-feedback__button[_ngcontent-%COMP%]:not(:disabled):hover{background-color:var(--surface-surface-container-sys-surface-container)}.abi-message-feedback__button[_ngcontent-%COMP%]:focus-visible{outline:var(--border-width-sys-stroke-thin) solid var(--accent-secondary-sys-secondary);outline-offset:var(--border-width-sys-stroke-thin)}.abi-message-feedback__button[_ngcontent-%COMP%]:disabled{cursor:default}.abi-message-feedback__button--selected[_ngcontent-%COMP%]{border-color:var(--accent-secondary-sys-secondary);color:var(--accent-secondary-sys-secondary)}.abi-message-feedback__button[_ngcontent-%COMP%]:disabled:not(.abi-message-feedback__button--selected){opacity:.3}"]})}}return n})();const QN=["scrollBody"];function ZN(n,d){1&n&&(e.j41(0,"div",22)(1,"span",23),e.nrm(2,"app-abi-orb",24),e.k0s(),e.j41(3,"span",25)(4,"span",26),e.EFF(5,"Ava"),e.k0s(),e.j41(6,"span",27),e.EFF(7,"Plan your leave with Ava"),e.k0s()()()),2&n&&(e.R7$(2),e.Y8G("size",24))}function eO(n,d){1&n&&(e.j41(0,"div",28)(1,"span",29)(2,"span",30),e.nrm(3,"app-abi-orb",24),e.k0s()(),e.j41(4,"div",31)(5,"h2",32),e.EFF(6,"Hi, I'm Ava \u2014 I'm here to help!"),e.k0s(),e.j41(7,"p",33),e.EFF(8," Navigating leave or an accommodation can sometimes feel overwhelming, but I'm here to supp
1ort you every step of the way. I'm an AI Agent \u2014 not a human. I'm here 24/7 to make things easier and can help you navigate your Leave or ADA request, answer common questions about FMLA, ADA, and other leave options, or point you toward wellbeing resources and support. I won't be making any decisions \u2014 that's always handled by a real person on our team. And when I can't help, I'll connect you with a human Absence Specialist who can. How can I help? "),e.k0s()()()),2&n&&(e.R7$(3),e.Y8G("size",48))}function tO(n,d){if(1&n){const t=e.RV6();e.j41(0,"compsych-chip",36),e.bIt("selected",function(){const r=e.eBV(t).$implicit,u=e.XpG(3);return e.Njj(u.askPrompt(r))}),e.EFF(1),e.k0s()}if(2&n){const t=d.$implicit,i=e.XpG(3);e.Y8G("disabled",i.loading||i.controlsDisabled),e.R7$(),e.SpI(" ",t," ")}}function nO(n,d){if(1&n&&(e.j41(0,"div",34),e.DNE(1,tO,2,2,"compsych-chip",35),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngForOf",t.welcomePrompts)}}function iO(n,d){1&n&&e.nrm(0,"app-abi-orb",47),2&n&&e.Y8G("size",24)}function sO(n,d){if(1&n&&e.nrm(0,"markdown",48),2&n){const t=e.XpG(2).$implicit;e.Y8G("data",t.text)}}function rO(n,d){if(1&n){const t=e.RV6();e.j41(0,"compsych-abi-prompt-cta",53),e.bIt("selected",function(){e.eBV(t);const r=e.XpG().$implicit,u=e.XpG(3).$implicit,v=e.XpG(3);return e.Njj(v.onCta(r,u))}),e.k0s()}if(2&n){const t=e.XpG().$implicit,i=e.XpG(3).$implicit,r=e.XpG(3);e.Y8G("cta",t)("disabled",r.controlsDisabled||!!i.answered)}}function oO(n,d){if(1&n){const t=e.RV6();e.j41(0,"compsych-abi-navigation-cta",53),e.bIt("selected",function(){e.eBV(t);const r=e.XpG().$implicit,u=e.XpG(3).$implicit,v=e.XpG(3);return e.Njj(v.onCta(r,u))}),e.k0s()}if(2&n){const t=e.XpG().$implicit,i=e.XpG(3).$implicit,r=e.XpG(3);e.Y8G("cta",t)("disabled",r.controlsDisabled||!!i.answered||!t.run)}}function aO(n,d){if(1&n){const t=e.RV6();e.j41(0,"compsych-abi-view-pdf-cta",53),e.bIt("selected",function(){e.eBV(t);const r=e.XpG().$implicit,u=e.XpG(3).$implicit,v=e.XpG(3);return e.Njj(v.onCta(r,u))}),e.k0s()}if(2&n){const t=e.XpG().$implicit,i=e.XpG(3).$implicit,r=e.XpG(3);e.Y8G("cta",t)("disabled",r.controlsDisabled||!!i.answered)}}function lO(n,d){1&n&&(e.qex(0,51),e.DNE(1,rO,1,2,"compsych-abi-prompt-cta",52)(2,oO,1,2,"compsych-abi-navigation-cta",52)(3,aO,1,2,"compsych-abi-view-pdf-cta",52),e.bVm()),2&n&&(e.Y8G("ngSwitch",d.$implicit.type),e.R7$(),e.Y8G("ngSwitchCase","prompt"),e.R7$(),e.Y8G("ngSwitchCase","navigation"),e.R7$(),e.Y8G("ngSwitchCase","view-pdf"))}function cO(n,d){if(1&n&&(e.j41(0,"div",49),e.DNE(1,lO,4,4,"ng-container",50),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngForOf",t.ctas)}}function dO(n,d){if(1&n){const t=e.RV6();e.j41(0,"app-abi-message-feedback",54),e.bIt("rated",function(r){e.eBV(t);const u=e.XpG(2).$implicit,v=e.XpG(3);return e.Njj(v.onMessageRated(u,r))}),e.k0s()}if(2&n){const t=e.XpG(2).$implicit,i=e.XpG(3);e.Y8G("inset",!(null!=t.ctas&&t.ctas.length))("rating",t.rating)("disabled",i.controlsDisabled||!!t.feedbackClosed)}}function uO(n,d){if(1&n&&(e.qex(0),e.j41(1,"compsych-chat-bubble",42),e.DNE(2,iO,1,1,"app-abi-orb",43)(3,sO,1,1,"markdown",44)(4,cO,2,1,"div",45),e.k0s(),e.DNE(5,dO,1,3,"app-abi-message-feedback",46),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.AVh("abi-chat__faqcard--locked",t.answered),e.Y8G("variant",null!=t.ctas&&t.ctas.length?"cta":"default"),e.R7$(),e.Y8G("ngIf",!(null!=t.ctas&&t.ctas.length)),e.R7$(),e.Y8G("ngIf",t.text),e.R7$(),e.Y8G("ngIf",null==t.ctas?null:t.ctas.length),e.R7$(),e.Y8G("ngIf",t.showFeedback)}}function pO(n,d){if(1&n&&(e.j41(0,"compsych-chat-bubble",55),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",t.text," ")}}function hO(n,d){if(1&n&&(e.j41(0,"div",40),e.DNE(1,uO,6,7,"ng-container",41)(2,pO,2,1,"ng-template",null,3,e.C5r),e.k0s()),2&n){const t=d.$implicit,i=e.sdS(3);e.R7$(),e.Y8G("ngIf","agent"===t.author)("ngIfElse",i)}}function mO(n,d){1&n&&(e.j41(0,"compsych-chat-bubble",56),e.nrm(1,"app-abi-orb",47),e.j41(2,"span",57),e.nrm(3,"span")(4,"span")(5,"span"),e.k0s()()),2&n&&(e.R7$(),e.Y8G("size",24))}function fO(n,d){if(1&n&&(e.j41(0,"div",37),e.DNE(1,hO,4,2,"div",38)(2,mO,6,1,"compsych-chat-bubble",39),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngForOf",t.messages),e.R7$(),e.Y8G("ngIf",t.loading)}}function _O(n,d){if(1&n){const t=e.RV6();e.j41(0,"app-abi-star-rating",58),e.bIt("rated",function(r){e.eBV(t);const u=e.XpG(2);return e.Njj(u.onSessionRated(r))}),e.k0s()}if(2&n){const t=e.XpG(2);e.Y8G("rating",t.sessionRating)}}function gO(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",5,0),e.bIt("keydown.escape",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.close())}),e.j41(2,"button",6),e.bIt("pointerdown",function(r){e.eBV(t);const u=e.sdS(1);return e.Njj(u.startResize(r,"top"))})("keydown",function(r){e.eBV(t);const u=e.sdS(1);return e.Njj(u.resizeWithKeyboard(r,"top"))}),e.k0s(),e.j41(3,"button",7),e.bIt("pointerdown",function(r){e.eBV(t);const u=e.sdS(1);return e.Njj(u.startResize(r,"left"))})("keydown",function(r){e.eBV(t);const u=e.sdS(1);return e.Njj(u.resizeWithKeyboard(r,"left"))}),e.k0s(),e.j41(4,"compsych-chat-sheet",8,1)(6,"header",9),e.DNE(7,ZN,8,1,"div",10),e.j41(8,"button",11),e.bIt("click",function(){e.eBV(t);const r=e.XpG();return e.Njj(r.close())}),e.j41(9,"span",12),e.EFF(10,"close"),e.k0s()()(),e.j41(11,"p",13),e.EFF(12),e.k0s(),e.j41(13,"div",14,2),e.DNE(15,eO,9,1,"div",15)(16,nO,2,1,"div",16)(17,fO,3,2,"div",17),e.k0s(),e.j41(18,"footer",18),e.DNE(19,_O,1,1,"app-abi-star-rating",19),e.j41(20,"compsych-chat-input",20),e.mxI("valueChange",function(r){e.eBV(t);const u=e.XpG();return e.DH7(u.draft,r)||(u.draft=r),e.Njj(r)}),e.bIt("send",function(r){e.eBV(t);const u=e.XpG();return e.Njj(u.sendMessage(r))}),e.k0s(),e.j41(21,"p",21),e.EFF(22),e.k0s()()()()}if(2&n){const t=e.XpG();e.R7$(6),e.AVh("abi-chat__header--bordered","conversation"===t.view),e.R7$(),e.Y8G("ngIf","conversation"===t.view),e.R7$(5),e.JRh(t.liveStatus),e.R7$(3),e.Y8G("ngIf","welcome"===t.view),e.R7$(),e.Y8G("ngIf","welcome"===t.view),e.R7$(),e.Y8G("ngIf","conversation"===t.view),e.R7$(2),e.Y8G("ngIf","conversation"===t.view&&(t.showStarRating||t.sessionRated)),e.R7$(),e.R50("value",t.draft),e.Y8G("disabled",t.loading||t.controlsDisabled)("placeholder",t.inputPlaceholder)("ariaLabel",t.inputPlaceholder),e.R7$(2),e.JRh(t.disclaimer)}}let xx=(()=>{class n{static{this.STAR_RATING_MIN_ANSWERED_PROMPTS=5}static{this.ESCALATE_TOKEN="escalate"}constructor(t,i,r,u,v,V,Ce,it,At){this.abibotChatApi=t,this.ctaActions=i,this.resourcePdf=r,this.abiVisibility=u,this.abiEvents=v,this.escalation=V,this.selfService=Ce,this.history=it,this.abiChat=At,this.open=!1,this.closed=new e.bkB,this.welcomePrompts=["Show me what you can do","I have a specific request"],this.disclaimer="Ava is an AI Agent and can't make decisions on your leave or accommodation.",this.view="welcome",this.messages=[],this.draft="",this.loading=!1,this.liveStatus="",this.controlsDisabled=!1,this.sessionRating=0,this.faqTranscript=[],this.answeredPrompts=0,this.awaitingCallbackPhone=!1,this.pendingScroll=!1,this.feedbackVisible=!1,this.restoreSubs=new Od.yU,this.unresolvedReplies=[],this.localActions={callback:{label:"Call me back",run:()=>(this.abiEvents.escalationInitiated("callback"),this.askForCallbackPhone(),Promise.resolve(!0))},email:{label:"Send me an email response",run:()=>(this.abiEvents.escalationInitiated("email"),this.ctaActions.contactUs())},cancel:{label:"Never mind",run:()=>(this.awaitingCallbackPhone=!1,this.addAgentMessage("No problem. What else can I help you with?"),Promise.resolve(!0))}}}ngOnInit(){this.controlsDisabled=this.abiVisibility.areChatControlsDisabled();const t=this.history.load();t?this.restore(t):this.abiEvents.conversationStarted(),this.availabilitySub=this.abiVisibility.chatAvailabilityChanges$.subscribe(i=>this.onAvailabilityChange(i))}askPrompt(t){this.sendMessage(t)}onFaqQuestion(t){this.sendMessage(t)}onCta(t,i){this.controlsDisabled||this.loading||i.answered||("prompt"===t.type?(t.none_of_these&&this.abiEvents.noneOfTheseSelected(),this.sendMessage(t.label,t.label)):"view-pdf"===t.type&&t.content?(this.abiEvents.resourceOpened(t),this.resourcePdf.view(t.content)):"navigation"===t.type&&t.content===n.ESCALATE_TOKEN?(i.answered=!0,this.offerEscalationOptions()):"navigation"===t.type&&t.run&&(i.answered=!0,this.selfService.started(t.content),t.run().then(r=>{const u=!1!==r;
1i.answered=u,u||this.selfService.notOpened(),this.saveHistory()}).catch(()=>{i.answered=!1,this.selfService.notOpened(),this.saveHistory()})))}sendMessage(t,i=t){const r=t.trim();if(!r||this.loading||this.controlsDisabled)return;if(this.view="conversation",this.messages=[...this.messages.map(V=>({...V,answered:!0,feedbackClosed:!0})),{author:"user",text:i.trim()}],this.saveHistory(),this.awaitingCallbackPhone)return void this.submitCallbackPhone(r);const u=[...this.faqTranscript,{role:"user",content:r}],v=JSON.parse(sessionStorage.getItem(p.YM.USER_INFO)??"null");this.draft="",this.loading=!0,this.liveStatus="Ava is typing\u2026",this.pendingScroll=!0,this.sub=this.abibotChatApi.chat({messages:u,employeeId:v?.employeeSystemId}).pipe((0,Pd.M)(V=>this.abiEvents.responseReceived(V)),(0,zl.n)(V=>this.toRenderableCtas(V.cta).pipe((0,yi.T)(Ce=>({response:V,prepared:Ce}))))).subscribe({next:({response:V,prepared:Ce})=>this.onResponse(V,u,Ce),error:()=>this.onError()})}get inputPlaceholder(){return this.awaitingCallbackPhone?"Enter your phone number":"Message Ava"}close(){this.closed.emit()}get sessionRated(){return this.sessionRating>0}get showStarRating(){return"conversation"===this.view&&!this.loading&&!this.sessionRated&&this.answeredPrompts>=n.STAR_RATING_MIN_ANSWERED_PROMPTS}onSessionRated(t){this.sessionRated||(this.sessionRating=t,this.abiEvents.sessionRated(t),this.saveHistory())}onMessageRated(t,i){t.rating||t.feedbackClosed||this.controlsDisabled||(t.rating=i,this.abiEvents.messageRated(i,t.context),this.liveStatus="Thanks for your feedback",this.saveHistory())}ngOnChanges(t){t.open&&!t.open.firstChange&&this.saveHistory()}ngAfterViewChecked(){const t=this.open&&"conversation"===this.view&&(this.showStarRating||this.sessionRated),i=t&&!this.feedbackVisible;this.feedbackVisible=t,(this.pendingScroll||i)&&(this.pendingScroll=!1,void 0!==this.scrollFrame&&cancelAnimationFrame(this.scrollFrame),this.scrollFrame=requestAnimationFrame(()=>{this.scrollFrame=void 0;const r=this.scrollBody?.nativeElement;r&&(r.scrollTop=r.scrollHeight)}))}ngOnDestroy(){void 0!==this.scrollFrame&&cancelAnimationFrame(this.scrollFrame),this.sub?.unsubscribe(),this.availabilitySub?.unsubscribe(),this.restoreSubs.unsubscribe()}offerEscalationOptions(){this.addAgentMessage("I can connect you with an absence specialist. How would you like to hear back?",[this.localCta("callback"),this.localCta("email")])}askForCallbackPhone(){this.awaitingCallbackPhone=!0,this.addAgentMessage("What's the best phone number for a specialist to call you back?",[this.localCta("cancel")])}submitCallbackPhone(t){this.draft="";const i=this.escalation.normalizePhone(t);i?(this.loading=!0,this.liveStatus="Ava is typing\u2026",this.pendingScroll=!0,this.sub=this.escalation.requestCallback(i,this.faqTranscript).subscribe({next:r=>{this.awaitingCallbackPhone=!1,this.loading=!1,this.addAgentMessage(this.escalation.confirmation(i,r.withinHours))},error:()=>{this.awaitingCallbackPhone=!1,this.loading=!1,this.addAgentMessage("Sorry, I couldn't send your callback request. Please try again or choose an email response."),this.offerEscalationOptions()}})):this.addAgentMessage("Please enter a 10-digit phone number, for example (312) 555-0147.",[this.localCta("cancel")])}localCta(t){const{label:i,run:r}=this.localActions[t];return{label:i,type:"navigation",content:t,run:r}}addAgentMessage(t,i){this.messages=[...this.messages,{author:"agent",text:t,ctas:i}],this.liveStatus="",this.pendingScroll=!0,this.saveHistory()}saveHistory(){this.history.save({open:this.open,view:this.view,messages:this.messages,transcript:this.faqTranscript,answeredPrompts:this.answeredPrompts,sessionRating:this.sessionRating||void 0,awaitingCallbackPhone:this.awaitingCallbackPhone})}restore(t){this.view=t.view,this.messages=t.messages.map(r=>({...r})),this.faqTranscript=t.transcript,this.answeredPrompts=t.answeredPrompts,this.sessionRating=t.sessionRating??0,this.awaitingCallbackPhone=!!t.awaitingCallbackPhone;const i=this.messages.filter(r=>!r.answered&&r.ctas?.length);i.filter(r=>!r.showFeedback).forEach(r=>this.rebuildLocalCtas(r)),this.unresolvedReplies=i.filter(r=>r.showFeedback),this.resolveRestoredReplies(),this.pendingScroll=!0,t.open&&this.abiChat.reopen()}onAvailabilityChange(t){this.controlsDisabled=t.disabled,this.view="conversation",this.messages.push({author:"agent",text:t.message}),this.liveStatus=t.message,this.pendingScroll=!0,this.saveHistory(),this.resolveRestoredReplies()}
1onResponse(t,i,{ctas:r,fallbackMessage:u,notes:v}){this.loading=!1,this.liveStatus="";const V=t.reply,Ce=this.replyText(V,v);(Ce||r.length)&&(this.messages=[...this.messages,{author:"agent",text:Ce,reply:V??"",fallbackMessage:u,ctas:r,showFeedback:!0,context:this.abiEvents.messageContext(t)}]),u&&(this.messages=[...this.messages,{author:"agent",text:u}]),(Ce||r.length||u)&&this.answeredPrompts++,this.faqTranscript=t.messages?.length?t.messages:[...i,{role:"assistant",content:[V,u].filter(Boolean).join("\n\n")}],this.pendingScroll=!0,this.saveHistory()}resolveRestoredReplies(){this.controlsDisabled||(this.unresolvedReplies.forEach(t=>this.resolveRestoredCtas(t)),this.unresolvedReplies=[])}resolveRestoredCtas(t){this.restoreSubs.add(this.toRenderableCtas(t.ctas).subscribe(({ctas:i,fallbackMessage:r,notes:u})=>{const v=this.messages.indexOf(t);v<0||(t.ctas=i,t.text=this.replyText(t.reply,u),r&&!t.fallbackMessage&&(t.fallbackMessage=r,this.messages=[...this.messages.slice(0,v+1),{author:"agent",text:r},...this.messages.slice(v+1)]),this.saveHistory())}))}rebuildLocalCtas(t){t.ctas=t.ctas?.filter(i=>Object.prototype.hasOwnProperty.call(this.localActions,i.content)).map(i=>this.localCta(i.content))}replyText(t,i){return[t,...i].filter(r=>!!r).join("\n\n")}toRenderableCtas(t){return Array.isArray(t)&&t.length?(0,ae.p)(t.map(i=>this.toRenderableCta(i))).pipe((0,yi.T)(i=>({ctas:i.map(r=>r.cta).filter(r=>null!==r),fallbackMessage:i.find(r=>r.fallbackMessage)?.fallbackMessage,notes:i.map(r=>r.note).filter(r=>!!r)}))):(0,ci.of)({ctas:[],notes:[]})}toRenderableCta(t){return t&&"string"==typeof t.label&&t.label.trim()?"prompt"===t.type?(0,ci.of)({cta:null==t.content?t:null}):"view-pdf"===t.type?(0,ci.of)({cta:"string"==typeof t.content&&t.content.trim()?t:null}):"navigation"===t.type&&"string"==typeof t.content&&t.content.trim()?this.ctaActions.resolve(t.content).pipe((0,yi.T)(i=>({cta:i?.run?{...t,run:i.run}:null,fallbackMessage:i?.fallbackMessage,note:i?.note})),(0,vs.W)(()=>(0,ci.of)({cta:null}))):(0,ci.of)({cta:null}):(0,ci.of)({cta:null})}onError(){this.loading=!1,this.liveStatus="",this.messages.push({author:"agent",text:"Service is not available"}),this.pendingScroll=!0}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(M.zo),e.rXU(DN),e.rXU(wN),e.rXU(lc.k),e.rXU(c_.K),e.rXU(CN),e.rXU(Kd),e.rXU(kN),e.rXU(Ad.a))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-abi-chat"]],viewQuery:function(i,r){if(1&i&&e.GBs(QN,5),2&i){let u;e.mGM(u=e.lsd())&&(r.scrollBody=u.first)}},inputs:{open:"open"},outputs:{closed:"closed"},features:[e.Jv_([aT,{provide:Dx,useValue:{gfm:!0,breaks:!0}}]),e.OA$],decls:1,vars:1,consts:[["chatResizing","chatResizing"],["dialog",""],["scrollBody",""],["userBubble",""],["class","abi-chat","data-theme","abi","appChatResizing","",3,"keydown.escape",4,"ngIf"],["data-theme","abi","appChatResizing","",1,"abi-chat",3,"keydown.escape"],["type","button","aria-label","Resize chat height",1,"abi-chat__resize-handle","abi-chat__resize-handle--top",3,"pointerdown","keydown"],["type","button","aria-label","Resize chat width",1,"abi-chat__resize-handle","abi-chat__resize-handle--left",3,"pointerdown","keydown"],["aria-label","Ava assistant","tabindex","-1",1,"abi-chat__sheet"],[1,"abi-chat__header"],["class","abi-chat__identity",4,"ngIf"],["type","button","aria-label","Close chat",1,"abi-chat__close",3,"click"],["aria-hidden","true",1,"material-symbols-rounded"],["role","status","aria-live","polite","aria-atomic","true",1,"abi-chat__sr-only"],[1,"abi-chat__body"],["class","abi-chat__greeting",4,"ngIf"],["class","abi-chat__welcome-prompts",4,"ngIf"],["class","abi-chat__convo","role","log","aria-live","polite","aria-relevant","additions text","aria-label","Conversation with Ava",4,"ngIf"],[1,"abi-chat__actions"],[3,"rating","rated",4,"ngIf"],[3,"valueChange","send","value","disabled","placeholder","ariaLabel"],[1,"abi-chat__disclaimer"],[1,"abi-chat__identity"],["aria-hidden","true",1,"abi-chat__avatar"],[3,"size"],[1,"abi-chat__identity-text"],[1,"abi-chat__name"],[1,"abi-chat__status"],[1,"abi-chat__greeting"],["aria-hidden","true",1,"abi-chat__hero"],[1,"abi-chat__hero-inner"],[1,"abi-chat__greeting-text"],[1,"abi-chat__greeting-title"],[1,"abi-chat__greeting-subtitle"],[1,"abi-chat__welcome-prompts"],[3,"disabled","selected",4,"ngFor","ngForOf"],[3,"selected","disabled"],["role","log","aria-live","polite","aria-relevant","additions text","aria-label","Conversation with Ava",1,"abi-chat__convo"],["class","abi-chat__message",4,"ngFor","ngForOf"],["author","agent","class","abi-chat__typing","aria-hidden","true",4,"ngIf"],[1,"abi-chat__message"],[4,"ngIf","ngIfElse"],["author","agent",3,"variant"],["bubbleAvatar","",3,"size",4,"ngIf"],["class","abi-chat__markdown",3,"data",4,"ngIf"],["class","abi-chat__faqcard-list",4,"ngIf"],[3,"inset","rating","disabled","rated",4,"ngIf"],["bubbleAvatar","",3,"size"],[1,"abi-chat__markdown",3,"data"],[1,"abi-chat__faqcard-list"],[3,"ngSwitch",4,"ngFor","ngForOf"],[3,"ngSwitch"],[3,"cta","disabled","selected",4,"ngSwitchCase"],[3,"selected","cta","disabled"],[3,"rated","inset","rating","disabled"],["author","user"],["author","agent","aria-hidden","true",1,"abi-chat__typing"],["aria-hidden","true",1,"abi-chat__dots"],[3,"rated","rating"]],template:function(i,r){1&i&&e.DNE(0,gO,23,13,"div",4),2&i&&e.Y8G("ngIf",r.open)},dependencies:[ie.Sq,ie.bT,ie.ux,ie.e1,Mx,xN,LN,wx,jN,Ha,BN,YN,GN,VN,HN,zN,JN],styles:[".abi-chat[_ng
1content-%COMP%]{position:fixed;right:var(--spacing-padding-sys-padding-24);bottom:var(--spacing-padding-sys-padding-24);z-index:10000;display:flex;flex-direction:column;width:27.375rem;max-width:calc(100vw - 3rem);height:99vh;max-height:calc(100vh - 3rem);overflow:hidden;animation:_ngcontent-%COMP%_abi-chat-slide-up .3s ease-in-out}.abi-chat--resizing[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none}.abi-chat__resize-handle[_ngcontent-%COMP%]{position:absolute;z-index:2;margin:0;padding:0;border:0;background:transparent;touch-action:none}.abi-chat__resize-handle--top[_ngcontent-%COMP%]{top:0;right:0;left:0;height:.75rem;transform:translateY(-50%);cursor:ns-resize}.abi-chat__resize-handle--left[_ngcontent-%COMP%]{top:0;bottom:0;left:0;width:.75rem;transform:translate(-50%);cursor:ew-resize}.abi-chat__resize-handle[_ngcontent-%COMP%]:focus-visible{outline:var(--border-width-sys-stroke-thin) solid var(--accent-secondary-sys-secondary);outline-offset:0}@keyframes _ngcontent-%COMP%_abi-chat-slide-up{0%{transform:translateY(1rem);opacity:0}to{transform:translateY(0);opacity:1}}.abi-chat__sheet[_ngcontent-%COMP%]{flex:1 1 auto;min-height:0;max-height:100%}.abi-chat__sheet[_ngcontent-%COMP%]:focus{outline:none}.abi-chat__sr-only[_ngcontent-%COMP%]{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.abi-chat__header[_ngcontent-%COMP%]{flex:0 0 auto;position:relative;z-index:1;background-color:var(--surface-surface-container-sys-surface-container-lowest);display:flex;align-items:flex-start;justify-content:flex-end;gap:var(--spacing-padding-sys-padding-12);padding:var(--spacing-padding-sys-padding-20) var(--spacing-padding-sys-padding-16) var(--spacing-padding-sys-padding-0)}.abi-chat__header--bordered[_ngcontent-%COMP%]{align-items:center;justify-content:space-between;padding-bottom:var(--spacing-padding-sys-padding-16);border-bottom:var(--border-width-sys-stroke-thin) solid var(--outline-sys-outline)}.abi-chat__identity[_ngcontent-%COMP%]{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:var(--spacing-padding-sys-padding-12)}.abi-chat__avatar[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;padding:var(--spacing-padding-sys-padding-2);border:var(--border-width-sys-stroke-thin) solid var(--transparent-secondary-sys-secondary-10);border-radius:var(--border-radius-sys-radius-full)}.abi-chat__identity-text[_ngcontent-%COMP%]{display:flex;flex-direction:column;min-width:0}.abi-chat__name[_ngcontent-%COMP%]{color:var(--surface-surface-sys-on-surface);font-family:var(--title-small-sys-font-family);font-size:var(--title-small-sys-font-size);font-weight:var(--title-small-sys-font-weight-emphasized);line-height:var(--title-small-sys-line-height);letter-spacing:var(--title-small-sys-tracking)}.abi-chat__status[_ngcontent-%COMP%]{color:var(--surface-surface-sys-on-surface-variant);font-family:var(--label-small-sys-font-family);font-size:var(--label-small-sys-font-size);line-height:var(--label-small-sys-line-height);letter-spacing:var(--label-small-sys-tracking)}.abi-chat__close[_ngcontent-%COMP%]{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;padding:0;border:none;border-radius:var(--border-radius-sys-radius-full);background-color:transparent;color:var(--surface-surface-sys-on-surface-variant);cursor:pointer;transition:background-color .15s ease}.abi-chat__close[_ngcontent-%COMP%]:hover{background-color:var(--surface-surface-container-sys-surface-container)}.abi-chat__close[_ngcontent-%COMP%]:focus-visible{outline:var(--border-width-sys-stroke-thin) solid var(--accent-secondary-sys-secondary);outline-offset:var(--border-width-sys-stroke-thin)}.abi-chat__close[_ngcontent-%COMP%]   .material-symbols-rounded[_ngcontent-%COMP%]{font-size:var(--sys-size-sm);line-height:1}.abi-chat__body[_ngcontent-%COMP%]{flex:1 1 auto;min-height:0;overflow-y:auto;display:flex;flex-direction:column}.abi-chat__greeting[_ngcontent-%COMP%]{flex-shrink:0;display:flex;flex-direction:column;align-items:center;gap:var(--spacing-padding-sys-padding-32);width:100%;max-width:21.8125rem;margin:0 auto;padding:0 var(--spacing-padding-sys-padding-16) var(--spacing-padding-sys-padding-48)}.abi-chat__welcome-prompts[_ngcontent-%COMP%]{flex:1 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--spacing-padding-sys-padding-8);padding:var(--spacing-padding-sys-padding-16)}.abi-chat__welcome-prompts[_ngcontent-%COMP%]   compsych-chip[_ngcontent-%COMP%]{font-size:var(--body-medium-sys-font-size);height:calc(var(--body-medium-sys-line-height) + 2 * var(--spacing-padding-sys-padding-12))}.abi-chat__hero[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:7.5rem;height:7.5rem;padding:var(--spacing-padding-sys-padding-4);border:var(--border-width-sys-stroke-thin) solid var(--accent-secondary-sys-secondary-container);border-radius:var(--border-radius-sys-radius-full);background-color:var(--surface-surface-container-sys-surface-container-lowest)}.abi-chat__hero-inner[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:6.75rem;height:6.75rem;padding:var(--spacing-padding-sys-padding-20);border:var(--border-width-sys-stroke-thin) solid var(--transparent-secondary-sys-secondary-10);border-radius:var(--border-radius-sys-radius-full);background-image:linear-gradient(to bottom,var(--transparent-secondary-sys-secondary-10),var(--transparent-neutral-sys-white-20))}.abi-chat__greeting-text[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--spacing-padding-sys-padding-8);width:100%;text-align:center}.abi-chat__greeting-title[_ngcontent-%COMP%]{margin:0;color:var(--surface-surface-sys-on-surface);font-family:var(--title-large-sys-font-family);font-size:var(--title-large-sys-font-size);font-weight:var(--title-large-sys-font-weight);line-height:var(--title-large-sys-line-height);letter-spacing:var(--title-large-sys-tracking)}.abi-chat__greeting-subtitle[_ngcontent-%COMP%]{margin:0;color:var(--surface-surface-sys-on-surface-variant);font-family:var(--body-medium-sys-font-family);font-size:var(--body-medium-sys-font-size);line-height:var(--body-medium-sys-line-height);letter-spacing:var(--body-medium-sys-tracking)}.abi-chat__faq[_ngcontent-%COMP%]{display:block;padding:0 var(--spacing-padding-sys-padding-16) var(--spacing-padding-sys-padding-24)}.abi-chat__convo[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--spacing-padding-sys-padding-24);padding:var(--spacing-padding-sys-padding-24) var(--spacing-padding-sys-padding-16)}.abi-chat__message[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--spacing-padding-sys-padding-8)}.abi-chat__markdown[_ngcontent-%COMP%]{display:block;min-width:0;white-space:normal}[_nghost-%COMP%]     .abi-chat__markdown>:first-child{margin-top:0}[_nghost-%COMP%]     .abi-chat__markdown>:last-child{margin-bottom:0}[_nghost-%COMP%]     .abi-chat__markdown pre{max-width:100%;overflow-x:auto;white-space:pre}[_nghost-%COMP%]     .abi-chat__markdown a{overflow-wrap:anywhere}.abi-chat__faqcard-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--spacing-padding-sys-padding-8)}.abi-chat__faqcard-list[_ngcontent-%COMP%] > compsych-abi-prompt-cta[_ngcontent-%COMP%], .abi-chat__faqcard-list[_ngcontent-%COMP%] > compsych-abi-navigation-cta[_ngcontent-%COMP%], .abi-chat__faqcard-list[_ngcontent-%COMP%] > compsych-abi-view-pdf-cta[_ngcontent-%COMP%]{display:block;width:100%}.abi-chat__faqcard--locked[_ngcontent-%COMP%]   .abi-chat__faqcard-list[_ngcontent-%COMP%]{opacity:.55;pointer-events:none}.abi-chat__toolbar[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--spacing-padding-sys-padding-12);padding:0 var(--spacing-padding-sys-padding-32)}.abi-chat__dots[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:var(--spacing-padding-sys-padding-4)}.abi-chat__dots[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{width:.5rem;height:.5rem;border-radius:var(--border-radius-sys-radius-full);background-color:var(--surface-surface-sys-on-surface-variant);animation:_ngcontent-%COMP%_abi-chat-typing 1.2s infinite ease-in-out}.abi-chat__dots[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:nth-child(2){animation-delay:.2s}.abi-chat__dots[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:nth-child(3){animation-delay:.4s}@keyframes _ngcontent-%COMP%_abi-chat-typing{0%,60%,to{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-.15rem)}}@media (prefers-reduced-motion: reduce){.abi-chat__dots[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{animation:none}}.abi-chat__toolbar-label[_ngcontent-%COMP%]{color:var(--surface-surface-sys-on-surface-variant);font-family:var(--label-medium-sys-font-family);font-size:var(--label-medium-sys-font-size);line-height:var(--label-medium-sys-line-height);letter-spacing:var(--label-medium-sys-tracking)}.abi-chat__feedback[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--spacing-padding-sys-padding-8)}.abi-chat__feedback-btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;padding:var(--spacing-padding-sys-padding-8) var(--spacing-padding-sys-padding-16);border:var(--border-width-sys-stroke-thin) solid var(--outline-sys-outline);border-radius:var(--border-radius-sys-radius-full);background-color:var(--surface-surface-container-sys-surface-container-lowest);color:var(--surface-surface-sys-on-surface-variant);cursor:pointer;transition:background-color .15s ease}.abi-chat__feedback-btn[_ngcontent-%COMP%]:hover{background-color:var(--surface-surface-container-sys-surface-container)}.abi-chat__feedback-btn[_ngcontent-%COMP%]:focus-visible{outline:var(--border-width-sys-stroke-thin) solid var(--accent-secondary-sys-secondary);outline-offset:var(--border-width-sys-stroke-thin)}.abi-chat__actions[_ngcontent-%COMP%]{box-sizing:border-box;height:auto;min-height:0;max-height:none;margin:0;overflow:visible;flex:0 0 auto;display:flex;flex-direction:column;gap:var(--spacing-padding-sys-padding-8);padding:var(--spacing-padding-sys-padding-16);border-top:var(--border-width-sys-stroke-thin) solid var(--outline-sys-outline)}.abi-chat__actions[_ngcontent-%COMP%]:has(app-abi-star-rating){padding-top:var(--spacing-padding-sys-padding-8)}.abi-chat__disclaimer[_ngcontent-%COMP%]{margin:0;text-align:center;color:var(--surface-surface-sys-on-surface-variant);font-family:var(--label-medium-sys-font-family);font-size:var(--label-medium-sys-font-size);line-height:var(--label-medium-sys-line-height);letter-spacing:var(--label-medium-sys-tracking)}.abi-chat__toast[_ngcontent-%COMP%]{position:absolute;
1left:50%;bottom:9rem;transform:translate(-50%);z-index:1;white-space:nowrap}@media (max-width: 30rem){.abi-chat[_ngcontent-%COMP%]{right:0;left:0;bottom:0;width:100%;max-width:100%}.abi-chat__resize-handle[_ngcontent-%COMP%]{display:none}}@media (prefers-reduced-motion: reduce){.abi-chat[_ngcontent-%COMP%]{animation:none}}"]})}}return n})(),bO=(()=>{class n{constructor(t,i,r){this.win=t,this.userService=i,this.bootstrapService=r}ngDoBootstrap(t){this.userService.isLogedIn().subscribe(i=>{i?this.bootstrapService.loadBootstarpOnLogin(!1):this.bootstrapService.loadBootstrapBeforeLogin(this.win)})}static{this.\u0275fac=function(i){return new(i||n)(e.KVO(m.s7),e.KVO(M.DL),e.KVO(M._E))}}static{this.\u0275mod=e.$C({type:n})}static{this.\u0275inj=e.G2t({imports:[y,Kt,pN,Oa,_N,gN,bN,vN,G.n8,Sx.forRoot()]})}}return n})();e.wjB(hN.a,function(){return[q.n3,ie.YU,ie.bT,oe,fi,zt,kx,xx]},function(){return[ie.Jj,Y.D9]}),e.wjB(mN.M,function(){return[q.n3,ie.YU,ie.bT,oe,fi,zt,kx,xx]},function(){return[ie.Jj,Y.D9]}),e.wjB(fN.V,function(){return[q.n3,ie.bT,oe,fi,zt]},function(){return[ie.Jj]}),m.cA.production&&(0,e.SmG)(),l.sG().bootstrapModule(bO).catch(n=>console.log(n))},950:(We,Q,I)=>{"use strict";I.d(Q,{zo:()=>U,ht:()=>y,uW:()=>G,TH:()=>p,Cy:()=>$,_E:()=>An,hJ:()=>fi,o6:()=>Y,We:()=>q.W,Xf:()=>ht,M_:()=>hs,_1:()=>Ke,HI:()=>Yn,ks:()=>Yi,K1:()=>mt.K,iC:()=>re,US:()=>Ee,Uu:()=>oe,LQ:()=>ee,n1:()=>mn,Ik:()=>pt,hu:()=>se,z$:()=>K,FY:()=>_e,AV:()=>Te,hE:()=>C,nZ:()=>ct,yw:()=>Fe,ge:()=>ye,Hm:()=>Se,IT:()=>M.I,Zb:()=>Dn,RB:()=>Ue,HF:()=>L,k4:()=>ji,jp:()=>Oi,EH:()=>_n,C9:()=>ti,oT:()=>Gt,f4:()=>Rt,tm:()=>$t,it:()=>dt,yU:()=>Ie,GN:()=>et,Vc:()=>b,_t:()=>ot,VB:()=>jt,Hw:()=>un,BI:()=>Yt,iY:()=>he,Vq:()=>Ve,DL:()=>_t,gO:()=>at,l$:()=>Tt,nI:()=>Ln});var l=I(1626),e=I(6483),m=I(4438);let b=(()=>{class me{constructor(pe){this.http=pe}getLeaveRequestDescription(){return this.http.get(`${e.hP.leaveRequestDescriptionUrl}`)}getAbsenceReason(){return this.http.get(`${e.hP.absenceReasonsUrl}`)}getIncidentalAbsenceReasons(){return this.http.get(`${e.hP.incidentalAbsenceReasonsUrl}`)}submitReportTime(pe){return this.http.post(`${e.hP.submitReportTime}`,pe)}deleteReportTime(pe){const Ye={headers:new l.Lr({"Content-Type":"application/json"}),body:{leaveId:pe.leaveRequestId,id:pe.leaveTimeId}};return this.http.delete(`${e.hP.deleteTimeUrl}`,Ye)}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(l.Qq))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}}return me})(),y=(()=>{class me{constructor(pe){this.service=pe}resolve(pe,Ye){return this.service.getAbsenceReason()}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(b))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac})}}return me})(),S=(()=>{class me{constructor(pe){this.http=pe}getAnnouncement(){return this.http.get(`${e.hP.announcementUrl}`)}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(l.Qq))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}}return me})(),p=(()=>{class me{constructor(pe){this.service=pe}resolve(pe,Ye){return this.service.getAnnouncement()}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(S))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac})}}return me})();var M=I(3217);let $=(()=>{class me{constructor(pe){this.service=pe}resolve(pe,Ye){const Vt=localStorage.getItem("leaveID"),Xt=localStorage.getItem("endDate");return"null"!=Xt&&null!=Xt?(localStorage.clear(),this.service.getAnticipatedReturnToWork(Vt,Xt)):(localStorage.clear(),null)}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(M.I))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac})}}return me})(),B=(()=>{class me{constructor(pe){this.http=pe}getAccountHasProductId(pe){return this.http.get(`${e.hP.accountHasProductIdUrl}/${pe}`).pipe()}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(l.Qq))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}}return me})(),G=(()=>{class me{constructor(pe){this.service=pe}resolve(pe,Ye){return this.service.getAccountHasProductId(e.YM.RTW_FFD_PRODUCT_ID)}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(B))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac})}}return me})(),Y=(()=>{class me{constructor(pe){this.service=pe}resolve(pe,Ye){let Vt=pe.queryParamMap.get("mapTypes");return this.service.getCodeList(Vt)}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(M.I))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac})}}return me})();var q=I(4977);let ee=(()=>{class me{constructor(pe){this.http=pe}getFaqs(){return this.http.get(`${e.hP.faqsUrl}`)}
1getPublicFaqs(pe){return this.http.get(`${e.hP.publicFaqsUrl}/${pe}`)}submitYesNoFeedback(pe){return this.http.put(e.hP.submitYesNoFeedback,pe)}submitNoTA(pe){this.http.put(e.hP.submitNoTextbook,pe).subscribe()}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(l.Qq))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}}return me})(),oe=(()=>{class me{constructor(pe){this.service=pe}resolve(pe,Ye){return this.service.getFaqs()}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(ee))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac})}}return me})(),se=(()=>{class me{constructor(pe){this.service=pe}resolve(pe,Ye){let Vt=pe.queryParamMap.get("leaveID");return this.service.hasLatter(Vt)}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(M.I))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac})}}return me})();var xe=I(9350),ie=I(177);let L=(()=>{class me{constructor(pe,Ye){this.platformId=pe,this.http=Ye}login(pe){const Ye=JSON.stringify(pe);return this.timeout(9e4,function Le(me,jn){const pe="object"==typeof jn;return new Promise((Ye,Vt)=>{let Nn,Xt=!1;me.subscribe({next:zt=>{Nn=zt,Xt=!0},error:Vt,complete:()=>{Xt?Ye(Nn):pe?Ye(jn.defaultValue):Vt(new xe.G)}})})}(this.http.post(e.hP.loginUrl,Ye)))}loginWeb(pe){const Ye=JSON.stringify(pe);return this.http.post(e.hP.loginWebUrl,Ye)}timeout(pe,Ye){return new Promise((Vt,Xt)=>{const Nn=setTimeout(()=>{Xt(new Error("promise timeout"))},pe);Ye.then(zt=>{if(clearTimeout(Nn),(0,ie.UE)(this.platformId)){const rn=zt.headers.get("set-cookie");if(null!=rn){const ni=this.getTokenCookie(rn.slice(rn.indexOf(e.YM.TOKEN_COOKIE),rn.length-1));sessionStorage.setItem(e.YM.TOKEN_COOKIE,ni)}}Vt(zt)},zt=>{clearTimeout(Nn),Xt(zt)})})}getTokenCookie(pe){return pe.slice(0,pe.indexOf(";"))}updatePassword(pe){return this.http.post(e.hP.updatePassword,pe).pipe()}getHealthStatus(){return this.http.get(e.hP.healthStatusUrl)}getCurrentAppVersion(pe,Ye){return this.http.get(e.hP.appVersionUrl+`${pe}/${Ye}`)}forgotPasswordStep2(pe,Ye){const Vt=(new l.Nl).set("userName",pe).set("emailAddress",Ye);return this.http.get(e.hP.forgotPasswordStep2Url,{params:Vt})}forgotPasswordStep3(pe){return this.http.post(e.hP.forgotPasswordStep3Url,pe)}forgotPasswordStep4(pe){return this.http.post(e.hP.forgotPasswordStep4Url,pe)}changePasswordUrl(pe){return this.http.post(e.hP.changePasswordUrl,pe)}getHomepageUrl(pe){const Ye=(new l.Nl).set("userName",pe);return this.http.get(e.hP.getHomepageUrl,{params:Ye})}getPublicUserInfo(){return this.http.get(e.hP.publicUserInfoUrl)}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(m.Agw),m.KVO(l.Qq))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}}return me})(),K=(()=>{class me{constructor(pe){this.loginService=pe}resolve(pe,Ye){return this.loginService.getHealthStatus()}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(L))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac})}}return me})(),_e=(()=>{class me{constructor(pe){this.service=pe}resolve(pe,Ye){return this.service.getIncidentalAbsenceReasons()}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(b))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac})}}return me})(),Te=(()=>{class me{constructor(pe){this.service=pe}resolve(pe,Ye){let Vt=pe.queryParamMap.get("leaveID");return this.service.getLeaveDetails(Vt)}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(M.I))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac})}}return me})(),ct=(()=>{class me{constructor(pe){this.service=pe}resolve(pe,Ye){return this.service.getLeavePlanTimes(!1,!0)}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(M.I))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac})}}return me})(),ye=(()=>{class me{constructor(pe){this.service=pe}resolve(pe,Ye){return this.service.getleavePlans()}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(M.I))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac})}}return me})(),Se=(()=>{class me{constructor(pe){this.service=pe}resolve(pe,Ye){return this.service.getLeaveRequestDescription()}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(M.I))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac})}}return me})();var X=I(4412),Ne=I(9437),ft=I(8810);let _t=(()=>{class me{constructor(pe){this.http=pe,this.isWob=new X.t(!1),this.isMenuOpen=new X.t(!1),this.portalPermission=new X.t(null),this.portalPermission$=this.portalPermission.asObservable()}viewLetters(){return this.http.get(`${e.hP.lettersUrl}`).pipe()}updatePassword(pe){return this.http.post(`${e.hP.updatePassword}`,pe).pipe()}forceChangePassword(pe){return this.http.post(`${e.hP.forceChangePasswordUrl}`,pe).pipe()}getPartnerContact(pe){return this.http.get(`${e.hP.partnerContactUrl}/${pe}`)}searchEmployees(pe,Ye,Vt,Xt,Nn,zt=null){let rn=new l.Nl;return rn=rn.set("lastName",pe),rn=rn.set("firstName",Ye),rn=rn.set("employeeNumber",Vt),rn=rn.set("leaveRequestId",Xt),rn=rn.set("wpaRequestId",Nn),zt&&(rn=rn.set("partnerContactAccountId",zt)),this.http.get(`${e.hP.searchEmployeesUrl}`,{params:rn}).pipe((0,Ne.W)(this.handleError))}handleError(pe){return(0,ft.$)(pe)}workOnBehalf(pe){return this.http.put(`${e.hP.workOnBehalfUrl}`,pe)}endWob(){return this.http.get(`${e.hP.endWorkOnBehalfUrl}`)}getUserInfo(){return this.http.get(`${e.hP.userInfoUrl}`)}isProtectionEngineAvailiable(){return this.http.get(`${e.hP.protectionEngineUrl}`)}isLogedIn(){return this.http.get(`${e.hP.isLoggedInUrl}`)}getProfile(){return this.http.get(`${e.hP.profileUrl}`)}getUserQuestions(pe=!1){return this.http.get(`${e.hP.userQuestionsUrl}?forceUpdate=${pe}`)}changeUsername(pe){return this.http.post(`${e.hP.changeUsernameUrl}`,pe)}updateProfile(pe){return this.http.post(`${e.hP.updateProfileUrl}`,pe)}updateSecurityQuestions(pe,Ye=!1){return this.http.post(`${e.hP.updateSecurityQuestions}`,pe,{params:{forceUpdate:Ye.toString()}})}canLeaveForceUpdate(){return this.http.get(`${e.hP.canLeaveForceUpdate}`)}submitDocument(pe){const Ye=new FormData;return Ye.append("file",pe.file),Ye.append("documentTypeIndex",pe.documentTypeIndex),Ye.append("leaveReqId",pe.leaveReqId),Ye.append("wpaId",pe.wpaId),this.http.post(`${e.hP.submitDocumentUrl}`,Ye)}deleteAccount(){return this.http.post(`${e.hP.deleteAccountUrl}`,null)}canUserSearchByWpaId(){return this.http.get(`${e.hP.canUserSearchByWpaId}`)}forgotUsername(pe){return this.http.get(`${e.hP.forgotUsernameUrl}`,{params:pe})}setPortalPermission(pe){this.portalPermission.next(pe)}reset(){this.isWob.next(!1),this.portalPermission.next(null)}setPortalPermissionsFromUser(pe){null!==pe.portalPermission&&(pe.portalPermission===e.A$.ViewOnly?this.setPortalPermission(e.A$.ViewOnly):pe.portalPermission===e.A$.ClickThru&&this.setPortalPermission(e.A$.ClickThru))}enableAdditionalFooterLinks(pe){return pe.includes("force-update-security-questions")||pe.includes("forgotPassword")||pe.includes("forceChangePassword")}registrationStep1(pe){return this.http.post(`${e.hP.registrationStep1}`,pe)}registrationStep3(pe){return this.http.post(`${e.hP.registrationStep3}`,pe)}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(l.Qq))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}}return me})(),Gt=(()=>{class me{constructor(pe){this.userService=pe}resolve(pe,Ye){return this.userService.getProfile()}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(_t))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac})}}return me})(),Rt=(()=>{class me{constructor(pe){this.service=pe}resolve(pe,Ye){let Vt=pe.queryParamMap.get("appName"),Xt=pe.queryParamMap.get("localeId");return sessionStorage.setItem(e.YM.LOCALE_ID,Xt),this.service.getPublicFaq
1s(Vt)}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(ee))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac})}}return me})(),dt=(()=>{class me{constructor(pe){this.service=pe}resolve(pe,Ye){return this.service.getRecentLeaves(!1)}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(M.I))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac})}}return me})(),et=(()=>{class me{constructor(pe){this.http=pe}getReports(){return this.http.get(`${e.hP.adminReports}`)}getReportCriteria(){return this.http.get(`${e.hP.reportCariteria}`)}submitReport(pe){return this.http.post(`${e.hP.submitReport}`,pe)}getReportStatus(pe){return this.http.get(`${e.hP.reportStatus}/${pe}`)}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(l.Qq))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}}return me})(),Ie=(()=>{class me{constructor(pe){this.service=pe}resolve(pe,Ye){return this.service.getReportCriteria()}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(et))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac})}}return me})(),ot=(()=>{class me{constructor(pe){this.service=pe}resolve(pe,Ye){return this.service.getReports()}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(et))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac})}}return me})();var He=I(6354);let Ve=(()=>{class me{constructor(pe){this.userService=pe}resolve(pe,Ye){const Vt=Ye.url.includes("force-update-security-questions");return this.userService.getUserQuestions(Vt).pipe((0,He.T)(Xt=>Xt))}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(_t))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac})}}return me})(),at=(()=>{class me{constructor(pe){this.leaveService=pe}resolve(pe,Ye){return this.leaveService.viewLeaveRequests()}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(M.I))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac})}}return me})(),Tt=(()=>{class me{constructor(pe){this.userService=pe}resolve(pe,Ye){return this.userService.viewLetters()}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(_t))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac})}}return me})();var wt=I(5657);let jt=(()=>{class me{constructor(pe){this.service=pe}resolve(pe,Ye){return this.service.getSubAccounts()}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(wt.e))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac})}}return me})();var Tn=I(6857);let Ln=(()=>{class me{constructor(pe){this.service=pe}resolve(pe,Ye){let Vt=pe.queryParamMap.get("workplaceAccommodationId");return Vt?this.service.getWorkPlaceAccommodation(Vt):this.service.getWorkPlaceAccommodations()}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(Tn.n))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac})}}return me})(),re=(()=>{class me{constructor(pe){this.http=pe}getDomainInfo(){return this.http.get(`${e.hP.domainInfoUrl}`)}getPublicDomainData(){return this.http.get(`${e.hP.publicDomainInfoUrl}`)}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(l.Qq))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}}return me})();var mt=I(3852);let Ke=(()=>{class me{constructor(pe){this.http=pe}submitContactUsComment(pe){return this.http.put(e.hP.contactUsUrl,pe)}submitPreLoginContactUsComment(pe){return this.http.put(e.hP.preLogincontactUsUrl,pe)}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(l.Qq))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}}return me})();var Ge=I(773);let Ee=(()=>{class me{constructor(pe){this.http=pe}logEvent(pe,Ye,Vt){const Xt=new Ge.uk;Xt.eventTypeId=pe,Xt.eventText1=Ye,Xt.eventText2=Vt,this.http.put(e.hP.eventLogUrl,Xt).subscribe({error:()=>{}})}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(l.Qq))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}}return me})();var qe=I(4538),Je=I(4550);let pt=(()=>{class me{constructor(pe,Ye){this.userService=pe,this.router=Ye}canActivate(pe,Ye){return!this.userService.enableAdditionalFooterLinks(this.router.url)}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(_t),m.KVO(Je.Ix))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}}return me})();var Ft=I(6657),qt=I(3285),Wt=I(93),En=I(8077),Sn=I(4776),Zt=I(7468);let An=(()=>{class me{constructor(){this.location=(0,m.WQX)(ie.aZ),this.appBootstrapTimestamp=Date.now(),this.app=(0,m.WQX)(m.o8S),this.domainService=(0,m.WQX)(re),this.userService=(0,m.WQX)(_t),this.dashboardVisibilityService=(0,m.WQX)(Yi),this.domainConfigService=(0,m.WQX)(mt.K),this.router=(0,m.WQX)(Je.Ix),me.instance=this}loadBootstarpOnLogin(pe,Ye){this.dashboardVisibilityService.resetCache(),(0,Zt.p)({domainInfo:this.domainService.getDomainInfo(),userInfo:this.userService.getUserInfo(),dashboardVisibility:this.dashboardVisibilityService.getDashboardVisibility()}).subscribe(({domainInfo:Vt,userInfo:Xt,dashboardVisibility:Nn})=>{if(sessionStorage.setItem(e.YM.DOMAIN_INFO,JSON.stringify(Vt)),this.domainConfigService.reinitialize(),Xt&&Xt.userPrivilege&&(Xt.userPrivilege.showLeadershipDashboard=Nn.showLeadershipDashboard),sessionStorage.setItem(e.YM.USER_INFO,JSON.stringify(Xt)),Xt){const zt
1=null!=Xt.userPrivilege.portalPermission;this.addPortalStyling(zt);const rn=Xt.userPrivilege.mgrOrHR||zt?"app-mgr-bootstap":"app-emp-bootstap";if(pe){document.querySelectorAll("app-public-bootstap").forEach($n=>{$n.style.display="none"});const ni=this.app.components.find($n=>$n.componentType===Wt.V),on="/"+(zt?"workOnBehalf":Ye||Sn.b.homeRouteForUser(Xt)),ge=this.router.events.subscribe($n=>{($n instanceof Je.wF||$n instanceof Je.j5||$n instanceof Je.L6)&&(ge.unsubscribe(),ni&&(ni.destroy(),document.querySelectorAll("app-public-bootstap").forEach(Dr=>Dr.remove())),this.bootstrapRootComponent(this.app,rn,Xt.accountId,Xt.domainFolder))});this.router.navigateByUrl(on)}else this.bootstrapRootComponent(this.app,rn,Xt.accountId,Xt.domainFolder),Ye&&this.router.navigateByUrl(Ye)}})}loadBootstrapAfterLogout(pe){this.domainService.getPublicDomainData().subscribe({next:Ye=>{const Vt=Ye?.pageElementsNg?.folderName||"";sessionStorage.setItem(e.YM.DOMAIN_INFO,JSON.stringify(Ye)),void 0!==Ye.localeId&&sessionStorage.setItem(e.YM.LOCALE_ID,Ye.localeId.toString());const Xt=En.z.getDominFolder(Vt);document.querySelectorAll("app-mgr-bootstap, app-emp-bootstap").forEach(rn=>{rn.style.display="none"});const Nn=this.app.components.find(rn=>rn.componentType===Ft.M||rn.componentType===qt.a),zt=this.router.events.subscribe(rn=>{(rn instanceof Je.wF||rn instanceof Je.j5||rn instanceof Je.L6)&&(zt.unsubscribe(),Nn&&(Nn.destroy(),document.querySelectorAll("app-mgr-bootstap, app-emp-bootstap").forEach(ni=>ni.remove())),this.bootstrapRootComponent(this.app,"app-public-bootstap",0,Xt))});this.router.navigateByUrl(pe)},error:()=>{window.location.href=e.YM.FMLA_LOGIN_PAGE_URL,window.location.reload()}})}bootstrapRootComponent(pe,Ye,Vt,Xt){const Nn={"app-mgr-bootstap":Ft.M,"app-emp-bootstap":qt.a,"app-public-bootstap":Wt.V},zt=document.createElement(Ye),rn=document.createElement("link");rn.type="text/css",rn.rel="stylesheet",rn.href="./assets/"+Xt+"/"+Xt+".css?"+this.appBootstrapTimestamp;const ni=document.createElement("link");if(ni.type="image/x-icon",ni.rel="icon",ni.href="./assets/"+Xt+"/favicon.ico",document.head.appendChild(ni),document.head.appendChild(rn),document.body.appendChild(zt),156310==Vt){const on=document.createElement("link");on.type="text/css",on.rel="stylesheet",on.href="./assets/"+Xt+"/"+Vt+".css?"+this.appBootstrapTimestamp,console.log(),document.head.appendChild(on)}pe.bootstrap(Nn[Ye]),this.removeInitSplash()}removeInitSplash(){const pe=document.getElementById("app-init-splash");pe&&(pe.classList.add("hide"),setTimeout(()=>pe.remove(),200))}addPortalStyling(pe){if(En.z.isPartnerHost()&&pe){const Vt=document.createElement("link");Vt.rel="stylesheet",Vt.href="assets/css/2026_partner_portal.css?"+this.appBootstrapTimestamp,document.head.appendChild(Vt)}}loadBootstrapBeforeLogin(pe){const Ye=pe.location.href,Vt=Sn.b.firstRouteSegment(Ye);if(e.YM.PUBLIC_PAGES_ARRAY.includes(Vt)||e.YM.TEMP_USER_PAGES.includes(Vt)){let Nn=new URLSearchParams(Ye).get("appName");this.domainService.getPublicDomainData().subscribe({next:zt=>{zt?.pageElementsNg.folderName&&(Nn=zt?.pageElementsNg.folderName),sessionStorage.setItem(e.YM.DOMAIN_INFO,JSON.stringify(zt));const rn=En.z.getDominFolder(Nn);this.bootstrapRootComponent(this.app,"app-public-bootstap",0,rn)},error:()=>{this.removeInitSplash(),pe.location.href=e.YM.FMLA_LOGIN_PAGE_URL}})}else pe.location.hash=e.YM.FMLA_LOGIN,this.loadBootstrapBeforeLogin(pe)}static{this.\u0275fac=function(Ye){return new(Ye||me)}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}}return me})(),fi=(()=>{class me{constructor(pe){this.http=pe}getCaseActivityReport(pe,Ye){let Vt=new l.Nl;return Ye&&(Vt=Vt.set("leaveRequestId",Ye)),Vt=Vt.set("caseActivityType",pe),this.http.get(`${e.hP.caseActivities}`,{params:Vt}).pipe()}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(l.Qq))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}}return me})(),Yt=(()=>{class me{constructor(pe){this.http=pe}submitPartialLeaveDecisions(pe){return this.http.put(`${e.hP.submitPartialLeaveDecision}`,pe)}submitLeaveDecision(pe){return this.http.put(`${e.hP.submitLeaveDecision}`,pe)}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(l.Qq))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}}return me})(),Oi=(()=>{class me{constructor(pe){this.http=pe}getNotes(pe,Ye){let Vt=new l.Nl;return Ye&&(Vt=Vt.set("leaveRequestId",Ye)),Vt=Vt.set("noteType",pe),this.http.get(`${e.hP.notes}`,{params:Vt}).pipe()}addNote(pe){return this.http.post(`${e.hP.submitNote}`,pe,{observe:"response"})}downloadWorkbook(pe){return this.http.post(`${e.hP.downloadExcelFile}`,pe,{responseType:"blob"})}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(l.Qq))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}}return me})(),Yn=(()=>{class me{constructor(pe){this.http=pe}getDashboardMetrics(pe){return this.http.post(`${e.hP.dashboardMetricsUrl}`,pe).pipe()}getMetricCounts(pe){return this.http.post(`${e.hP.dashboardMetricsCountsUrl}`,pe).pipe()}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(l.Qq))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}}return me})();var vi=I(4843),yi=I(345);let Dn=(()=>{class me{constructor(pe,Ye){this.http=pe,this.sanitizer=Ye}getLetterAttachments(){return this.http.get(`${e.hP.letterAttachmentsUrl}`).pipe()}getWebViewToken(){return this.http.get(`${e.hP.webViewTokenUrl}`)}downloadFile(pe,Ye,Vt){let Xt=new l.Nl;return Xt=Xt.set("relativePath",Ye),Xt=Xt.set("fileName",pe),this.http.get(Vt,{params:Xt,responseType:"blob"})}getDownloadFilePromise(pe,Ye,Vt){return(0,vi._)(this.downloadFile(pe,Ye,this.getUrl(Vt)))}downloadAttachment(pe,Ye,Vt){this.downloadFile(pe,Ye,this.getUrl(Vt)).subscribe(Xt=>{const Nn=new Blob([Xt],{type:Xt.type}),zt=window.URL.createObjectURL(Nn),rn=document.createElement("a");document.body.appendChild(rn),rn.setAttribute("style","display: none"),rn.href=zt,rn.download=pe,rn.click(),window.URL.revokeObjectURL(zt)})}getUrl(pe){return pe?`${e.hP.downloadDocumentForAllUsers}`:`${e.hP.downloadDocument}`}redactDocument(pe){return this.http.post(`${e.hP.redactDocument}`,{filePath:pe})}getDownloadRedactedFilePromise(pe){return(0,vi._)(this.downloadRedactedDocument(pe))}downloadRedactedDocument(pe){let Ye=new l.Nl;return Ye=Ye.set("relativePath",pe),this.http.get(`${e.hP.downloadRedactedDocument}`,{params:Ye,responseType:"blob"})}downloadRedactedAttachmentAsFile(pe,Ye){this.downloadRedactedDocument(pe).subscribe({next:Vt=>{const Xt=new Blob([Vt],{type:Vt.type}),Nn=window.URL.createObjectURL(Xt),zt=document.createElement("a");document.body.appendChild(zt),zt.setAttribute("style","display: none"),zt.href=Nn,zt.download=Ye,zt.click(),window.URL.revokeObjectURL(Nn)},error:Vt=>console.error("Failed to download redacted document",Vt)})}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(l.Qq),m.KVO(yi.up))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}}return me})(),hs=(()=>{class me{constructor(pe,Ye){this.http=pe,this.sanitizer=Ye}getCommunicationMaterials(){return this.http.get(`${e.hP.communicationMaterials}`).pipe()}downloadFile(pe,Ye){let Vt=new l.Nl;return Vt=Vt.set("relativePath",Ye),Vt=Vt.set("fileName",pe),this.http.get(`${e.hP.downloadDocument}`,{params:Vt,responseType:"blob"})}downloadAttachment(pe,Ye){this.downloadFile(pe,Ye).subscribe(Vt=>{const Xt=new Blob([Vt],{type:Vt.type}),Nn=window.URL.createObjectURL(Xt),zt=document.createElement("a");document.body.appendChild(zt),zt.setAttribute("style","display: none"),zt.href=Nn,zt.download=pe,zt.click(),window.URL.revokeObjectURL(Nn)})}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(l.Qq),m.KVO(yi.up))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}}return me})();I(1171);let mn=(()=>{class me{constructor(){this.httpClient=(0,m.WQX)(l.Qq)}submitFeedback(pe){return this.httpClient.post(`${e.hP.submitFeedback}`,pe,{responseType:"text"})}static{this.\u0275fac=function(Ye){return new(Ye||me)}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}}return me})(),ji=(()=>{class me{constructor(pe){this.http=pe}logout(){return this.http.get(e.hP.logoutUrlV2)}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(l.Qq))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}}return me})();var ti=function(me){return me.IDLE="IDLE",me.CAPTURING="CAPTURING",me.EXPORTING="EXPORTING",me.DOWNLOADING="DOWNLOADING",me.SUCCESS="SUCCESS",me.ERROR="ERROR",me}(ti||{});let _n=(()=>{class me{constructor(pe){this.http=pe}checkPowerBIAccess(){return this.http.get(e.YM.POWERBI_CHECK_ACCESS_URL)}getFMLAPowerBIToken(){const pe=(new Date).getTime();return this.http.get(`${e.YM.POWERBI_TOKEN_URL}?_cacheBust=${pe}`)}getFMLAPowerBITokenForReport(pe,Ye){const Vt=(new Date).getTime(),Xt=new URLSearchParams({_cacheBust:Vt.toString(),reportId:pe});return Ye&&Xt.append("dashboardType",Ye),this.http.get(`${e.YM.POWERBI_TOKEN_URL}?${Xt.toString()}`)}loadDashboard(pe){return this.getFMLAPowerBITokenForReport(pe.reportId,pe.id)}getReportId(){return qe.cA.powerBI?.reportId||""}getTenantId(){return qe.cA.powerBI?.ctId||""}getPowerBIUrl(){return`https://app.powerbi.com/reportEmbed?reportId=${this.getReportId()}&autoAuth=true&ctid=${this.getTenantId()}`}startPdfExport(pe){return this.http.post(e.YM.POWERBI_EXPORT_START_URL,pe)}getExportStatus(pe){return this.http.get(`${e.YM.POWERBI_EXPORT_STATUS_URL}?exportId=${pe}`)}downloadExport(pe){return this.http.get(`${e.YM.POWERBI_EXPORT_DOW
1NLOAD_URL}?exportId=${pe}`,{responseType:"blob"})}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(l.Qq))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}}return me})();var Bi=I(7673),Ai=I(253);let Yi=(()=>{class me{constructor(pe){this.http=pe}resetCache(){this.visibility$=null}getDashboardVisibility(){return this.visibility$||(this.visibility$=this.http.get(e.YM.POWERBI_DASHBOARD_VISIBILITY_URL).pipe((0,He.T)(pe=>this.mapBackendResponseToVisibility(pe)),(0,Ne.W)(pe=>(0,Bi.of)(this.getDefaultVisibility())),(0,Ai.t)(1))),this.visibility$}mapBackendResponseToVisibility(pe){const Ye=pe.showLeadershipDashboard,Vt=pe.showEmployerContactsDashboard;return{showReportsMenu:pe.showReportsMenu,showEmployerContactsDashboard:pe.showEmployerContactsDashboard,showLeadershipDashboard:pe.showLeadershipDashboard,showBothDashboards:pe.showBothDashboards,dashboardCount:this.countVisibleDashboards(Vt,Ye),scenario:pe.scenario,flags:{webEmployerContact:Vt,superUser:Ye}}}shouldShowReportsMenu(){return this.getDashboardVisibility().pipe((0,He.T)(pe=>pe.showReportsMenu))}hasAccessToDashboard(pe){return this.getDashboardVisibility().pipe((0,He.T)(Ye=>{switch(pe.toLowerCase()){case"employer-contacts":return Ye.showEmployerContactsDashboard;case"leadership":return Ye.showLeadershipDashboard;case"reports":return Ye.showReportsMenu;default:return!1}}))}getNavigationMenuItems(){return this.getDashboardVisibility().pipe((0,He.T)(pe=>{const Ye=[];if(Ye.push({id:"home",label:"navigation.home",icon:"fa-home",route:"/home",visible:!0}),pe.showReportsMenu){const Vt=[];pe.showEmployerContactsDashboard&&Vt.push({id:"employer-contacts",label:"dashboardCards.employerContacts.title",icon:"fa-users",route:"/my-absences/mgr-dashboard/employer-contacts",visible:!0}),pe.showLeadershipDashboard&&Vt.push({id:"leadership",label:"dashboardCards.leadership.title",icon:"fa-crown",route:"/my-absences/mgr-dashboard/leadership",visible:!0}),Vt.push({id:"powerbi-reports",label:"reportsDashboard.analyticsReports",icon:"fa-chart-bar",route:"/my-absences/mgr-dashboard/reports",visible:!0}),Ye.push({id:"reports",label:"navigation.reports",icon:"fa-chart-bar",route:"/my-absences/mgr-dashboard",visible:!0,badge:pe.dashboardCount.toString(),children:Vt})}return Ye.push({id:"my-absences",label:"navigation.myAbsences",icon:"fa-calendar",route:"/my-absences",visible:!0}),Ye}))}getDashboardCards(){return this.getDashboardVisibility().pipe((0,He.T)(pe=>{const Ye=[];return pe.showEmployerContactsDashboard&&Ye.push({id:"employer-contacts",title:"dashboardCards.employerContacts.title",description:"dashboardCards.employerContacts.description",icon:"fa-users",route:"/my-absences/mgr-dashboard/employer-contacts",color:"#667eea",features:["reportsDashboard.employerContactsFeatures.metrics","reportsDashboard.employerContactsFeatures.history","reportsDashboard.employerContactsFeatures.performance"]}),pe.showLeadershipDashboard&&Ye.push({id:"leadership",title:"dashboardCards.leadership.title",description:"dashboardCards.leadership.description",icon:"fa-crown",route:"/my-absences/mgr-dashboard/leadership",color:"#764ba2",features:["reportsDashboard.leadershipFeatures.kpis","reportsDashboard.leadershipFeatures.health","reportsDashboard.leadershipFeatures.reporting"]}),pe.showReportsMenu&&Ye.push({id:"powerbi",title:"dashboardCards.analytics.title",description:"dashboardCards.analytics.description",icon:"fa-chart-bar",route:"/my-absences/mgr-dashboard/reports",color:"#f6ad55",features:["reportsDashboard.powerBIFeatures.analytics","reportsDashboard.powerBIFeatures.visualizations"]}),Ye}))}countVisibleDashboards(pe,Ye){let Vt=0;return pe&&Vt++,Ye&&Vt++,Vt}determineScenario(pe,Ye){return pe&&Ye?e.ww.SCENARIO_BOTH_DASHBOARDS:Ye?e.ww.SCENARIO_LEADERSHIP_ONLY:pe?e.ww.SCENARIO_EMPLOYER_CONTACTS_ONLY:e.ww.SCENARIO_NO_ACCESS}getDashboardOptions(){return this.getDashboardVisibility().pipe((0,He.T)(pe=>{const Ye=[];return pe.showEmployerContactsDashboard&&Ye.push({id:"employer-contacts",title:"reportsDashboard.employerContacts",subtitle:"reportsDashboard.employerContactsSubtitle",icon:"business",route:"/my-absences/mgr-dashboard/employer-contacts"}),pe.showLeadershipDashboard&&Ye.push({id:"leadership",title:"reportsDashboard.leadership",subtitle:"reportsDashboard.leadershipSubtitle",icon:"trending_up",route:"/my-absences/mgr-dashboard/leadership"}),Ye}))}getSmartButtonConfig(){return this.getDashboardVisibility().pipe((0,He.T)(pe=>{if(!pe.showReportsMenu)return{visible:!1,buttonText:"",buttonStyle:"hidden",behavior:"none",dashboardOptions:[]};const Ye=this.buildDashboardOptionsSync(pe);return{visible:!0,buttonText:this.getButtonText(pe.scenario),buttonStyle:Ye.length>1?"multiple":"single",behavior:1===Ye.length?"direct":"dropdown",dashboardOptions:Ye,scenario:pe.scenario}}))}getDefaultVisibility(){return{showReportsMenu:!1,showEmployerContactsDashboard:!1,showLeadershipDashboard:!1,showBothDashboards:!1,dashboardCount:0,scenario:e.ww.SCENARIO_NO_ACCESS,flags:{web
1EmployerContact:!1,superUser:!1}}}buildDashboardOptionsSync(pe){const Ye=[];return pe.showEmployerContactsDashboard&&Ye.push({id:"employer-contacts",title:"reportsDashboard.employerContacts",subtitle:"reportsDashboard.employerContactsSubtitle",icon:"business",route:"/my-absences/mgr-dashboard/employer-contacts"}),pe.showLeadershipDashboard&&Ye.push({id:"leadership",title:"reportsDashboard.leadership",subtitle:"reportsDashboard.leadershipSubtitle",icon:"trending_up",route:"/my-absences/mgr-dashboard/leadership"}),Ye}getButtonText(pe){switch(pe){case e.ww.SCENARIO_EMPLOYER_CONTACTS_ONLY:return"reportsDashboard.buttons.employerReports";case e.ww.SCENARIO_LEADERSHIP_ONLY:return"reportsDashboard.buttons.leadershipReports";case e.ww.SCENARIO_BOTH_DASHBOARDS:return"reportsDashboard.buttons.viewReports";default:return"Reports"}}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(l.Qq))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}}return me})();I(9223);let Fe=(()=>{class me{constructor(pe){this.http=pe}chat(pe){return this.http.post(e.hP.planToolChatUrl,pe).pipe((0,Ne.W)(this.handleError))}handleError(pe){return(0,ft.$)(pe)}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(l.Qq))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}}return me})(),C=(()=>{class me{constructor(pe){this.http=pe}project(pe){return this.http.post(e.hP.leavePlanProjectionUrl,pe).pipe((0,Ne.W)(this.handleError))}handleError(pe){return(0,ft.$)(pe)}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(l.Qq))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}}return me})(),U=(()=>{class me{constructor(pe){this.http=pe}chat(pe){return this.http.post(e.hP.abibotChatUrl,pe).pipe((0,Ne.W)(this.handleError))}handleError(pe){return(0,ft.$)(pe)}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(l.Qq))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}}return me})(),he=(()=>{class me{constructor(pe){this.http=pe,this.cache$=null}getResources(){return this.cache$||(this.cache$=this.http.get(e.hP.abibotResourcesUrl).pipe((0,Ai.t)(1))),this.cache$}resolveDocumentUrl(pe){return this.http.post(e.hP.abibotResourceUrlUrl,{pdf_blob_path:pe})}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(l.Qq))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}}return me})(),Ue=(()=>{class me{constructor(pe){this.service=pe}resolve(pe,Ye){return this.service.getLetterAttachments()}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(Dn))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac})}}return me})(),ht=(()=>{class me{constructor(pe){this.service=pe}resolve(pe,Ye){return this.service.getCommunicationMaterials()}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(hs))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac})}}return me})(),$t=(()=>{class me{constructor(pe){this.loginService=pe}resolve(pe,Ye){return this.loginService.getPublicUserInfo()}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(L))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}}return me})(),un=(()=>{class me{constructor(pe){this.service=pe}resolve(pe,Ye){return this.service.getLeaveRequestDescription2(!1)}static{this.\u0275fac=function(Ye){return new(Ye||me)(m.KVO(M.I))}}static{this.\u0275prov=m.jDH({token:me,factory:me.\u0275fac})}}return me})()},4977:(We,Q,I)=>{"use strict";I.d(Q,{W:()=>m});var l=I(3217),e=I(4438);let m=(()=>{class b{constructor(S){this.service=S}resolve(S,p){let M=S.queryParamMap.get("mapTypes");return this.service.getCodeMap(M)}static{this.\u0275fac=function(p){return new(p||b)(e.KVO(l.I))}}static{this.\u0275prov=e.jDH({token:b,factory:b.\u0275fac})}}return b})()},9223:(We,Q,I)=>{"use strict";I.d(Q,{r:()=>p});var l=I(1626),e=I(8810),m=I(9437),b=I(253),y=I(6483),S=I(4438);let p=(()=>{class M{constructor(B){this.http=B,this.codeMapCache=new Map,this.codeListCache=new Map}getCodeMap(B){return this.cached(this.codeMapCache,y.hP.codeUrl,B)}getCodeList(B){return this.cached(this.codeListCache,y.hP.codeListUrl,B)}
1clear(){this.codeMapCache.clear(),this.codeListCache.clear()}cached(B,G,Y){const q=`${Y}|${this.currentLocaleId()}`,ee=B.get(q);if(ee)return ee;let oe=new l.Nl;oe=oe.set("inputCodes",Y);const se=this.http.get(G,{params:oe}).pipe((0,m.W)(xe=>(B.delete(q),(0,e.$)(()=>xe))),(0,b.t)({bufferSize:1,refCount:!1}));return B.set(q,se),se}currentLocaleId(){try{return JSON.parse(sessionStorage.getItem(y.YM.USER_INFO)||"{}")?.localeId??y.YM.ENGLISH_LOCALE_ID}catch{return y.YM.ENGLISH_LOCALE_ID}}static{this.\u0275fac=function(G){return new(G||M)(S.KVO(l.Qq))}}static{this.\u0275prov=S.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}}return M})()},9252:(We,Q,I)=>{"use strict";I.d(Q,{K:()=>l});const l=e=>!e||!e.canDeactivate||e.canDeactivate()},3852:(We,Q,I)=>{"use strict";I.d(Q,{K:()=>m});var l=I(6483),e=I(4438);let m=(()=>{class b{constructor(){this.productName="",this.reinitialize()}reinitialize(){const S=JSON.parse(sessionStorage.getItem(l.YM.DOMAIN_INFO));this.productName=S?.pageElementsNg?.productName||"",this.localId=S?.localeId,this.isBaseDomain=this.productName===l.YM.ABSENCE_RESOURCES,this.centerEmailAddress=this.isBaseDomain?l.YM.AR_CENTER_EMAIL:l.YM.FMLA_CENTER_EMAIL,this.baseDomainName=this.isBaseDomain?l.YM.ABSENCE_RESOURCES:l.YM.FMLASOURCE,this.params={baseDomainName:this.baseDomainName,centerEmailAddress:this.centerEmailAddress}}getLocaleId(){return null!==sessionStorage.getItem(l.YM.LOCALE_ID)?+sessionStorage.getItem(l.YM.LOCALE_ID):this.localId}static{this.\u0275fac=function(p){return new(p||b)}}static{this.\u0275prov=e.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})()},3217:(We,Q,I)=>{"use strict";I.d(Q,{I:()=>S});var l=I(1626),m=(I(773),I(6483)),b=I(9223),y=I(4438);let S=(()=>{class p{constructor($,B){this.http=$,this.codeCache=B}getLeaveRequestDescription(){return this.http.get(`${m.hP.leaveRequestDescriptionUrl}`).pipe()}getLeaveRequestDescription2($){return this.http.get(`${m.hP.leaveRequestDescriptionUrl2}/${$}`).pipe()}viewLeaveRequests(){return this.http.get(`${m.hP.leaveRequestsUrls}`).pipe()}getDisabilityClaimDetails($){return this.http.get(`${m.hP.disabilityClaimDetails}/${$}`).pipe()}getRecentLeaves($){return this.http.get(`${m.hP.recentLeaves}/${$}`).pipe()}getLeavePlanTimes($,B){return this.http.get(`${m.hP.recentLeaves2}/${$}/${B}`).pipe()}getleavePlans(){return this.http.get(`${m.hP.leavePlans}`).pipe()}getleavePlanDetails($){return this.http.get(`${m.hP.leavePlanDetails}/${$}`).pipe()}getCodeMap($){return this.codeCache.getCodeMap($)}getCodeList($){return this.codeCache.getCodeList($)}getLeaveDetails($){return this.http.get(`${m.hP.leaveTimeDetails}/${$}`)}hasLatter($){return this.http.get(`${m.hP.hasLatters}/${$}`)}
1getAnticipatedReturnToWork($,B){let G=new l.Nl;return G=G.set("leaveID",$),G=G.set("decisionEndDate",B),this.http.get(`${m.hP.anticipatedDate}`,{params:G})}updateDecisionEndDate($){return this.http.post(`${m.hP.decisionEndDate}`,$)}updateDelivery($){return this.http.put(`${m.hP.updateDelivery}`,$)}updatePlacement($){return this.http.put(`${m.hP.updatePlacement}`,$)}updateHcp($){return this.http.post(`${m.hP.updateHcp}`,$)}static{this.\u0275fac=function(B){return new(B||p)(y.KVO(l.Qq),y.KVO(b.r))}}static{this.\u0275prov=y.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})()},1171:(We,Q,I)=>{"use strict";I.d(Q,{F:()=>b});var l=I(6483),e=I(4438),m=I(1626);let b=(()=>{class y{constructor(p){this.http=p}submitRequestCoaching(p,M){const $=new FormData;for(let B=0;B<p.files.length;B++)$.append("files",p.files[B],p.files[B].name);return $.append("leaveReqId",p.leaveReqId),$.append("leaveReason",p.leaveReason),$.append("comments",p.comments),$.append("wpaId",p.wpaId),$.append("wpaCondition",p.wpaCondition),this.http.post(`${l.hP.submitRequestCoachingUrl}`,$)}static{this.\u0275fac=function(M){return new(M||y)(e.KVO(m.Qq))}}static{this.\u0275prov=e.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}}return y})()},5657:(We,Q,I)=>{"use strict";I.d(Q,{e:()=>b});var l=I(1626),e=I(6483),m=I(4438);let b=(()=>{class y{constructor(p){this.http=p}getSchedulableReports(p){let M=new l.Nl;return M=M.set("retrieveSchedulableReportTemplates",!0),M=M.set("orgId",p),this.http.get(`${e.hP.adminReports}`,{params:M})}getCorporateContacts(p){let M=new l.Nl;return M=M.set("orgId",p),this.http.get(`${e.hP.corporateContacts}`,{params:M})}getSubAccounts(){return this.http.get(`${e.hP.subAccounts}`).pipe()}updateReportRecipients(p){return this.http.put(`${e.hP.updateReportRecipients}`,p,{observe:"response"})}getReportNames(){return this.http.get(`${e.hP.reportNames}`)}static{this.\u0275fac=function(M){return new(M||y)(m.KVO(l.Qq))}}static{this.\u0275prov=m.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}}return y})()},6857:(We,Q,I)=>{"use strict";I.d(Q,{n:()=>b});var l=I(6483),e=I(4438),m=I(1626);let b=(()=>{class y{constructor(p){this.http=p}getWorkPlaceAccommodations(){return this.http.get(`${l.hP.workplaceAccommodationsUrl2}`).pipe()}getWorkPlaceAccommodation(p){return this.http.get(`${l.hP.workplaceAccommodationUrl}/${p}`).pipe()}getAllDecisionStatusReasonCodes(){return this.http.get(`${l.hP.wpaDecisionReasons}`).pipe()}updateWpaDecisionCost(p){return this.http.put(`${l.hP.wpaDecisionCost}`,p)}updateWpaDecisionEndDate(p){return this.http.put(`${l.hP.wpaDecisionEndDate}`,p)}updateWpaDecisionStartDate(p){return this.http.put(`${l.hP.wpaDecisionStartDate}`,p)}addAccommodationType(p){return this.http.put(`${l.hP.addAccommodationType}`,p)}submitWpaDecision(p){return this.http.put(`${l.hP.wpaFullDecision}`,p)}submitPartialWpaDecisions(p){return this.http.put(`${l.hP.wpaPartialDecision}`,p)}hasWpaLetter(p){return this.http.get(`${l.hP.hasWpaLetters}/${p}`)}static{this.\u0275fac=function(M){return new(M||y)(e.KVO(m.Qq))}}static{this.\u0275prov=e.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}}return y})()},6483:(We,Q,I)=>{"use strict";I.d(Q,{WU:()=>l,YM:()=>e,ww:()=>b,AG:()=>xe,wZ:()=>m,tB:()=>ee,LE:()=>Y,HW:()=>q,sb:()=>y,a9:()=>G,UR:()=>B,Yx:()=>$,wn:()=>M,Zh:()=>p,wr:()=>S,vu:()=>ie,A$:()=>Le,hP:()=>se});let l=(()=>{class L{static{this.fmlaSourse="fmlaSource"}static{this.absenceResources="AbsenceResources"}static{this.absenceNow="absenceNow"}static{this.voya="voya"}static{this.absencepro="moo"}static{this.dearborn="dearborngroupams"}static{this.sunlife="sunlife"}static{this.principal="principal"}static{this.bcbsil="bcbsil"}static{this.bcbstx="bcbstx"}}return L})();class e{static{this.LOCALE_ID="localeId"}static{this.USER_PRIVILEGE="userPrivilege"}static{this.TOKEN_COOKIE="TOKEN_COOKIE"}static{this.ENGLISH_US="en"}static{this.SPANISH_US="es"}static{this.COUNTRY_US="US"}static{this.ENGLISH_DISP="English"}static{this.SPANISH_DISP="Espa\xf1ol"}static{this.ENGLISH_US_LOCALE=e.ENGLISH_US+"_"+e.COUNTRY_US}static{this.SPANISH_US_LOCALE=e.SPANISH_US+"_"+e.COUNTRY_US}static{this.ENGLISH_LOCALE_ID=0}static{this.SPANISH_LOCALE_ID=1}static{this.RTWSuccess="0"}static{this.ExtentionSuccess="1"}static{this.RTWError="-1"}static{this.ExtentionError="-2"}static{this.USER_INFO="userInfo"}static{this.USERNAME="username"}static{this.DOMAIN_INFO="domainInfo"}static{this.HAS_EAP_INFO="hasEAPInfo"}static{this.HAS_DISABILITY_CLAIM="hasDisabilityClaim"}static{this.CAN_VIEW_WPA="canViewWPA"}static{this.ABSENCE_REASON_CODE_ID_EPISODE_INCAPCITY=371}static{this.ABSENCE_REASON_CODE_ID_EPISODE_TREATMENT=372}static{this.FMLA_LOGIN_PAGE_URL="/fmlaNg/#/login"}static{this.FMLA_LOGIN="/login"}static{this.SUNLIFE_DOMAIN_ID=4}static{this.CONTINUOUS_FREQUENCY=202}static{this.REDUCED_FREQUENCY=203}static{this.INTERMIITTENT_FREQUENCY=204}static{this.FSP_STATUS_PROTECTED=308}static{this.FSP_DECISION_STATUS_REQUESTED=38}static{this.FSP_DECISION_STATUS_CANCELLED=45}static{this.FSP_DECISION_STATUS_APPROVED=37}static{this.FSP_DECISION_STATUS_DENIED=39}static{this.FSP_DECISION_STATUS_CLOSED=36}static{this.MAX_DECISION_ENTRIES=3}static{this.STATUS_LATE_TRACKING=11271}
1static{this.STATUS_UNPROTECTED=11273}static{this.STATUS_NOT_COVERED=11274}static{this.STATUS_DENIED=11276}static{this.ALL_OPEN_LEAVES_REPORT=111768}static{this.ALL_ACTIVE_LEAVES_REPORT=11071}static{this.LEAVE_USAGE_REPORT=11066}static{this.FREQUENCY_ABSENCE_REPORT=11073}static{this.LATE_TRACK_REPORT=11067}static{this.CLOSED_LEAVES_REPORT=11072}static{this.CASE_ACTIVITY_REPORT=111888}static{this.EMP_LEAVE_TIME_USAGE=11070}static{this.LEAVE_REQUEST_STATUS_REPORT=11065}static{this.RETURN_TO_WORK_REPORT=11068}static{this.LEAVE_EXHAUSTION_REPORT=112176}static{this.DENIED_DECISION_REPORT=112179}static{this.EXCLUDED_ADMIN_REPORTS=[e.LEAVE_EXHAUSTION_REPORT,e.DENIED_DECISION_REPORT]}static{this.REPORT_RUNNING="RUNNING"}static{this.REPORT_COMPLETE="COMPLETE"}static{this.REPORT_FAILURE="FAILURE"}static{this.EMPL_SICK_ABS_REASON=367}static{this.INCIDENTAL_SEARCH_RESULT="incidentalSearchResult"}static{this.PARENTAL_LEAVE=131}static{this.BIOLOGICAL_CHILD=11182}static{this.ADOPTION=11183}static{this.FOSTER=11184}static{this.MATERNITY_LEAVE=129}static{this.PERSONAL_LEAVE=125}static{this.MATERNITY_AND_PARENTAL_LEAVE=134}static{this.OTHER_WPA_TYPE_ID=111910}static{this.OTHER_CONDITION=11028}static{this.PREGNANCY_RELATED_CONDITION=112125}static{this.LACTATION=112126}static{this.LEAVE_REQUEST_STATUS_CLOSED=36}static{this.LEAVE_REQUEST_STATUS_ARCHIVED=68}static{this.LEAVE_REQUEST_STATUS_CANCELLED=60}static{this.LEAVE_REQUEST_STATUS_ERROR=61}static{this.FAX_PHONE_TYPE=27}static{this.WORK_PHONE_TYPE=24}static{this.MOBILE_PHONE_TYPE=25}static{this.HOME_PHONE_TYPE=23}static{this.HOME_PHONE="Home"}static{this.MOBILE_PHONE="Mobile"}static{this.PHONE_NUMBER="PHONE_NUMBER"}static{this.MAILING_ADDRESS="MAILING_ADDRESS"}static{this.EMAIL_ADDRESS="EMAIL_ADDRESS"}static{this.FREQUENCY_CODE_ID_INTERMITTENT=204}static{this.FREQUENCY_CODE_ID_REDUCED=203}static{this.FREQUENCY_CODE_ID_CONTINUOUS=202}static{this.END_OF_LEAVE_CONFIRMED_APPROVED=211}static{this.END_OF_LEAVE_CONFIRMED_DENIED=263}static{this.END_OF_LEAVE_CONFIRMED_REQUESTED=265}static{this.AUTOMATED_PHONE_CALL=11285}static{this.TEXT_AND_EMAIL=11284}static{this.EMAIL_ONLY=11283}static{this.OPT_OUT=11286}static{this.YES="Yes"}static{this.NO="No"}static{this.SENDMYCORRESPONDENCEBY_POSTAL_ONLY=342}static{this.SENDMYCORRESPONDENCEBY_EMAIL_ONLY=343}static{this.SENDMYCORRESPONDENCEBY_BOTH_POSTAL_AND_EMAIL=344}static{this.EMPLOYEE_TIMEOUT=890}static{this.MGR_TIMEOUT=1790}static{this.SUPER_USER_TIMEOUT=3590}static{this.PUBLIC_FAQs="publicFaqs"}static{this.PUBLIC_CONTACT_US="publicContactUs"}static{this.HEALTH_STATUS="healthStatus"}static{this.EMPLOYEE_NOTE="EMPLOYEE_NOTE"}static{this.LEAVE_REQUEST_NOTE="LEAVE_REQUEST_NOTE"}static{this.FORGOT_USERNAME="forgotUsername"}static{this.FORGOT_PASSWORD="forgotPassword"}static{this.TERMS_USE="termsUse"}static{this.REGISTRATION="registration"}static{this.LOGIN="login"}static{this.SUPPORTED_BROWSERS="supportedBrowsers"}static{this.FORCE_CHANGE_PASSWORD="forceChangePassword"}static{this.SESSION_EXPIRED="sessionExpired"}static{this.SSO_ERROR="ssoError"}static{this.SSO_LOGOUT="ssoLogout"}static{this.WEBVIEW_ERROR="webviewError"}static{this.ERROR_PAGE="error-page"}static{this.FORCE_UPDATE_SECURITY_QUESTIONS="force-update-security-questions"}static{this.TEMP_USER_PAGES=[e.FORCE_CHANGE_PASSWORD,e.FORCE_UPDATE_SECURITY_QUESTIONS]}static{this.PUBLIC_PAGES_ARRAY=[e.PUBLIC_FAQs,e.PUBLIC_CONTACT_US,e.HEALTH_STATUS,e.FORGOT_USERNAME,e.FORGOT_PASSWORD,e.LOGIN,e.TERMS_USE,e.SESSION_EXPIRED,e.SSO_ERROR,e.SSO_LOGOUT,e.WEBVIEW_ERROR,e.ERROR_PAGE,e.SUPPORTED_BROWSERS,e.REGISTRATION]}static{this.COMPANY_LEAVE="Company Leave"}static{this.ORGANIZATION="ORGANIZATION"}static{this.CONTACT_PERSON="CONTACT_PERSON"}static{this.EMPLOYEE_ABSENT_LIST="employeesAbsentList"}static{this.ACTION_NEEDED_BY_YOU_LIST="actionsNeededByYouList"}static{this.EMPLOYEES_ABSENT="EMPLOYEES_ABSENT"}static{this.EMPLOYEES_WITH_APPROVED_LEAVE="EMPLOYEES_WITH_APPROVED_LEAVE"}static{this.EMPLOYEES_WITH_PENDING_LEAVE="EMPLOYEES_WITH_PENDING_LEAVE"}static{this.LEAVES_ENDING="LEAVES_ENDING"}static{this.ACTIONS_NEEDED_BY_YOU="ACTIONS_NEEDED_BY_YOU"}static{this.MATERNITY_AND_PARENTAL_LEAVE_REASON_ID=134}static{this.WEBSITE_REPORT_NAME_MAP="WebsiteReportNameMap"}static{this.WORK_PLACE_ACCOMMODATION_REASON_CERTIFICATION_NEEDED=10}static{this.FSP_WPA_NOTE_SUBCATEGORY_ADJUST_COST_ID=112128}static{this.FSP_WPA_NOTE_SUBCATEGORY_ADDITIONAL_ACCOMMODATION_TYPE_ID=112129}static{this.FSP_WPA_NOTE_SUBCATEGORY_ADJUST_START_DATE=112130}static{this.FSP_WPA_NOTE_SUBCATEGORY_REQUEST_EXTENSION=111966}static{this.FSP_WPA_NOTE_SUBCATEGORY_SUBMIT_DECISION_TYPE_ID=112142}static{this.FMLA_PLAN_TYPE=11207}static{this.STATE_PLAN_TYPE=11208}static{this.COMPANY_PLAN_TYPE=11209}static{this.MILITARY_PLAN_TYPE=11210}static{this.ADA_PLAN_TYPE=11211}static{this.CANADIAN_PLAN_TYPE=11212}static{this.COUNTY_PLAN_TYPE=11287}static{this.CITY_PLAN_TYPE=11288}static{this.PAID_LEAVE_PLAN_TYPE=111891}static{this.FSP_SPANISH_LANGUAGE=12}static{this.FSP_ENGLISH_LANGUAGE=82}static{this.VIDYARD_URL="vidyard.com"}static{this.CONFIRMATION_MSG_SUCCESS="confirmationMessageSuccess"}static{this.CONFIRMATION_MSG_FAILURE="confirmationMessageFailure"}static{this.ALL="all"}static{this.FSP_NOTES_CATEGORY_WEBSITE_UPDATE_ID=111958}static{this.FSP_NOTES_SUB_CATEGORY_HR_REVIEW_NEEDED_ID=112046}static{this.FSP_NOTES_SUB_CATEGORY_EMPLOYER_REVIEW_NEEDED_ID=112047}static{this.LETTER_TYPE=111972}static{this.DOCUMENTATION_TYPE=111973}static{this.REDACTION_CONFIDENCE_HIGH="high"}static{this.REDACTION_CONFIDENCE_MEDIUM="medium"}static{this.REDACTION_CONFIDENCE_LOW="low"}static{this.SHOW_ALL=1}static{this.SHOW_NONE=-1}static{this.ACCOMMODATIONS_FACT_SUMMARY_DOCUMENT_ID=112109}static{this.WPA="wpa"}static{this.LEAVE="leave"}static{this.UNKNOWN="Unknown"}static{this.ADD="add"}static{this.UPDATE="update"}static{this.WPA_NULL_END_DATE_UTILITY_YEAR=2200}static{this.COUNTRY_UNITED_STATES="840"}static{this.FMLA_WPA_REQUEST_TYPE="accommodation"}static{this.FMLA_SOURCE_ADA_COMPREHENSIVE_PRODUCT=111922}static{this.RTW_FFD_PRODUCT_ID=112147}static{this.POWERBI_API_BASE="/FMLAWeb/api/powerbi"}static{this.POWERBI_CHECK_ACCESS_URL="/FMLAWeb/api/powerbi/check-access"}static{this.POWERBI_TOKEN_URL="/FMLAWeb/api/powerbi/token"}static{this.POWERBI_DASHBOARD_VISIBILITY_URL="/FMLAWeb/api/powerbi/dashboard-visibility"}static{this.POWERBI_EXPORT_START_URL="/FMLAWeb/api/powerbi/export/start"}static{this.POWERBI_EXPORT_STATUS_URL="/FMLAWeb/api/powerbi/export/status"}
1static{this.POWERBI_EXPORT_DOWNLOAD_URL="/FMLAWeb/api/powerbi/export/download"}static{this.COPYRIGHT_TEXT="ComPsych\xae Corporation or its affiliates"}static{this.FMLA_CENTER_EMAIL="[email protected]"}static{this.AR_CENTER_EMAIL="[email protected]"}static{this.FMLASOURCE="FMLASource"}static{this.ABSENCE_RESOURCES="AbsenceResources"}static{this.ABSENCE_RESOURCES_DOT_COM="absenceresources.com"}static{this.FEEDBACK_ERROR_MESSAGE="feedback.error"}static{this.AMS="ams"}static{this.BCBS="bcbs"}static{this.DEARBORN="dearborn"}static{this.MOO="moo"}static{this.PRINCIPAL="principal"}static{this.SUNLIFE="sunlife"}static{this.VOYA="voya"}static{this.ABSENCE_MGMT="absencemgmt"}static{this.LOCALHOST="localhost"}static{this.PARTNER_NAMES=[e.AMS,e.BCBS,e.DEARBORN,e.MOO,e.PRINCIPAL,e.SUNLIFE,e.VOYA,e.ABSENCE_MGMT]}static{this.SUCCESS=1}static{this.FAILURE=-1}static{this.USERNAME_REGEX=/^[A-Za-z0-9\-_@$&^#\.]{6,16}$/}static{this.EMAIL_REGEX=/^[A-Z0-9._%+-]+@(?![.])[A-Z0-9.-]+\.[A-Z]{2,}$/i}static{this.PHONE_REGEX=/^\(\d{3}\) \d{3}-\d{4}$/}static{this.LETTER_REGEX=/[a-zA-Z]/}static{this.FORGOT_PASSWORD_VALIDATION_ERROR_KEY_PROFILE_NOT_MATCH="profileNotMatch"}static{this.FORGOT_PASSWORD_NON_PERSISTENT_ERROR_MESSAGES=[e.FORGOT_PASSWORD_VALIDATION_ERROR_KEY_PROFILE_NOT_MATCH]}static{this.REGISTRATION_STATE="registrationState"}}var m=function(L){return L[L.CERT_FORM=0]="CERT_FORM",L[L.DOC_NOTE=1]="DOC_NOTE",L[L.STD_FORM=2]="STD_FORM",L[L.INFO_FORM=3]="INFO_FORM",L[L.ADA=4]="ADA",L[L.RTW=5]="RTW",L[L.COVID_RESULT=6]="COVID_RESULT",L[L.BEREAVEMENT=7]="BEREAVEMENT",L[L.JURY_DUTY=8]="JURY_DUTY",L[L.MILITARY=9]="MILITARY",L[L.BIRTH=10]="BIRTH",L[L.STATE_PAID=11]="STATE_PAID",L[L.ADA_COMPREHENSIVE=12]="ADA_COMPREHENSIVE",L[L.PERSONAL_LEAVE=14]="PERSONAL_LEAVE",L}(m||{});const b={SCENARIO_EMPLOYER_CONTACTS_ONLY:1,SCENARIO_LEADERSHIP_ONLY:2,SCENARIO_BOTH_DASHBOARDS:3,SCENARIO_NO_ACCESS:4};let y=(()=>{class L{static{this.VIEW_DASHBOARD="4"}static{this.LOAD_REPORT_TIME="25"}static{this.VIEW_DISABILITY_CLAIM="17"}static{this.WORK_ON_BEHALF_OF_EMPLOYEE="12"}static{this.CONTACT_PAGE="15"}static{this.FAQ_PAGE="16"}static{this.REPORT_INCIDENTAL="18"}static{this.VIEW_DOCUMENTATION="71"}static{this.VIEW_NOTES="79"}static{this.ADD_NOTES="80"}static{this.VIEW_CASE_ACTIVITY="81"}static{this.VIEW_SUBMIT_DECISION="82"}static{this.SUBMIT_DECISION="83"}static{this.VIEW_REPORT_RECIPIENT="84"}static{this.UPDATE_REPORT_RECIPIENT="85"}static{this.SUBMIT_WORKPLACE_ACCOMMODATION="86"}static{this.VIEW_ACCOUNT_LETTER_ATTACHMENTS="87"}static{this.VIEW_ACCOUNT_COMMUNICATION_MATERIALS="88"}static{this.DOWNLOAD_COMMUNICATION_MATERIAL="89"}static{this.VIEW_COMMUNICATION_MATERIAL_VIDEO="90"}static{this.VIEW_WORKPLACE_ACCOMMODATION="91"}static{this.VIEW_NOTIFICATION_HISTORY="92"}static{this.VIEW_DOCUMENTATION_EVENT_MSG="Viewing Document/Letter PDF for LeaveRequestId: "}static{this.WORK_ON_BEHALF_EVENT_MSG="Loading Work on Behalf Of Search Screen"}static{this.MGR_DASHBOARD_EVENT_MSG="User viewing dashboard for manager"}static{this.REPORT_TIME_EVENT_MSG="Loading Report Time"}static{this.REPORT_INCIDENTAL_EVENT_MSG="Loading Report Incidental Absence Search Screen"}static{this.VIEW_DISABILITY_CLAIM_EVENT_MSG="Viewing disability claim"}static{this.MY_ABSENCES_EMP_EVENT_MSG="User viewing dashboard for employee "}static{this.MY_ABSENCES_MGR_EVENT_MSG="Manager's dashboard for user: "}static{this.MGR_DASHBOARD_FOR_DATE_RANGE_MSG="Manager's dashboard date range change for user: "}static{this.MGR_DASHBOARD_FOR_MY_TEAM_MSG="Manager's dashboard my team change for user: "}static{this.MGR_DASHBOARD_FAILED_MSG="Manager's dashboard failed to load for user: "}static{this.MGR_DASHBOARD_FILTERS_USED_FOR_MSG="Manager's dashboard filters used for user: "}static{this.VIEW_PORTAL_METRIC_DETAILS_MSG="Manager's dashboard metric details"}static{this.VIEW_LEAVE_TIME_LOAD="Loading View Time page"}static{this.VIEW_LEAVE_TIME_BALANCES_TEXT="View Leave Time Balances"}static{this.VIEW_REPORT_STEP_1="Viewing Report Step1"}static{this.VIEW_REPORT_STEP_2="Viewing Report Step2"}static{this.RUN_REPORT="Ran Report"}static{this.USER_VIEWING_THE_NOTES_PAGE_MSG="User viewing employee notes"}static{this.USER_VIEWING_LEAVE_REQUEST_NOTES_MSG="User viewing leave request notes"}static{this.USER_ADDING_PUBLIC_NOTE_MSG="User adding public note"}static{this.USER_ADDING_PRIVATE_NOTE_MSG="User adding private note"}static{this.USER_VIEWING_EMPLOYEE_CASE_ACTIVITY_MSG="User viewing employee case activity"}static{this.USER_VIEWING_LEAVE_REQUEST_CASE_ACTIVITY_MSG="User viewing leave request case activity"}static{this.USER_VIEWING_SUBMIT_DECISION_PAGE_MSG="User viewing submit decision page"}static{this.USER_ATTEMPTING_TO_FULLY_APPROVE_DECISION_MSG="User attempting to fully approve decision"}static{this.USER_SUCCESSFULLY_APPROVED_DECISION_MSG="User successfully approved decision"}static{this.USER_ATTEMPTING_TO_FULLY_DENY_DECISION_MSG="User attempting to fully deny decision"}static{this.USER_SUCCESSFULLY_DENIAL_DECISION_MSG="User successfully denial decision"}static{this.USER_ATTEMPTING_TO_PARTIALLY_APPROVE_DENY_DECISION_MSG="User attempting to partially approve/deny decision"}static{this.USER_SUCCESSFULLY_MADE_PARTIAL_DECISION_MSG="User successfully made partial decision"}static{this.USER_VIEWING_REPORT_RECIPIENT_PAGE_FOR_SINGLE_ACCOUNT_MSG="User viewing report recipient page for single account"}static{this.USER_VIEWING_REPORT_RECIPIENT_PAGE_FOR_MULTIPLE_ACCOUNTS_MSG="User viewing report recipient page for multiple accounts"}static{this.USER_SELECTED_ACCOUNT_FOR_REPORT_RECIPIENTS_PAGE_MSG="User selected account for report recipients page"}static{this.NO_ACCOUNT_CONTACTS_MSG="No account contacts"}static{this.ERROR_GETTING_REPORT_NAMES="Error getting report names"}static{this.NO_ENABLED_REPORTS_MSG="No enabled reports"}static{this.USER_VIEWING_REPORT_RECIPIENTS_FOR_REPORT_NAME_MSG="User viewing report recipients for "}static{this.REPORT_RECIPIENTS_UPDATED_FOR_REPORT_NAME_MSG="Report recipients updated for "}static{this.USER_VIEWING_SUBMIT_WORKPLACE_ACCOMMODATION_PAGE_MSG="User viewing submit workplace accommodation page"}static{this.USER_ATTEMPTING_TO_SUBMIT_WORKPLACE_ACCOMMODATION_MSG="User attempting to submit workplace accommodation"}static{this.USER_SUCCESSFULLY_SUBMITTED_WORKPLACE_ACCOMMODATION_MSG="User successfully submitted workplace accommodation"}static{this.USER_VIEWING_LETTER_ATTACHMENTS_MSG="User viewing letter attachments"}static{this.USER_VIEWING_LETTER_ATTACHMENT_PDF_FOR_ACCOUNT_ID_MSG="User viewing letter attachment PDF for AccountId: "}static{this.USER_VIEWING_LETTER_ATTACHMENT_DOCUMENT_CONSTRAINTS_FOR_ACCOUNT_ID_MSG="User viewing letter attachment document constraints for AccountId: "}static{this.USER_VIEWING_COMMUNICATION_MATERIALS_MSG="User viewing communication materials"}static{this.USER_VIEWING_COMMUNICATION_MATERIAL_PDF_FOR_ACCOUNT_ID_MSG="User viewing communication material PDF for AccountId: "}static{this.USER_VIEWING_COMMUNICATION_MATERIAL_VIDEO_MSG="User viewing communication material video for AccountId: "}static{this.USER_VIEWING_WORKPLACE_ACCOMMODATION_MSG="User viewing workplace accommodation"}static{this.USER_VIEWING_EMPLOYEE_NOTIFICATION_HIST_MSG="User viewing notification history"}static{this.VIEW_DELETE_ACCOUNT_MSG="Delete Profile page view"}static{this.SUBMIT_DELETE_ACCOUNT_MSG="Delete Profile page submission"}static{this.VIEW_SUBMIT_DOCUMENT_MSG="User viewing Submit New Documentation page"}static{this.LEAVE_REQUEST_STEP_VALIDATION_ERROR="32"}static{this.LEAVE_REQUEST_HELP_VIEW="33"}static{this.ADD_LEAVE_REQUEST_STEP_1="19"}static{this.ADD_LEAVE_REQUEST_STEP_2="20"}static{this.ERROR_ADDING_LEAVE_REQUEST="23"}static{this.LEAVE_REQUEST_PARTNER_QUESTIONS="36"}static{this.LEAVE_REQUEST_NEXT_NAVIGATION_STEP="30"}static{this.LEAVE_REQUEST_PREVIOUS_NAVIGATION_STEP="31"}static{this.LEAVE_REQUEST_PTO_QUESTION_PAGE="73"}static{this.SUBMIT_PAPERWORK_ACK="78"}static{this.LEAVE_REQUEST_FEEDBACK_ADD_YES="34"}static{this.LEAVE_REQUEST_FEEDBACK_UPDATE="35"}static{this.LEAVE_REQUEST_FEEDBACK_ADD_NO="37"}static{this.PROFILE_PAGE="39"}static{this.VIEW_EAP="43"}static{this.VIEW_EAP_REGISTRATION="44"}static{this.VIEW_EAP_LOGIN="45"}static{this.VIEW_LEAVE_REQUEST="46"}static{this.VIEW_OPEN_LEAVE_REQ="47"}static{this.VIEW_CLOSE_LEAVE_REQ="48"}static{this.VIEW_ALL_LEAVE_REQ="49"}static{this.REPORT_TIME_REQ="25"}static{this.VIEW_TIME_USED_PAGE="68"}static{this.VIEW_LEAVE_TIME="69"}static{this.VIEW_LEAVE_TIME_BALANCES="70"}static{this.GENERATE_REPORT="11"}static{this.VIEW_LEAVE_REQUEST_DETAILS="6"}static{this.UPDATE_RETURN_TO_WORK_LOAD="62"}static{this.UPDATE_REQUEST_EXTENSION_LOAD="58"}static{this.UPDATE_REQUEST_EXTENSION_SUBMIT="59"}static{this.UPDATE_RETURN_TO_WORK_SUBMIT="63"}static{this.UPDATE_RETURN_TO_WORK_ERROR="64"}static{this.UPDATE_REQUEST_EXTENSION_ERROR="61"}static{this.UPDATE_DELIVERY_DETAIL_LOAD="50"}static{this.UPDATE_DELIVERY_DETAIL_SUBMIT="51"}static{this.UPDATE_DELIVERY_DETAIL_ERROR="56"}static{this.UPDATE_PLACEMENT_DETAIL_LOAD="52"}static{this.UPDATE_PLACEMENT_DETAIL_SUBMIT="53"}static{this.UPDATE_PLACEMENT_DETAIL_ERROR="57"}static{this.UPDATE_HCP_DETAIL_LOAD="54"}static{this.UPDATE_HCP_DETAIL_SUBMIT="55"}static{this.UPDATE_HCP_DETAIL_ERROR="65"}static{this.VIEW_LETTERS_PAGE="67"}static{this.UPDATE_ADJUST_START_DATE_LOAD="95"}static{this.UPDATE_ADJUST_START_DATE_SUBMIT="96"}static{this.UPDATE_ADJUST_START_DATE_ERROR="97"}static{this.UPDATE_WPA_COST_LOAD="98"}static{this.UPDATE_WPA_COST_SUBMIT="99"}static{this.UPDATE_WPA_COST_ERROR="100"}static{this.ADD_WPA_STEP_ONE="101"}static{this.ADDING_WPA_REQUEST_NEXT_NAVIGATION_STEP="102"}static{this.ADDING_WPA_REQUEST_PREVIOUS_NAVIGATION_STEP="103"}static{this.WORKPLACE_ACCOMMODATION_REQUEST_PDF_DOWNLOAD="104"}static{this.ADD_WORKPLACE_ACCOMMODATION_ERROR="105"}static{this.LOAD_NEW_ACCOMMODATION_TYPE="106"}static{this.SUBMIT_NEW_ACCOMMODATION_TYPE="107"}static{this.ERROR_NEW_ACCOMMODATION_TYPE="108"}static{this.ERROR_SUBMIT_DECISION="109"}static{this.NOTES_WORKBOOK_DOWNLOAD="110"}static{this.REPORT_USER_IN_DATA_VISUALIZATION_PAGE_EVENT_MSG="User is viewing the Data Visualizations page"}static{this.START_PDF_EXPORT="116"}
1static{this.EXPORT_DOWNLOAD_SUCCEEDED="112"}static{this.EXPORT_DOWNLOAD_FAILED="113"}static{this.CANCEL_EXPORT_DASHBOARD="114"}static{this.EXPORT_DASHBOARD_TYPE="115"}static{this.VIEW_DATA_VISUALIZATION="111"}static{this.REPORT_USER_INITIATED_EXPORT_OF_DASHBOARD_TO_PDF_EVENT_MSG="User clicked on Export as PDF button in Dashboard Page"}static{this.REPORT_EXPORT_SUCCESS_IN_DASHBOARD_PAGE_EVENT_MSG="PDF export downloaded successfully in Dashboard Page"}static{this.REPORT_EXPORT_ERROR_IN_DASHBOARD_PAGE_EVENT_MSG="PDF export failed in Dashboard Page"}static{this.REPORT_CANCEL_EXPORT_DASHBOARD_PAGE_EVENT_MSG="User cancelled PDF export in Dashboard Page"}static{this.REPORT_LOAD_DASHBOARD_WITH_WPA_EVENT_MSG="User exporting Dashboard with WPA"}static{this.REPORT_LOAD_DASHBOARD_WITHOUT_WPA_EVENT_MSG="User exporting Dashboard without WPA"}static{this.VIEW_PERSONAL_INFORMATION="View Personal Information"}static{this.ADD_MAILING_ADDRESS="Add Mailing Address"}static{this.UPDATE_MAILING_ADDRESS="Update Mailing Address"}static{this.VIEW_MAILING_ADDRESS="View Mailing Address"}static{this.MAILING_ADDRESS_SAVED="Mailing Address Saved"}static{this.ADD_PRIMARY_PHONE="Add Primary Phone"}static{this.UPDATE_PRIMARY_PHONE="Update Primary Phone"}static{this.VIEW_PRIMARY_PHONE="View Primary Phone"}static{this.PRIMARY_PHONE_SAVED="Primary Phone Saved"}static{this.ADD_EMAIL_ADDRESS="Add Email Address"}static{this.UPDATE_EMAIL_ADDRESS="Update Email Address"}static{this.VIEW_EMAIL_ADDRESS="View Email Address"}static{this.MAILING_EMAIL_SAVED="Mailing Email Saved"}static{this.USER_SUBMITTED_PAPERWORK_ACKNOWLEDGMENT="User Submitted Paperwork Acknowledgement"}static{this.NAVIGATE_TO_STEP="Navigation to step"}static{this.NAVIGATE_TO_PREVIOUS_STEP="Navigation to previous step"}static{this.STEP_ONE_PERSONAL_INFORMATION="Step 1 - Personal Information"}static{this.STEP_TWO_CONDITION="Step 2 - Condition"}static{this.STEP_THREE_CONDITION_DETAILS="Step 3 - Condition Details"}static{this.STEP_FOUR_WORKPLACE_ACCOMMODATION_DETAILS="Step 4 - Workplace Accommodation Details"}static{this.STEP_FIVE_HCP_DETAILS_PART_ONE="Step 5a - HCP Details"}static{this.STEP_SIX_HCP_DETAILS_PART_TWO="Step 5b - HCP Details"}static{this.STEP_SEVEN_FINAL_REVIEW="Step 6 - Final Review Step"}static{this.PDF_DOWNLOAD="Pdf download"}static{this.EMP_NOTES_WORKBOOK_DOWNLOAD="Exporting Employee Notes"}static{this.LEAVE_NOTES_WORKBOOK_DOWNLOAD="Exporting Leave Notes"}static{this.LOADING_DATA_FOR_NEW_ACCOMMODATION_TYPE="Loading Data for New Accommodation Type"}static{this.NEW_ACCOMMODATION_TYPE_SUBMITTED="New Accommodation Type Submitted"}static{this.VIEW_SUBMIT_DOCUMENT="74"}static{this.SUBMIT_DOCUMENT="75"}static{this.VIEW_DELETE_ACCOUNT="76"}static{this.SUBMIT_DELETE_ACCOUNT="77"}static{this.SUBMITTED_PAPERWORK_ACKNOWLEDGMENT="78"}static{this.VIEW_REQUEST_COACHING="93"}static{this.SUBMIT_REQUEST_COACHING="94"}static{this.USER_VIEWING_ACCOUNT_REQUEST_COACHING_MSG="User viewing Account level Accommodations Coaching Request"}static{this.USER_SUBMIT_ACCOUNT_REQUEST_COACHING_MSG="User submitted Account Level Accommodations Coaching Request"}static{this.USER_VIEWING_LEAVE_REQUEST_COACHING_MSG="User viewing Leave Level Accommodations Coaching Request"}static{this.USER_SUBMIT_LEAVE_REQUEST_COACHING_MSG="User submitted Leave Level Accommodations Coaching Request"}static{this.USER_VIEWING_WPA_REQUEST_COACHING_MSG="User viewing WPA Level Accommodations Coaching Request"}static{this.USER_SUBMIT_WPA_REQUEST_COACHING_MSG="User submitted WPA Level Accommodations Coaching Request"}static{this.USER_VIEWING_WPA_REQUEST_EXTENSION_MSG="Loading Data for WPA Extension Request"}static{this.USER_SUBMIT_WPA_REQUEST_EXTENSION_MSG="WPA Extension Request Submitted"}static{this.USER_VIEWING_WPA_ADJUST_START_DATE_MSG="Loading Data for WPA Adjust Start Date"}static{this.USER_SUBMIT_WPA_ADJUST_START_DATE_MSG="Adjust Start Date Submitted"}static{this.USER_WPA_EDIT_COST_MSG="Loading Data for WPA Cost"}static{this.USER_WPA_SUBMIT_COST_MSG="Update Cost is Submitted"}static{this.WPA_ERROR_MSG="There was an error submitting your request, please try again. If the error persists please contact us."}static{this.ACCOMMODATION_TYPE_NOT_SELECTED="Please select an Accommodation Type"}static{this.START_DATE_NOT_SELECTED="Please enter a Start Date"}static{this.START_DATE_OUT_OF_RANGE="Start date must be within the existing Date Range for this Request"}static{this.DATE_FORMAT_INVALID="Please enter in a valid date format: mm/dd/yyyy"}static{this.END_DATE_NOT_SELECTED="Please enter an End Date value"}static{this.END_DATE_BEFORE_START="Start Date must be on or before End Date."}static{this.END_DATE_BEFORE_START_DECISION="Start Date must be on or before End Date for the decision"}static{this.END_DATE_OUT_OF_RANGE="End date must be within the existing Date Range for this Request"}static{this.DECISION_DATES_CANNOT_OVERLAP="Decision date ranges cannot overlap"}static{this.DECISION_NOT_SELECTED="Please select a decision"}static{this.DECISION_REASON_NOT_SELECTED="Please select a decision reason"}static{this.DECISION_REASON_REQUIRED="Decision Reason is required."}static{this.DUPLICATE_ACCOMMODATION_TYPE="This request already has the selected accommodation type. Please select a different accommodation type, or if you would like to update the details of this accommodation please "}
1static{this.COST_NOT_ENTERED="Please enter a valid cost"}static{this.ERROR_PROCESSING_REQUEST="There was an error processing your request.  Please try again or restart the process."}static{this.CONDITION_DETAILS_REQUIRED="Please briefly provide details of your condition"}static{this.WORKERS_COMPENSATION_INDICATOR_REQUIRED="Please indicate if this request is related to workers' compensation"}static{this.LACTATION_NURSING_INDICATOR_REQUIRED="Please indicate if this request is related to lactation nursing"}static{this.REQUESTED_DATE_REQUIRED="A requested date must be selected"}static{this.FUTURE_DATE_INVALID="Date cannot be in the future"}static{this.OFFICE_PHONE_INVALID="Office phone must be 10 digits not including a leading 1 and can be in any format"}static{this.MOBILE_PHONE_INVALID="Mobile phone must be 10 digits not including a leading 1 and can be in any format"}static{this.FAX_PHONE_INVALID="Fax phone must be 10 digits not including a leading 1 and can be in any format"}static{this.FAX_FORM_INDICATOR_REQUIRED="Please specify if you want to fax forms now."}static{this.PROVIDER_NAME_REQUIRED_TO_FAX_FORMS="If you would like us to fax forms directly to the provider, please return to the previous step and enter a Fax number."}static{this.CONTACT_PROVIDER_INDICATOR_REQUIRED="Please select whether we can contact the provider"}static{this.MAILING_ADDRESS_REQUIRED="Please add a  Mailing Address. In order to create an accommodation, there must be a mailing address on file."}static{this.PHONE_NUMBER_REQUIRED="Please add a primary phone number. In order to create an accommodation, there must be a primary phone number on file."}static{this.EMAIL_ADDRESS_REQUIRED="Please add a personal email address. In order for us to contact the employee about their accommodation via email, there must be a personal email address on file."}static{this.UPDATE_PERSONAL_INFORMATION_ERROR="There was an error while updating your information, please try again"}static{this.CONTIGUOUS_DUPLICATE_NULL_REASON_ERROR="Consolidate the consecutive date ranges with the same decisions into one decision"}static{this.CONTIGUOUS_DUPLICATE_HAS_REASON_ERROR="Consolidate the consecutive date ranges with the same decisions and decision reasons into one decision and decision reason, or select different decision reasons"}static{this.EMAIL_ADDRESS_NOT_UNIQUE="The username and/or email address you entered are not unique.  Please try again.  If you need assistance, please contact {0} at {1}"}static{this.INVALID_EMAIL_ADDRESS="Invalid Email address"}static{this.UPDATE_EMAIL_GENERIC_ERROR="There was an error saving your email, please try again"}static{this.UPDATE_ADDRESS_ERROR="There was an error saving your address, please try again."}static{this.UPDATE_PHONE_NUMBERS_ERROR="There was an error saving your phones, please try again."}static{this.TERM_OF_USE="41"}static{this.USER_VIEWING_TERMS_PAGE_MESSAGE="User viewing Terms of Use page"}static{this.SUPPORTED_BROWSER="40"}static{this.USER_VIEWING_THE_SUPPORTED_BROWSER_PAGE_MSG="User viewing Supported Browsers page"}static{this.GENERAL_FEEDBACK="42"}static{this.USER_VIEWING_GENERAL_FEEDBACK_PAGE_MESSAGE="User viewing General Feedback page"}static{this.ABSENCE_CHAT_OPENED="117"}static{this.ABSENCE_CHAT_OPENED_TEXT="Absence chat opened"}static{this.ABSENCE_CHAT_FLOW_ENTERED="118"}static{this.ABSENCE_CHAT_FLOW_ENTERED_TEXT="Absence chat flow entered: "}static{this.ABSENCE_CHAT_FAQ_MATCH_SURFACED="119"}static{this.ABSENCE_CHAT_FAQ_MATCH_SURFACED_TEXT="Absence chat FAQ match surfaced"}static{this.ABSENCE_CHAT_RESOURCE_SURFACED="120"}static{this.ABSENCE_CHAT_RESOURCE_SURFACED_TEXT="Absence chat resource surfaced"}static{this.ABSENCE_CHAT_RESOURCE_OPENED="121"}static{this.ABSENCE_CHAT_RESOURCE_OPENED_TEXT="Absence chat resource opened: "}static{this.ABSENCE_CHAT_NLP_NO_MATCH="122"}static{this.ABSENCE_CHAT_NLP_NO_MATCH_TEXT="Absence chat NLP no match: "}static{this.ABSENCE_CHAT_NONE_OF_THESE_SELECTED="123"}static{this.ABSENCE_CHAT_NONE_OF_THESE_SELECTED_TEXT="Absence chat none of these selected: "}static{this.ABSENCE_CHAT_MESSAGE_RATED="124"}static{this.ABSENCE_CHAT_MESSAGE_RATED_TEXT="Absence chat message rated "}static{this.ABSENCE_CHAT_STAR_RATING="125"}static{this.ABSENCE_CHAT_STAR_RATING_TEXT="Absence chat session star rating: "}static{this.ABSENCE_CHAT_ESCALATION_INITIATED="126"}static{this.ABSENCE_CHAT_ESCALATION_INITIATED_TEXT="Absence chat escalation initiated: "}static{this.ABSENCE_CHAT_SELF_SERVICE_OUTCOME="127"}static{this.ABSENCE_CHAT_SELF_SERVICE_OUTCOME_TEXT="Absence chat self-service "}}return L})();const S=1,p=1,M=0,$=0,B="efd80446428e714bb9ba",G="6f6c78fc9770a9e881ea",Y=["efd80446428e714bb9ba","acde56b65ec1b5f43f34","ab8262a2959369d34579","f1821de83df113062977","01d3dc9710c929310a2e"],q=["f6be5031094b94d6446e","3b43af1d973a8f519367","cbdd50f48cd5a6990790","0314af88cd1edc0f3397","736d86849cd918a2112b"],ee=["6f6c78fc9770a9e881ea","2aaa9202d9ff81f4418f","f445110cad29029f20db","2c8d21ab364d0438a769"];let oe=(()=>{class L{static{this.restRootUrl="/FMLAWeb/rest/"}static{this.JsfURL="/FMLAWeb/rest/public/v1/externalNavigation?"}}return L})();class se extends oe{static{this.secureUrl=oe.restRootUrl+"secure/"}static{this.publicUrl=oe.restRootUrl+"public/"}static{this.updatePassword=se.secureUrl+"security/v1/updatePassword"}static{this.forceChangePasswordUrl=se.secureUrl+"security/v1/forceChangePassword"}static{this.forgotUsernameUrl=se.publicUrl+"v1/username"}static{this.publicDomainInfoUrl=se.publicUrl+"v1/publicDomainInfo"}static{this.publicUserInfoUrl=se.publicUrl+"v1/publicUserInfo"}static{this.loginUrl=se.publicUrl+"v1/login"}static{this.loginWebUrl=se.publicUrl+"v2/login"}static{this.logoutUrl=se.publicUrl+"v1/logout"}static{this.logoutUrlV2=se.publicUrl+"v2/logout"}static{this.pageDetailsUrl=se.publicUrl+"v1/pageDetails"}static{this.registrationStep1=se.publicUrl+"v1/registration/step1"}static{this.registrationStep3=se.publicUrl+"v1/registration/step3"}static{this.appVersionUrl=se.publicUrl+"mobile/v1/appVersion/"}static{this.webLogOutUrl="/FMLAWeb/login/logout.xhtml?logout=true"}static{this.employeeWebUrl="/FMLAWeb/employeeSelection/employeeSelection?faces-redirect=true"}static{this.forceUpdateSecurityQuestionsUrl="/force-update-security-questions"}static{this.forceAngularChangePasswordUrl="/forceChangePassword"}static{this.keepAliveUrl=se.secureUrl+"session/v1/keepAlive"}static{this.webViewTokenUrl=se.secureUrl+"session/v1/webViewToken"}static{this.atchUrl="&flag="}static{this.pdfUrl="TARGET=/letterPdf?documentId="}static{this.angularViewLetter="ANGULAR=true&TARGET=download-file?fileName="}static{this.accountHasPrdtUrl=se.secureUrl+"account/v1/accountHasProduct"}static{this.accountHasProductIdUrl=se.secureUrl+"account/v1/accountHasProductId"}static{this.announcementUrl=se.secureUrl+"account/v1/announcement"}static{this.lettersUrl=se.secureUrl+"employees/v1/letters"}static{this.absenceReasonsUrl=se.secureUrl+"employees/v1/absenceReasons"}static{this.incidentalAbsenceReasonsUrl=se.secureUrl+"employees/v1/incidentalAbsenceReasons"}static{this.dashboardUrl=se.secureUrl+"user/v1/privileges"}static{this.deleteAccountUrl=se.secureUrl+"user/v1/deleteAccount"}static{this.userSession=se.secureUrl+"user/v1/userSession"}static{this.updatePhoneNumbers=se.secureUrl+"user/v1/updatePhoneNumbers"}static{this.updateAddress=se.secureUrl+"user/v1/updateAddress"}static{this.updateEmailAddress=se.secureUrl+"user/v1/updateEmailAddress"}static{this.updateCorrespondence=se.secureUrl+"user/v1/updateCorrespondence"}static{this.canUserSearchByWpaId=se.secureUrl+"user/v1/canUserSearchByWpaId"}static{this.leaveRequestDescriptionUrl=se.secureUrl+"leaverequest/v1/partialLeaveRequests"}static{this.leaveRequestDescriptionUrl2=se.secureUrl+"leaverequest/v2/leaveReqDescription"}static{this.disabilityClaimDetails=se.secureUrl+"leaverequest/v1/disabilityClaim"}static{this.leaveRequestsUrls=se.secureUrl+"leaverequest/v1/dashboardLeaveRequests"}static{this.submitReportTime=se.secureUrl+"leaverequest/v3/submitTime"}static{this.recentLeaves=se.secureUrl+"leaverequest/v3/recentLeaves"}static{this.recentLeaves2=se.secureUrl+"leaverequest/v4/recentLeaves"}static{this.leavePlans=se.secureUrl+"leaverequest/v1/leavePlans"}static{this.leavePlanDetails=se.secureUrl+"leaverequest/v1/leavePlanDetails"}
1static{this.codeUrl=se.secureUrl+"leaverequest/v1/codes"}static{this.codeListUrl=se.secureUrl+"leaverequest/v1/codesList"}static{this.deleteTimeUrl=se.secureUrl+"leaverequest/v1/deleteTime"}static{this.protectionEngineUrl=se.secureUrl+"leaverequest/v1/protectionEngine"}static{this.leaveTimeDetails=se.secureUrl+"leaverequest/v1/leaveRequestDetails"}static{this.hasLatters=se.secureUrl+"leaverequest/v1/hasLetters"}static{this.anticipatedDate=se.secureUrl+"leaverequest/v1/anticipatedDate"}static{this.decisionEndDate=se.secureUrl+"leaverequest/v1/updateDecisionEndDate"}static{this.updateHcp=se.secureUrl+"leaverequest/v1/submitHcp"}static{this.submitLeaveDecision=se.secureUrl+"leaverequest/v1/submitLeaveDecision"}static{this.submitPartialLeaveDecision=se.secureUrl+"leaverequest/v1/submitPartialLeaveDecision"}static{this.caseActivities=se.secureUrl+"caseActivities/v1/caseActivities"}static{this.notes=se.secureUrl+"notes/v1/notes"}static{this.submitNote=se.secureUrl+"notes/v1/submitNote"}static{this.downloadExcelFile=se.secureUrl+"notes/v1/downloadWorkbook"}static{this.updateDelivery=se.secureUrl+"leaverequest/v1/updateDelivery"}static{this.updatePlacement=se.secureUrl+"leaverequest/v1/updatePlacement"}static{this.adminReports=se.secureUrl+"report/v1/reports"}static{this.reportCariteria=se.secureUrl+"report/v1/reportcriteria"}static{this.submitReport=se.secureUrl+"report/v1/submitReport"}static{this.reportStatus=se.secureUrl+"report/v1/reportStatus"}static{this.reportNames=se.secureUrl+"report/v1/reportNames"}static{this.workOnBehalfUrl=se.secureUrl+"user/v1/workOnBehalf"}static{this.endWorkOnBehalfUrl=se.secureUrl+"user/v1/endWob"}static{this.searchEmployeesUrl=se.secureUrl+"employees/v1/searchEmployees"}static{this.partnerContactUrl=oe.restRootUrl+"partnercontact"}static{this.contactUsUrl=se.secureUrl+"employees/v1/addContactUs"}static{this.preLogincontactUsUrl=se.publicUrl+"preLogin/v1/addContactUs"}static{this.userInfoUrl=se.secureUrl+"user/v1/userInfo"}static{this.changeLocaleUrl=se.secureUrl+"session/v1/changeLoc"}static{this.changePublicLocaleUrl=se.publicUrl+"v1/changeLoc"}static{this.isLoggedInUrl=se.publicUrl+"preLogin/v1/isLoggedIn"}static{this.faqsUrl=se.secureUrl+"account/v1/faqs"}static{this.publicFaqsUrl=se.publicUrl+"preLogin/v1/faqs"}static{this.submitYesNoFeedback=se.secureUrl+"account/v1/addFaqFeedback"}static{this.submitNoTextbook=se.secureUrl+"account/v1/updateFaqFeedback"}static{this.eventLogUrl=se.secureUrl+"event/logEvent"}static{this.domainInfoUrl=se.secureUrl+"account/v1/domainInfo"}static{this.profileUrl=se.secureUrl+"employees/v1/profile"}static{this.userQuestionsUrl=se.secureUrl+"employees/v1/userQuestions"}static{this.changeUsernameUrl=se.secureUrl+"security/v1/changeUsername"}static{this.updateProfileUrl=se.secureUrl+"employees/v1/updateProfile"}static{this.updateSecurityQuestions=se.secureUrl+"employees/v1/updateSecurityQuestions"}static{this.healthStatusUrl=se.publicUrl+"preLogin/v1/healthStatus"}static{this.submitDocumentUrl=se.secureUrl+"user/v1/submitDocument"}static{this.corporateContacts=se.secureUrl+"report/v1/corporateContacts"}static{this.updateReportRecipients=se.secureUrl+"report/v1/updateReportRecipients"}static{this.dashboardMetricsUrl=se.secureUrl+"empContactDashboard/v1/metricDetails"}static{this.dashboardMetricsCountsUrl=se.secureUrl+"empContactDashboard/v1/metricCounts"}static{this.subAccounts=se.secureUrl+"account/v1/subAccounts"}static{this.letterAttachmentsUrl=se.secureUrl+"letterAttachments/v1/letterAttachments"}static{this.communicationMaterials=se.secureUrl+"communicationMaterials/v1/communicationMaterials"}static{this.downloadDocument=se.secureUrl+"documents/v1/downloadDocument"}static{this.downloadDocumentForAllUsers=se.secureUrl+"documents/v2/downloadDocument"}static{this.redactDocument=se.secureUrl+"documents/v1/redactDocument"}static{this.downloadRedactedDocument=se.secureUrl+"documents/v2/downloadRedactedDocument"}static{this.notificationHistory=se.secureUrl+"notificationHistory/v1/notificationHist"}static{this.submitRequestCoachingUrl=se.secureUrl+"requestCoaching/v1/submitRequestCoaching"}static{this.planToolChatUrl=se.secureUrl+"leaveplanning/chat"}static{this.leavePlanProjectionUrl=se.secureUrl+"leaveplanning/projection"}static{this.abibotChatUrl=se.secureUrl+"abibot/chat"}static{this.abibotResourcesUrl=se.secureUrl+"abibot/resources"}static{this.abibotResourceUrlUrl=se.secureUrl+"abibot/resource-url"}static{this.abibotResourcePdfUrl=se.secureUrl+"abibot/resource-pdf"}static{this.abibotCallbackUrl=se.secureUrl+"abibot/callback"}static{this.wpaConditions=se.secureUrl+"wpa/v1/wpaConditions"}static{this.workplaceAccommodationUrl=se.secureUrl+"wpa/v1/workplaceAccommodation"}static{this.workplaceAccommodationsUrl2=se.secureUrl+"wpa/v1/workplaceAccommodations"}static{this.wpaDecisionCost=se.secureUrl+"wpa/v1/updateWpaDecisionCost"}static{this.wpaDecisionEndDate=se.secureUrl+"wpa/v1/updateWpaDecisionEndDate"}static{this.wpaDecisionStartDate=se.secureUrl+"wpa/v1/updateWpaDecisionStartDate"}static{this.wpaDecisionReasons=se.secureUrl+"wpa/v1/decisionReasonCodes"}static{this.hasWpaLetters=se.secureUrl+"wpa/v1/hasWpaLetters"}static{this.workplaceAccommodations=se.secureUrl+"wpa/v1/workplaceAccommodations"}static{this.workplaceAccommodation=se.secureUrl+"wpa/v1/workplaceAccommodation"}static{this.addAccommodationType=se.secureUrl+"wpa/v1/wpaType"}static{this.wpaFullDecision=se.secureUrl+"wpa/v1/wpaFullDecision"}static{this.wpaPartialDecision=se.secureUrl+"wpa/v1/wpaPartialDecision"}static{this.saveIncompleteWpaRequestForm=se.secureUrl+"wpa/v1/saveIncompleteWpaRequestForm"}static{this.getIncompleteWpaRequestForm=se.secureUrl+"wpa/v1/getIncompleteWpaRequestForm"}static{this.deleteWpaRequestForm=se.secureUrl+"wpa/v1/deleteWpaRequestForm"}static{this.downloadRequestPdfCopy=se.secureUrl+"wpa/v1/downloadRequestPdfCopy"}static{this.submitFeedback=se.secureUrl+"employees/v1/submitFeedback"}static{this.forgotPasswordStep2Url=se.publicUrl+"v1/passwordRequestStep2"}static{this.forgotPasswordStep3Url=se.publicUrl+"v1/passwordRequestStep3"}static{this.forgotPasswordStep4Url=se.publicUrl+"v1/passwordRequestStep4"}static{this.changePasswordUrl=se.publicUrl+"v1/changePassword"}static{this.getHomepageUrl=se.publicUrl+"v1/homePage"}static{this.canLeaveForceUpdate=se.secureUrl+"employees/v1/canLeaveForceUpdate"}}let xe=(()=>{class L{static{this.END_OF_LEAVE_APPROACHING_APPROVED=209}static{this.HR_REVIEW_NEEDED=201}static{this.ELIGIBILITY_VERIFICATION_NEEDED=43}static{this.EMPLOYER_REVIEW_NEEDED=80}static{this.CERTIFICATION_NEEDED=10}static{this.INSUFFICIENT_INFORMATION_TO_APPROVE_LEAVE="28"}static{this.NOT_A_DISABILITY_UNDER_ADA="82"}static{this.DATES_NOT_WITHIN_REASONABLE_THRESHOLD="84"}static{this.EMPLOYEE_DOES_NOT_ENGAGE_IN_INTERACTIVE_PROCESS_AT_ALL="85"}static{this.EMPLOYEE_DOES_NOT_ENGAGE_IN_INTERACTIVE_PROCESS_IN_GOOD_FAITH="86"}static{this.UNDUE_HARDSHIP="280"}static{this.LENGTH_IS_INDEFINITE="281"}static{this.EMPLOYEE_CANNOT_PERFORM_ESSENTIAL_JOB_FUNCTIONS="282"}static{this.CANNOT_BE_REASONABLY_ACCOMMODATED="286"}static{this.LEAVE_REQUEST_DECISION_REASON_LEAVE_NOT_APPROVED_BY_EMPLOYER=277}static{this.DECISION_CANNOT_BE_MADE_AT_THIS_TIME="284"}static{this.ACCOMMODATION_NOT_NEEDED="285"}}return L})();var Le=function(L){return L.ViewOnly="ROLE_PARTNER_CONTACT_VIEW_ONLY",L.ClickThru="ROLE_PARTNER_CONTACT_CLICK_THROUGH",L}(Le||{});const ie={REQUIRED_PREFIX:"login.changePassword.",REQUIRED_SUFFIX:"Required",PASSWORD_SIZE:"validation.newPasswordSize",NOT_NUMERIC:"validation.newPasswordNotNumeric",NOT_LOWER_CASE:"validation.newPasswordNotLowerCase",
1NOT_UPPER_CASE:"validation.newPasswordNotUpperCase",NOT_MATCH:"validation.newPasswordsNotMatch",SAME_AS_USERNAME:"validation.newPasswordSameAsUsername",REGEX:{NUMERIC:/(?=.*[0-9]).+/,LOWER_CASE:/(?=.*[a-z]).+/,UPPER_CASE:/(?=.*[A-Z]).+/,SPECIAL:/[!@#$%^&*(),.?":{}|<>]/,SPACE:/\s/}}},658:(We,Q,I)=>{"use strict";I.d(Q,{Y:()=>l});let l=(()=>{class e{static{this.UPDATE_INFORMATION_STEP=-1}static{this.PERSONAL_INFORMATION_STEP=0}static{this.PERSONAL_MEDICAL_CONDITION_STEP=1}static{this.CONDITION_DETAILS_STEP=2}static{this.WPA_DETAILS_STEP=3}static{this.HCP_INFORMATION_PART_ONE_STEP=4}static{this.HCP_INFORMATION_PART_TWO_STEP=5}static{this.REVIEW_REQUEST_STEP=6}static{this.SUCCESS_STEP=7}static{this.BACKWARD_NAV=-1}static{this.FORWARD_NAV=1}}return e})()},773:(We,Q,I)=>{"use strict";I.d(Q,{kl:()=>b,ti:()=>ye,pV:()=>Gt,uf:()=>M,Id:()=>$,jv:()=>Se,LM:()=>Rt,R:()=>m,nM:()=>l,dE:()=>B,uk:()=>G,aO:()=>Y,pJ:()=>ee,EE:()=>oe,CN:()=>y,xS:()=>e,bc:()=>Ne,_T:()=>se,pS:()=>_t,NZ:()=>Le,kq:()=>p,j2:()=>xe,rr:()=>Te,ng:()=>ct.n,MO:()=>ie,Uw:()=>L,kB:()=>K,EK:()=>_e,jH:()=>S});class l{}class e{}class m{constructor(et){et||(et={}),this.footerVisibility=null!=et.footerVisibility&&et.footerVisibility,this.footerText=et.footerText||"",this.headerText=et.headerText||"",this.enableDateRange=null!=et.enableDateRange&&et.enableDateRange,this.minDate=et.minDate,this.maxDate=et.maxDate,this.defaultSelectedDate=et.defaultSelectedDate||new Date,this.markDisabled=et.markDisabled}}var b=function(dt){return dt.DATE_SELECTED="DATE_SELECTED",dt.FILTER_APPLY="FILTER_APPPLY",dt.CANCEL="CANCEL",dt}(b||{}),y=function(dt){return dt.HEADER="HEADER",dt.ACCORDIAN="ACCORDIAN",dt}(y||{});class S{}class p{}class M{}class ${}class B{}class G{constructor(et){Object.assign(this,et)}}class Y{}class q{constructor(et){Object.assign(this,et)}}class ee extends q{}class oe{}class se{}class xe{}class Le{}class ie{}class L{}class K{constructor(et){this.userSecurityQuestions=[],Object.assign(this,et)}}class _e{constructor(et){this.fspUserId=et}}class Te{}var ct=I(7322);class ye{}class Se{}class Ne{constructor(et){Object.assign(this,et)}}class _t{constructor(){this.isEditable=!0}}class Gt{constructor(et){Object.assign(this,et)}}class Rt{constructor(et){Object.assign(this,et)}}},7322:(We,Q,I)=>{"use strict";I.d(Q,{n:()=>l});class l{constructor(m){Object.assign(this,m)}}},4538:(We,Q,I)=>{"use strict";I.d(Q,{$G:()=>m,Ui:()=>q.U,xm:()=>$.x,lU:()=>M.lU,_s:()=>M._s,JD:()=>M.JD,Qo:()=>Y,s7:()=>S.s,cA:()=>b.c});var l=I(1413),e=I(4438);let m=(()=>{class ee{get destroy$(){return this._destroy$||(this._destroy$=new l.B),this._destroy$}ngOnDestroy(){this._destroy$&&(this._destroy$.next(!0),this._destroy$.complete())}static{this.\u0275fac=function(xe){return new(xe||ee)}}static{this.\u0275dir=e.FsC({type:ee})}}return ee})();var b=I(1913),S=(I(6870),I(7806)),M=(I(4134),I(6854)),$=I(9426),B=I(6483),G=I(1626);let Y=(()=>{class ee{constructor(se){this.http=se}keepAlive(){this.http.get(B.hP.keepAliveUrl).subscribe()}changeLocale(se){return this.http.put(`${B.hP.changeLocaleUrl}/${se}`,{})}changePublicLocale(se){return this.http.put(`${B.hP.changePublicLocaleUrl}/${se}`,{})}static{this.\u0275fac=function(xe){return new(xe||ee)(e.KVO(G.Qq))}}static{this.\u0275prov=e.jDH({token:ee,factory:ee.\u0275fac,providedIn:"root"})}}return ee})();var q=I(1103)},1103:(We,Q,I)=>{"use strict";I.d(Q,{U:()=>_e});var l=I(4438),e=I(177),m=I(2219),b=I(1913),y=I(1833),S=I(6854),p=I(4134),M=I(6870),$=I(1626),B=I(8810),G=I(8141),Y=I(9437),q=I(6483),ee=I(217),oe=I(7806),se=I(9426),xe=I(4550);let Le=(()=>{class Te{constructor(ye,Se,X,Ne,ft){this.idleTimeoutService=ye,this.router=Se,this.log=X,this.win=Ne,this.storage=ft}handleAuthError(ye){return(0,B.$)(()=>ye)}intercept(ye,Se){return this.win.isMobile&&-1===ye.url.indexOf("http")&&-1===ye.url.indexOf("i18n/")&&(ye=ye.clone({url:`${q.hP.rootUrlHead}${ye.url}`})),ye.url.includes("/FMLAWeb/rest/secure/")&&this.resetTimer(),-1===ye.url.indexOf("submitDocument")&&-1===ye.url.indexOf("submitRequestCoaching")&&(ye=ye.clone({setHeaders:{"Content-Type":"application/json"}})),y.K.DEBUG_HTTP.enable&&this.logRequest(ye),Se.handle(ye).pipe((0,G.M)(X=>{if(X instanceof $.cS){if(X.url?.includes("logout")&&200===X.status&&this.idleTimeoutService.stopTimer(),X.headers){const Ne=X.headers.get("set-cookie");
1if(null!=Ne){const ft=this.getTokenCookie(Ne.slice(Ne.indexOf(q.YM.TOKEN_COOKIE),Ne.length-1));this.storage.setItem(q.YM.TOKEN_COOKIE,ft)}}this.logResponse(X)}}),(0,Y.W)(X=>(X instanceof $.yz&&(404===X.status||500===X.status||501===X.status)&&this.router.navigate(["error-page"]),(0,B.$)(()=>X))))}resetTimer(){this.idleTimeoutService.stopTimer(),this.idleTimeoutService.startTimer()}logRequest(ye){if(this.log.debug(`http request --- ${ye.urlWithParams}`),y.K.DEBUG_HTTP.includeRequestHeaders&&ye.headers){const Se=ye.headers.keys();this.log.debug("headers:",Se);for(const X of Se)this.log.debug(X,ye.headers.get(X))}if(ye.body&&y.K.DEBUG_HTTP.includeRequestBody&&(this.log.debug("body:",ye.body),(0,ee.Gv)(ye.body)))for(const Se in ye.body)this.log.debug(`   ${Se}:`,ye.body[Se])}logResponse(ye){if(y.K.DEBUG_HTTP.includeResponse){this.log.debug(`http response --- ${ye.url}`),this.log.debug("status:",ye.status);const Se=ye.body;this.log.debug("result:",(0,ee.Gv)(Se)?JSON.stringify(Se):Se),this.log.debug("http response end ---")}}getTokenCookie(ye){return ye.slice(0,ye.indexOf(";"))}static{this.\u0275fac=function(Se){return new(Se||Te)(l.KVO(se.x),l.KVO(xe.Ix),l.KVO(y.K),l.KVO(oe.s),l.KVO(M.n))}}static{this.\u0275prov=l.jDH({token:Te,factory:Te.\u0275fac})}}return Te})();var ie=I(9417);let L=(()=>{class Te{constructor(ye,Se,X){this.router=ye,this.log=Se,this.win=X}handleError(ye){if(this.log.debug("this is error from error handler ",
1ye),ye instanceof $.yz||ye.hasOwnProperty("rejection")&&this.win.navigator.onLine)return this.handleHttpError(ye)}handleHttpError(ye){const Se=ye instanceof $.yz?ye:ye.rejection;switch(this.log.debug("handleHttpError status:",Se.status),Se.status){case ie.v.UNAUTHORIZED:this.win.isBrowser&&(this.win.location.href=q.YM.FMLA_LOGIN_PAGE_URL);break;case ie.v.GATEWAY_TIMEOUT:case ie.v.FORBIDDEN:case ie.v.BAD_GATEWAY:case ie.v.BAD_REQUEST:case ie.v.CONFLICT:case ie.v.INSUFFICIENT_STORAGE:case ie.v.EXPECTATION_FAILED:case ie.v.FAILED_DEPENDENCY:case ie.v.HTTP_VERSION_NOT_SUPPORTED:case ie.v.INTERNAL_SERVER_ERROR:case ie.v.LOCKED:case ie.v.METHOD_NOT_ALLOWED:case ie.v.NETWORK_AUTHENTICATION_REQUIRED:case ie.v.PERMANENT_REDIRECT:case ie.v.NO_CONTENT:case ie.v.PROXY_AUTHENTICATION_REQUIRED:case ie.v.REQUEST_TIMEOUT:case ie.v.REQUEST_TOO_LONG:case ie.v.REQUEST_URI_TOO_LONG:case ie.v.REQUESTED_RANGE_NOT_SATISFIABLE:case ie.v.SERVICE_UNAVAILABLE:case ie.v.NOT_ACCEPTABLE:case ie.v.NON_AUTHORITATIVE_INFORMATION:case ie.v.TOO_MANY_REQUESTS:case ie.v.UNPROCESSABLE_ENTITY:case ie.v.UNSUPPORTED_MEDIA_TYPE:case ie.v.MULTI_STATUS:case ie.v.MOVED_TEMPORARILY:case ie.v.NOT_FOUND:this.win.isMobile&&this.router.navigate(["/login"],{clearHistory:!0,transition:{name:"flipLeft",curve:"spring",duration:600}});break;default:this.log.debug("Error:",Se)}}static{this.\u0275fac=function(Se){return new(Se||Te)(l.KVO(S._s),l.KVO(y.K),l.KVO(oe.s))}}static{this.\u0275prov=l.jDH({token:Te,factory:Te.\u0275fac})}}return Te})();var K=I(3955);y.K.DEBUG.LEVEL_4=!b.c.production,y.K.DEBUG_HTTP.enable=!b.c.production,y.K.DEBUG_HTTP.includeResponse=!b.c.production;let _e=(()=>{class Te{static forRoot(ye){return{ngModule:Te,providers:[M.n,{provide:e.kB,useValue:"/"},{provide:$.a7,useClass:Le,multi:!0},{provide:l.zcH,useClass:L},...ye]}}constructor(ye,Se,X,Ne){(0,m.J)(ye,"CoreModule")}static{this.\u0275fac=function(Se){return new(Se||Te)(l.KVO(Te,12),l.KVO(S.lU),l.KVO(K.c$),l.KVO(p.C))}}static{this.\u0275mod=l.$C({type:Te})}static{this.\u0275inj=l.G2t({imports:[e.MD]})}}return Te})()},1913:(We,Q,I)=>{"use strict";I.d(Q,{c:()=>l});const l={production:!0}},4134:(We,Q,I)=>{"use strict";I.d(Q,{C:()=>y});var l=I(6870),e=I(7806),m=I(4438);class b{}let y=(()=>{class S{constructor(M,$){b.storage=M,b.win=$}static{this.\u0275fac=function($){return new($||S)(m.KVO(l.n),m.KVO(e.s))}}static{this.\u0275prov=m.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}}return S})()},9426:(We,Q,I)=>{"use strict";I.d(Q,{x:()=>b});var l=I(1413),e=I(1584),m=I(4438);let b=(()=>{class y{constructor(){this.timeoutExpired=new l.B,this.timeoutExpired.subscribe()}updateTimerByTimeOut(p){this.updateTimeWarnSeconds(p),this.startTimer()}updateTimeWarnSeconds(p){this.timeoutSeconds=p,this.warnSeconds=this.timeoutSeconds-this.timeoutSeconds/4}startTimer(){this.warnSubscription&&this.warnSubscription.unsubscribe(),this.timeoutSubscription&&this.timeoutSubscription.unsubscribe();const p=(0,e.O)(1e3*this.warnSeconds);this.warnSubscription=p.subscribe(()=>{this.timerComplete(this.warnSeconds),(0,m.naY)()&&console.log("WARNING TIMER COMPLETE, WARNING IN SEC: "+this.warnSeconds)});const M=(0,e.O)(1e3*this.timeoutSeconds);this.timeoutSubscription=M.subscribe(()=>{(0,m.naY)()&&console.log("TIMEOUT TIMER COMPLETE, TIMEOUT IN SEC: "+this.timeoutSeconds),this.timerComplete(this.timeoutSeconds)})}stopTimer(){this.timeoutSubscription&&this.timeoutSubscription.unsubscribe(),this.warnSubscription&&this.warnSubscription.unsubscribe()}timerComplete(p){this.timeoutExpired.next(p)}static{this.\u0275fac=function(M){return new(M||y)}}static{this.\u0275prov=m.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}}return y})()},1833:(We,Q,I)=>{"use strict";I.d(Q,{K:()=>e});var l=I(4438);let e=(()=>{class m{static{this.DEBUG={LEVEL_1:!1,LEVEL_2:!1,LEVEL_3:!1,LEVEL_4:!1,LEVEL_5:!1}}static{this.DEBUG_HTTP={enable:!1,includeRequestBody:!1,includeRequestHeaders:!1,includeResponse:!1}}info(...y){(m.DEBUG.LEVEL_5||m.DEBUG.LEVEL_4)&&console.info(y)}debug(...y){(m.DEBUG.LEVEL_4||m.DEBUG.LEVEL_3)&&console.log(y)}error(...y){(m.DEBUG.LEVEL_4||m.DEBUG.LEVEL_3||m.DEBUG.LEVEL_2)&&console.error(y)}warn(...y){(m.DEBUG.LEVEL_4||m.DEBUG.LEVEL_3||m.DEBUG.LEVEL_1)&&console.warn(y)}static{this.\u0275fac=function(S){return new(S||m)}}static{this.\u0275prov=l.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}}return m})()},6870:(We,Q,I)=>{"use strict";I.d(Q,{n:()=>y});var l=I(7806),e=I(4438),m=I(1833);let y=(()=>{class S{constructor(M,$){this.win=M,this.log=$,this.storageType=this.win&&null!=this.win.localStorage?this.win.localStorage:null}setItem(M,$,B){try{this.storageType&&this.storageType.setItem(M,JSON.stringify($))}catch(G){this.log.debug(G)}}getItem(M,$,B){try{if(this.storageType){const G=this.storageType.getItem(M);if(G)try{return JSON.parse(G)}catch(Y){this.log.debug(Y)}}return $}catch(G){return this.log.debug(G),$}}removeItem(M,$){try{this.storageType&&this.storageType.removeItem(M)}catch(B){this.log.debug(B)}}clear(){this.clearAll()}clearAll(){try{this.storageType&&this.storageType.clear()}catch(M){this.log.debug(M)}}isAvailable(){try{if(this.storageType){const M="compsych.__test__";return this.storageType.setItem(M,M),this.storageType.removeItem(M),!0}}catch{return!1}return!1}static{this.\u0275fac=function($){return new($||S)(e.KVO(l.s),e.KVO(m.K))}}static{this.\u0275prov=e.jDH({token:S,factory:S.\u0275fac})}}return S})()},6854:(We,Q,I)=>{"use strict";I.d(Q,{JD:()=>m,_s:()=>b,lU:()=>e});var l=I(4438);const e=new l.nKC("PlatformLanguageToken"),m=new l.nKC("PlatformWindowToken"),b=new l.nKC("PlatformRouterToken")},7806:(We,Q,I)=>{"use strict";I.d(Q,{s:()=>$});var l=I(177),e=I(4438),m=I(217);var M=I(6854);let $=(()=>{class B{constructor(Y,q){this._platformWindow=Y,this.platformId=q,this._isBrowser=!1,this._isServer=!1,this._isBrowser=(0,l.UE)(this.platformId),this._isServer=(0,l.Vy)(this.platformId)}get navigator(){return this._platformWindow.navigator}get location(){return this._platformWindow.location}get localStorage(){return this._platformWindow.localStorage}get process(){return this._platformWindow.process}
1get require(){return this._platformWindow.require}get platformWindow(){return this._platformWindow}get isBrowser(){return this._isBrowser}get isServer(){return this._isServer}get isMobile(){return!this._isServer&&!this._isBrowser}get isMobileDevice(){if(!this._isBrowser)return!1;const Y=this.navigator.userAgent,q=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(Y),ee=/Macintosh/i.test(Y)&&this.navigator.maxTouchPoints>0;return q||ee}getCurrentWindow(Y,q){this.platformWindow.open(Y,q=q||"_self")}alert(Y){return new Promise((q,ee)=>{const oe=this._platformWindow.alert(Y);(0,m.Gv)(oe)&&oe.then?oe.then(q,ee):q()})}confirm(Y,q){return new Promise((ee,oe)=>{const se=this._platformWindow.confirm(Y,function p(){return function y(){return typeof NSObject<"u"&&typeof NSString<"u"}()||function S(){return typeof android<"u"&&typeof java<"u"}()}()?q:void 0);(0,m.Gv)(se)&&se.then?se.then(ee,oe):se?ee(!0):oe()})}setTimeout(Y,q){return this._platformWindow.setTimeout(Y,q)}clearTimeout(Y){return this._platformWindow.clearTimeout(Y)}setInterval(Y,q,...ee){return this._platformWindow.setInterval(Y,q,ee)}clearInterval(Y){return this._platformWindow.clearInterval(Y)}static{this.\u0275fac=function(q){return new(q||B)(e.KVO(M.JD),e.KVO(e.Agw))}}static{this.\u0275prov=e.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}}return B})()},2219:(We,Q,I)=>{"use strict";function l(e,m){if(e)throw new Error(`${m} has already been loaded. Import ${m} in the AppModule only.`)}I.d(Q,{J:()=>l})},217:(We,Q,I)=>{"use strict";I.d(Q,{Gv:()=>e});const e=function(y){return y&&"object"==typeof y}},9151:(We,Q,I)=>{"use strict";I.d(Q,{mJ:()=>Ba,ls:()=>p,Y7:()=>S,F2:()=>y});var l=I(6483),e=I(6888),m=I(4438);const b={es:{weekdays:["Lu","Ma","Mi","Ju","Vi","Sa","Do"],months:["Enero","Feb","Mar","Abr","Mayo","Jun","Jul","Agosto","Sept","Oct","Nov","Dic"]},en:{weekdays:["Mo","Tu","We","Th","Fr","Sa","Su"],months:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}};let y=(()=>{class we{constructor(){this.language=l.YM.ENGLISH_US}static{this.\u0275fac=function(te){return new(te||we)}}static{this.\u0275prov=m.jDH({token:we,factory:we.\u0275fac})}}return we})(),S=(()=>{class we extends e.G7{constructor(j){super(),this._i18n=j,this._i18n.language=JSON.parse(sessionStorage.getItem(l.YM.USER_INFO)).localeId===l.YM.SPANISH_LOCALE_ID?l.YM.SPANISH_US:l.YM.ENGLISH_US}getWeekdayLabel(j,te){return b[this._i18n.language].weekdays[j-1]}getWeekdayShortName(j){return b[this._i18n.language].weekdays[j-1]}getMonthShortName(j){return b[this._i18n.language].months[j-1]}getMonthFullName(j){return this.getMonthShortName(j)}getDayAriaLabel(j){return`${j.day}-${j.month}-${j.year}`}static{this.\u0275fac=function(te){return new(te||we)(m.KVO(y))}}static{this.\u0275prov=m.jDH({token:we,factory:we.\u0275fac})}}return we})(),p=(()=>{class we extends e.tN{constructor(){super(...arguments),this.DELIMITER="/"}parse(j){if(!j)return null;const te=j.split(this.DELIMITER);if(3!==te.length)return null;const De=parseInt(te[0],10),$e=parseInt(te[1],10),nt=(te[2]||"").trim();let rt=parseInt(nt,10);return isNaN(De)||isNaN($e)||isNaN(rt)||(nt.length<=2&&(rt+=2e3),rt<1900||rt>2100)?null:{month:De,day:$e,year:rt}}format(j){const te=this.getDisplayYear(j);return j?(j.month<10?`0${j.month}`:j.month)+this.DELIMITER+(j.day<10?`0${j.day}`:j.day)+this.DELIMITER+te:""}getDisplayYear(j){return j?.year?String(j.year).padStart(4,"0"):""}static{this.\u0275fac=(()=>{let j;return function(De){return(j||(j=m.xGo(we)))(De||we)}})()}static{this.\u0275prov=m.jDH({token:we,factory:we.\u0275fac})}}return we})();var M=I(345),$=I(9969);function G(we){return new m.wOt(3e3,!1)}function mt(we){switch(we.length){case 0:return new $.sf;case 1:return we[0];default:return new $.ui(we)}}function Ke(we,N,j=new Map,te=new Map){const De=[],$e=[];let nt=-1,rt=null;if(N.forEach(St=>{const kt=St.get("offset"),dn=kt==nt,pn=dn&&rt||new Map;St.forEach((Ei,si)=>{let xn=si,zn=Ei;if("offset"!==si)switch(xn=we.normalizePropertyName(xn,De),zn){case $.FX:zn=j.get(si);break;case $.kp:zn=te.get(si);break;default:zn=we.normalizeStyleValue(si,xn,zn,De)}
1pn.set(xn,zn)}),dn||$e.push(pn),rt=pn,nt=kt}),De.length)throw function Ie(we){return new m.wOt(3502,!1)}();return $e}function Ge(we,N,j,te){switch(N){case"start":we.onStart(()=>te(j&&Ee(j,"start",we)));break;case"done":we.onDone(()=>te(j&&Ee(j,"done",we)));break;case"destroy":we.onDestroy(()=>te(j&&Ee(j,"destroy",we)))}}function Ee(we,N,j){const $e=qe(we.element,we.triggerName,we.fromState,we.toState,N||we.phaseName,j.totalTime??we.totalTime,!!j.disabled),nt=we._data;return null!=nt&&($e._data=nt),$e}function qe(we,N,j,te,De="",$e=0,nt){return{element:we,triggerName:N,fromState:j,toState:te,phaseName:De,totalTime:$e,disabled:!!nt}}function bt(we,N,j){let te=we.get(N);return te||we.set(N,te=j),te}function Je(we){const N=we.indexOf(":");return[we.substring(1,N),we.slice(N+1)]}const pt=typeof document>"u"?null:document.documentElement;function Ft(we){const N=we.parentNode||we.host||null;return N===pt?null:N}let Wt=null,En=!1;function fi(we,N){for(;N;){if(N===we)return!0;N=Ft(N)}return!1}function Yt(we,N,j){if(j)return Array.from(we.querySelectorAll(N));const te=we.querySelector(N);return te?[te]:[]}let Yn=(()=>{class we{validateStyleProperty(j){return function Sn(we){Wt||(Wt=function An(){return typeof document<"u"?document.body:null}()||{},En=!!Wt.style&&"WebkitAppearance"in Wt.style);let N=!0;return Wt.style&&!function qt(we){return"ebkit"==we.substring(1,6)}(we)&&(N=we in Wt.style,!N&&En&&(N="Webkit"+we.charAt(0).toUpperCase()+we.slice(1)in Wt.style)),N}(j)}matchesElement(j,te){return!1}containsElement(j,te){return fi(j,te)}getParentElement(j){return Ft(j)}query(j,te,De){return Yt(j,te,De)}computeStyle(j,te,De){return De||""}animate(j,te,De,$e,nt,rt=[],St){return new $.sf(De,$e)}static{this.\u0275fac=function(te){return new(te||we)}}static{this.\u0275prov=m.jDH({token:we,factory:we.\u0275fac})}}return we})();class vi{static{this.NOOP=new Yn}}class yi{}const hs=1e3,ji="ng-enter",ti="ng-leave",_n="ng-trigger",Bi=".ng-trigger",Ai="ng-animating",Yi=".ng-animating";function Me(we){if("number"==typeof we)return we;const N=we.match(/^(-?[\.\d]+)(m?s)/);return!N||N.length<2?0:Fe(parseFloat(N[1]),N[2])}function Fe(we,N){return"s"===N?we*hs:we}function C(we,N,j){return we.hasOwnProperty("duration")?we:function U(we,N,j){let De,$e=0,nt="";if("string"==typeof we){const rt=we.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===rt)return N.push(G()),{duration:0,delay:0,easing:""};De=Fe(parseFloat(rt[1]),rt[2]);const St=rt[3];null!=St&&($e=Fe(parseFloat(St),rt[4]));const kt=rt[5];kt&&(nt=kt)}else De=we;if(!j){let rt=!1,St=N.length;De<0&&(N.push(function Y(){return new m.wOt(3100,!1)}()),rt=!0),$e<0&&(N.push(function q(){return new m.wOt(3101,!1)}()),rt=!0),rt&&N.splice(St,0,G())}return{duration:De,delay:$e,easing:nt}}(we,N,j)}function ht(we,N,j){N.forEach((te,De)=>{const $e=Xt(De);j&&!j.has(De)&&j.set(De,we.style[$e]),we.style[$e]=te})}function $t(we,N){N.forEach((j,te)=>{const De=Xt(te);we.style[De]=""})}function un(we){return Array.isArray(we)?1==we.length?we[0]:(0,$.K2)(we):we}const jn=new RegExp("{{\\s*(.+?)\\s*}}","g");function pe(we){let N=[];if("string"==typeof we){let j;for(;j=jn.exec(we);)N.push(j[1]);jn.lastIndex=0}return N}function Ye(we,N,j){const te=`${we}`,De=te.replace(jn,($e,nt)=>{let rt=N[nt];return null==rt&&(j.push(function oe(we){return new m.wOt(3003,!1)}()),rt=""),rt.toString()});return De==te?we:De}const Vt=/-+([a-z0-9])/g;function Xt(we){return we.replace(Vt,(...N)=>N[1].toUpperCase())}function ni(we,N,j){switch(N.type){case $.If.Trigger:return we.visitTrigger(N,j);case $.If.State:return we.visitState(N,j);case $.If.Transition:return we.visitTransition(N,j);case $.If.Sequence:return we.visitSequence(N,j);case $.If.Group:return we.visitGroup(N,j);case $.If.Animate:return we.visitAnimate(N,j);case $.If.Keyframes:return we.visitKeyframes(N,j);case $.If.Style:return we.visitStyle(N,j);case $.If.Reference:return we.visitReference(N,j);case $.If.AnimateChild:return we.visitAnimateChild(N,j);case $.If.AnimateRef:return we.visitAnimateRef(N,j);case $.If.Query:return we.visitQuery(N,j);case $.If.Stagger:return we.visitStagger(N,j);default:throw function se(we){return new m.wOt(3004,!1)}()}}function ss(we,N){return window.getComputedStyle(we)[N]}const on=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class ge extends yi{normalizePropertyName(N,j){return Xt(N)}normalizeStyleValue(N,j,te,De){let $e="";const nt=te.toString().trim();if(on.has(j)&&0!==te&&"0"!==te)if("number"==typeof te)$e="px";else{const rt=te.match(/^[+-]?[\d\.]+([a-z]*)$/);rt&&0==rt[1].length&&De.push(function xe(we,N){return new m.wOt(3005,!1)}())}return nt+$e}}const Fs="*";
1const tt=new Set(["true","1"]),Nt=new Set(["false","0"]);function Mt(we,N){const j=tt.has(we)||Nt.has(we),te=tt.has(N)||Nt.has(N);return(De,$e)=>{let nt=we==Fs||we==De,rt=N==Fs||N==$e;return!nt&&j&&"boolean"==typeof De&&(nt=De?tt.has(we):Nt.has(we)),!rt&&te&&"boolean"==typeof $e&&(rt=$e?tt.has(N):Nt.has(N)),nt&&rt}}const sn=new RegExp("s*:selfs*,?","g");function Wn(we,N,j,te){return new mi(we).build(N,j,te)}class mi{constructor(N){this._driver=N}build(N,j,te){const De=new rs(j);return this._resetContextStyleTimingState(De),ni(this,un(N),De)}_resetContextStyleTimingState(N){N.currentQuerySelector="",N.collectedStyles=new Map,N.collectedStyles.set("",new Map),N.currentTime=0}visitTrigger(N,j){let te=j.queryCount=0,De=j.depCount=0;const $e=[],nt=[];return"@"==N.name.charAt(0)&&j.errors.push(function Le(){return new m.wOt(3006,!1)}()),N.definitions.forEach(rt=>{if(this._resetContextStyleTimingState(j),rt.type==$.If.State){const St=rt,kt=St.name;kt.toString().split(/\s*,\s*/).forEach(dn=>{St.name=dn,$e.push(this.visitState(St,j))}),St.name=kt}else if(rt.type==$.If.Transition){const St=this.visitTransition(rt,j);te+=St.queryCount,De+=St.depCount,nt.push(St)}else j.errors.push(function ie(){return new m.wOt(3007,!1)}())}),{type:$.If.Trigger,name:N.name,states:$e,transitions:nt,queryCount:te,depCount:De,options:null}}visitState(N,j){const te=this.visitStyle(N.styles,j),De=N.options&&N.options.params||null;if(te.containsDynamicStyles){const $e=new Set,nt=De||{};te.styles.forEach(rt=>{rt instanceof Map&&rt.forEach(St=>{pe(St).forEach(kt=>{nt.hasOwnProperty(kt)||$e.add(kt)})})}),$e.size&&j.errors.push(function L(we,N){return new m.wOt(3008,!1)}(0,$e.values()))}return{type:$.If.State,name:N.name,style:te,options:De?{params:De}:null}}visitTransition(N,j){j.queryCount=0,j.depCount=0;const te=ni(this,un(N.animation),j),De=function Cr(we,N){const j=[];return"string"==typeof we?we.split(/\s*,\s*/).forEach(te=>function Be(we,N,j){if(":"==we[0]){const St=function Qe(we,N){switch(we){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(j,te)=>parseFloat(te)>parseFloat(j);case":decrement":return(j,te)=>parseFloat(te)<parseFloat(j);default:return N.push(function Gt(we){return new m.wOt(3016,!1)}()),"* => *"}}(we,j);if("function"==typeof St)return void N.push(St);we=St}const te=we.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==te||te.length<4)return j.push(function _t(we){return new m.wOt(3015,!1)}()),N;const De=te[1],$e=te[2],nt=te[3];N.push(Mt(De,nt)),"<"==$e[0]&&(De!=Fs||nt!=Fs)&&N.push(Mt(nt,De))}(te,j,N)):j.push(we),j}(N.expr,j.errors);return{type:$.If.Transition,matchers:De,animation:te,queryCount:j.queryCount,depCount:j.depCount,options:Hn(N.options)}}visitSequence(N,j){return{type:$.If.Sequence,steps:N.steps.map(te=>ni(this,te,j)),options:Hn(N.options)}}visitGroup(N,j){const te=j.currentTime;let De=0;const $e=N.steps.map(nt=>{j.currentTime=te;const rt=ni(this,nt,j);return De=Math.max(De,j.currentTime),rt});return j.currentTime=De,{type:$.If.Group,steps:$e,options:Hn(N.options)}}visitAnimate(N,j){const te=function us(we,N){if(we.hasOwnProperty("duration"))return we;if("number"==typeof we)return gn(C(we,N).duration,0,"");const j=we;if(j.split(/\s+/).some($e=>"{"==$e.charAt(0)&&"{"==$e.charAt(1))){const $e=gn(0,0,"");return $e.dynamic=!0,$e.strValue=j,$e}const De=C(j,N);return gn(De.duration,De.delay,De.easing)}(N.timings,j.errors);j.currentAnimateTimings=te;let De,$e=N.styles?N.styles:(0,$.iF)({});if($e.type==$.If.Keyframes)De=this.visitKeyframes($e,j);else{let nt=N.styles,rt=!1;if(!nt){rt=!0;const kt={};te.easing&&(kt.easing=te.easing),nt=(0,$.iF)(kt)}j.currentTime+=te.duration+te.delay;const St=this.visitStyle(nt,j);St.isEmptyStep=rt,De=St}return j.currentAnimateTimings=null,{type:$.If.Animate,timings:te,style:De,options:null}}visitStyle(N,j){const te=this._makeStyleAst(N,j);return this._validateStyleAst(te,j),te}_makeStyleAst(N,j){const te=[],De=Array.isArray(N.styles)?N.styles:[N.styles];for(let rt of De)"string"==typeof rt?rt===$.kp?te.push(rt):j.errors.push(new m.wOt(3002,!1)):te.push(new Map(Object.entries(rt)));let $e=!1,nt=null;return te.forEach(rt=>{if(rt instanceof Map&&(rt.has("easing")&&(nt=rt.get("easing"),rt.delete("easing")),!$e))for(let St of rt.values())if(St.toString().indexOf("{{")>=0){$e=!0;break}}),{type:$.If.Style,styles:te,easing:nt,offset:N.offset,containsDynamicStyles:$e,options:null}}_validateStyleAst(N,j){const te=j.currentAnimateTimings;let De=j.currentTime,$e=j.currentTime;te&&$e>
vendor: 13,050 bytes, line 1
10&&($e-=te.duration+te.delay),N.styles.forEach(nt=>{"string"!=typeof nt&&nt.forEach((rt,St)=>{const kt=j.collectedStyles.get(j.currentQuerySelector),dn=kt.get(St);let pn=!0;dn&&($e!=De&&$e>=dn.startTime&&De<=dn.endTime&&(j.errors.push(function Te(we,N,j,te,De){return new m.wOt(3010,!1)}()),pn=!1),$e=dn.startTime),pn&&kt.set(St,{startTime:$e,endTime:De}),j.options&&function me(we,N,j){const te=N.params||{},De=pe(we);De.length&&De.forEach($e=>{te.hasOwnProperty($e)||j.push(function ee(we){return new m.wOt(3001,!1)}())})}(rt,j.options,j.errors)})})}visitKeyframes(N,j){const te={type:$.If.Keyframes,styles:[],options:null};if(!j.currentAnimateTimings)return j.errors.push(function ct(){return new m.wOt(3011,!1)}()),te;let $e=0;const nt=[];let rt=!1,St=!1,kt=0;const dn=N.steps.map(_s=>{const Us=this._makeStyleAst(_s,j);let Gs=null!=Us.offset?Us.offset:function zs(we){if("string"==typeof we)return null;let N=null;if(Array.isArray(we))we.forEach(j=>{if(j instanceof Map&&j.has("offset")){const te=j;N=parseFloat(te.get("offset")),te.delete("offset")}});else if(we instanceof Map&&we.has("offset")){const j=we;N=parseFloat(j.get("offset")),j.delete("offset")}return N}(Us.styles),Ji=0;return null!=Gs&&($e++,Ji=Us.offset=Gs),St=St||Ji<0||Ji>1,rt=rt||Ji<kt,kt=Ji,nt.push(Ji),Us});St&&j.errors.push(function ye(){return new m.wOt(3012,!1)}()),rt&&j.errors.push(function Se(){return new m.wOt(3200,!1)}());const pn=N.steps.length;let Ei=0;$e>0&&$e<pn?j.errors.push(function X(){return new m.wOt(3202,!1)}()):0==$e&&(Ei=1/(pn-1));const si=pn-1,xn=j.currentTime,zn=j.currentAnimateTimings,Ki=zn.duration;return dn.forEach((_s,Us)=>{const Gs=Ei>0?Us==si?1:Ei*Us:nt[Us],Ji=Gs*Ki;j.currentTime=xn+zn.delay+Ji,zn.duration=Ji,this._validateStyleAst(_s,j),_s.offset=Gs,te.styles.push(_s)}),te}visitReference(N,j){return{type:$.If.Reference,animation:ni(this,un(N.animation),j),options:Hn(N.options)}}visitAnimateChild(N,j){return j.depCount++,{type:$.If.AnimateChild,options:Hn(N.options)}}visitAnimateRef(N,j){return{type:$.If.AnimateRef,animation:this.visitReference(N.animation,j),options:Hn(N.options)}}visitQuery(N,j){const te=j.currentQuerySelector,De=N.options||{};j.queryCount++,j.currentQuery=N;const[$e,nt]=function Es(we){const N=!!we.split(/\s*,\s*/).find(j=>":self"==j);return N&&(we=we.replace(sn,"")),we=we.replace(/@\*/g,Bi).replace(/@\w+/g,j=>Bi+"-"+j.slice(1)).replace(/:animating/g,Yi),[we,N]}(N.selector);j.currentQuerySelector=te.length?te+" "+$e:$e,bt(j.collectedStyles,j.currentQuerySelector,new Map);const rt=ni(this,un(N.animation),j);return j.currentQuery=null,j.currentQuerySelector=te,{type:$.If.Query,selector:$e,limit:De.limit||0,optional:!!De.optional,includeSelf:nt,animation:rt,originalSelector:N.selector,options:Hn(N.options)}}visitStagger(N,j){j.currentQuery||j.errors.push(function Ne(){return new m.wOt(3013,!1)}());const te="full"===N.timings?{duration:0,delay:0,easing:"full"}:C(N.timings,j.errors,!0);return{type:$.If.Stagger,animation:ni(this,un(N.animation),j),timings:te,options:null}}}class rs{constructor(N){this.errors=N,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Hn(we){return we?(we={...we}).params&&(we.params=function bi(we){return we?{...we}:null}(we.params)):we={},we}function gn(we,N,j){return{duration:we,delay:N,easing:j}}function xi(we,N,j,te,De,$e,nt=null,rt=!1){return{type:1,element:we,keyframes:N,preStyleProps:j,postStyleProps:te,duration:De,delay:$e,totalTime:De+$e,easing:nt,subTimeline:rt}}class ps{constructor(){this._map=new Map}get(N){return this._map.get(N)||[]}append(N,j){let te=this._map.get(N);te||this._map.set(N,te=[]),te.push(...j)}has(N){return this._map.has(N)}clear(){this._map.clear()}}const Ds=new RegExp(":enter","g"),On=new RegExp(":leave","g");function Xn(we,N,j,te,De,$e=new Map,nt=new Map,rt,St,kt=[]){return(new ya).buildKeyframes(we,N,j,te,De,$e,nt,rt,St,kt)}class ya{buildKeyframes(N,j,te,De,$e,nt,rt,St,kt,dn=[]){kt=kt||new ps;const pn=new To(N,j,kt,De,$e,dn,[]);pn.options=St;const Ei=St.delay?Me(St.delay):0;pn.currentTimeline.delayNextStep(Ei),pn.currentTimeline.setStyles([nt],null,pn.errors,St),ni(this,te,pn);const si=pn.timelines.filter(xn=>xn.containsAnimation());if(si.length&&rt.size){let xn;for(let zn=si.length-1;zn>=0;zn--){const Ki=si[zn];if(Ki.element===j){xn=Ki;break}}xn&&!xn.allowOnlyTimelineStyles()&&xn.setStyles([rt],null,pn.errors,St)}return si.length?si.map(xn=>xn.buildKeyframes()):[xi(j,[],[],[],0,Ei,"",!1)]}visitTrigger(N,j){}visitState(N,j){}visitTransition(N,j){}visitAnimateChild(N,j){const te=j.subInstructions.get(j.element);if(te){const De=j.createSubContext(N.options),$e=j.currentTimeline.currentTime,nt=this._visitSubInstructions(te,De,De.options);$e!=nt&&j.transformIntoNewTimeline(nt)}j.previousNode=N}visitAnimateRef(N,j){const te=j.createSubContext(N.options);te.transformIntoNewTimeline(),this._applyAnimationRefDelays([N.options,N.animation.options],j,te),this.visitReference(N.animation,te),j.transformIntoNewTimeline(te.currentTimeline.currentTime),j.previousNode=N}_applyAnimationRefDelays(N,j,te){for(const De of N){const $e=De?.delay;if($e){const nt="number"==typeof $e?$e:Me(Ye($e,De?.params??{},j.errors));te.delayNextStep(nt)}}}_visitSubInstructions(N,j,te){let $e=j.currentTimeline.currentTime;const nt=null!=te.duration?Me(te.duration):null,rt=null!=te.delay?Me(te.delay):null;return 0!==nt&&N.forEach(St=>{const kt=j.appendInstructionToTimeline(St,nt,rt);$e=Math.max($e,kt.duration+kt.delay)}),$e}visitReference(N,j){j.updateOptions(N.options,!0),ni(this,N.animation,j),j.previousNode=N}visitSequence(N,j){const te=j.subContextCount;let De=j;const $e=N.options;if($e&&($e.params||$e.delay)&&(De=j.createSubContext($e),De.transformIntoNewTimeline(),null!=$e.delay)){De.previousNode.type==$.If.Style&&(De.currentTimeline.snapshotCurrentStyles(),De.previousNode=Zs);const nt=Me($e.delay);De.delayNextStep(nt)}N.steps.length&&(N.steps.forEach(nt=>ni(this,nt,De)),De.currentTimeline.applyStylesToKeyframe(),De.subContextCount>te&&De.transformIntoNewTimeline()),j.previousNode=N}visitGroup(N,j){const te=[];let De=j.currentTimeline.currentTime;const $e=N.options&&N.options.delay?Me(N.options.delay):0;N.steps.forEach(nt=>{const rt=j.createSubContext(N.options);$e&&rt.delayNextStep($e),ni(this,nt,rt),De=Math.max(De,rt.currentTimeline.currentTime),te.push(rt.currentTimeline)}),te.forEach(nt=>j.currentTimeline.mergeTimelineCollectedStyles(nt)),j.transformIntoNewTimeline(De),j.previousNode=N}_visitTiming(N,j){if(N.dynamic){const te=N.strValue;return C(j.params?Ye(te,j.params,j.errors):te,j.errors)}return{duration:N.duration,delay:N.delay,easing:N.easing}}visitAnimate(N,j){const te=j.currentAnimateTimings=this._visitTiming(N.timings,j),De=j.currentTimeline;te.delay&&(j.incrementTime(te.delay),De.snapshotCurrentStyles());const $e=N.style;$e.type==$.If.Keyframes?this.visitKeyframes($e,j):(j.incrementTime(te.duration),this.visitStyle($e,j),De.applyStylesToKeyframe()),j.currentAnimateTimings=null,j.previousNode=N}visitStyle(N,j){const te=j.currentTimeline,De=j.currentAnimateTimings;!De&&te.hasCurrentStyleProperties()&&te.forwardFrame();const $e=De&&De.easing||N.easing;N.isEmptyStep?te.applyEmptyStep($e):te.setStyles(N.styles,$e,j.errors,j.options),j.previousNode=N}visitKeyframes(N,j){const te=j.currentAnimateTimings,De=j.currentTimeline.duration,$e=te.duration,rt=j.createSubContext().currentTimeline;rt.easing=te.easing,N.styles.forEach(St=>{rt.forwardTime((St.offset||0)*$e),rt.setStyles(St.styles,St.easing,j.errors,j.options),rt.applyStylesToKeyframe()}),j.currentTimeline.mergeTimelineCollectedStyles(rt),j.transformIntoNewTimeline(De+$e),j.previousNode=N}visitQuery(N,j){const te=j.currentTimeline.currentTime,De=N.options||{},$e=De.delay?Me(De.delay):0;$e&&(j.previousNode.type===$.If.Style||0==te&&j.currentTimeline.hasCurrentStyleProperties())&&(j.currentTimeline.snapshotCurrentStyles(),j.previousNode=Zs);let nt=te;const rt=j.invokeQuery(N.selector,N.originalSelector,N.limit,N.includeSelf,!!De.optional,j.errors);j.currentQueryTotal=rt.length;let St=null;rt.forEach((kt,dn)=>{j.currentQueryIndex=dn;const pn=j.createSubContext(N.options,kt);$e&&pn.delayNextStep($e),kt===j.element&&(St=pn.currentTimeline),ni(this,N.animation,pn),pn.currentTimeline.applyStylesToKeyframe(),nt=Math.max(nt,pn.currentTimeline.currentTime)}),j.currentQueryIndex=0,j.currentQueryTotal=0,j.transformIntoNewTimeline(nt),St&&(j.currentTimeline.mergeTimelineCollectedStyles(St),j.currentTimeline.snapshotCurrentStyles()),j.previousNode=N}visitStagger(N,j){const te=j.parentContext,De=j.currentTimeline,$e=N.timings,nt=Math.abs($e.duration),rt=nt*(j.currentQueryTotal-1);let St=nt*j.currentQueryIndex;switch($e.duration<0?"reverse":$e.easing){case"reverse":St=rt-St;break;case"full":St=te.currentStaggerTime}const dn=j.currentTimeline;St&&dn.delayNextStep(St);const pn=dn.currentTime;ni(this,N.animation,j),j.previousNode=N,te.currentStaggerTime=De.currentTime-pn+(De.startTime-te.currentTimeline.startTime)}}const Zs={};class To{constructor(N,j,te,De,$e,nt,rt,St){this._driver=N,this.element=j,this.subInstructions=te,this._enterClassName=De,this._leaveClassName=$e,this.errors=nt,this.timelines=rt,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Zs,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=St||new Io(this._driver,j,0),rt.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(N,j){if(!N)return;const te=N;let De=this.options;null!=te.duration&&(De.duration=Me(te.duration)),null!=te.delay&&(De.delay=Me(te.delay));const $e=te.params;if($e){let nt=De.params;nt||(nt=this.options.params={}),Object.keys($e).forEach(rt=>{(!j||!nt.hasOwnProperty(rt))&&(nt[rt]=Ye($e[rt],nt,this.errors))})}}_copyOptions(){const N={};if(this.options){const j=this.options.params;if(j){const te=N.params={};Object.keys(j).forEach(De=>{te[De]=j[De]})}}return N}createSubContext(N=null,j,te){const De=j||this.element,$e=new To(this._driver,De,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(De,te||0));return $e.previousNode=this.previousNode,$e.currentAnimateTimings=this.currentAnimateTimings,$e.options=this._copyOptions(),$e.updateOptions(N),$e.currentQueryIndex=this.currentQueryIndex,$e.currentQueryTotal=this.currentQueryTotal,$e.parentContext=this,this.subContextCount++,$e}transformIntoNewTimeline(N){return this.previousNode=Zs,this.currentTimeline=this.currentTimeline.fork(this.element,N),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(N,j,te){const De={duration:j??N.duration,delay:this.currentTimeline.currentTime+(te??0)+N.delay,easing:""},$e=new Ea(this._driver,N.element,N.keyframes,N.preStyleProps,N.postStyleProps,De,N.stretchStartingKeyframe);return this.timelines.push($e),De}incrementTime(N){this.currentTimeline.forwardTime(this.currentTimeline.duration+N)}delayNextStep(N){N>0&&this.currentTimeline.delayNextStep(N)}invokeQuery(N,j,te,De,$e,nt){let rt=[];if(De&&rt.push(this.element),N.length>0){N=(N=N.replace(Ds,"."+this._enterClassName)).replace(On,"."+this._leaveClassName);let kt=this._driver.query(this.element,N,1!=te);0!==te&&(kt=te<0?kt.slice(kt.length+te,kt.length):kt.slice(0,te)),rt.push(...kt)}return!$e&&0==rt.length&&nt.push(function ft(we){return new m.wOt(3014,!1)}()),rt}}class Io{constructor(N,j,te,De){this._driver=N,this.element=j,this.startTime=te,this._elementTimelineStylesLookup=De,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(j),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(j,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(N){const j=1===this._keyframes.size&&this._pendingStyles.size;this.duration||j?(this.forwardTime(this.currentTime+N),j&&this.snapshotCurrentStyles()):this.startTime+=N}fork(N,j){return this.applyStylesToKeyframe(),new Io(this._driver,N,j||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=ne
1w Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(N){this.applyStylesToKeyframe(),this.duration=N,this._loadKeyframe()}_updateStyle(N,j){this._localTimelineStyles.set(N,j),this._globalTimelineStyles.set(N,j),this._styleSummary.set(N,{time:this.currentTime,value:j})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(N){N&&this._previousKeyframe.set("easing",N);for(let[j,te]of this._globalTimelineStyles)this._backFill.set(j,te||$.kp),this._currentKeyframe.set(j,$.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(N,j,te,De){j&&this._previousKeyframe.set("easing",j);const $e=De&&De.params||{},nt=function oi(we,N){const j=new Map;let te;return we.forEach(De=>{if("*"===De){te??=N.keys();for(let $e of te)j.set($e,$.kp)}else for(let[$e,nt]of De)j.set($e,nt)}),j}(N,this._globalTimelineStyles);for(let[rt,St]of nt){const kt=Ye(St,$e,te);this._pendingStyles.set(rt,kt),this._localTimelineStyles.has(rt)||this._backFill.set(rt,this._globalTimelineStyles.get(rt)??$.kp),this._updateStyle(rt,kt)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((N,j)=>{this._currentKeyframe.set(j,N)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((N,j)=>{this._currentKeyframe.has(j)||this._currentKeyframe.set(j,N)}))}snapshotCurrentStyles(){for(let[N,j]of this._localTimelineStyles)this._pendingStyles.set(N,j),this._updateStyle(N,j)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const N=[];for(let j in this._currentKeyframe)N.push(j);return N}
1mergeTimelineCollectedStyles(N){N._styleSummary.forEach((j,te)=>{const De=this._styleSummary.get(te);(!De||j.time>De.time)&&this._updateStyle(te,j.value)})}buildKeyframes(){this.applyStylesToKeyframe();const N=new Set,j=new Set,te=1===this._keyframes.size&&0===this.duration;let De=[];this._keyframes.forEach((rt,St)=>{const kt=new Map([...this._backFill,...rt]);kt.forEach((dn,pn)=>{dn===$.FX?N.add(pn):dn===$.kp&&j.add(pn)}),te||kt.set("offset",St/this.duration),De.push(kt)});const $e=[...N.values()],nt=[...j.values()];if(te){const rt=De[0],St=new Map(rt);rt.set("offset",0),St.set("offset",1),De=[rt,St]}return xi(this.element,De,$e,nt,this.duration,this.startTime,this.easing,!1)}}class Ea extends Io{constructor(N,j,te,De,$e,nt,rt=!1){super(N,j,nt.delay),this.keyframes=te,this.preStyleProps=De,this.postStyleProps=$e,this._stretchStartingKeyframe=rt,this.timings={duration:nt.duration,delay:nt.delay,easing:nt.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let N=this.keyframes,{delay:j,duration:te,easing:De}=this.timings;if(this._stretchStartingKeyframe&&j){const $e=[],nt=te+j,rt=j/nt,St=new Map(N[0]);St.set("offset",0),$e.push(St);const kt=new Map(N[0]);kt.set("offset",Do(rt)),$e.push(kt);const dn=N.length-1;for(let pn=1;pn<=dn;pn++){let Ei=new Map(N[pn]);const si=Ei.get("offset");Ei.set("offset",Do((j+si*te)/nt)),$e.push(Ei)}te=nt,j=0,De="",N=$e}return xi(this.element,N,this.preStyleProps,this.postStyleProps,te,j,De,!0)}}function Do(we,N=3){const j=Math.pow(10,N-1);return Math.round(we*j)/j}function Yr(we,N,j,te,De,$e,nt,rt,St,kt,dn,pn,Ei){return{type:0,element:we,triggerName:N,isRemovalTransition:De,fromState:j,fromStyles:$e,toState:te,toStyles:nt,timelines:rt,queriedElements:St,preStyleProps:kt,postStyleProps:dn,totalTime:pn,errors:Ei}}const $r={};class ks{constructor(N,j,te){this._triggerName=N,this.ast=j,this._stateStyles=te}match(N,j,te,De){return function Bo(we,N,j,te,De){return we.some($e=>$e(N,j,te,De))}(this.ast.matchers,N,j,te,De)}buildStyles(N,j,te){let De=this._stateStyles.get("*");return void 0!==N&&(De=this._stateStyles.get(N?.toString())||De),De?De.buildStyles(j,te):new Map}build(N,j,te,De,$e,nt,rt,St,kt,dn){const pn=[],Ei=this.ast.options&&this.ast.options.params||$r,xn=this.buildStyles(te,rt&&rt.params||$r,pn),zn=St&&St.params||$r,Ki=this.buildStyles(De,zn,pn),_s=new Set,Us=new Map,Gs=new Map,Ji="void"===De,ir={params:Yo(zn,Ei),delay:this.ast.options?.delay},dr=dn?[]:Xn(N,j,this.ast.animation,$e,nt,xn,Ki,ir,kt,pn);let Fi=0;return dr.forEach(yr=>{Fi=Math.max(yr.duration+yr.delay,Fi)}),pn.length?Yr(j,this._triggerName,te,De,Ji,xn,Ki,[],[],Us,Gs,Fi,pn):(dr.forEach(yr=>{const Ao=yr.element,mr=bt(Us,Ao,new Set);yr.preStyleProps.forEach(Ns=>mr.add(Ns));const gs=bt(Gs,Ao,new Set);yr.postStyleProps.forEach(Ns=>gs.add(Ns)),Ao!==j&&_s.add(Ao)}),Yr(j,this._triggerName,te,De,Ji,xn,Ki,dr,[..._s.values()],Us,Gs,Fi))}}function Yo(we,N){const j={...N};return Object.entries(we).forEach(([te,De])=>{null!=De&&(j[te]=De)}),j}class gr{constructor(N,j,te){this.styles=N,this.defaultParams=j,this.normalizer=te}buildStyles(N,j){const te=new Map,De=Yo(N,this.defaultParams);return this.styles.styles.forEach($e=>{"string"!=typeof $e&&$e.forEach((nt,rt)=>{nt&&(nt=Ye(nt,De,j));const St=this.normalizer.normalizePropertyName(rt,j);nt=this.normalizer.normalizeStyleValue(rt,St,nt,j),te.set(rt,nt)})}),te}}class Nr{constructor(N,j,te){this.name=N,this.ast=j,this._normalizer=te,this.transitionFactories=[],this.states=new Map,j.states.forEach(De=>{this.states.set(De.name,new gr(De.style,De.options&&De.options.params||{},te))}),no(this.states,"true","1"),no(this.states,"false","0"),j.transitions.forEach(De=>{this.transitionFactories.push(new ks(N,De,this.states))}),this.fallbackTransition=function fo(we,N,j){return new ks(we,{type:$.If.Transition,animation:{type:$.If.Sequence,steps:[],options:null},matchers:[(nt,rt)=>!0],options:null,queryCount:0,depCount:0},N)}(N,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(N,j,te,De){return this.transitionFactories.find(nt=>nt.match(N,j,te,De))||null}matchStyles(N,j,te){return this.fallbackTransition.buildStyles(N,j,te)}}function no(we,N,j){we.has(N)?we.has(j)||we.set(j,we.get(N)):we.has(j)&&we.set(N,we.get(j))}const Mo=new ps;class $o{constructor(N,j,te){this.bodyNode=N,this._driver=j,this._normalizer=te,this._animations=new Map,this._playersById=new Map,this.players=[]}register(N,j){const te=[],$e=Wn(this._driver,j,te,[]);if(te.length)throw function ot(we){return new m.wOt(3503,!1)}();this._animations.set(N,$e)}_buildPlayer(N,j,te){const De=N.element,$e=Ke(this._normalizer,N.keyframes,j,te);return this._driver.animate(De,$e,N.duration,N.delay,N.easing,[],!0)}create(N,j,te={}){const De=[],$e=this._animations.get(N);let nt;const rt=new Map;if($e?(nt=Xn(this._driver,j,$e,ji,ti,new Map,new Map,te,Mo,De),nt.forEach(dn=>{const pn=bt(rt,dn.element,new Map);dn.postStyleProps.forEach(Ei=>pn.set(Ei,null))})):(De.push(function vt(){return new m.wOt(3300,!1)}()),nt=[]),De.length)throw function je(we){return new m.wOt(3504,!1)}();rt.forEach((dn,pn)=>{dn.forEach((Ei,si)=>{dn.set(si,this._driver.computeStyle(pn,si,$.kp))})});const kt=mt(nt.map(dn=>{const pn=rt.get(dn.element);return this._buildPlayer(dn,new Map,pn)}));return this._playersById.set(N,kt),kt.onDestroy(()=>this.destroy(N)),this.players.push(kt),kt}destroy(N){const j=this._getPlayer(N);j.destroy(),this._playersById.delete(N);const te=this.players.indexOf(j);te>=0&&this.players.splice(te,1)}_getPlayer(N){const j=this._playersById.get(N);if(!j)throw function He(we){return new m.wOt(3301,!1)}();return j}listen(N,j,te,De){const $e=qe(j,"","","");return Ge(this._getPlayer(N),te,$e,De),()=>{}}command(N,j,te,De){if("register"==te)return void this.register(N,De[0]);if("create"==te)return void this.create(N,j,De[0]||{});const $e=this._getPlayer(N);switch(te){case"play":$e.play();break;case"pause":$e.pause();break;case"reset":$e.reset();break;case"restart":$e.restart();break;case"finish":$e.finish();break;
vendor: 26,067 bytes, line 1
1case"init":$e.init();break;case"setPosition":$e.setPosition(parseFloat(De[0]));break;case"destroy":this.destroy(N)}}}const ms="ng-animate-queued",lr="ng-animate-disabled",Vn=[],Gr={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},So={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},$s="__ng_removed";class io{get params(){return this.options.params}constructor(N,j=""){this.namespaceId=j;const te=N&&N.hasOwnProperty("value");if(this.value=function Ia(we){return we??null}(te?N.value:N),te){const{value:$e,...nt}=N;this.options=nt}else this.options={};this.options.params||(this.options.params={})}absorbOptions(N){const j=N.params;if(j){const te=this.options.params;Object.keys(j).forEach(De=>{null==te[De]&&(te[De]=j[De])})}}}const Or="void",so=new io(Or);class Ro{constructor(N,j,te){this.id=N,this.hostElement=j,this._engine=te,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+N,Ls(j,this._hostClassName)}listen(N,j,te,De){if(!this._triggers.has(j))throw function Ve(we,N){return new m.wOt(3302,!1)}();if(null==te||0==te.length)throw function at(we){return new m.wOt(3303,!1)}();if(!function ro(we){return"start"==we||"done"==we}(te))throw function Tt(we,N){return new m.wOt(3400,!1)}();const $e=bt(this._elementListeners,N,[]),nt={name:j,phase:te,callback:De};$e.push(nt);const rt=bt(this._engine.statesByElement,N,new Map);return rt.has(j)||(Ls(N,_n),Ls(N,_n+"-"+j),rt.set(j,so)),()=>{this._engine.afterFlush(()=>{const St=$e.indexOf(nt);St>=0&&$e.splice(St,1),this._triggers.has(j)||rt.delete(j)})}}register(N,j){return!this._triggers.has(N)&&(this._triggers.set(N,j),!0)}_getTrigger(N){const j=this._triggers.get(N);if(!j)throw function wt(we){return new m.wOt(3401,!1)}();return j}trigger(N,j,te,De=!0){const $e=this._getTrigger(j),nt=new Mr(this.id,j,N);let rt=this._engine.statesByElement.get(N);rt||(Ls(N,_n),Ls(N,_n+"-"+j),this._engine.statesByElement.set(N,rt=new Map));let St=rt.get(j);const kt=new io(te,this.id);if(!(te&&te.hasOwnProperty("value"))&&St&&kt.absorbOptions(St.options),rt.set(j,kt),St||(St=so),kt.value!==Or&&St.value===kt.value){if(!function Vo(we,N){const j=Object.keys(we),te=Object.keys(N);if(j.length!=te.length)return!1;for(let De=0;De<j.length;De++){const $e=j[De];if(!N.hasOwnProperty($e)||we[$e]!==N[$e])return!1}return!0}(St.params,kt.params)){const zn=[],Ki=$e.matchStyles(St.value,St.params,zn),_s=$e.matchStyles(kt.value,kt.params,zn);zn.length?this._engine.reportError(zn):this._engine.afterFlush(()=>{$t(N,Ki),ht(N,_s)})}return}const Ei=bt(this._engine.playersByElement,N,[]);Ei.forEach(zn=>{zn.namespaceId==this.id&&zn.triggerName==j&&zn.queued&&zn.destroy()});let si=$e.matchTransition(St.value,kt.value,N,kt.params),xn=!1;if(!si){if(!De)return;si=$e.fallbackTransition,xn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:N,triggerName:j,transition:si,fromState:St,toState:kt,player:nt,isFallbackTransition:xn}),xn||(Ls(N,ms),nt.onStart(()=>{as(N,ms)})),nt.onDone(()=>{let zn=this.players.indexOf(nt);zn>=0&&this.players.splice(zn,1);const Ki=this._engine.playersByElement.get(N);if(Ki){let _s=Ki.indexOf(nt);_s>=0&&Ki.splice(_s,1)}}),this.players.push(nt),Ei.push(nt),nt}deregister(N){this._triggers.delete(N),this._engine.statesByElement.forEach(j=>j.delete(N)),this._elementListeners.forEach((j,te)=>{this._elementListeners.set(te,j.filter(De=>De.name!=N))})}clearElementCache(N){this._engine.statesByElement.delete(N),this._elementListeners.delete(N);const j=this._engine.playersByElement.get(N);j&&(j.forEach(te=>te.destroy()),this._engine.playersByElement.delete(N))}_signalRemovalForInnerTriggers(N,j){const te=this._engine.driver.query(N,Bi,!0);te.forEach(De=>{if(De[$s])return;const $e=this._engine.fetchNamespacesByElement(De);$e.size?$e.forEach(nt=>nt.triggerLeaveAnimation(De,j,!1,!0)):this.clearElementCache(De)}),this._engine.afterFlushAnimationsDone(()=>te.forEach(De=>this.clearElementCache(De)))}triggerLeaveAnimation(N,j,te,De){const $e=this._engine.statesByElement.get(N),nt=new Map;if($e){const rt=[];if($e.forEach((St,kt)=>{if(nt.set(kt,St.value),this._triggers.has(kt)){const dn=this.trigger(N,kt,Or,De);dn&&rt.push(dn)}}),rt.length)return this._engine.markElementAsRemoved(this.id,N,!0,j,nt),te&&mt(rt).onDone(()=>this._engine.processLeaveNode(N)),!0}return!1}prepareLeaveAnimationListeners(N){const j=this._elementListeners.get(N),te=this._engine.statesByElement.get(N);if(j&&te){const De=new Set;j.forEach($e=>{const nt=$e.name;if(De.has(nt))return;De.add(nt);const St=this._triggers.get(nt).fallbackTransition,kt=te.get(nt)||so,dn=new io(Or),pn=new Mr(this.id,nt,N);this._engine.totalQueuedPlayers++,this._queue.push({element:N,triggerName:nt,transition:St,fromState:kt,toState:dn,player:pn,isFallbackTransition:!0})})}}removeNode(N,j){const te=this._engine;if(N.childElementCount&&this._signalRemovalForInnerTriggers(N,j),this.triggerLeaveAnimation(N,j,!0))return;let De=!1;if(te.totalAnimations){const $e=te.players.length?te.playersByQueriedElement.get(N):[];if($e&&$e.length)De=!0;else{let nt=N;for(;nt=nt.parentNode;)if(te.statesByElement.get(nt)){De=!0;break}}}if(this.prepareLeaveAnimationListeners(N),De)te.markElementAsRemoved(this.id,N,!1,j);else{const $e=N[$s];(!$e||$e===Gr)&&(te.afterFlush(()=>this.clearElementCache(N)),te.destroyInnerAnimations(N),te._onRemovalComplete(N,j))}}insertNode(N,j){Ls(N,this._hostClassName)}drainQueuedTransitions(N){const j=[];return this._queue.forEach(te=>{const De=te.player;if(De.destroyed)return;const $e=te.element,nt=this._elementListeners.get($e);nt&&nt.forEach(rt=>{if(rt.name==te.triggerName){const St=qe($e,te.triggerName,te.fromState.value,te.toState.value);St._data=N,Ge(te.player,rt.phase,St,rt.callback)}}),De.markedForDestroy?this._engine.afterFlush(()=>{De.destroy()}):j.push(te)}),this._queue=[],j.sort((te,De)=>{const $e=te.transition.ast.depCount,nt=De.transition.ast.depCount;return 0==$e||0==nt?$e-nt:this._engine.driver.containsElement(te.element,De.element)?1:-1})}destroy(N){this.players.forEach(j=>j.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,N)}}class _i{_onRemovalComplete(N,j){this.onRemovalComplete(N,j)}constructor(N,j,te,De){this.bodyNode=N,this.driver=j,this._normalizer=te,this.scheduler=De,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=($e,nt)=>{}}get queuedPlayers(){const N=[];return this._namespaceList.forEach(j=>{j.players.forEach(te=>{te.queued&&N.push(te)})}),N}createNamespace(N,j){const te=new Ro(N,j,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,j)?this._balanceNamespaceList(te,j):(this.newHostElements.set(j,te),this.collectEnterElement(j)),this._namespaceLookup[N]=te}_balanceNamespaceList(N,j){const te=this._namespaceList,De=this.namespacesByHostElement;if(te.length-1>=0){let nt=!1,rt=this.driver.getParentElement(j);for(;rt;){const St=De.get(rt);if(St){const kt=te.indexOf(St);te.splice(kt+1,0,N),nt=!0;break}rt=this.driver.getParentElement(rt)}nt||te.unshift(N)}else te.push(N);return De.set(j,N),N}register(N,j){let te=this._namespaceLookup[N];return te||(te=this.createNamespace(N,j)),te}registerTrigger(N,j,te){let De=this._namespaceLookup[N];De&&De.register(j,te)&&this.totalAnimations++}destroy(N,j){N&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const te=this._fetchNamespace(N);this.namespacesByHostElement.delete(te.hostElement);const De=this._namespaceList.indexOf(te);De>=0&&this._namespaceList.splice(De,1),te.destroy(j),delete this._namespaceLookup[N]}))}_fetchNamespace(N){return this._namespaceLookup[N]}fetchNamespacesByElement(N){const j=new Set,te=this.statesByElement.get(N);if(te)for(let De of te.values())if(De.namespaceId){const $e=this._fetchNamespace(De.namespaceId);$e&&j.add($e)}return j}trigger(N,j,te,De){if(er(j)){const $e=this._fetchNamespace(N);if($e)return $e.trigger(j,te,De),!0}return!1}insertNode(N,j,te,De){if(!er(j))return;const $e=j[$s];if($e&&$e.setForRemoval){$e.setForRemoval=!1,$e.setForMove=!0;const nt=this.collectedLeaveElements.indexOf(j);nt>=0&&this.collectedLeaveElements.splice(nt,1)}if(N){const nt=this._fetchNamespace(N);nt&&nt.insertNode(j,te)}De&&this.collectEnterElement(j)}collectEnterElement(N){this.collectedEnterElements.push(N)}markElementAsDisabled(N,j){j?this.disabledNodes.has(N)||(this.disabledNodes.add(N),Ls(N,lr)):this.disabledNodes.has(N)&&(this.disabledNodes.delete(N),as(N,lr))}removeNode(N,j,te){if(er(j)){this.scheduler?.notify();const De=N?this._fetchNamespace(N):null;De?De.removeNode(j,te):this.markElementAsRemoved(N,j,!1,te);const $e=this.namespacesByHostElement.get(j);$e&&$e.id!==N&&$e.removeNode(j,te)}else this._onRemovalComplete(j,te)}markElementAsRemoved(N,j,te,De,$e){this.collectedLeaveElements.push(j),j[$s]={namespaceId:N,setForRemoval:De,hasAnimation:te,removedBeforeQueried:!1,previousTriggersValues:$e}}listen(N,j,te,De,$e){return er(j)?this._fetchNamespace(N).listen(j,te,De,$e):()=>{}}_buildInstruction(N,j,te,De,$e){return N.transition.build(this.driver,N.element,N.fromState.value,N.toState.value,te,De,N.fromState.options,N.toState.options,j,$e)}destroyInnerAnimations(N){let j=this.driver.query(N,Bi,!0);j.forEach(te=>this.destroyActiveAnimationsForElement(te)),0!=this.playersByQueriedElement.size&&(j=this.driver.query(N,Yi,!0),j.forEach(te=>this.finishActiveQueriedAnimationOnElement(te)))}destroyActiveAnimationsForElement(N){const j=this.playersByElement.get(N);j&&j.forEach(te=>{te.queued?te.markedForDestroy=!0:te.destroy()})}finishActiveQueriedAnimationOnElement(N){const j=this.playersByQueriedElement.get(N);j&&j.forEach(te=>te.finish())}whenRenderingDone(){return new Promise(N=>{if(this.players.length)return mt(this.players).onDone(()=>N());N()})}processLeaveNode(N){const j=N[$s];if(j&&j.setForRemoval){if(N[$s]=Gr,j.namespaceId){this.destroyInnerAnimations(N);const te=this._fetchNamespace(j.namespaceId);te&&te.clearElementCache(N)}this._onRemovalComplete(N,j.setForRemoval)}N.classList?.contains(lr)&&this.markElementAsDisabled(N,!1),this.driver.query(N,".ng-animate-disabled",!0).forEach(te=>{this.markElementAsDisabled(te,!1)})}flush(N=-1){let j=[];if(this.newHostElements.size&&(this.newHostElements.forEach((te,De)=>this._balanceNamespaceList(te,De)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let te=0;te<this.collectedEnterElements.length;te++)Ls(this.collectedEnterElements[te],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const te=[];try{j=this._flushAnimations(te,N)}finally{for(let De=0;De<te.length;De++)te[De]()}}else for(let te=0;te<this.collectedLeaveElements.length;te++)this.processLeaveNode(this.collectedLeaveElements[te]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(te=>te()),this._flushFns=[],this._whenQuietFns.length){const te=this._whenQuietFns;this._whenQuietFns=[],j.length?mt(j).onDone(()=>{te.forEach(De=>De())}):te.forEach(De=>De())}}reportError(N){throw function jt(we){return new m.wOt(3402,!1)}()}_flushAnimations(N,j){const te=new ps,De=[],$e=new Map,nt=[],rt=new Map,St=new Map,kt=new Map,dn=new Set;this.disabledNodes.forEach(bn=>{dn.add(bn);const Fn=this.driver.query(bn,".ng-animate-queued",!0);for(let Rn=0;Rn<Fn.length;Rn++)dn.add(Fn[Rn])});const pn=this.bodyNode,Ei=Array.from(this.statesByElement.keys()),si=Vr(Ei,this.collectedEnterElements),xn=new Map;let zn=0;si.forEach((bn,Fn)=>{const Rn=ji+zn++;xn.set(Fn,Rn),bn.forEach(F=>Ls(F,Rn))});const Ki=[],_s=new Set,Us=new Set;for(let bn=0;bn<this.collectedLeaveElements.length;bn++){const Fn=this.collectedLeaveElements[bn],Rn=Fn[$s];Rn&&Rn.setForRemoval&&(Ki.push(Fn),_s.add(Fn),Rn.hasAnimation?this.driver.query(Fn,".ng-star-inserted",!0).forEach(F=>_s.add(F)):Us.add(Fn))}const Gs=new Map,Ji=Vr(Ei,Array.from(_s));Ji.forEach((bn,Fn)=>{const Rn=ti+zn++;Gs.set(Fn,Rn),bn.forEach(F=>Ls(F,Rn))}),N.push(()=>{si.forEach((bn,Fn)=>{const Rn=xn.get(Fn);bn.forEach(F=>as(F,Rn))}),Ji.forEach((bn,Fn)=>{const Rn=Gs.get(Fn);bn.forEach(F=>as(F,Rn))}),Ki.forEach(bn=>{this.processLeaveNode(bn)})});const ir=[],dr=[];for(let bn=this._namespaceList.length-1;bn>=0;bn--)this._namespaceList[bn].drainQueuedTransitions(j).forEach(Rn=>{const F=Rn.player,be=Rn.element;if(ir.push(F),this.collectedEnterElements.length){const di=be[$s];if(di&&di.setForMove){if(di.previousTriggersValues&&di.previousTriggersValues.has(Rn.triggerName)){const Ti=di.previousTriggersValues.get(Rn.triggerName),qn=this.statesByElement.get(Rn.element);if(qn&&qn.has(Rn.triggerName)){const Bn=qn.get(Rn.triggerName);Bn.value=Ti,qn.set(Rn.triggerName,Bn)}}return void F.destroy()}}const J=!pn||!this.driver.containsElement(pn,be),ce=Gs.get(be),Xe=xn.get(be),Et=this._buildInstruction(Rn,te,Xe,ce,J);if(Et.errors&&Et.errors.length)return void dr.push(Et);if(J)return F.onStart(()=>$t(be,Et.fromStyles)),F.onDestroy(()=>ht(be,Et.toStyles)),void De.push(F);if(Rn.isFallbackTransition)return F.onStart(()=>$t(be,Et.fromStyles)),F.onDestroy(()=>ht(be,Et.toStyles)),void De.push(F);const Lt=[];Et.timelines.forEach(di=>{di.stretchStartingKeyframe=!0,this.disabledNodes.has(di.element)||Lt.push(di)}),Et.timelines=Lt,te.append(be,Et.timelines),nt.push({instruction:Et,player:F,element:be}),Et.queriedElements.forEach(di=>bt(rt,di,[]).push(F)),Et.preStyleProps.forEach((di,Ti)=>{if(di.size){let qn=St.get(Ti);qn||St.set(Ti,qn=new Set),di.forEach((Bn,Wi)=>qn.add(Wi))}}),Et.postStyleProps.forEach((di,Ti)=>{let qn=kt.get(Ti);qn||kt.set(Ti,qn=new Set),di.forEach((Bn,Wi)=>qn.add(Wi))})});if(dr.length){const bn=[];dr.forEach(Fn=>{bn.push(function Ln(we,N){return new m.wOt(3505,!1)}())}),ir.forEach(Fn=>Fn.destroy()),this.reportError(bn)}const Fi=new Map,yr=new Map;nt.forEach(bn=>{const Fn=bn.element;te.has(Fn)&&(yr.set(Fn,Fn),this._beforeAnimationBuild(bn.player.namespaceId,bn.instruction,Fi))}),De.forEach(bn=>{const Fn=bn.element;this._getPreviousPlayers(Fn,!1,bn.namespaceId,bn.triggerName,null).forEach(F=>{bt(Fi,Fn,[]).push(F),F.destroy()})});const Ao=Ki.filter(bn=>tr(bn,St,kt)),mr=new Map;As(mr,this.driver,Us,kt,$.kp).forEach(bn=>{tr(bn,St,kt)&&Ao.push(bn)});const Ns=new Map;si.forEach((bn,Fn)=>{As(Ns,this.driver,new Set(bn),St,$.FX)}),Ao.forEach(bn=>{const Fn=mr.get(bn),Rn=Ns.get(bn);mr.set(bn,new Map([...Fn?.entries()??[],...Rn?.entries()??[]]))});const co=[],ra=[],Ho={};nt.forEach(bn=>{const{element:Fn,player:Rn,instruction:F}=bn;if(te.has(Fn)){if(dn.has(Fn))return Rn.onDestroy(()=>ht(Fn,F.toStyles)),Rn.disabled=!0,Rn.overrideTotalTime(F.totalTime),void De.push(Rn);let be=Ho;if(yr.size>1){let ce=Fn;const Xe=[];for(;ce=ce.parentNode;){const Et=yr.get(ce);if(Et){be=Et;break}Xe.push(ce)}Xe.forEach(Et=>yr.set(Et,be))}const J=this._buildAnimation(Rn.namespaceId,F,Fi,$e,Ns,mr);if(Rn.setRealPlayer(J),be===Ho)co.push(Rn);else{const ce=this.playersByElement.get(be);ce&&ce.length&&(Rn.parentPlayer=mt(ce)),De.push(Rn)}}else $t(Fn,F.fromStyles),Rn.onDestroy(()=>ht(Fn,F.toStyles)),ra.push(Rn),dn.has(Fn)&&De.push(Rn)}),ra.forEach(bn=>{const Fn=$e.get(bn.element);if(Fn&&Fn.length){const Rn=mt(Fn);bn.setRealPlayer(Rn)}}),De.forEach(bn=>{bn.parentPlayer?bn.syncPlayerEvents(bn.parentPlayer):bn.destroy()});for(let bn=0;bn<Ki.length;bn++){const Fn=Ki[bn],Rn=Fn[$s];if(as(Fn,ti),Rn&&Rn.hasAnimation)continue;let F=[];if(rt.size){let J=rt.get(Fn);J&&J.length&&F.push(...J);let ce=this.driver.query(Fn,Yi,!0);for(let Xe=0;Xe<ce.length;Xe++){let Et=rt.get(ce[Xe]);Et&&Et.length&&F.push(...Et)}}const be=F.filter(J=>!J.destroyed);be.length?ea(this,Fn,be):this.processLeaveNode(Fn)}return Ki.length=0,co.forEach(bn=>{this.players.push(bn),bn.onDone(()=>{bn.destroy();const Fn=this.players.indexOf(bn);this.players.splice(Fn,1)}),bn.play()}),co}afterFlush(N){this._flushFns.push(N)}afterFlushAnimationsDone(N){this._whenQuietFns.push(N)}_getPreviousPlayers(N,j,te,De,$e){let nt=[];if(j){const rt=this.playersByQueriedElement.get(N);rt&&(nt=rt)}else{const rt=this.playersByElement.get(N);if(rt){const St=!$e||$e==Or;rt.forEach(kt=>{kt.queued||!St&&kt.triggerName!=De||nt.push(kt)})}}return(te||De)&&(nt=nt.filter(rt=>!(te&&te!=rt.namespaceId||De&&De!=rt.triggerName))),nt}_beforeAnimationBuild(N,j,te){const $e=j.element,nt=j.isRemovalTransition?void 0:N,rt=j.isRemovalTransition?void 0:j.triggerName;for(const St of j.timelines){const kt=St.element,dn=kt!==$e,pn=bt(te,kt,[]);this._getPreviousPlayers(kt,dn,nt,rt,j.toState).forEach(si=>{const xn=si.getRealPlayer();xn.beforeDestroy&&xn.beforeDestroy(),si.destroy(),pn.push(si)})}$t($e,j.fromStyles)}_buildAnimation(N,j,te,De,$e,nt){const rt=j.triggerName,St=j.element,kt=[],dn=new Set,pn=new Set,Ei=j.timelines.map(xn=>{const zn=xn.element;dn.add(zn);const Ki=zn[$s];if(Ki&&Ki.removedBeforeQueried)return new $.sf(xn.duration,xn.delay);const _s=zn!==St,Us=function Hr(we){const N=[];return Go(we,N),N}((te.get(zn)||Vn).map(Fi=>Fi.getRealPlayer())).filter(Fi=>!!Fi.element&&Fi.element===zn),Gs=$e.get(zn),Ji=nt.get(zn),ir=Ke(this._normalizer,xn.keyframes,Gs,Ji),dr=this._buildPlayer(xn,ir,Us);if(xn.subTimeline&&De&&pn.add(zn),_s){const Fi=new Mr(N,rt,zn);Fi.setRealPlayer(dr),kt.push(Fi)}return dr});kt.forEach(xn=>{bt(this.playersByQueriedElement,xn.element,[]).push(xn),xn.onDone(()=>function ur(we,N,j){let te=we.get(N);if(te){if(te.length){const De=te.indexOf(j);te.splice(De,1)}0==te.length&&we.delete(N)}return te}(this.playersByQueriedElement,xn.element,xn))}),dn.forEach(xn=>Ls(xn,Ai));const si=mt(Ei);return si.onDestroy(()=>{dn.forEach(xn=>as(xn,Ai)),ht(St,j.toStyles)}),pn.forEach(xn=>{bt(De,xn,[]).push(si)}),si}_buildPlayer(N,j,te){return j.length>0?this.driver.animate(N.element,j,N.duration,N.delay,N.easing,te):new $.sf(N.duration,N.delay)}}class Mr{constructor(N,j,te){this.namespaceId=N,this.triggerName=j,this.element=te,this._player=new $.sf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(N){this._containsRealPlayer||(this._player=N,this._queuedCallbacks.forEach((j,te)=>{j.forEach(De=>Ge(N,te,void 0,De))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(N.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(N){this.totalTime=N}syncPlayerEvents(N){const j=this._player;j.triggerCallback&&N.onStart(()=>j.triggerCallback("start")),N.onDone(()=>this.finish()),N.onDestroy(()=>this.destroy())}_queueEvent(N,j){bt(this._queuedCallbacks,N,[]).push(j)}onDone(N){this.queued&&this._queueEvent("done",N),this._player.onDone(N)}onStart(N){this.queued&&this._queueEvent("start",N),this._player.onStart(N)}onDestroy(N){this.queued&&this._queueEvent("destroy",N),this._player.onDestroy(N)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(N){this.queued||this._player.setPosition(N)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(N){const j=this._player;j.triggerCallback&&j.triggerCallback(N)}}function er(we){return we&&1===we.nodeType}function Cs(we,N){const j=we.style.display;return we.style.display=N??"none",j}function As(we,N,j,te,De){const $e=[];j.forEach(St=>$e.push(Cs(St)));const nt=[];te.forEach((St,kt)=>{const dn=new Map;St.forEach(pn=>{const Ei=N.computeStyle(kt,pn,De);dn.set(pn,Ei),(!Ei||0==Ei.length)&&(kt[$s]=So,nt.push(kt))}),we.set(kt,dn)});let rt=0;return j.forEach(St=>Cs(St,$e[rt++])),nt}function Vr(we,N){const j=new Map;if(we.forEach(rt=>j.set(rt,[])),0==N.length)return j;const De=new Set(N),$e=new Map;function nt(rt){if(!rt)return 1;let St=$e.get(rt);if(St)return St;const kt=rt.parentNode;return St=j.has(kt)?kt:De.has(kt)?1:nt(kt),$e.set(rt,St),St}return N.forEach(rt=>{const St=nt(rt);1!==St&&j.get(St).push(rt)}),j}function Ls(we,N){we.classList?.add(N)}function as(we,N){we.classList?.remove(N)}function ea(we,N,j){mt(j).onDone(()=>we.processLeaveNode(N))}function Go(we,N){for(let j=0;j<we.length;j++){const te=we[j];te instanceof $.ui?Go(te.players,N):N.push(te)}}function tr(we,N,j){const te=j.get(we);if(!te)return!1;let De=N.get(we);return De?te.forEach($e=>De.add($e)):N.set(we,te),j.delete(we),!0}class br{constructor(N,j,te,De){this._driver=j,this._normalizer=te,this._triggerCache={},this.onRemovalComplete=($e,nt)=>{},this._transitionEngine=new _i(N.body,j,te,De),this._timelineEngine=new $o(N.body,j,te),this._transitionEngine.onRemovalComplete=($e,nt)=>this.onRemovalComplete($e,nt)}registerTrigger(N,j,te,De,$e){const nt=N+"-"+De;let rt=this._triggerCache[nt];if(!rt){const St=[],dn=Wn(this._driver,$e,St,[]);if(St.length)throw function et(we,N){return new m.wOt(3404,!1)}();rt=function Co(we,N,j){return new Nr(we,N,j)}(De,dn,this._normalizer),this._triggerCache[nt]=rt}this._transitionEngine.registerTrigger(j,De,rt)}register(N,j){this._transitionEngine.register(N,j)}destroy(N,j){this._transitionEngine.destroy(N,j)}onInsert(N,j,te,De){this._transitionEngine.insertNode(N,j,te,De)}onRemove(N,j,te){this._transitionEngine.removeNode(N,j,te)}disableAnimations(N,j){this._transitionEngine.markElementAsDisabled(N,j)}process(N,j,te,De){if("@"==te.charAt(0)){const[$e,nt]=Je(te);this._timelineEngine.command($e,j,nt,De)}else this._transitionEngine.trigger(N,j,te,De)}listen(N,j,te,De,$e){if("@"==te.charAt(0)){const[nt,rt]=Je(te);return this._timelineEngine.listen(nt,j,rt,$e)}return this._transitionEngine.listen(N,j,te,De,$e)}flush(N=-1){this._transitionEngine.flush(N)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(N){this._transitionEngine.afterFlushAnimationsDone(N)}}class wo{static{this.initialStylesByElement=new WeakMap}constructor(N,j,te){this._element=N,this._startStyles=j,this._endStyles=te,this._state=0;let De=wo.initialStylesByElement.get(N);De||wo.initialStylesByElement.set(N,De=new Map),this._initialStyles=De}start(){this._state<1&&(this._startStyles&&ht(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ht(this._element,this._initialStyles),this._endStyles&&(ht(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(wo.initialStylesByElement.delete(this._element),this._startStyles&&($t(this._element,this._startStyles),this._endStyles=null),this._endStyles&&($t(this._element,this._endStyles),this._endStyles=null),ht(this._element,this._initialStyles),this._state=3)}}function ta(we){let N=null;return we.forEach((j,te)=>{(function pr(we){return"display"===we||"position"===we})(te)&&(N=N||new Map,N.set(te,j))}),N}class ii{constructor(N,j,te,De){this.element=N,this.keyframes=j,this.options=te,this._specialStyles=De,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=te.duration,this._delay=te.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(N=>N()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const N=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,N,this.options),this._finalKeyframe=N.length?N[N.length-1]:new Map;const j=()=>this._onFinish();this.domPlayer.addEventListener("finish",j),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",j)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(N){const j=[];return N.forEach(te=>{j.push(Object.fromEntries(te))}),j}_triggerWebAnimation(N,j,te){return N.animate(this._convertKeyframesToObject(j),te)}onStart(N){this._originalOnStartFns.push(N),this._onStartFns.push(N)}onDone(N){this._originalOnDoneFns.push(N),this._onDoneFns.push(N)}onDestroy(N){this._onDestroyFns.push(N)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(N=>N()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(N=>N()),this._onDestroyFns=[])}setPosition(N){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=N*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const N=new Map;this.hasStarted()&&this._finalKeyframe.forEach((te,De)=>{"offset"!==De&&N.set(De,this._finished?te:ss(this.element,De))}),this.currentSnapshot=N}triggerCallback(N){const j="start"===N?this._onStartFns:this._onDoneFns;
1j.forEach(te=>te()),j.length=0}}class oo{validateStyleProperty(N){return!0}validateAnimatableStyleProperty(N){return!0}matchesElement(N,j){return!1}containsElement(N,j){return fi(N,j)}getParentElement(N){return Ft(N)}query(N,j,te){return Yt(N,j,te)}computeStyle(N,j,te){return ss(N,j)}animate(N,j,te,De,$e,nt=[]){const St={duration:te,delay:De,fill:0==De?"both":"forwards"};$e&&(St.easing=$e);const kt=new Map,dn=nt.filter(si=>si instanceof ii);(function zt(we,N){return 0===we||0===N})(te,De)&&dn.forEach(si=>{si.currentSnapshot.forEach((xn,zn)=>kt.set(zn,xn))});let pn=function he(we){return we.length?we[0]instanceof Map?we:we.map(N=>new Map(Object.entries(N))):[]}(j).map(si=>new Map(si));pn=function rn(we,N,j){if(j.size&&N.length){let te=N[0],De=[];if(j.forEach(($e,nt)=>{te.has(nt)||De.push(nt),te.set(nt,$e)}),De.length)for(let $e=1;$e<N.length;$e++){let nt=N[$e];De.forEach(rt=>nt.set(rt,ss(we,rt)))}}return N}(N,pn,kt);const Ei=function vr(we,N){let j=null,te=null;return Array.isArray(N)&&N.length?(j=ta(N[0]),N.length>1&&(te=ta(N[N.length-1]))):N instanceof Map&&(j=ta(N)),j||te?new wo(we,j,te):null}(N,pn);return new ii(N,pn,St,Ei)}}const Fr="@.disabled";class qr{constructor(N,j,te,De){this.namespaceId=N,this.delegate=j,this.engine=te,this._onDestroy=De,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(N){this.delegate.destroyNode?.(N)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(N,j){return this.delegate.createElement(N,j)}createComment(N){return this.delegate.createComment(N)}createText(N){return this.delegate.createText(N)}appendChild(N,j){this.delegate.appendChild(N,j),this.engine.onInsert(this.namespaceId,j,N,!1)}insertBefore(N,j,te,De=!0){this.delegate.insertBefore(N,j,te),this.engine.onInsert(this.namespaceId,j,N,De)}removeChild(N,j,te){this.engine.onRemove(this.namespaceId,j,this.delegate)}selectRootElement(N,j){return this.delegate.selectRootElement(N,j)}parentNode(N){return this.delegate.parentNode(N)}nextSibling(N){return this.delegate.nextSibling(N)}setAttribute(N,j,te,De){this.delegate.setAttribute(N,j,te,De)}removeAttribute(N,j,te){this.delegate.removeAttribute(N,j,te)}addClass(N,j){this.delegate.addClass(N,j)}removeClass(N,j){this.delegate.removeClass(N,j)}setStyle(N,j,te,De){this.delegate.setStyle(N,j,te,De)}removeStyle(N,j,te){this.delegate.removeStyle(N,j,te)}setProperty(N,j,te){"@"==j.charAt(0)&&j==Fr?this.disableAnimations(N,!!te):this.delegate.setProperty(N,j,te)}setValue(N,j){this.delegate.setValue(N,j)}listen(N,j,te){return this.delegate.listen(N,j,te)}disableAnimations(N,j){this.engine.disableAnimations(N,j)}}class ao extends qr{constructor(N,j,te,De,$e){super(j,te,De,$e),this.factory=N,this.namespaceId=j}setProperty(N,j,te){"@"==j.charAt(0)?"."==j.charAt(1)&&j==Fr?this.disableAnimations(N,te=void 0===te||!!te):this.engine.process(this.namespaceId,N,j.slice(1),te):this.delegate.setProperty(N,j,te)}listen(N,j,te){if("@"==j.charAt(0)){const De=function lo(we){switch(we){case"body":return document.body;case"document":return document;case"window":return window;default:return we}}(N);let $e=j.slice(1),nt="";return"@"!=$e.charAt(0)&&([$e,nt]=function ko(we){const N=we.indexOf(".");return[we.substring(0,N),we.slice(N+1)]}($e)),this.engine.listen(this.namespaceId,De,$e,nt,rt=>{this.factory.scheduleListenerCallback(rt._data||-1,te,rt)})}return this.delegate.listen(N,j,te)}}class de{constructor(N,j,te){this.delegate=N,this.engine=j,this._zone=te,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,j.onRemovalComplete=(De,$e)=>{const nt=$e?.parentNode(De);nt&&$e.removeChild(nt,De)}}createRenderer(N,j){const De=this.delegate.createRenderer(N,j);if(!N||!j?.data?.animation){const kt=this._rendererCache;let dn=kt.get(De);return dn||(dn=new qr("",De,this.engine,()=>kt.delete(De)),kt.set(De,dn)),dn}const $e=j.id,nt=j.id+"-"+this._currentId;this._currentId++,this.engine.register(nt,N);const rt=kt=>{Array.isArray(kt)?kt.forEach(rt):this.engine.registerTrigger($e,nt,N,kt.name,kt)};return j.data.animation.forEach(rt),new ao(this,nt,De,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(N,j,te){if(N>=0&&N<this._microtaskId)return void this._zone.run(()=>j(te));const De=this._animationCallbacksBuffer;0==De.length&&queueMicrotask(()=>{this._zone.run(()=>{De.forEach($e=>{const[nt,rt]=$e;nt(rt)}),this._animationCallbacksBuffer=[]})}),De.push([j,te])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}var fe=I(177);const In=[{provide:yi,useFactory:function Ae(){return new ge}},{provide:br,useClass:(()=>{class we extends br{constructor(j,te,De){super(j,te,De,(0,m.WQX)(m.An2,{optional:!0}))}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(te){return new(te||we)(m.KVO(fe.qQ),m.KVO(vi),m.KVO(yi))}}static{this.\u0275prov=m.jDH({token:we,factory:we.\u0275fac})}}return we})()},{provide:m._9s,useFactory:function Ze(we,N,j){return new de(we,N,j)},deps:[M.B7,br,m.SKi]}],Jn=[{provide:vi,useFactory:()=>new oo},{provide:m.bc$,useValue:"BrowserAnimations"},...In],Ms=[{provide:vi,useClass:Yn},{provide:m.bc$,useValue:"NoopAnimations"},...In];let Lr=(()=>{class we{static withConfig(j){return{ngModule:we,providers:j.disableAnimations?Ms:Jn}}static{this.\u0275fac=function(te){return new(te||we)}}static{this.\u0275mod=m.$C({type:we})}static{this.\u0275inj=m.G2t({providers:Jn,imports:[M.Bb]})}}return we})();
1var Ca=I(1626),na=I(3955);class ia{handle(N){return N.key.startsWith("validatorErrors.")?N.translateService.instant("createRequest.errorProcessing"):N.key}}class Xr{http;prefix;suffix;constructor(N,j="/assets/i18n/",te=".json"){this.http=N,this.prefix=j,this.suffix=te}getTranslation(N){return this.http.get(`${this.prefix}${N}${this.suffix}`)}}var bl=I(2219),Ma=I(4538);const Hi=void 0,sa=["es",[["a.\xa0m.","p.\xa0m."],Hi,Hi],Hi,[["D","L","M","X","J","V","S"],["dom","lun","mar","mi\xe9","jue","vie","s\xe1b"],["domingo","lunes","martes","mi\xe9rcoles","jueves","viernes","s\xe1bado"],["DO","LU","MA","MI","JU","VI","SA"]],Hi,[["E","F","M","A","M","J","J","A","S","O","N","D"],["ene","feb","mar","abr","may","jun","jul","ago","sept","oct","nov","dic"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]],Hi,[["a. C.","d. C."],Hi,["antes de Cristo","despu\xe9s de Cristo"]],1,[6,0],["d/M/yy","d MMM y","d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],["H:mm","H:mm:ss","H:mm:ss z","H:mm:ss (zzzz)"],["{1}, {0}",Hi,Hi,Hi],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{AUD:[Hi,"$"],BRL:[Hi,"R$"],BYN:[Hi,"\u0440."],CAD:[Hi,"$"],CNY:[Hi,"\xa5"],EGP:[],ESP:["\u20a7"],GBP:[Hi,"\xa3"],HKD:[Hi,"$"],ILS:[Hi,"\u20aa"],INR:[Hi,"\u20b9"],JPY:[Hi,"\xa5"],KRW:[Hi,"\u20a9"],MXN:[Hi,"$"],NZD:[Hi,"$"],PHP:[Hi,"\u20b1"],RON:[Hi,"L"],THB:["\u0e3f"],TWD:[Hi,"NT$"],USD:["US$","$"],XAF:[],XCD:[Hi,"$"],XOF:[]},"ltr",function Sa(we){const N=we,j=Math.floor(Math.abs(we)),te=we.toString().replace(/^[^.]*\.?/,"").length,De=parseInt(we.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return 1===N?1:0===De&&0!==j&&j%1e6==0&&0===te||!(De>=0&&De<=5)?4:5}],Pr=void 0,ja=["en",[["a","p"],["AM","PM"],Pr],[["AM","PM"],Pr,Pr],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Pr,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Pr,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Pr,"{1} 'at' {0}",Pr],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function tl(we){const j=Math.floor(Math.abs(we)),te=we.toString().replace(/^[^.]*\.?/,"").length;return 1===j&&0===te?1:5}];var Ra=I(9830),ai=I(4550);function fs(){return window}function hr(){return(window.navigator.language||"en").replace("-","_")}function Ss(we){return new Xr(we,"./assets/i18n/",".json?cb="+(new Date).getTime())}I(1103),(0,fe.EO)(ja,"en-US"),(0,fe.EO)(sa,"es-US");const Nl={validation:!0};let Ba=(()=>{class we{constructor(j){(0,bl.J)(j,"CompsychCoreModule")}static{this.\u0275fac=function(te){return new(te||we)(m.KVO(we,12))}}static{this.\u0275mod=m.$C({type:we})}static{this.\u0275inj=m.G2t({providers:[(0,Ra._c)(Nl)],imports:[M.Bb,Lr,Ca.q1,Ma.Ui.forRoot([{provide:Ma.lU,useFactory:hr},{provide:Ma.JD,useFactory:fs},{provide:Ma._s,useValue:ai.Ix}]),na.h.forRoot({loader:{provide:na.Wr,useFactory:Ss,deps:[Ca.Qq]},missingTranslationHandler:{provide:na.er,useClass:ia}})]})}}return we})()},7898:(We,Q,I)=>{"use strict";I.d(Q,{c1:()=>oe,rE:()=>wt,nY:()=>mt,IE:()=>jt}),I(4538);var m=I(4438),y=I(3955);const S=[y.h];let p=(()=>{class Ke{static{this.\u0275fac=function(qe){return new(qe||Ke)}}static{this.\u0275mod=m.$C({type:Ke})}static{this.\u0275inj=m.G2t({imports:[S,y.h]})}}return Ke})();var $=I(950),B=I(6483),G=I(3857),Y=I(1691),q=I(6888),ee=I(4550);let oe=(()=>{class Ke{constructor(Ee,qe,bt,Je,pt){this.activeModal=Ee,this.service=qe,this.event=bt,this.logoutService=Je,this.router=pt}ngOnInit(){this.event.logEvent(B.sb.VIEW_DELETE_ACCOUNT,B.sb.VIEW_DELETE_ACCOUNT_MSG)}onCancel(){this.activeModal.dismiss()}onDeleteProfile(){this.service.deleteAccount().subscribe(Ee=>{Ee&&(this.event.logEvent(B.sb.SUBMIT_DELETE_ACCOUNT,B.sb.SUBMIT_DELETE_ACCOUNT_MSG),G.T.logout(this.router,this.logoutService,Y.X.build({deleteAccount:!0}),this.service))})}static{this.\u0275fac=function(qe){return new(qe||Ke)(m.rXU(q.Lw),m.rXU($.DL),m.rXU($.US),m.rXU($.k4),m.rXU(ee.Ix))}}static{this.\u0275cmp=m.VBU({type:Ke,selectors:[["compsych-delete-account"]],decls:33,vars:33,consts:[[1,"absenceModal"],[1,"absenceModalHeader",2,"display","block"],[1,"closeBtn",3,"click"],["src","assets/baseResources/gfx/redesignIcons/exit.svg","alt","",2,"width","100%","height","100%"],["id","titleId"],[1,"absenceModalBody"],[1,"form-inline","boxText"],["id","deleteProfileText1"],[1,"bold"],["
1id","deleteProfileText2"],["id","deleteProfileText3"],[1,"modal-footer","restyledSmBtns"],["id","deleteAccountCancelBtn","type","submit","name","deleteAccountCancelBtn",1,"secondaryBack",3,"click","value"],["id","deleteAccountSubmitBtn","type","submit","name","deleteAccountSubmitBtn",1,"primaryContinue",3,"click","value"]],template:function(qe,bt){1&qe&&(m.j41(0,"div",0)(1,"div",1)(2,"button",2),m.nI1(3,"translate"),m.bIt("click",function(){return bt.onCancel()}),m.nrm(4,"img",3),m.k0s(),m.j41(5,"span",4),m.EFF(6),m.nI1(7,"translate"),m.k0s()(),m.j41(8,"div",5)(9,"div",6)(10,"span",7),m.EFF(11),m.nI1(12,"translate"),m.j41(13,"span",8),m.EFF(14),m.nI1(15,"translate"),m.k0s(),m.EFF(16),m.nI1(17,"translate"),m.k0s()(),m.j41(18,"div",6)(19,"span",9),m.EFF(20),m.nI1(21,"translate"),m.k0s()(),m.j41(22,"div",6)(23,"span",10),m.EFF(24),m.nI1(25,"translate"),m.k0s()()(),m.j41(26,"div",11)(27,"input",12),m.nI1(28,"translate"),m.nI1(29,"translate"),m.bIt("click",function(){return bt.onCancel()}),m.k0s(),m.j41(30,"input",13),m.nI1(31,"translate"),m.nI1(32,"translate"),m.bIt("click",function(){return bt.onDeleteProfile()}),m.k0s()()()),2&qe&&(m.R7$(2),m.BMQ("aria-label",m.bMT(3,11,"ariaLabel.alt.close")),m.R7$(4),m.JRh(m.bMT(7,13,"profile.deleteAccount.btnTitle")),m.R7$(5),m.SpI(" ",m.bMT(12,15,"profile.deleteAccount.text1")," "),m.R7$(3),m.JRh(m.bMT(15,17,"profile.deleteAccount.text2")),m.R7$(2),m.SpI(" ",m.bMT(17,19,"profile.deleteAccount.text3")," "),m.R7$(4),m.SpI(" ",m.bMT(21,21,"profile.deleteAccount.text4")," "),m.R7$(4),m.SpI(" ",m.bMT(25,23,"profile.deleteAccount.text5")," "),m.R7$(3),m.FS9("value",m.bMT(28,25,"profile.deleteAccount.cancelBtn")),m.BMQ("aria-label",m.bMT(29,27,"profile.deleteAccount.cancelBtn")),m.R7$(3),m.FS9("value",m.bMT(31,29,"profile.deleteAccount.deleteBtn")),m.BMQ("aria-label",m.bMT(32,31,"profile.deleteAccount.deleteBtn")))},dependencies:[y.D9],styles:[".absenceModal[_ngcontent-%COMP%]{.absenceModalHeader{display:flex!important;justify-content:center;font: 30px/37px Aptos,sans-serif!important;color:#070f36;padding-top:50px;position:relative;height:82px;text-align:center}#titleId{width:80%}.absenceModalBody{font: 18px/25px Aptos,sans-serif!important;color:#070f36;padding:30px 80px 0}.restyledSmBtns{justify-content:center;border-top:none;.secondaryBack{color:#070f36!important}}.closeBtn{height:25px;width:25px;position:absolute;top:15px;right:20px;background:none;border:none;padding:0;cursor:pointer}}@media (max-width: 850px){.absenceModalBody[_ngcontent-%COMP%]{padding:20px 30px 0!important}.restyledSmBtns[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{height:53px!important}}@media (max-width: 565px){.absenceModal[_ngcontent-%COMP%]{.absenceModalBody{padding:60px 30px 0!important}.restyledSmBtns{height:unset!important;padding-bottom:40px;.secondaryBack{width:125px!important}}}}"]})}}return Ke})();I(1847),I(425),I(4135),I(9063),I(5786);var Te=I(177),ct=I(1798),ye=I(4484);const vt=new m.nKC("NGX_SPINNER_CONFIG");let Ve=(()=>{class Ke{static forRoot(Ee){return{ngModule:Ke,providers:[{provide:vt,useValue:Ee}]}}static{this.\u0275fac=function(qe){return new(qe||Ke)}}static{this.\u0275mod=m.$C({type:Ke})}static{this.\u0275inj=m.G2t({imports:[Te.MD]})}}return Ke})();I(9830);let wt=(()=>{class Ke{static{this.\u0275fac=function(qe){return new(qe||Ke)}}static{this.\u0275mod=m.$C({type:Ke})}static{this.\u0275inj=m.G2t({imports:[Te.MD,ee.iI,ct.YN,ct.X1,p,q.IQ,q.n8,q.HC,q.XZ,q.c9,Ve,q.UN,ye.dG,Te.MD,ee.iI,ct.YN,ct.X1,p,q.IQ,q.n8,q.HC,q.XZ,q.c9,Ve,q.UN,ye.dG]})}}return Ke})(),jt=(()=>{class Ke{initialize(Ee,qe){this.draftKey=Ee;const bt=sessionStorage.getItem(Ee);this.draft=bt?{...qe,...JSON.parse(bt)}:{...qe}}saveDraft(Ee){this.draft={...this.draft,...Ee},sessionStorage.setItem(this.draftKey,JSON.stringify(this.draft))}reset(Ee){this.draft={...Ee},sessionStorage.removeItem(this.draftKey)}static{this.\u0275fac=function(qe){return new(qe||Ke)}}static{this.\u0275prov=m.jDH({token:Ke,factory:Ke.\u0275fac})}}return Ke})();var Tn=I(8810),Ln=I(8141),re=I(9437);let mt=(()=>{class Ke{constructor(Ee,qe,bt,Je,pt){this.http=Ee,this.router=qe,this.state=bt,this.nextEndpoint=Je,this.stepBasePath=pt}getAdditionalBody(){return{}}resolveTarget(Ee){return"COMPLETE"===Ee.nextStepId?`${this.stepBasePath}/review`:`${this.stepBasePath}/${Ee.nextStepId}`}next(Ee,qe=!1){const Je={currentStepId:Ee,draft:this.state.draft,skip:qe,...this.getAdditionalBody()};return this.http.post(this.nextEndpoint,Je).pipe((0,Ln.M)(pt=>{pt.appendedAnswers&&this.state.saveDraft(pt.appendedAnswers),pt.eligibilityFlags&&this.state.saveDraft({eligibilityFlags:pt.eligibilityFlags});const Ft=this.resolveTarget(pt);this.router.navigate([Ft])}),(0,re.W)(pt=>{if(422===pt.status&&pt.error){const Ft={errors:pt.error.errors||[],validatorErrors:pt.error.validatorErrors||[]};return(0,Tn.$)(()=>Ft)}return(0,Tn.$)(()=>pt)}))}static{this.\u0275fac=function(qe){m.QTQ()}}static{this.\u0275prov=m.jDH({token:Ke,factory:Ke.\u0275fac})}}return Ke})()},4135:(We,Q,I)=>{"use strict";I.d(Q,{o:()=>y});var l=I(4438),e=I(177),m=I(3955);function b(S,p){if(1&S){const M=l.RV6();l.j41(0,"input",4),l.nI1(1,"translate"),l.bIt("click",function(){l.eBV(M);const B=l.XpG();return l.Njj(B.onSkip())}),l.k0s()}
12&S&&l.Y8G("value",l.bMT(1,1,"skip"))}let y=(()=>{class S{constructor(){this.disabled=!1,this.loading=!1,this.showSkip=!1,this.mode="continue",this.back=new l.bkB,this.continue=new l.bkB,this.skip=new l.bkB}get primaryLabelKey(){return"continue"===this.mode?"continue":this.mode}onBack(){this.back.emit()}onContinue(){this.disabled||this.continue.emit()}onSkip(){this.disabled||this.skip.emit()}static{this.\u0275fac=function($){return new($||S)}}static{this.\u0275cmp=l.VBU({type:S,selectors:[["compsych-nav-buttons"]],inputs:{disabled:"disabled",loading:"loading",showSkip:"showSkip",mode:"mode"},outputs:{back:"back",continue:"continue",skip:"skip"},decls:6,vars:10,consts:[[1,"stepBtns","restyledSmBtns"],["type","button",1,"submit","secondaryBtn","secondaryBack",3,"click","value","disabled"],["type","button",3,"click","value","ngClass","disabled"],["type","button","class","submit primaryBtn primaryContinue",3,"value","click",4,"ngIf"],["type","button",1,"submit","primaryBtn","primaryContinue",3,"click","value"]],template:function($,B){1&$&&(l.j41(0,"div",0)(1,"input",1),l.nI1(2,"translate"),l.bIt("click",function(){return B.onBack()}),l.k0s(),l.j41(3,"input",2),l.nI1(4,"translate"),l.bIt("click",function(){return B.onContinue()}),l.k0s(),l.DNE(5,b,2,3,"input",3),l.k0s()),2&$&&(l.R7$(),l.Y8G("value",l.bMT(2,6,"back"))("disabled",B.loading),l.R7$(2),l.Y8G("value",l.bMT(4,8,B.primaryLabelKey))("ngClass",B.disabled||B.loading?"disabled":"submit primaryBtn primaryContinue")("disabled",B.disabled||B.loading),l.R7$(2),l.Y8G("ngIf",B.showSkip))},dependencies:[e.YU,e.bT,m.D9],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%]   .stepBtns[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:8px;width:100%}[_nghost-%COMP%]   .stepBtns[_ngcontent-%COMP%]   input.primaryContinue[_ngcontent-%COMP%]:hover{background:#070f36!important}[_nghost-%COMP%]   .stepBtns[_ngcontent-%COMP%]   input.primaryContinue[_ngcontent-%COMP%]{color:#fff!important;background:#070f36!important;border:2px #070f36 solid!important;margin-right:0!important}[_nghost-%COMP%]   .stepBtns[_ngcontent-%COMP%]   input.disabled[_ngcontent-%COMP%]{color:#fff!important;background:#070f36!important;border:2px #070f36 solid!important;opacity:.5}[_nghost-%COMP%]   .stepBtns[_ngcontent-%COMP%]   input.secondaryBack[_ngcontent-%COMP%]{border-width:2px!important;margin-right:0!important}@media (max-width: 750px){[_nghost-%COMP%]   .stepBtns[_ngcontent-%COMP%]{flex-direction:column!important;justify-content:center;gap:4px;width:100%;margin:10px 0}[_nghost-%COMP%]   .stepBtns[_ngcontent-%COMP%]   input[type=submit][_ngcontent-%COMP%], [_nghost-%COMP%]   .stepBtns[_ngcontent-%COMP%]   input[type=button][_ngcontent-%COMP%]{width:100%!important;max-width:unset!important;font-size:20px!important;margin:0!important}}"]})}}return S})()},5786:(We,Q,I)=>{"use strict";I.d(Q,{$:()=>y,m:()=>b});var l=I(4438),e=I(345);const m=function(S,p,M){switch(M){case"html":return S.bypassSecurityTrustHtml(p);case"style":return S.bypassSecurityTrustStyle(p);case"script":return S.bypassSecurityTrustScript(p);case"url":return S.bypassSecurityTrustUrl(p);case"resourceUrl":return S.bypassSecurityTrustResourceUrl(p);default:throw new Error(`Invalid safe type specified: ${M}`)}};let b=(()=>{class S{constructor(M){this.sanitizer=M}transform(M,$){return m(this.sanitizer,M,$)}static{this.\u0275fac=function($){return new($||S)(l.rXU(e.up,16))}}static{this.\u0275pipe=l.EJ8({name:"safe",type:S,pure:!0})}}return S})(),y=(()=>{class S{constructor(M){this.sanitizer=M}transform(M){return m(this.sanitizer,M,"html")}static{this.\u0275fac=function($){return new($||S)(l.rXU(e.up,16))}}static{this.\u0275pipe=l.EJ8({name:"safeHtml",type:S,pure:!0})}}return S})()},1847:(We,Q,I)=>{"use strict";I.d(Q,{b:()=>b});var l=I(4438),e=I(177);function m(y,S){if(1&y){const p=l.RV6();l.j41(0,"div",2)(1,"input",3),l.bIt("change",function(){const $=l.eBV(p).$implicit,B=l.XpG();return l.Njj(B.onTileChange($))}),l.k0s(),l.j41(2,"label",4),l.EFF(3),l.k0s()()}if(2&y){const p=S.$implicit,M=S.index,$=S.last,B=l.XpG();l.AVh("tile--selected",B.isSelected(p))("tile--full",$&&B.lastFull)("tile--wide",B.wide)("disabled",B.disabled),l.R7$(),l.Y8G("id",B.radioGroupName+"-"+M)("name",B.radioGroupName)("value",p.id)("checked",B.isSelected(p))("disabled",B.disabled),l.R7$(),l.BMQ("for",B.radioGroupName+"-"+M),l.R7$(),l.JRh(p.label)}}let b=(()=>{class y{constructor(){this.options=[],this.disabled=!1,this.lastFull=!1,this.wide=!1,this.ariaLabelledBy="",this.answered=new l.bkB,this.radioGroupName="tile-selector-"+y.nextGroupId++}static{this.nextGroupId=0}isSelected(p){return this.selected===p.id}onTileChange(p){this.disabled||this.answered.emit(p.id)}onGroupFocusIn(p){this.disabled||this.selected||!this.options.length||p.target?.id===`${this.radioGroupName}-0`&&this.answered.emit(this.options[0].id)}static{this.\u0275fac=function(M){return new(M||y)}}static{this.\u0275cmp=l.VBU({type:y,selectors:[["compsych-tile-selector"]],inputs:{options:"options",selected:"selected",disabled:"disabled",lastFull:"lastFull",wide:"wide",ariaLabelledBy:"ariaLabelledBy"},outputs:{answered:"answered"},decls:2,vars:2,consts:[["role","radiogroup",1,"stepTiles",3,"focusin"],["class","tile",3,"tile--selected","tile--full","t
1ile--wide","disabled",4,"ngFor","ngForOf"],[1,"tile"],["type","radio",1,"tile__input",3,"change","id","name","value","checked","disabled"],[1,"tile__label"]],template:function(M,$){1&M&&(l.j41(0,"div",0),l.bIt("focusin",function(G){return $.onGroupFocusIn(G)}),l.DNE(1,m,4,15,"div",1),l.k0s()),2&M&&(l.BMQ("aria-labelledby",$.ariaLabelledBy||null),l.R7$(),l.Y8G("ngForOf",$.options))},dependencies:[e.Sq],styles:[".stepTiles[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:10px;padding-top:.75rem;width:100%}.tile[_ngcontent-%COMP%]{position:relative;height:100px;min-width:150px;flex:1 1 calc(20% - 10px);cursor:pointer;display:flex;align-items:center;justify-content:center;text-align:center;padding:0;background:#fff 0 0 no-repeat padding-box;border:2px solid #070F36;border-radius:20px;color:#070f36}.tile[_ngcontent-%COMP%]:hover{box-shadow:0 0 .5rem #00000026}.tile[_ngcontent-%COMP%]:has(.tile__input:focus-visible){box-shadow:0 0 0 .2em #1893f2}.tile.tile--selected[_ngcontent-%COMP%]{background-color:#070f36;color:#fff;border-color:#070f36}.tile.tile--selected[_ngcontent-%COMP%]   .tile__label[_ngcontent-%COMP%]{color:#fff}.tile.tile--full[_ngcontent-%COMP%]{flex:1 1 100%}.tile.tile--wide[_ngcontent-%COMP%]{flex:1 1 calc(50% - 10px)}.tile.disabled[_ngcontent-%COMP%]{cursor:not-allowed;opacity:.6}.tile__input[_ngcontent-%COMP%]{position:absolute;width:1px;height:1px;opacity:0}.tile__label[_ngcontent-%COMP%]{align-items:center;background:transparent!important;border:0;border-radius:inherit;box-shadow:none;box-sizing:border-box;color:inherit;cursor:inherit;display:flex!important;flex:1 1 auto;font:inherit;font-weight:700;height:100%;justify-content:center;margin:0!important;padding:10px!important;text-align:center;width:100%!important}.tile__label[_ngcontent-%COMP%]:before{content:none!important;display:none!important;padding:0!important}@media (max-width: 1107px){.tile[_ngcontent-%COMP%]:not(.tile--wide){flex:1 1 100%;min-width:100%}}@media (max-width: 750px){.tile.tile--wide[_ngcontent-%COMP%]{flex:1 1 100%}}"]})}}return y})()},9063:(We,Q,I)=>{"use strict";I.d(Q,{I:()=>p});var l=I(4438),e=I(177),m=I(3955);const b=["liveRegion"];function y(M,$){if(1&M&&(l.j41(0,"li",4),l.nrm(1,"span",5),l.nI1(2,"translate"),l.k0s()),2&M){const B=$.$implicit;l.R7$(),l.Y8G("innerHTML",l.bMT(2,1,B),l.npT)}}function S(M,$){if(1&M&&(l.j41(0,"ul"),l.DNE(1,y,3,3,"li",3),l.k0s()),2&M){const B=l.XpG();l.R7$(),l.Y8G("ngForOf",B.errors)}}let p=(()=>{class M{constructor(){this.errors=[]}ngOnChanges(B){if(B.errors){const G=B.errors.previousValue,Y=B.errors.currentValue,q=!G||0===G.length,ee=!!Y&&Y.length>0;q&&ee&&window.scrollTo({top:0,behavior:"smooth"}),ee&&this.shouldFocus(q)&&this.focusLiveRegion()}}shouldFocus(B){return!!B||"BUTTON"===document.activeElement?.tagName}focusLiveRegion(){setTimeout(()=>this.liveRegion?.nativeElement?.focus())}static{this.\u0275fac=function(G){return new(G||M)}}static{this.\u0275cmp=l.VBU({type:M,selectors:[["compsych-validation-errors"]],viewQuery:function(G,Y){if(1&G&&l.GBs(b,5),2&G){let q;l.mGM(q=l.lsd())&&(Y.liveRegion=q.first)}},inputs:{errors:"errors"},features:[l.OA$],decls:3,vars:3,consts:[["liveRegion",""],["role","alert","aria-live","assertive","aria-atomic","true","tabindex","-1",1,"validation-errors"],[4,"ngIf"],["class","error-message",4,"ngFor","ngForOf"],[1,"error-message"],[3,"innerHTML"]],template:function(G,Y){1&G&&(l.j41(0,"div",1,0),l.DNE(2,S,2,1,"ul",2),l.k0s()),2&G&&(l.AVh("validation-errors--empty",0===Y.errors.length),l.R7$(2),l.Y8G("ngIf",Y.errors.length>0))},dependencies:[e.Sq,e.bT,m.D9],styles:[".validation-errors[_ngcontent-%COMP%]{margin-bottom:1rem}.validation-errors--empty[_ngcontent-%COMP%]{margin-bottom:0}.validation-errors[_ngcontent-%COMP%]:focus{outline:none}.validation-errors[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}.validation-errors[_ngcontent-%COMP%]   .error-message[_ngcontent-%COMP%]{color:#e50000;font-size:1em;font-weight:700;line-height:1.5}"]})}}return M})()},425:(We,Q,I)=>{"use strict";I.d(Q,{p:()=>p});var l=I(6483),e=I(4438),m=I(4550),b=I(177),y=I(3955);function S(M,$){if(1&M&&(e.j41(0,"div",2)(1,"span"),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",3),e.
1EFF(5),e.k0s()()),2&M){const B=e.XpG();e.R7$(2),e.JRh(e.bMT(3,4,"workingAs")),e.R7$(3),e.E5c(" ",B.behalfFirstName," ",B.behalfLastName," (",B.behalfEmployeeNumber,")")}}let p=(()=>{class M{constructor(B){this.route=B,this.hasUnsavedState=!1,this.isWob=!1,this.behalfFirstName="",this.behalfLastName="",this.behalfEmployeeNumber=""}ngOnInit(){const B=JSON.parse(sessionStorage.getItem(l.YM.USER_INFO)||"null");if(this.isWob=!!B?.wob,!this.isWob)return;const G=this.route.snapshot.data.userSession?.behalfOfUserSession;G&&(this.behalfFirstName=G.firstName,this.behalfLastName=G.lastName,this.behalfEmployeeNumber=G.employeeNumber)}onBeforeUnload(B){this.hasUnsavedState&&(B.preventDefault(),B.returnValue="")}static{this.\u0275fac=function(G){return new(G||M)(e.rXU(m.nX))}}static{this.\u0275cmp=e.VBU({type:M,selectors:[["compsych-wizard-shell"]],hostBindings:function(G,Y){1&G&&e.bIt("beforeunload",function(ee){return Y.onBeforeUnload(ee)},!1,e.tSv)},inputs:{hasUnsavedState:"hasUnsavedState"},decls:3,vars:1,consts:[[1,"wizard-shell"],["class","italicText restyledWorkingAs","role","status",4,"ngIf"],["role","status",1,"italicText","restyledWorkingAs"],[1,"user-info-header"]],template:function(G,Y){1&G&&(e.j41(0,"div",0),e.DNE(1,S,6,6,"div",1),e.nrm(2,"router-outlet"),e.k0s()),2&G&&(e.R7$(),e.Y8G("ngIf",Y.isWob))},dependencies:[b.bT,m.n3,y.D9],encapsulation:2})}}return M})()},2578:function(We,Q){var I,e;void 0!==(e="function"==typeof(I=function(){"use strict";function b(B,G,Y){var q=new XMLHttpRequest;q.open("GET",B),q.responseType="blob",q.onload=function(){$(q.response,G,Y)},q.onerror=function(){console.error("could not download file")},q.send()}function y(B){var G=new XMLHttpRequest;G.open("HEAD",B,!1);try{G.send()}catch{}return 200<=G.status&&299>=G.status}function S(B){try{B.dispatchEvent(new MouseEvent("click"))}catch{var G=document.createEvent("MouseEvents");
1G.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),B.dispatchEvent(G)}}var p="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,M=p.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),$=p.saveAs||("object"!=typeof window||window!==p?function(){}:"download"in HTMLAnchorElement.prototype&&!M?function(B,G,Y){var q=p.URL||p.webkitURL,ee=document.createElement("a");ee.download=G=G||B.name||"download",ee.rel="noopener","string"==typeof B?(ee.href=B,ee.origin===location.origin?S(ee):y(ee.href)?b(B,G,Y):S(ee,ee.target="_blank")):(ee.href=q.createObjectURL(B),setTimeout(function(){q.revokeObjectURL(ee.href)},4e4),setTimeout(function(){S(ee)},0))}:"msSaveOrOpenBlob"in navigator?function(B,G,Y){if(G=G||B.name||"download","string"!=typeof B)navigator.msSaveOrOpenBlob(function m(B,G){return typeof G>"u"?G={autoBom:!1}:"object"!=typeof G&&(console.warn("Deprecated: Expected third argument to be a object"),G={autoBom:!G}),G.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(B.type)?new Blob(["\ufeff",B],{type:B.type}):B}(B,Y),G);else if(y(B))b(B,G,Y);else{var q=document.createElement("a");q.href=B,q.target="_blank",setTimeout(function(){S(q)})}}:function(B,G,Y,q){if((q=q||open("","_blank"))&&(q.document.title=q.document.body.innerText="downloading..."),"string"==typeof B)return b(B,G,Y);var ee="application/octet-stream"===B.type,oe=/constructor/i.test(p.HTMLElement)||p.safari,se=/CriOS\/[\d]+/.test(navigator.userAgent);if((se||ee&&oe||M)&&typeof FileReader<"u"){var xe=new FileReader;xe.onloadend=function(){var L=xe.result;L=se?L:L.replace(/^data:[^;]*;/,"data:attachment/file;"),q?q.location.href=L:location=L,q=null},xe.readAsDataURL(B)}else{var Le=p.URL||p.webkitURL,ie=Le.createObjectURL(B);q?q.location=ie:location.href=ie,q=null,setTimeout(function(){Le.revokeObjectURL(ie)},4e4)}});p.saveAs=$.saveAs=$,We.exports=$})?I.apply(Q,[]):I)&&(We.exports=e)},9417:(We,Q,I)=>{"use strict";I.d(Q,{v:()=>l});var l=function(e){return e[e.ACCEPTED=202]="ACCEPTED",e[e.BAD_GATEWAY=502]="BAD_GATEWAY",e[e.BAD_REQUEST=400]="BAD_REQUEST",e[e.CONFLICT=409]="CONFLICT",e[e.CONTINUE=100]="CONTINUE",e[e.CREATED=201]="CREATED",e[e.EXPECTATION_FAILED=417]="EXPECTATION_FAILED",e[e.FAILED_DEPENDENCY=424]="FAILED_DEPENDENCY",e[e.FORBIDDEN=403]="FORBIDDEN",e[e.GATEWAY_TIMEOUT=504]="GATEWAY_TIMEOUT",e[e.GONE=410]="GONE",e[e.HTTP_VERSION_NOT_SUPPORTED=505]="HTTP_VERSION_NOT_SUPPORTED",e[e.IM_A_TEAPOT=418]="IM_A_TEAPOT",e[e.INSUFFICIENT_SPACE_ON_RESOURCE=419]="INSUFFICIENT_SPACE_ON_RESOURCE",e[e.INSUFFICIENT_STORAGE=507]="INSUFFICIENT_STORAGE",e[e.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR",e[e.LENGTH_REQUIRED=411]="LENGTH_REQUIRED",e[e.LOCKED=423]="LOCKED",e[e.METHOD_FAILURE=420]="METHOD_FAILURE",e[e.METHOD_NOT_ALLOWED=405]="METHOD_NOT_ALLOWED",e[e.MOVED_PERMANENTLY=301]="MOVED_PERMANENTLY",e[e.MOVED_TEMPORARILY=302]="MOVED_TEMPORARILY",e[e.MULTI_STATUS=207]="MULTI_STATUS",e[e.MULTIPLE_CHOICES=300]="MULTIPLE_CHOICES",e[e.NETWORK_AUTHENTICATION_REQUIRED=511]="NETWORK_AUTHENTICATION_REQUIRED",e[e.NO_CONTENT=204]="NO_CONTENT",e[e.NON_AUTHORITATIVE_INFORMATION=203]="NON_AUTHORITATIVE_INFORMATION",e[e.NOT_ACCEPTABLE=406]="NOT_ACCEPTABLE",e[e.NOT_FOUND=404]="NOT_FOUND",e[e.NOT_IMPLEMENTED=501]="NOT_IMPLEMENTED",e[e.NOT_MODIFIED=304]="NOT_MODIFIED",e[e.OK=200]="OK",e[e.PARTIAL_CONTENT=206]="PARTIAL_CONTENT",e[e.PAYMENT_REQUIRED=402]="PAYMENT_REQUIRED",e[e.PERMANENT_REDIRECT=308]="PERMANENT_REDIRECT",e[e.PRECONDITION_FAILED=412]="PRECONDITION_FAILED",e[e.PRECONDITION_REQUIRED=428]="PRECONDITION_REQUIRED",e[e.PROCESSING=102]="PROCESSING",e[e.PROXY_AUTHENTICATION_REQUIRED=407]="PROXY_AUTHENTICATION_REQUIRED",e[e.REQUEST_HEADER_FIELDS_TOO_LARGE=431]="REQUEST_HEADER_FIELDS_TOO_LARGE",e[e.REQUEST_TIMEOUT=408]="REQUEST_TIMEOUT",e[e.REQUEST_TOO_LONG=413]="REQUEST_TOO_LONG",e[e.REQUEST_URI_TOO_LONG=414]="REQUEST_URI_TOO_LONG",e[e.REQUESTED_RANGE_NOT_SATISFIABLE=416]="REQUESTED_RANGE_NOT_SATISFIABLE",e[e.RESET_CONTENT=205]="RESET_CONTENT",e[e.SEE_OTHER=303]="SEE_OTHER",e[e.SERVICE_UNAVAILABLE=503]="SERVICE_UNAVAILABLE",e[e.SWITCHING_PROTOCOLS=101]="SWITCHING_PROTOCOLS",e[e.TEMPORARY_REDIRECT=307]="TEMPORARY_REDIRECT",e[e.TOO_MANY_REQUESTS=429]="TOO_MANY_REQUESTS",e[e.UNAUTHORIZED=401]="UNAUTHORIZED",e[e.UNAVAILABLE_FOR_LEGAL_REASONS=451]="UNAVAILABLE_FOR_LEGAL_REASONS",e[e.UNPROCESSABLE_ENTITY=422]="UNPROCESSABLE_ENTITY",e[e.UNSUPPORTED_MEDIA_TYPE=415]="UNSUPPORTED_MEDIA_TYPE",e[e.USE_PROXY=305]="USE_PROXY",e[e.MISDIRECTED_REQUEST=421]="MISDIRECTED_REQUEST",e}(l||{})},7247:We=>{We.exports=function Q(I,l,e){function m(S,p){if(!l[S]){if(!I[S]){if(b)return b(S,!0);var $=new Error("Cannot find module '"+S+"'");throw $.code="MODULE_NOT_FOUND",$}var B=l[S]={exports:{}};I[S][0].call(B.exports,function(G){return m(I[S][1][G]||G)},B,B.exports,Q,I,l,e)}return l[S].exports}for(var b=void 0,y=0;y<e.length;y++)m(e[y]);return m}({1:[function(Q,I,l){"use strict";var e=Q("./utils"),m=Q("./support"),b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
vendor: 4,836 bytes, line 1
1+/=";l.encode=function(y){for(var S,p,M,B,G,Y,q=[],ee=0,oe=y.length,se=oe,xe="string"!==e.getTypeOf(y);ee<y.length;)se=oe-ee,M=xe?(S=y[ee++],p=ee<oe?y[ee++]:0,ee<oe?y[ee++]:0):(S=y.charCodeAt(ee++),p=ee<oe?y.charCodeAt(ee++):0,ee<oe?y.charCodeAt(ee++):0),B=(3&S)<<4|p>>4,G=1<se?(15&p)<<2|M>>6:64,Y=2<se?63&M:64,q.push(b.charAt(S>>2)+b.charAt(B)+b.charAt(G)+b.charAt(Y));return q.join("")},l.decode=function(y){var S,p,M,$,B,G,Y=0,q=0;if("data:"===y.substr(0,5))throw new Error("Invalid base64 input, it looks like a data url.");var oe,se=3*(y=y.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(y.charAt(y.length-1)===b.charAt(64)&&se--,y.charAt(y.length-2)===b.charAt(64)&&se--,se%1!=0)throw new Error("Invalid base64 input, bad content length.");for(oe=m.uint8array?new Uint8Array(0|se):new Array(0|se);Y<y.length;)S=b.indexOf(y.charAt(Y++))<<2|($=b.indexOf(y.charAt(Y++)))>>4,p=(15&$)<<4|(B=b.indexOf(y.charAt(Y++)))>>2,M=(3&B)<<6|(G=b.indexOf(y.charAt(Y++))),oe[q++]=S,64!==B&&(oe[q++]=p),64!==G&&(oe[q++]=M);return oe}},{"./support":30,"./utils":32}],2:[function(Q,I,l){"use strict";var e=Q("./external"),m=Q("./stream/DataWorker"),b=Q("./stream/Crc32Probe"),y=Q("./stream/DataLengthProbe");function S(p,M,$,B,G){this.compressedSize=p,this.uncompressedSize=M,this.crc32=$,this.compression=B,this.compressedContent=G}S.prototype={getContentWorker:function(){var p=new m(e.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new y("data_length")),M=this;return p.on("end",function(){if(this.streamInfo.data_length!==M.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),p},getCompressedWorker:function(){return new m(e.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},S.createWorkerFrom=function(p,M,$){return p.pipe(new b).pipe(new y("uncompressedSize")).pipe(M.compressWorker($)).pipe(new y("compressedSize")).withStreamInfo("compression",M)},I.exports=S},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(Q,I,l){"use strict";var e=Q("./stream/GenericWorker");l.STORE={magic:"\0\0",compressWorker:function(){return new e("STORE compression")},uncompressWorker:function(){return new e("STORE decompression")}},l.DEFLATE=Q("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(Q,I,l){"use strict";var e=Q("./utils"),m=function(){for(var b,y=[],S=0;S<256;S++){b=S;for(var p=0;p<8;p++)b=1&b?3988292384^b>>>1:b>>>1;y[S]=b}return y}();I.exports=function(b,y){return void 0!==b&&b.length?"string"!==e.getTypeOf(b)?function(S,p,M,$){var B=m,G=0+M;S^=-1;for(var Y=0;Y<G;Y++)S=S>>>8^B[255&(S^p[Y])];return~S}(0|y,b,b.length):function(S,p,M,$){var B=m,G=0+M;S^=-1;for(var Y=0;Y<G;Y++)S=S>>>8^B[255&(S^p.charCodeAt(Y))];return~S}(0|y,b,b.length):0}},{"./utils":32}],5:[function(Q,I,l){"use strict";l.base64=!1,l.binary=!1,l.dir=!1,l.createFolders=!0,l.date=null,l.compression=null,l.compressionOptions=null,l.comment=null,l.unixPermissions=null,l.dosPermissions=null},{}],6:[function(Q,I,l){"use strict";var e;e=typeof Promise<"u"?Promise:Q("lie"),I.exports={Promise:e}},{lie:37}],7:[function(Q,I,l){"use strict";var e=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",m=Q("pako"),b=Q("./utils"),y=Q("./stream/GenericWorker"),S=e?"uint8array":"array";function p(M,$){y.call(this,"FlateWorker/"+M),this._pako=null,this._pakoAction=M,this._pakoOptions=$,this.meta={}}l.magic="\b\0",b.inherits(p,y),p.prototype.processChunk=function(M){this.meta=M.meta,null===this._pako&&this._createPako(),this._pako.push(b.transformTo(S,M.data),!1)},p.prototype.flush=function(){y.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},p.prototype.cleanUp=function(){y.prototype.cleanUp.call(this),this._pako=null},p.prototype._createPako=function(){this._pako=new m[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var M=this;this._pako.onData=function($){M.push({data:$,meta:M.meta})}},l.compressWorker=function(M){return new p("Deflate",M)},l.uncompressWorker=function(){return new p("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(Q,I,l){"use strict";function e(B,G){var Y,q="";for(Y=0;Y<G;Y++)q+=String.fromCharCode(255&B),B>>>=8;return q}function m(B,G,Y,q,ee,oe){var se,xe,Le=B.file,ie=B.compression,L=oe!==S.utf8encode,K=b.transformTo("string",oe(Le.name)),_e=b.transformTo("string",S.utf8encode(Le.name)),Te=Le.comment,ct=b.transformTo("string",oe(Te)),ye=b.transformTo("string",S.utf8encode(Te)),Se=_e.length!==Le.name.length,X=ye.length!==Te.length,Ne="",ft="",_t="",Gt=Le.dir,Rt=Le.date,dt={crc32:0,compressedSize:0,uncompressedSize:0};
vendor: 5,943 bytes, line 1
1G&&!Y||(dt.crc32=B.crc32,dt.compressedSize=B.compressedSize,dt.uncompressedSize=B.uncompressedSize);var et=0;G&&(et|=8),L||!Se&&!X||(et|=2048);var je,Ve,Ie=0,ot=0;Gt&&(Ie|=16),"UNIX"===ee?(ot=798,Ie|=(Ve=je=Le.unixPermissions,je||(Ve=Gt?16893:33204),(65535&Ve)<<16)):(ot=20,Ie|=function(je){return 63&(je||0)}(Le.dosPermissions)),se=Rt.getUTCHours(),se<<=6,se|=Rt.getUTCMinutes(),se<<=5,se|=Rt.getUTCSeconds()/2,xe=Rt.getUTCFullYear()-1980,xe<<=4,xe|=Rt.getUTCMonth()+1,xe<<=5,xe|=Rt.getUTCDate(),Se&&(ft=e(1,1)+e(p(K),4)+_e,Ne+="up"+e(ft.length,2)+ft),X&&(_t=e(1,1)+e(p(ct),4)+ye,Ne+="uc"+e(_t.length,2)+_t);var vt="";return vt+="\n\0",vt+=e(et,2),vt+=ie.magic,vt+=e(se,2),vt+=e(xe,2),vt+=e(dt.crc32,4),vt+=e(dt.compressedSize,4),vt+=e(dt.uncompressedSize,4),vt+=e(K.length,2),vt+=e(Ne.length,2),{fileRecord:M.LOCAL_FILE_HEADER+vt+K+Ne,dirRecord:M.CENTRAL_FILE_HEADER+e(ot,2)+vt+e(ct.length,2)+"\0\0\0\0"+e(Ie,4)+e(q,4)+K+Ne+ct}}var b=Q("../utils"),y=Q("../stream/GenericWorker"),S=Q("../utf8"),p=Q("../crc32"),M=Q("../signature");function $(B,G,Y,q){y.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=G,this.zipPlatform=Y,this.encodeFileName=q,this.streamFiles=B,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}b.inherits($,y),$.prototype.push=function(B){var G=B.meta.percent||0,Y=this.entriesCount,q=this._sources.length;this.accumulate?this.contentBuffer.push(B):(this.bytesWritten+=B.data.length,y.prototype.push.call(this,{data:B.data,meta:{currentFile:this.currentFile,percent:Y?(G+100*(Y-q-1))/Y:100}}))},$.prototype.openedSource=function(B){this.currentSourceOffset=this.bytesWritten,this.currentFile=B.file.name;var G=this.streamFiles&&!B.file.dir;if(G){var Y=m(B,G,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:Y.fileRecord,meta:{percent:0}})}else this.accumulate=!0},$.prototype.closedSource=function(B){this.accumulate=!1;var q,G=this.streamFiles&&!B.file.dir,Y=m(B,G,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(Y.dirRecord),G)this.push({data:(q=B,M.DATA_DESCRIPTOR+e(q.crc32,4)+e(q.compressedSize,4)+e(q.uncompressedSize,4)),meta:{percent:100}});else for(this.push({data:Y.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},$.prototype.flush=function(){for(var B=this.bytesWritten,G=0;G<this.dirRecords.length;G++)this.push({data:this.dirRecords[G],meta:{percent:100}});var ee,oe,se,ie,q=(ee=this.dirRecords.length,oe=this.bytesWritten-B,se=B,ie=b.transformTo("string",(0,this.encodeFileName)(this.zipComment)),M.CENTRAL_DIRECTORY_END+"\0\0\0\0"+e(ee,2)+e(ee,2)+e(oe,4)+e(se,4)+e(ie.length,2)+ie);this.push({data:q,meta:{percent:100}})},$.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},$.prototype.registerPrevious=function(B){this._sources.push(B);var G=this;return B.on("data",function(Y){G.processChunk(Y)}),B.on("end",function(){G.closedSource(G.previous.streamInfo),G._sources.length?G.prepareNextSource():G.end()}),B.on("error",function(Y){G.error(Y)}),this},$.prototype.resume=function(){return!!y.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},$.prototype.error=function(B){var G=this._sources;if(!y.prototype.error.call(this,B))return!1;for(var Y=0;Y<G.length;Y++)try{G[Y].error(B)}catch{}return!0},$.prototype.lock=function(){y.prototype.lock.call(this);for(var B=this._sources,G=0;G<B.length;G++)B[G].lock()},I.exports=$},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(Q,I,l){"use strict";var e=Q("../compressions"),m=Q("./ZipFileWorker");l.generateWorker=function(b,y,S){var p=new m(y.streamFiles,S,y.platform,y.encodeFileName),M=0;try{b.forEach(function($,B){M++;var G=function(oe,se){var xe=oe||se,Le=e[xe];if(!Le)throw new Error(xe+" is not a valid compression method !");return Le}(B.options.compression,y.compression),q=B.dir,ee=B.date;B._compressWorker(G,B.options.compressionOptions||y.compressionOptions||{}).withStreamInfo("file",{name:$,dir:q,date:ee,comment:B.comment||"",unixPermissions:B.unixPermissions,dosPermissions:B.dosPermissions}).pipe(p)}),p.entriesCount=M}catch($){p.error($)}return p}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(Q,I,l){"use strict";function e(){if(!(this instanceof e))return new e;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var m=new e;for(var b in this)"function"!=typeof this[b]&&(m[b]=this[b]);return m}}(e.prototype=Q("./object")).loadAsync=Q("./load"),e.support=Q("./support"),e.defaults=Q("./defaults"),e.version="3.10.1",e.loadAsync=function(m,b){return(new e).loadAsync(m,b)},e.external=Q("./external"),I.exports=e},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(Q,I,l){"use strict";var e=Q("./utils"),m=Q("./external"),b=Q("./utf8"),y=Q("./zipEntries"),S=Q("./stream/Crc32Probe"),p=Q("./nodejsUtils");function M($){return new m.Promise(function(B,G){var Y=$.decompressed.getContentWorker().pipe(new S);Y.on("error",function(q){G(q)}).on("end",function(){Y.streamInfo.crc32!==$.decompressed.crc32?G(new Error("Corrupted zip : CRC32 mismatch")):B()}).resume()})}I.exports=function($,B){var G=this;return B=e.extend(B||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:b.utf8decode}),p.isNode&&p.isStream($)?m.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):e.prepareContent("the loaded zip f
1ile",$,!0,B.optimizedBinaryString,B.base64).then(function(Y){var q=new y(B);return q.load(Y),q}).then(function(Y){var q=[m.Promise.resolve(Y)],ee=Y.files;if(B.checkCRC32)for(var oe=0;oe<ee.length;oe++)q.push(M(ee[oe]));return m.Promise.all(q)}).then(function(Y){for(var q=Y.shift(),ee=q.files,oe=0;oe<ee.length;oe++){var se=ee[oe],xe=se.fileNameStr,Le=e.resolve(se.fileNameStr);G.file(Le,se.decompressed,{binary:!0,optimizedBinaryString:!0,date:se.date,dir:se.dir,comment:se.fileCommentStr.length?se.fileCommentStr:null,unixPermissions:se.unixPermissions,dosPermissions:se.dosPermissions,createFolders:B.createFolders}),se.dir||(G.file(Le).unsafeOriginalName=xe)}return q.zipComment.length&&(G.comment=q.zipComment),G})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(Q,I,l){"use strict";var e=Q("../utils"),m=Q("../stream/GenericWorker");function b(y,S){m.call(this,"Nodejs stream input adapter for "+y),this._upstreamEnded=!1,this._bindStream(S)}e.inherits(b,m),b.prototype._bindStream=function(y){var S=this;(this._stream=y).pause(),y.on("data",function(p){S.push({data:p,meta:{percent:0}})}).on("error",function(p){S.isPaused?this.generatedError=p:S.error(p)}).on("end",function(){S.isPaused?S._upstreamEnded=!0:S.end()})},b.prototype.pause=function(){return!!m.prototype.pause.call(this)&&(this._stream.pause(),!0)},b.prototype.resume=function(){return!!m.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},I.exports=b},{"../stream/GenericWorker":28,"../utils":32}],13:[function(Q,I,l){"use strict";var e=Q("readable-stream").Readable;function m(b,y,S){e.call(this,y),this._helper=b;var p=this;b.on("data",function(M,$){p.push(M)||p._helper.pause(),S&&S($)}).on("error",function(M){p.emit("error",M)}).on("end",function(){p.push(null)})}Q("../utils").inherits(m,e),m.prototype._read=function(){this._helper.resume()},I.exports=m},{"../utils":32,"readable-stream":16}],14:[function(Q,I,l){"use strict";I.exports={isNode:typeof Buffer<"u",newBufferFrom:function(e,m){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(e,m);if("number"==typeof e)throw new Error('The "data" argument must not be a number');return new Buffer(e,m)},allocBuffer:function(e){if(Buffer.alloc)return Buffer.alloc(e);var m=new Buffer(e);return m.fill(0),m},isBuffer:function(e){return Buffer.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}},{}],15:[function(Q,I,l){"use strict";function e(Le,ie,L){var K,_e=b.getTypeOf(ie),Te=b.extend(L||{},p);Te.date=Te.date||new Date,null!==Te.compression&&(Te.compression=Te.compression.toUpperCase()),"string"==typeof Te.unixPermissions&&(Te.unixPermissions=parseInt(Te.unixPermissions,8)),Te.unixPermissions&&16384&Te.unixPermissions&&(Te.dir=!0),Te.dosPermissions&&16&Te.dosPermissions&&(Te.dir=!0),Te.dir&&(Le=ee(Le)),Te.createFolders&&(K=q(Le))&&oe.call(this,K,!0),L&&void 0!==L.binary||(Te.binary=!("string"===_e&&!1===Te.binary&&!1===Te.base64)),(ie instanceof M&&0===ie.uncompressedSize||Te.dir||!ie||0===ie.length)&&(Te.base64=!1,Te.binary=!0,ie="",Te.compression="STORE",_e="string");var ye;ye=ie instanceof M||ie instanceof y?ie:G.isNode&&G.isStream(ie)?new Y(Le,ie):b.prepareContent(Le,ie,Te.binary,Te.optimizedBinaryString,Te.base64);var Se=new $(Le,ye,Te);this.files[Le]=Se}var m=Q("./utf8"),b=Q("./utils"),y=Q("./stream/GenericWorker"),S=Q("./stream/StreamHelper"),p=Q("./defaults"),M=Q("./compressedObject"),$=Q("./zipObject"),B=Q("./generate"),G=Q("./nodejsUtils"),Y=Q("./nodejs/NodejsStreamInputAdapter"),q=function(Le){"/"===Le.slice(-1)&&(Le=Le.substring(0,Le.length-1));var ie=Le.lastIndexOf("/");return 0<ie?Le.substring(0,ie):""},ee=function(Le){return"/"!==Le.slice(-1)&&(Le+="/"),Le},oe=function(Le,ie){return ie=void 0!==ie?ie:p.createFolders,Le=ee(Le),this.files[Le]||e.call(this,Le,null,{dir:!0,createFolders:ie}),this.files[Le]};function se(Le){return"[object RegExp]"===Object.prototype.toString.call(Le)}var xe={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")}
vendor: 7,593 bytes, line 1
1,forEach:function(Le){var ie,L,K;for(ie in this.files)K=this.files[ie],(L=ie.slice(this.root.length,ie.length))&&ie.slice(0,this.root.length)===this.root&&Le(L,K)},filter:function(Le){var ie=[];return this.forEach(function(L,K){Le(L,K)&&ie.push(K)}),ie},file:function(Le,ie,L){if(1!==arguments.length)return e.call(this,Le=this.root+Le,ie,L),this;if(se(Le)){var K=Le;return this.filter(function(Te,ct){return!ct.dir&&K.test(Te)})}var _e=this.files[this.root+Le];return _e&&!_e.dir?_e:null},folder:function(Le){if(!Le)return this;if(se(Le))return this.filter(function(_e,Te){return Te.dir&&Le.test(_e)});var L=oe.call(this,this.root+Le),K=this.clone();return K.root=L.name,K},remove:function(Le){var ie=this.files[Le=this.root+Le];if(ie||("/"!==Le.slice(-1)&&(Le+="/"),ie=this.files[Le]),ie&&!ie.dir)delete this.files[Le];else for(var L=this.filter(function(_e,Te){return Te.name.slice(0,Le.length)===Le}),K=0;K<L.length;K++)delete this.files[L[K].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(Le){var ie,L={};try{if((L=b.extend(Le||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:m.utf8encode})).type=L.type.toLowerCase(),L.compression=L.compression.toUpperCase(),"binarystring"===L.type&&(L.type="string"),!L.type)throw new Error("No output type specified.");b.checkSupport(L.type),"darwin"!==L.platform&&"freebsd"!==L.platform&&"linux"!==L.platform&&"sunos"!==L.platform||(L.platform="UNIX"),"win32"===L.platform&&(L.platform="DOS"),ie=B.generateWorker(this,L,L.comment||this.comment||"")}catch(_e){(ie=new y("error")).error(_e)}return new S(ie,L.type||"string",L.mimeType)},generateAsync:function(Le,ie){return this.generateInternalStream(Le).accumulate(ie)},generateNodeStream:function(Le,ie){return(Le=Le||{}).type||(Le.type="nodebuffer"),this.generateInternalStream(Le).toNodejsStream(ie)}};I.exports=xe},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(Q,I,l){"use strict";I.exports=Q("stream")},{stream:void 0}],17:[function(Q,I,l){"use strict";var e=Q("./DataReader");function m(b){e.call(this,b);for(var y=0;y<this.data.length;y++)b[y]=255&b[y]}Q("../utils").inherits(m,e),m.prototype.byteAt=function(b){return this.data[this.zero+b]},m.prototype.lastIndexOfSignature=function(b){for(var y=b.charCodeAt(0),S=b.charCodeAt(1),p=b.charCodeAt(2),M=b.charCodeAt(3),$=this.length-4;0<=$;--$)if(this.data[$]===y&&this.data[$+1]===S&&this.data[$+2]===p&&this.data[$+3]===M)return $-this.zero;return-1},m.prototype.readAndCheckSignature=function(b){var y=b.charCodeAt(0),S=b.charCodeAt(1),p=b.charCodeAt(2),M=b.charCodeAt(3),$=this.readData(4);return y===$[0]&&S===$[1]&&p===$[2]&&M===$[3]},m.prototype.readData=function(b){if(this.checkOffset(b),0===b)return[];var y=this.data.slice(this.zero+this.index,this.zero+this.index+b);return this.index+=b,y},I.exports=m},{"../utils":32,"./DataReader":18}],18:[function(Q,I,l){"use strict";var e=Q("../utils");function m(b){this.data=b,this.length=b.length,this.index=0,this.zero=0}m.prototype={checkOffset:function(b){this.checkIndex(this.index+b)},checkIndex:function(b){if(this.length<this.zero+b||b<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+b+"). Corrupted zip ?")},setIndex:function(b){this.checkIndex(b),this.index=b},skip:function(b){this.setIndex(this.index+b)},byteAt:function(){},readInt:function(b){var y,S=0;for(this.checkOffset(b),y=this.index+b-1;y>=this.index;y--)S=(S<<8)+this.byteAt(y);return this.index+=b,S},readString:function(b){return e.transformTo("string",this.readData(b))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var b=this.readInt(4);return new Date(Date.UTC(1980+(b>>25&127),(b>>21&15)-1,b>>16&31,b>>11&31,b>>5&63,(31&b)<<1))}},I.exports=m},{"../utils":32}],19:[function(Q,I,l){"use strict";var e=Q("./Uint8ArrayReader");function m(b){e.call(this,b)}Q("../utils").inherits(m,e),m.prototype.readData=function(b){this.checkOffset(b);var y=this.data.slice(this.zero+this.index,this.zero+this.index+b);return this.index+=b,y},I.exports=m},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(Q,I,l){"use strict";var e=Q("./DataReader");function m(b){e.call(this,b)}Q("../utils").inherits(m,e),m.prototype.byteAt=function(b){return this.data.charCodeAt(this.zero+b)},m.prototype.lastIndexOfSignature=function(b){return this.data.lastIndexOf(b)-this.zero},m.prototype.readAndCheckSignature=function(b){return b===this.readData(4)},m.prototype.readData=function(b){this.checkOffset(b);var y=this.data.slice(this.zero+this.index,this.zero+this.index+b);return this.index+=b,y},I.exports=m},{"../utils":32,"./DataReader":18}],21:[function(Q,I,l){"use strict";var e=Q("./ArrayReader");function m(b){e.call(this,b)}Q("../utils").inherits(m,e),m.prototype.readData=function(b){if(this.checkOffset(b),0===b)return new Uint8Array(0);var y=this.data.subarray(this.zero+this.index,this.zero+this.index+b);return this.index+=b,y},I.exports=m},{"../utils":32,"./ArrayReader":17}],22:[function(Q,I,l){"use strict";var e=Q("../utils"),m=Q("../support"),b=Q("./ArrayReader"),y=Q("./StringReader"),S=Q("./NodeBufferReader"),p=Q("./Uint8ArrayReader");I.exports=function(M){var $=e.getTypeOf(M);return e.checkSupport($),"string"!==$||m.uint8array?"nodebuffer"===$?new S(M):m.uint8array?new p(e.transformTo("uint8array",M)):new b(e.transformTo("array",M)):new y(M)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(Q,I,l){"use strict";l.LOCAL_FILE_HEADER="PK\x03\x04",l.CENTRAL_FILE_HEADER="PK\x01\x02",l.CENTRAL_DIRECTORY_END="PK\x05\x06",l.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07",l.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06",l.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(Q,I,l){"use strict";var e=Q("./GenericWorker"),m=Q("../utils");function b(y){e.call(this,"ConvertWorker to "+y),this.destType=y}m.inherits(b,e),b.prototype.processChunk=function(y){this.push({data:m.transformTo(this.destType,y.data),meta:y.meta})},I.exports=b},{"../utils":32,"./GenericWorker":28}],25:[function(Q,I,l){"use strict";var e=Q("./GenericWorker"),m=Q("../crc32");function b(){e.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}Q("../utils").inherits(b,e),b.prototype.processChunk=function(y){this.streamInfo.crc32=m(y.data,this.streamInfo.crc32||0),this.push(y)},I.exports=b},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(Q,I,l){"use strict";var e=Q("../utils"),m=Q("./GenericWorker");function b(y){m.call(this,"DataLengthProbe for "+y),this.propName=y,this.withStreamInfo(y,0)}e.inherits(b,m),b.prototype.processChunk=function(y){y&&(this.streamInfo[this.propName]=(this.streamInfo[this.propName]||0)+y.data.length),m.prototype.processChunk.call(this,y)},I.exports=b},{"../utils":32,"./GenericWorker":28}],27:[function(Q,I,l){"use strict";var e=Q("../utils"),m=Q("./GenericWorker");function b(y){m.call(this,"DataWorker");var S=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,y.then(function(p){S.dataIsReady=!0,S.data=p,S.max=p&&p.length||0,S.type=e.getTypeOf(p),S.isPaused||S._tickAndRepeat()},function(p){S.error(p)})}e.inherits(b,m),b.prototype.cleanUp=function(){m.prototype.cleanUp.c
vendor: 5,875 bytes, line 1
1all(this),this.data=null},b.prototype.resume=function(){return!!m.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,e.delay(this._tickAndRepeat,[],this)),!0)},b.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(e.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},b.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var y=null,S=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":y=this.data.substring(this.index,S);break;case"uint8array":y=this.data.subarray(this.index,S);break;case"array":case"nodebuffer":y=this.data.slice(this.index,S)}return this.index=S,this.push({data:y,meta:{percent:this.max?this.index/this.max*100:0}})},I.exports=b},{"../utils":32,"./GenericWorker":28}],28:[function(Q,I,l){"use strict";function e(m){this.name=m||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}e.prototype={push:function(m){this.emit("data",m)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(m){this.emit("error",m)}return!0},error:function(m){return!this.isFinished&&(this.isPaused?this.generatedError=m:(this.isFinished=!0,this.emit("error",m),this.previous&&this.previous.error(m),this.cleanUp()),!0)},on:function(m,b){return this._listeners[m].push(b),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(m,b){if(this._listeners[m])for(var y=0;y<this._listeners[m].length;y++)this._listeners[m][y].call(this,b)},pipe:function(m){return m.registerPrevious(this)},registerPrevious:function(m){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=m.streamInfo,this.mergeStreamInfo(),this.previous=m;var b=this;return m.on("data",function(y){b.processChunk(y)}),m.on("end",function(){b.end()}),m.on("error",function(y){b.error(y)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var m=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),m=!0),this.previous&&this.previous.resume(),!m},flush:function(){},processChunk:function(m){this.push(m)},withStreamInfo:function(m,b){return this.extraStreamInfo[m]=b,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var m in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,m)&&(this.streamInfo[m]=this.extraStreamInfo[m])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var m="Worker "+this.name;return this.previous?this.previous+" -> "+m:m}},I.exports=e},{}],29:[function(Q,I,l){"use strict";var e=Q("../utils"),m=Q("./ConvertWorker"),b=Q("./GenericWorker"),y=Q("../base64"),S=Q("../support"),p=Q("../external"),M=null;if(S.nodestream)try{M=Q("../nodejs/NodejsStreamOutputAdapter")}catch{}function B(G,Y,q){var ee=Y;switch(Y){case"blob":case"arraybuffer":ee="uint8array";break;case"base64":ee="string"}try{this._internalType=ee,this._outputType=Y,this._mimeType=q,e.checkSupport(ee),this._worker=G.pipe(new m(ee)),G.lock()}catch(oe){this._worker=new b("error"),this._worker.error(oe)}}B.prototype={accumulate:function(G){return function $(G,Y){return new p.Promise(function(q,ee){var oe=[],se=G._internalType,xe=G._outputType,Le=G._mimeType;G.on("data",function(ie,L){oe.push(ie),Y&&Y(L)}).on("error",function(ie){oe=[],ee(ie)}).on("end",function(){try{var ie=function(L,K,_e){switch(L){case"blob":return e.newBlob(e.transformTo("arraybuffer",K),_e);case"base64":return y.encode(K);default:return e.transformTo(L,K)}}(xe,function(L,K){var _e,Te=0,ct=null,ye=0;for(_e=0;_e<K.length;_e++)ye+=K[_e].length;switch(L){case"string":return K.join("");case"array":return Array.prototype.concat.apply([],K);case"uint8array":for(ct=new Uint8Array(ye),_e=0;_e<K.length;_e++)ct.set(K[_e],Te),Te+=K[_e].length;return ct;case"nodebuffer":return Buffer.concat(K);default:throw new Error("concat : unsupported type '"+L+"'")}}(se,oe),Le);q(ie)}catch(L){ee(L)}oe=[]}).resume()})}(this,G)},on:function(G,Y){var q=this;return this._worker.on(G,"data"===G?function(ee){Y.call(q,ee.data,ee.meta)}:function(){e.delay(Y,arguments,q)}),this},resume:function(){return e.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(G){if(e.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new M(this,{objectMode:"nodebuffer"!==this._outputType},G)}},I.exports=B},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(Q,I,l){"use strict";if(l.base64=!0,l.array=!0,l.string=!0,l.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",l.nodebuffer=typeof Buffer<"u",l.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")l.blob=!1;else{var e=new ArrayBuffer(0);try{l.blob=0===new Blob([e],{type:"application/zip"}).size}catch{try{var m=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);m.append(e),l.blob=0===m.getBlob("application/zip").size}catch{l.blob=!1}}}try{l.nodestream=!!Q("readable-stream").Readable}catch{l.nodestream=!1}},{"readable-stream":16}],31:[function(Q,I,l){"use strict";for(var e=Q("./utils"),m=Q("./support"),b=Q("./nodejsUtils"),y=Q("./stream/GenericWorker"),S=new Array(256),p=0;p<256;
vendor: 7,411 bytes, line 1
1p++)S[p]=252<=p?6:248<=p?5:240<=p?4:224<=p?3:192<=p?2:1;function M(){y.call(this,"utf-8 decode"),this.leftOver=null}function $(){y.call(this,"utf-8 encode")}S[254]=S[254]=1,l.utf8encode=function(B){return m.nodebuffer?b.newBufferFrom(B,"utf-8"):function(G){var Y,q,ee,oe,se,xe=G.length,Le=0;for(oe=0;oe<xe;oe++)55296==(64512&(q=G.charCodeAt(oe)))&&oe+1<xe&&56320==(64512&(ee=G.charCodeAt(oe+1)))&&(q=65536+(q-55296<<10)+(ee-56320),oe++),Le+=q<128?1:q<2048?2:q<65536?3:4;for(Y=m.uint8array?new Uint8Array(Le):new Array(Le),oe=se=0;se<Le;oe++)55296==(64512&(q=G.charCodeAt(oe)))&&oe+1<xe&&56320==(64512&(ee=G.charCodeAt(oe+1)))&&(q=65536+(q-55296<<10)+(ee-56320),oe++),q<128?Y[se++]=q:(q<2048?Y[se++]=192|q>>>6:(q<65536?Y[se++]=224|q>>>12:(Y[se++]=240|q>>>18,Y[se++]=128|q>>>12&63),Y[se++]=128|q>>>6&63),Y[se++]=128|63&q);return Y}(B)},l.utf8decode=function(B){return m.nodebuffer?e.transformTo("nodebuffer",B).toString("utf-8"):function(G){var Y,q,ee,oe,se=G.length,xe=new Array(2*se);for(Y=q=0;Y<se;)if((ee=G[Y++])<128)xe[q++]=ee;else if(4<(oe=S[ee]))xe[q++]=65533,Y+=oe-1;else{for(ee&=2===oe?31:3===oe?15:7;1<oe&&Y<se;)ee=ee<<6|63&G[Y++],oe--;1<oe?xe[q++]=65533:ee<65536?xe[q++]=ee:(xe[q++]=55296|(ee-=65536)>>10&1023,xe[q++]=56320|1023&ee)}return xe.length!==q&&(xe.subarray?xe=xe.subarray(0,q):xe.length=q),e.applyFromCharCode(xe)}(B=e.transformTo(m.uint8array?"uint8array":"array",B))},e.inherits(M,y),M.prototype.processChunk=function(B){var G=e.transformTo(m.uint8array?"uint8array":"array",B.data);if(this.leftOver&&this.leftOver.length){if(m.uint8array){var Y=G;(G=new Uint8Array(Y.length+this.leftOver.length)).set(this.leftOver,0),G.set(Y,this.leftOver.length)}else G=this.leftOver.concat(G);this.leftOver=null}var q=function(oe,se){var xe;for((se=se||oe.length)>oe.length&&(se=oe.length),xe=se-1;0<=xe&&128==(192&oe[xe]);)xe--;return xe<0||0===xe?se:xe+S[oe[xe]]>se?xe:se}(G),ee=G;q!==G.length&&(m.uint8array?(ee=G.subarray(0,q),this.leftOver=G.subarray(q,G.length)):(ee=G.slice(0,q),this.leftOver=G.slice(q,G.length))),this.push({data:l.utf8decode(ee),meta:B.meta})},M.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:l.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},l.Utf8DecodeWorker=M,e.inherits($,y),$.prototype.processChunk=function(B){this.push({data:l.utf8encode(B.data),meta:B.meta})},l.Utf8EncodeWorker=$},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(Q,I,l){"use strict";var e=Q("./support"),m=Q("./base64"),b=Q("./nodejsUtils"),y=Q("./external");function S(Y){return Y}function p(Y,q){for(var ee=0;ee<Y.length;++ee)q[ee]=255&Y.charCodeAt(ee);return q}Q("setimmediate"),l.newBlob=function(Y,q){l.checkSupport("blob");try{return new Blob([Y],{type:q})}catch{try{var ee=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return ee.append(Y),ee.getBlob(q)}catch{throw new Error("Bug : can't construct the Blob.")}}};var M={stringifyByChunk:function(Y,q,ee){var oe=[],se=0,xe=Y.length;if(xe<=ee)return String.fromCharCode.apply(null,Y);for(;se<xe;)oe.push(String.fromCharCode.apply(null,"array"===q||"nodebuffer"===q?Y.slice(se,Math.min(se+ee,xe)):Y.subarray(se,Math.min(se+ee,xe)))),se+=ee;return oe.join("")},stringifyByChar:function(Y){for(var q="",ee=0;ee<Y.length;ee++)q+=String.fromCharCode(Y[ee]);return q},applyCanBeUsed:{uint8array:function(){try{return e.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch{return!1}}(),nodebuffer:function(){try{return e.nodebuffer&&1===String.fromCharCode.apply(null,b.allocBuffer(1)).length}catch{return!1}}()}};function $(Y){var q=65536,ee=l.getTypeOf(Y),oe=!0;if("uint8array"===ee?oe=M.applyCanBeUsed.uint8array:"nodebuffer"===ee&&(oe=M.applyCanBeUsed.nodebuffer),oe)for(;1<q;)try{return M.stringifyByChunk(Y,ee,q)}catch{q=Math.floor(q/2)}return M.stringifyByChar(Y)}function B(Y,q){for(var ee=0;ee<Y.length;ee++)q[ee]=Y[ee];return q}l.applyFromCharCode=$;var G={};G.string={string:S,array:function(Y){return p(Y,new Array(Y.length))},arraybuffer:function(Y){return G.string.uint8array(Y).buffer},uint8array:function(Y){return p(Y,new Uint8Array(Y.length))},nodebuffer:function(Y){return p(Y,b.allocBuffer(Y.length))}},G.array={string:$,array:S,arraybuffer:function(Y){return new Uint8Array(Y).buffer},uint8array:function(Y){return new Uint8Array(Y)},nodebuffer:function(Y){return b.newBufferFrom(Y)}},G.arraybuffer={string:function(Y){return $(new Uint8Array(Y))},array:function(Y){return B(new Uint8Array(Y),new Array(Y.byteLength))},arraybuffer:S,uint8array:function(Y){return new Uint8Array(Y)},nodebuffer:function(Y){return b.newBufferFrom(new Uint8Array(Y))}},G.uint8array={string:$,array:function(Y){return B(Y,new Array(Y.length))},arraybuffer:function(Y){return Y.buffer},uint8array:S,nodebuffer:function(Y){return b.newBufferFrom(Y)}},G.nodebuffer={string:$,array:function(Y){return B(Y,new Array(Y.length))},arraybuffer:function(Y){return G.nodebuffer.uint8array(Y).buffer},uint8array:function(Y){return B(Y,new Uint8Array(Y.length))},nodebuffer:S},l.transformTo=function(Y,q){if(q=q||"",!Y)return q;l.checkSupport(Y);var ee=l.getTypeOf(q);return G[ee][Y](q)},l.resolve=function(Y){for(var q=Y.split("/"),ee=[],oe=0;oe<q.length;oe++){var se=q[oe];"."===se||""===se&&0!==oe&&oe!==q.length-1||(".."===se?ee.pop():ee.push(se))}return ee.join("/")},l.getTypeOf=function(Y){return"string"==typeof Y?"string":"[object Array]"===Object.prototype.toString.call(Y)?"array":e.nodebuffer&&b.isBuffer(Y)?"nodebuffer":e.uint8array&&Y instanceof Uint8Array?"uint8array":e.arraybuffer&&Y instanceof ArrayBuffer?"arraybuffer":void 0},l.checkSupport=function(Y){if(!e[Y.toLowerCase()])throw new Error(Y+" is not supported by this platform")},l.MAX_VALUE_16BITS=65535,l.MAX_VALUE_32BITS=-1,l.pretty=function(Y){var q,ee,oe="";for(ee=0;ee<(Y||"").length;ee++)oe+="\\x"+((q=Y.charCodeAt(ee))<16?"0":"")+q.toString(16).toUpperCase();return oe},l.delay=function(Y,q,ee){setImmediate(function(){Y.apply(ee||null,q||[])})},l.inherits=function(Y,q){function ee(){}ee.prototype=q.prototype,Y.prototype=new ee},l.extend=function(){var Y,q,ee={};for(Y=0;Y<arguments.length;Y++)for(q in arguments[Y])Object.prototype.hasOwnProperty.call(arguments[Y],q)&&void 0===ee[q]&&(ee[q]=arguments[Y][q]);return ee},l.prepareContent=function(Y,q,ee,oe,se){return y.Promise.resolve(q).then(function(xe){return e.blob&&(xe instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(xe)))&&typeof FileReader<"u"?new y.Promise(function(Le,ie){var L=new FileReader;L.onload=function(K){Le(K.target.result)},L.onerror=function(K){ie(K.target.error)},L.readAsArrayBuffer(xe)}):xe}).then(function(xe){var ie,Le=l.getTypeOf(xe);return Le?("arraybuffer"===Le?xe=l.transformTo("uint8array",xe):"string"===Le&&(se?xe=m.decode(xe):ee&&!0!==oe&&(xe=p(ie=xe,e.uint8array?new Uint8Array(ie.length):new Array(ie.length)))),xe):y.Promise.reject(new Error("Can't read the data of '"+Y+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(Q,I,l){"use strict";var e=Q("./reader/readerFor"),m=Q("./utils"),b=Q("./signature"),y=Q("./zipEntry"),S=Q("./support");function p(M){this.files=[],this.loadOptions=M}p.prototype={checkSignature:function(M){if(!this.reader.readAndCheckSignature(M
vendor: 4,147 bytes, line 1
1)){this.reader.index-=4;var $=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+m.pretty($)+", expected "+m.pretty(M)+")")}},isSignature:function(M,$){var B=this.reader.index;this.reader.setIndex(M);var G=this.reader.readString(4)===$;return this.reader.setIndex(B),G},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var M=this.reader.readData(this.zipCommentLength),B=m.transformTo(S.uint8array?"uint8array":"array",M);this.zipComment=this.loadOptions.decodeFileName(B)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var M,$,B,G=this.zip64EndOfCentralSize-44;0<G;)M=this.reader.readInt(2),$=this.reader.readInt(4),B=this.reader.readData($),this.zip64ExtensibleData[M]={id:M,length:$,value:B}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var M,$;for(M=0;M<this.files.length;M++)this.reader.setIndex(($=this.files[M]).localHeaderOffset),this.checkSignature(b.LOCAL_FILE_HEADER),$.readLocalPart(this.reader),$.handleUTF8(),$.processAttributes()},readCentralDir:function(){var M;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(b.CENTRAL_FILE_HEADER);)(M=new y({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(M);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var M=this.reader.lastIndexOfSignature(b.CENTRAL_DIRECTORY_END);if(M<0)throw this.isSignature(0,b.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(M);var $=M;if(this.checkSignature(b.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===m.MAX_VALUE_16BITS||this.diskWithCentralDirStart===m.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===m.MAX_VALUE_16BITS||this.centralDirRecords===m.MAX_VALUE_16BITS||this.centralDirSize===m.MAX_VALUE_32BITS||this.centralDirOffset===m.MAX_VALUE_32BITS){if(this.zip64=!0,(M=this.reader.lastIndexOfSignature(b.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(M),this.checkSignature(b.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,b.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(b.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(b.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var B=this.centralDirOffset+this.centralDirSize;this.zip64&&(B+=20,B+=12+this.zip64EndOfCentralSize);var G=$-B;if(0<G)this.isSignature($,b.CENTRAL_FILE_HEADER)||(this.reader.zero=G);else if(G<0)throw new Error("Corrupted zip: missing "+Math.abs(G)+" b
1ytes.")},prepareReader:function(M){this.reader=e(M)},load:function(M){this.prepareReader(M),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},I.exports=p},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(Q,I,l){"use strict";var e=Q("./reader/readerFor"),m=Q("./utils"),b=Q("./compressedObject"),y=Q("./crc32"),S=Q("./utf8"),p=Q("./compressions"),M=Q("./support");function $(B,G){this.options=B,this.loadOptions=G}$.prototype={isEncrypted:function(){return!(1&~this.bitFlag)},useUTF8:function(){return!(2048&~this.bitFlag)},readLocalPart:function(B){var G,Y;if(B.skip(22),this.fileNameLength=B.readInt(2),Y=B.readInt(2),this.fileName=B.readData(this.fileNameLength),B.skip(Y),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(G=function(q){for(var ee in p)if(Object.prototype.hasOwnProperty.call(p,ee)&&p[ee].magic===q)return p[ee];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+m.pretty(this.compressionMethod)+" unknown (inner file : "+m.transformTo("string",this.fileName)+")");this.decompressed=new b(this.compressedSize,this.uncompressedSize,this.crc32,G,B.readData(this.compressedSize))},readCentralPart:function(B){this.versionMadeBy=B.readInt(2),B.skip(2),this.bitFlag=B.readInt(2),this.compressionMethod=B.readString(2),this.date=B.readDate(),this.crc32=B.readInt(4),this.compressedSize=B.readInt(4),this.uncompressedSize=B.readInt(4);var G=B.readInt(2);if(this.extraFieldsLength=B.readInt(2),this.fileCommentLength=B.readInt(2),this.diskNumberStart=B.readInt(2),this.internalFileAttributes=B.readInt(2),this.externalFileAttributes=B.readInt(4),this.localHeaderOffset=B.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");B.skip(G),this.readExtraFields(B),this.parseZIP64ExtraField(B),this.fileComment=B.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var B=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==B&&(this.dosPermissions=63&this.externalFileAttributes),3==B&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var B=e(this.extraFields[1].value);this.uncompressedSize===m.MAX_VALUE_32BITS&&(this.uncompressedSize=B.readInt(8)),this.compressedSize===m.MAX_VALUE_32BITS&&(this.compressedSize=B.readInt(8)),this.localHeaderOffset===m.MAX_VALUE_32BITS&&(this.localHeaderOffset=B.readInt(8)),this.diskNumberStart===m.MAX_VALUE_32BITS&&(this.diskNumberStart=B.readInt(4))}},readExtraFields:function(B){var G,Y,q,ee=B.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});B.index+4<ee;)G=B.readInt(2),Y=B.readInt(2),q=B.readData(Y),this.extraFields[G]={id:G,length:Y,value:q};B.setIndex(ee)},handleUTF8:function(){var B=M.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=S.utf8decode(this.fileName),this.fileCommentStr=S.utf8decode(this.fileComment);else{var G=this.findExtraFieldUnicodePath();if(null!==G)this.fileNameStr=G;else{var Y=m.transformTo(B,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(Y)}var q=this.findExtraFieldUnicodeComment();if(null!==q)this.fileCommentStr=q;else{var ee=m.transformTo(B,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(ee)}}},findExtraFieldUnicodePath:function(){var B=this.extraFields[28789];if(B){var G=e(B.value);return 1!==G.readInt(1)||y(this.fileName)!==G.readInt(4)?null:S.utf8decode(G.readData(B.length-5))}return null},findExtraFieldUnicodeComment:function(){var B=this.extraFields[25461];if(B){var G=e(B.value);return 1!==G.readInt(1)||y(this.fileComment)!==G.readInt(4)?null:S.utf8decode(G.readData(B.length-5))}return null}},I.exports=$},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(Q,I,l){"use strict";function e(G,Y,q){this.name=G,this.dir=q.dir,this.date=q.date,this.comment=q.comment,this.unixPermissions=q.unixPermissions,this.dosPermissions=q.dosPermissions,this._data=Y,this._dataBinary=q.binary,this.options={compression:q.compression,compressionOptions:q.compressionOptions}}var m=Q("./stream/StreamHelper"),b=Q("./stream/DataWorker"),y=Q("./utf8"),S=Q("./compressedObject"),p=Q("./stream/GenericWorker");
vendor: 6,806 bytes, line 1
1e.prototype={internalStream:function(G){var Y=null,q="string";try{if(!G)throw new Error("No output type specified.");var ee="string"===(q=G.toLowerCase())||"text"===q;"binarystring"!==q&&"text"!==q||(q="string"),Y=this._decompressWorker();var oe=!this._dataBinary;oe&&!ee&&(Y=Y.pipe(new y.Utf8EncodeWorker)),!oe&&ee&&(Y=Y.pipe(new y.Utf8DecodeWorker))}catch(se){(Y=new p("error")).error(se)}return new m(Y,q,"")},async:function(G,Y){return this.internalStream(G).accumulate(Y)},nodeStream:function(G,Y){return this.internalStream(G||"nodebuffer").toNodejsStream(Y)},_compressWorker:function(G,Y){if(this._data instanceof S&&this._data.compression.magic===G.magic)return this._data.getCompressedWorker();var q=this._decompressWorker();return this._dataBinary||(q=q.pipe(new y.Utf8EncodeWorker)),S.createWorkerFrom(q,G,Y)},_decompressWorker:function(){return this._data instanceof S?this._data.getContentWorker():this._data instanceof p?this._data:new b(this._data)}};for(var M=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],$=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},B=0;B<M.length;B++)e.prototype[M[B]]=$;I.exports=e},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(Q,I,l){(function(e){"use strict";var m,b,y=e.MutationObserver||e.WebKitMutationObserver;if(y){var S=0,p=new y(G),M=e.document.createTextNode("");p.observe(M,{characterData:!0}),m=function(){M.data=S=++S%2}}else if(e.setImmediate||void 0===e.MessageChannel)m="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var Y=e.document.createElement("script");Y.onreadystatechange=function(){G(),Y.onreadystatechange=null,Y.parentNode.removeChild(Y),Y=null},e.document.documentElement.appendChild(Y)}:function(){setTimeout(G,0)};else{var $=new e.MessageChannel;$.port1.onmessage=G,m=function(){$.port2.postMessage(0)}}var B=[];function G(){var Y,q;b=!0;for(var ee=B.length;ee;){for(q=B,B=[],Y=-1;++Y<ee;)q[Y]();ee=B.length}b=!1}I.exports=function(Y){1!==B.push(Y)||b||m()}}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(Q,I,l){"use strict";var e=Q("immediate");function m(){}var b={},y=["REJECTED"],S=["FULFILLED"],p=["PENDING"];function M(ee){if("function"!=typeof ee)throw new TypeError("resolver must be a function");this.state=p,this.queue=[],this.outcome=void 0,ee!==m&&Y(this,ee)}function $(ee,oe,se){this.promise=ee,"function"==typeof oe&&(this.onFulfilled=oe,this.callFulfilled=this.otherCallFulfilled),"function"==typeof se&&(this.onRejected=se,this.callRejected=this.otherCallRejected)}function B(ee,oe,se){e(function(){var xe;try{xe=oe(se)}catch(Le){return b.reject(ee,Le)}xe===ee?b.reject(ee,new TypeError("Cannot resolve promise with itself")):b.resolve(ee,xe)})}function G(ee){var oe=ee&&ee.then;if(ee&&("object"==typeof ee||"function"==typeof ee)&&"function"==typeof oe)return function(){oe.apply(ee,arguments)}}function Y(ee,oe){var se=!1;function xe(L){se||(se=!0,b.reject(ee,L))}function Le(L){se||(se=!0,b.resolve(ee,L))}var ie=q(function(){oe(Le,xe)});"error"===ie.status&&xe(ie.value)}function q(ee,oe){var se={};try{se.value=ee(oe),se.status="success"}catch(xe){se.status="error",se.value=xe}return se}(I.exports=M).prototype.finally=function(ee){if("function"!=typeof ee)return this;var oe=this.constructor;return this.then(function(se){return oe.resolve(ee()).then(function(){return se})},function(se){return oe.resolve(ee()).then(function(){throw se})})},M.prototype.catch=function(ee){return this.then(null,ee)},M.prototype.then=function(ee,oe){if("function"!=typeof ee&&this.state===S||"function"!=typeof oe&&this.state===y)return this;var se=new this.constructor(m);return this.state!==p?B(se,this.state===S?ee:oe,this.outcome):this.queue.push(new $(se,ee,oe)),se},$.prototype.callFulfilled=function(ee){b.resolve(this.promise,ee)},$.prototype.otherCallFulfilled=function(ee){B(this.promise,this.onFulfilled,ee)},$.prototype.callRejected=function(ee){b.reject(this.promise,ee)},$.prototype.otherCallRejected=function(ee){B(this.promise,this.onRejected,ee)},b.resolve=function(ee,oe){var se=q(G,oe);if("error"===se.status)return b.reject(ee,se.value);var xe=se.value;if(xe)Y(ee,xe);else{ee.state=S,ee.outcome=oe;for(var Le=-1,ie=ee.queue.length;++Le<ie;)ee.queue[Le].callFulfilled(oe)}return ee},b.reject=function(ee,oe){ee.state=y,ee.outcome=oe;for(var se=-1,xe=ee.queue.length;++se<xe;)ee.queue[se].callRejected(oe);return ee},M.resolve=function(ee){return ee instanceof this?ee:b.resolve(new this(m),ee)},M.reject=function(ee){var oe=new this(m);return b.reject(oe,ee)},M.all=function(ee){var oe=this;if("[object Array]"!==Object.prototype.toString.call(ee))return this.reject(new TypeError("must be an array"));var se=ee.length,xe=!1;if(!se)return this.resolve([]);for(var Le=new Array(se),ie=0,L=-1,K=new this(m);++L<se;)_e(ee[L],L);return K;function _e(Te,ct){oe.resolve(Te).then(function(ye){Le[ct]=ye,++ie!==se||xe||(xe=!0,b.resolve(K,Le))},function(ye){xe||(xe=!0,b.reject(K,ye))})}},M.race=function(ee){if("[object Array]"!==Object.prototype.toString.call(ee))return this.reject(new TypeError("must be an array"));var se=ee.length,xe=!1;if(!se)return this.resolve([]);for(var Le=-1,ie=new this(m);++Le<se;)this.resolve(ee[Le]).then(function(K){xe||(xe=!0,b.resolve(ie,K))},function(K){xe||(xe=!0,b.reject(ie,K))});return ie}},{immediate:36}],38:[function(Q,I,l){"use strict";var e={};(0,Q("./lib/utils/common").assign)(e,Q("./lib/deflate"),Q("./lib/inflate"),Q("./lib/zlib/constants")),I.exports=e},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(Q,I,l){"use strict";var e=Q("./zlib/deflate"),m=Q("./utils/common"),b=Q("./utils/strings"),y=Q("./zlib/messages"),S=Q("./zlib/zstream"),p=Object.prototype.toString,M=0,$=-1,B=0,G=8;function Y(ee){if(!(this instanceof Y))return new Y(ee);this.options=m.assign({level:$,method:G,chunkSize:16384,windowBits:15,memLevel:8,strategy:B,to:""},ee||{});var oe=this.options;oe.raw&&0<oe.windowBits?oe.windowBits=-oe.windowBits:oe.gzip&&0<oe.windowBits&&oe.windowBits<16&&(oe.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new S,this.strm.avail_out=0;var se=e.deflateInit2(this.strm,oe.level,oe.method,oe.windowBits,oe.memLevel,oe.strategy);if(se!==M)throw new Error(y[se]);if(oe.header&&e.deflateSetHeader(this.strm,oe.header),oe.dictionary){var xe;if(xe="string"==typeof oe.dictionary?b.string2buf(oe.dictionary):"[object ArrayBuffer]"===p.call(oe.dictionary)?new Uint8Array(oe.dictionary):oe.dictionary,(se=e.deflateSetDictionary(this.strm,xe))!==M)throw new Error(y[se]);this._dict_set=!0}}function q(ee,oe){var se=new Y(oe);
1if(se.push(ee,!0),se.err)throw se.msg||y[se.err];return se.result}Y.prototype.push=function(ee,oe){var se,xe,Le=this.strm,ie=this.options.chunkSize;if(this.ended)return!1;xe=oe===~~oe?oe:!0===oe?4:0,Le.input="string"==typeof ee?b.string2buf(ee):"[object ArrayBuffer]"===p.call(ee)?new Uint8Array(ee):ee,Le.next_in=0,Le.avail_in=Le.input.length;do{if(0===Le.avail_out&&(Le.output=new m.Buf8(ie),Le.next_out=0,Le.avail_out=ie),1!==(se=e.deflate(Le,xe))&&se!==M)return this.onEnd(se),!(this.ended=!0);0!==Le.avail_out&&(0!==Le.avail_in||4!==xe&&2!==xe)||this.onData("string"===this.options.to?b.buf2binstring(m.shrinkBuf(Le.output,Le.next_out)):m.shrinkBuf(Le.output,Le.next_out))}while((0<Le.avail_in||0===Le.avail_out)&&1!==se);return 4===xe?(se=e.deflateEnd(this.strm),this.onEnd(se),this.ended=!0,se===M):2!==xe||(this.onEnd(M),!(Le.avail_out=0))},Y.prototype.onData=function(ee){this.chunks.push(ee)},Y.prototype.onEnd=function(ee){ee===M&&(this.result="string"===this.options.to?this.chunks.join(""):m.flattenChunks(this.chunks)),this.chunks=[],this.err=ee,this.msg=this.strm.msg},l.Deflate=Y,l.deflate=q,l.deflateRaw=function(ee,oe){return(oe=oe||{}).raw=!0,q(ee,oe)},l.gzip=function(ee,oe){return(oe=oe||{}).gzip=!0,q(ee,oe)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(Q,I,l){"use strict";var e=Q("./zlib/inflate"),m=Q("./utils/common"),b=Q("./utils/strings"),y=Q("./zlib/constants"),S=Q("./zlib/messages"),p=Q("./zlib/zstream"),M=Q("./zlib/gzheader"),$=Object.prototype.toString;function B(Y){if(!(this instanceof B))return new B(Y);this.options=m.assign({chunkSize:16384,windowBits:0,to:""},Y||{});var q=this.options;q.raw&&0<=q.windowBits&&q.windowBits<16&&(q.windowBits=-q.windowBits,0===q.windowBits&&(q.windowBits=-15)),!(0<=q.windowBits&&q.windowBits<16)||Y&&Y.windowBits||(q.windowBits+=32),15<q.windowBits&&q.windowBits<48&&!(15&q.windowBits)&&(q.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new p,this.strm.avail_out=0;var ee=e.inflateInit2(this.strm,q.windowBits);if(ee!==y.Z_OK)throw new Error(S[ee]);this.header=new M,e.inflateGetHeader(this.strm,this.header)}function G(Y,q){var ee=new B(q);if(ee.push(Y,!0),ee.err)throw ee.msg||S[ee.err];return ee.result}B.prototype.push=function(Y,q){var ee,oe,se,xe,Le,ie,L=this.strm,K=this.options.chunkSize,_e=this.options.dictionary,Te=!1;if(this.ended)return!1;oe=q===~~q?q:!0===q?y.Z_FINISH:y.Z_NO_FLUSH,L.input="string"==typeof Y?b.binstring2buf(Y):"[object ArrayBuffer]"===$.call(Y)?new Uint8Array(Y):Y,L.next_in=0,L.avail_in=L.input.length;do{if(0===L.avail_out&&(L.output=new m.Buf8(K),L.next_out=0,L.avail_out=K),(ee=e.inflate(L,y.Z_NO_FLUSH))===y.Z_NEED_DICT&&_e&&(ie="string"==typeof _e?b.string2buf(_e):"[object ArrayBuffer]"===$.call(_e)?new Uint8Array(_e):_e,ee=e.inflateSetDictionary(this.strm,ie)),ee===y.Z_BUF_ER
1ROR&&!0===Te&&(ee=y.Z_OK,Te=!1),ee!==y.Z_STREAM_END&&ee!==y.Z_OK)return this.onEnd(ee),!(this.ended=!0);L.next_out&&(0!==L.avail_out&&ee!==y.Z_STREAM_END&&(0!==L.avail_in||oe!==y.Z_FINISH&&oe!==y.Z_SYNC_FLUSH)||("string"===this.options.to?(se=b.utf8border(L.output,L.next_out),xe=L.next_out-se,Le=b.buf2string(L.output,se),L.next_out=xe,L.avail_out=K-xe,xe&&m.arraySet(L.output,L.output,se,xe,0),this.onData(Le)):this.onData(m.shrinkBuf(L.output,L.next_out)))),0===L.avail_in&&0===L.avail_out&&(Te=!0)}while((0<L.avail_in||0===L.avail_out)&&ee!==y.Z_STREAM_END);return ee===y.Z_STREAM_END&&(oe=y.Z_FINISH),oe===y.Z_FINISH?(ee=e.inflateEnd(this.strm),this.onEnd(ee),this.ended=!0,ee===y.Z_OK):oe!==y.Z_SYNC_FLUSH||(this.onEnd(y.Z_OK),!(L.avail_out=0))},B.prototype.onData=function(Y){this.chunks.push(Y)},B.prototype.onEnd=function(Y){Y===y.Z_OK&&(this.result="string"===this.options.to?this.chunks.join(""):m.flattenChunks(this.chunks)),this.chunks=[],this.err=Y,this.msg=this.strm.msg},l.Inflate=B,l.inflate=G,l.inflateRaw=function(Y,q){return(q=q||{}).raw=!0,G(Y,q)},l.ungzip=G},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(Q,I,l){"use strict";var e=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";l.assign=function(y){for(var S=Array.prototype.slice.call(arguments,1);S.length;){var p=S.shift();if(p){if("object"!=typeof p)throw new TypeError(p+"must be non-object");for(var M in p)p.hasOwnProperty(M)&&(y[M]=p[M])}}return y},l.shrinkBuf=function(y,S){return y.length===S?y:y.subarray?y.subarray(0,S):(y.length=S,y)};var m={arraySet:function(y,S,p,M,$){if(S.subarray&&y.subarray)y.set(S.subarray(p,p+M),$);else for(var B=0;B<M;B++)y[$+B]=S[p+B]},flattenChunks:function(y){var S,p,M,$,B,G;for(S=M=0,p=y.length;S<p;S++)M+=y[S].length;for(G=new Uint8Array(M),S=$=0,p=y.length;S<p;S++)G.set(B=y[S],$),$+=B.length;return G}},b={arraySet:function(y,S,p,M,$){for(var B=0;B<M;B++)y[$+B]=S[p+B]},flattenChunks:function(y){return[].concat.apply([],y)}};l.setTyped=function(y){y?(l.Buf8=Uint8Array,l.Buf16=Uint16Array,l.Buf32=Int32Array,l.assign(l,m)):(l.Buf8=Array,l.Buf16=Array,l.Buf32=Array,l.assign(l,b))},l.setTyped(e)},{}],42:[function(Q,I,l){"use strict";var e=Q("./common"),m=!0,b=!0;try{String.fromCharCode.apply(null,[0])}catch{m=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{b=!1}for(var y=new e.Buf8(256),S=0;S<256;S++)y[S]=252<=S?6:248<=S?5:240<=S?4:224<=S?3:192<=S?2:1;function p(M,$){if($<65537&&(M.subarray&&b||!M.subarray&&m))return String.fromCharCode.apply(null,e.shrinkBuf(M,$));for(var B="",G=0;G<$;G++)B+=String.fromCharCode(M[G]);return B}y[254]=y[254]=1,l.string2buf=function(M){var $,B,G,Y,q,ee=M.length,oe=0;for(Y=0;Y<ee;Y++)55296==(64512&(B=M.charCodeAt(Y)))&&Y+1<ee&&56320==(64512&(G=M.charCo
vendor: 4,881 bytes, line 1
1deAt(Y+1)))&&(B=65536+(B-55296<<10)+(G-56320),Y++),oe+=B<128?1:B<2048?2:B<65536?3:4;for($=new e.Buf8(oe),Y=q=0;q<oe;Y++)55296==(64512&(B=M.charCodeAt(Y)))&&Y+1<ee&&56320==(64512&(G=M.charCodeAt(Y+1)))&&(B=65536+(B-55296<<10)+(G-56320),Y++),B<128?$[q++]=B:(B<2048?$[q++]=192|B>>>6:(B<65536?$[q++]=224|B>>>12:($[q++]=240|B>>>18,$[q++]=128|B>>>12&63),$[q++]=128|B>>>6&63),$[q++]=128|63&B);return $},l.buf2binstring=function(M){return p(M,M.length)},l.binstring2buf=function(M){for(var $=new e.Buf8(M.length),B=0,G=$.length;B<G;B++)$[B]=M.charCodeAt(B);return $},l.buf2string=function(M,$){var B,G,Y,q,ee=$||M.length,oe=new Array(2*ee);for(B=G=0;B<ee;)if((Y=M[B++])<128)oe[G++]=Y;else if(4<(q=y[Y]))oe[G++]=65533,B+=q-1;else{for(Y&=2===q?31:3===q?15:7;1<q&&B<ee;)Y=Y<<6|63&M[B++],q--;1<q?oe[G++]=65533:Y<65536?oe[G++]=Y:(oe[G++]=55296|(Y-=65536)>>10&1023,oe[G++]=56320|1023&Y)}return p(oe,G)},l.utf8border=function(M,$){var B;for(($=$||M.length)>M.length&&($=M.length),B=$-1;0<=B&&128==(192&M[B]);)B--;return B<0||0===B?$:B+y[M[B]]>$?B:$}},{"./common":41}],43:[function(Q,I,l){"use strict";I.exports=function(e,m,b,y){for(var S=65535&e,p=e>>>16&65535,M=0;0!==b;){for(b-=M=2e3<b?2e3:b;p=p+(S=S+m[y++]|0)|0,--M;);S%=65521,p%=65521}return S|p<<16}},{}],44:[function(Q,I,l){"use strict";I.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(Q,I,l){"use strict";var e=function(){for(var m,b=[],y=0;y<256;y++){m=y;for(var S=0;S<8;S++)m=1&m?3988292384^m>>>1:m>>>1;b[y]=m}return b}();I.exports=function(m,b,y,S){var p=e,M=S+y;m^=-1;for(var $=S;$<M;$++)m=m>>>8^p[255&(m^b[$])];return~m}},{}],46:[function(Q,I,l){"use strict";var e,m=Q("../utils/common"),b=Q("./trees"),y=Q("./adler32"),S=Q("./crc32"),p=Q("./messages"),M=0,B=0,G=-2,ee=2,oe=8,xe=286,Le=30,ie=19,L=2*xe+1,K=15,_e=3,Te=258,ct=Te+_e+1,ye=42,Se=113;function Gt(re,mt){return re.msg=p[mt],mt}function Rt(re){return(re<<1)-(4<re?9:0)}function dt(re){for(var mt=re.length;0<=--mt;)re[mt]=0}function et(re){var mt=re.state,Ke=mt.pending;Ke>re.avail_out&&(Ke=re.avail_out),0!==Ke&&(m.arraySet(re.output,mt.pending_buf,mt.pending_out,Ke,re.next_out),re.next_out+=Ke,mt.pending_out+=Ke,re.total_out+=Ke,re.avail_out-=Ke,mt.pending-=Ke,0===mt.pending&&(mt.pending_out=0))}function Ie(re,mt){b._tr_flush_block(re,0<=re.block_start?re.block_start:-1,re.strstart-re.block_start,mt),re.block_start=re.strstart,et(re.strm)}function ot(re,mt){re.pending_buf[re.pending++]=mt}function vt(re,mt){re.pending_buf[re.pending++]=mt>>>8&255,re.pending_buf[re.pending++]=255&mt}function je(re,mt){var Ke,Ge,Ee=re.max_chain_length,qe=re.strstart,bt=re.prev_length,Je=re.nice_match,pt=re.strstart>re.w_size-ct?re.strstart-(re.w_size-ct):0,Ft=re.window,qt=re.w_mask,Wt=re.prev,En=re.strstart+Te,Sn=Ft[qe+bt-1],Zt=Ft[qe+bt];re.prev_length>=re.good_match&&(Ee>>=2),Je>re.lookahead&&(Je=re.lookahead);do{if(Ft[(Ke=mt)+bt]===Zt&&Ft[Ke+bt-1]===Sn&&Ft[Ke]===Ft[qe]&&Ft[++Ke]===Ft[qe+1]){qe+=2,Ke++;do{}while(Ft[++qe]===Ft[++Ke]&&Ft[++qe]===Ft[++Ke]&&Ft[++qe]===Ft[++Ke]&&Ft[++qe]===Ft[++Ke]&&Ft[++qe]===Ft[++Ke]&&Ft[++qe]===Ft[++Ke]&&Ft[++qe]===Ft[++Ke]&&Ft[++qe]===Ft[++Ke]&&qe<En);if(Ge=Te-(En-qe),qe=En-Te,bt<Ge){if(re.match_start=mt,Je<=(bt=Ge))break;Sn=Ft[qe+bt-1],Zt=Ft[qe+bt]}}}while((mt=Wt[mt&qt])>pt&&0!=--Ee);return bt<=re.lookahead?bt:re.lookahead}function He(re){var mt,Ke,Ge,Ee,qe,bt,Je,pt,Ft,qt,Wt=re.w_size;do{if(Ee=re.window_size-re.lookahead-re.strstart,re.strstart>=Wt+(Wt-ct)){for(m.arraySet(re.window,re.window,Wt,Wt,0),re.match_start-=Wt,re.strstart-=Wt,re.block_start-=Wt,mt=Ke=re.hash_size;Ge=re.head[--mt],re.head[mt]=Wt<=Ge?Ge-Wt:0,--Ke;);for(mt=Ke=Wt;Ge=re.prev[--mt],re.prev[mt]=Wt<=Ge?Ge-Wt:0,--Ke;);Ee+=Wt}if(0===re.strm.avail_in)break;if(Je=re.window,pt=re.strstart+re.lookahead,qt=void 0,(Ft=Ee)<(qt=(bt=re.strm).avail_in)&&(qt=Ft),Ke=0===qt?0:(bt.avail_in-=qt,m.arraySet(Je,bt.input,bt.next_in,qt,pt),1===bt.state.wrap?bt.adler=y(bt.adler,Je,qt,pt):2===bt.state.wrap&&(bt.adler=S(bt.adler,Je,qt,pt)),bt.next_in+=qt,bt.total_in+=qt,qt),re.lookahead+=Ke,re.lookahead+re.insert>=_e)for(re.ins_h=re.window[qe=re.strstart-re.insert],re.ins_h=(re.ins_h<<re.hash_shift^re.window[qe+1])&re.hash_mask;re.insert&&(re.ins_h=(re.ins_h<<re.hash_shift^re.window[qe+_e-1])&re.hash_mask,re.prev[qe&re.w_mask]=re.head[re.ins_h],re.head[re.ins_h]=qe,qe++,re.insert--,!(re.lookahead+re.insert<_e)););}while(re.lookahead<ct&&0!==re.strm.avail_in)}function Ve(re,mt){for(var Ke,Ge;;){if(re.lookahead<ct){if(He(re),re.lookahead<ct&&mt===M)return 1;if(0===re.lookahead)break}if(Ke=0,re.lookahead>
vendor: 5,190 bytes, line 1
1=_e&&(re.ins_h=(re.ins_h<<re.hash_shift^re.window[re.strstart+_e-1])&re.hash_mask,Ke=re.prev[re.strstart&re.w_mask]=re.head[re.ins_h],re.head[re.ins_h]=re.strstart),0!==Ke&&re.strstart-Ke<=re.w_size-ct&&(re.match_length=je(re,Ke)),re.match_length>=_e)if(Ge=b._tr_tally(re,re.strstart-re.match_start,re.match_length-_e),re.lookahead-=re.match_length,re.match_length<=re.max_lazy_match&&re.lookahead>=_e){for(re.match_length--;re.strstart++,re.ins_h=(re.ins_h<<re.hash_shift^re.window[re.strstart+_e-1])&re.hash_mask,Ke=re.prev[re.strstart&re.w_mask]=re.head[re.ins_h],re.head[re.ins_h]=re.strstart,0!=--re.match_length;);re.strstart++}else re.strstart+=re.match_length,re.match_length=0,re.ins_h=re.window[re.strstart],re.ins_h=(re.ins_h<<re.hash_shift^re.window[re.strstart+1])&re.hash_mask;else Ge=b._tr_tally(re,0,re.window[re.strstart]),re.lookahead--,re.strstart++;if(Ge&&(Ie(re,!1),0===re.strm.avail_out))return 1}return re.insert=re.strstart<_e-1?re.strstart:_e-1,4===mt?(Ie(re,!0),0===re.strm.avail_out?3:4):re.last_lit&&(Ie(re,!1),0===re.strm.avail_out)?1:2}function at(re,mt){for(var Ke,Ge,Ee;;){if(re.lookahead<ct){if(He(re),re.lookahead<ct&&mt===M)return 1;if(0===re.lookahead)break}if(Ke=0,re.lookahead>=_e&&(re.ins_h=(re.ins_h<<re.hash_shift^re.window[re.strstart+_e-1])&re.hash_mask,Ke=re.prev[re.strstart&re.w_mask]=re.head[re.ins_h],re.head[re.ins_h]=re.strstart),re.prev_length=re.match_length,re.prev_match=re.match_start,re.match_length=_e-1,0!==Ke&&re.prev_length<re.max_lazy_match&&re.strstart-Ke<=re.w_size-ct&&(re.match_length=je(re,Ke),re.match_length<=5&&(1===re.strategy||re.match_length===_e&&4096<re.strstart-re.match_start)&&(re.match_length=_e-1)),re.prev_length>=_e&&re.match_length<=re.prev_length){for(Ee=re.strstart+re.lookahead-_e,Ge=b._tr_tally(re,re.strstart-1-re.prev_match,re.prev_length-_e),re.lookahead-=re.prev_length-1,re.prev_length-=2;++re.strstart<=Ee&&(re.ins_h=(re.ins_h<<re.hash_shift^re.window[re.strstart+_e-1])&re.hash_mask,Ke=re.prev[re.strstart&re.w_mask]=re.head[re.ins_h],re.head[re.ins_h]=re.strstart),0!=--re.prev_length;);if(re.match_available=0,re.match_length=_e-1,re.strstart++,Ge&&(Ie(re,!1),0===re.strm.avail_out))return 1}else if(re.match_available){if((Ge=b._tr_tally(re,0,re.window[re.strstart-1]))&&Ie(re,!1),re.strstart++,re.lookahead--,0===re.strm.avail_out)return 1}else re.match_available=1,re.strstart++,re.lookahead--}return re.match_available&&(Ge=b._tr_tally(re,0,re.window[re.strstart-1]),re.match_available=0),re.insert=re.strstart<_e-1?re.strstart:_e-1,4===mt?(Ie(re,!0),0===re.strm.avail_out?3:4):re.last_lit&&(Ie(re,!1),0===re.strm.avail_out)?1:2}function Tt(re,mt,Ke,Ge,Ee){this.good_length=re,this.max_lazy=mt,this.nice_length=Ke,this.max_chain=Ge,this.func=Ee}function wt(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=oe,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new m.Buf16(2*L),this.dyn_dtree=new m.Buf16(2*(2*Le+1)),this.bl_tree=new m.Buf16(2*(2*ie+1)),dt(this.dyn_ltree),dt(this.dyn_dtree),dt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new m.Buf16(K+1),this.heap=new m.Buf16(2*xe+1),dt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new m.Buf16(2*xe+1),dt(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function jt(re){var mt;return re&&re.state?(re.total_in=re.total_out=0,re.data_type=ee,(mt=re.state).pending=0,mt.pending_out=0,mt.wrap<0&&(mt.wrap=-mt.wrap),mt.status=mt.wrap?ye:Se,re.adler=2===mt.wrap?0:1,mt.last_flush=M,b._tr_init(mt),B):Gt(re,G)}function Tn(re){var Ke,mt=jt(re);return mt===B&&((Ke=re.state).window_size=2*Ke.w_size,dt(Ke.head),Ke.max_lazy_match=e[Ke.level].max_lazy,Ke.good_match=e[Ke.level].good_length,Ke.nice_match=e[Ke.level].nice_length,Ke.max_chain_length=e[Ke.level].max_chain,Ke.strstart=0,Ke.block_start=0,Ke.lookahead=0,Ke.insert=0,Ke.match_length=Ke.prev_length=_e-1,Ke.match_available=0,Ke.ins_h=0),mt}function Ln(re,mt,Ke,Ge,Ee,qe){if(!re)return G;var bt=1;if(-1===mt&&(mt=6),Ge<0?(bt=0,Ge=-Ge):15<Ge&&(bt=2,Ge-=16),Ee<1||9<Ee||Ke!==oe||Ge<8||15<Ge||mt<0||9<mt||qe<0||4<qe)return Gt(re,G);8===Ge&&(Ge=9);var Je=new wt;return(re.state=Je).strm=re,Je.wrap=bt,Je.gzhead=null,Je.w_bits=Ge,Je.w_size=1<<Je.w_bits,Je.w_mask=Je.w_size-1,Je.hash_bits=Ee+7,Je.hash_size=1<<Je.hash_bits,Je.hash_mask=Je.hash_size-1,Je.hash_shift=~~((Je.hash_bits+_e-1)/_e),Je.window=new m.Buf8(2*Je.w_size),Je.head=new m.Buf16(Je.hash_size),Je.prev=new m.Buf16(Je.w_size),Je.lit_bufsize=1<<Ee+6,Je.pending_buf_size=4*Je.lit_bufsize,Je.pending_buf=new m.Buf8(Je.pen
vendor: 4,188 bytes, line 1
1ding_buf_size),Je.d_buf=1*Je.lit_bufsize,Je.l_buf=3*Je.lit_bufsize,Je.level=mt,Je.strategy=qe,Je.method=Ke,Tn(re)}e=[new Tt(0,0,0,0,function(re,mt){var Ke=65535;for(Ke>re.pending_buf_size-5&&(Ke=re.pending_buf_size-5);;){if(re.lookahead<=1){if(He(re),0===re.lookahead&&mt===M)return 1;if(0===re.lookahead)break}re.strstart+=re.lookahead,re.lookahead=0;var Ge=re.block_start+Ke;if((0===re.strstart||re.strstart>=Ge)&&(re.lookahead=re.strstart-Ge,re.strstart=Ge,Ie(re,!1),0===re.strm.avail_out)||re.strstart-re.block_start>=re.w_size-ct&&(Ie(re,!1),0===re.strm.avail_out))return 1}return re.insert=0,4===mt?(Ie(re,!0),0===re.strm.avail_out?3:4):(re.strstart>re.block_start&&Ie(re,!1),1)}),new Tt(4,4,8,4,Ve),new Tt(4,5,16,8,Ve),new Tt(4,6,32,32,Ve),new Tt(4,4,16,16,at),new Tt(8,16,32,32,at),new Tt(8,16,128,128,at),new Tt(8,32,128,256,at),new Tt(32,128,258,1024,at),new Tt(32,258,258,4096,at)],l.deflateInit=function(re,mt){return Ln(re,mt,oe,15,8,0)},l.deflateInit2=Ln,l.deflateReset=Tn,l.deflateResetKeep=jt,l.deflateSetHeader=function(re,mt){return re&&re.state?2!==re.state.wrap?G:(re.state.gzhead=mt,B):G},l.deflate=function(re,mt){var Ke,Ge,Ee,qe;if(!re||!re.state||5<mt||mt<0)return re?Gt(re,G):G;if(Ge=re.state,!re.output||!re.input&&0!==re.avail_in||666===Ge.status&&4!==mt)return Gt(re,0===re.avail_out?-5:G);if(Ge.strm=re,Ke=Ge.last_flush,Ge.last_flush=mt,Ge.status===ye)if(2===Ge.wrap)re.adler=0,ot(Ge,31),ot(Ge,139),ot(Ge,8),Ge.gzhead?(ot(Ge,(Ge.gzhead.text?1:0)+(Ge.gzhead.hcrc?2:0)+(Ge.gzhead.extra?4:0)+(Ge.gzhead.name?8:0)+(Ge.gzhead.comment?16:0)),ot(Ge,255&Ge.gzhead.time),ot(Ge,Ge.gzhead.time>>8&255),ot(Ge,Ge.gzhead.time>>16&255),ot(Ge,Ge.gzhead.time>>24&255),ot(Ge,9===Ge.level?2:2<=Ge.strategy||Ge.level<2?4:0),ot(Ge,255&Ge.gzhead.os),Ge.gzhead.extra&&Ge.gzhead.extra.length&&(ot(Ge,255&Ge.gzhead.extra.length),ot(Ge,Ge.gzhead.extra.length>>8&255)),Ge.gzhead.hcrc&&(re.adler=S(re.adler,Ge.pending_buf,Ge.pending,0)),Ge.gzindex=0,Ge.status=69):(ot(Ge,0),ot(Ge,0),ot(Ge,0),ot(Ge,0),ot(Ge,0),ot(Ge,9===Ge.level?2:2<=Ge.strategy||Ge.level<2?4:0),ot(Ge,3),Ge.status=Se);else{var bt=oe+(Ge.w_bits-8<<4)<<8;bt|=(2<=Ge.strategy||Ge.level<2?0:Ge.level<6?1:6===Ge.level?2:3)<<6,0!==Ge.strstart&&(bt|=32),bt+=31-bt%31,Ge.status=Se,vt(Ge,bt),0!==Ge.strstart&&(vt(Ge,re.adler>>>16),vt(Ge,65535&re.adler)),re.adler=1}if(69===Ge.status)if(Ge.gzhead.extra){for(Ee=Ge.pending;Ge.gzindex<(65535&Ge.gzhead.extra.length)&&(Ge.pending!==Ge.pending_buf_size||(Ge.gzhead.hcrc&&Ge.pending>Ee&&(re.adler=S(re.adler,Ge.pending_buf,Ge.pending-Ee,Ee)),et(re),Ee=Ge.pending,Ge.pending!==Ge.pending_buf_size));)ot(Ge,255&Ge.gzhead.extra[Ge.gzindex]),Ge.gzindex++;Ge.gzhead.hcrc&&Ge.pending>Ee&&(re.adler=S(re.adler,Ge.pending_buf,Ge.pending-Ee,Ee)),Ge.gzindex===Ge.gzhead.extra.length&&(Ge.gzindex=0,Ge.status=73)}else Ge.status=73;if(73===Ge.status)if(Ge.gzhead.name){Ee=Ge.pending;do{if(Ge.pending===Ge.pending_buf_size&&(Ge.gzhead.hcrc&&Ge.pending>Ee&&(re.adler=S(re.adler,Ge.pending_buf,Ge.pending-Ee,Ee)),et(re),Ee=Ge.pending,Ge.pending===Ge.pending_buf_size)){qe=1;break}qe=Ge.gzindex<Ge.gzhead.name.length?255&Ge.gzhead.name.charCodeAt(Ge.gzindex++):0,ot(Ge,qe)}while(0!==qe);Ge.gzhead.hcrc&&Ge.pending>Ee&&(re.adler=S(re.adler,Ge.pending_buf,Ge.pending-Ee,Ee)),0===qe&&(Ge.gzindex=0,Ge.status=91)}else Ge.status=91;if(91===Ge.status)if(Ge.gzhead.comment){Ee=Ge.pending;do{if(Ge.pending===Ge.pending_buf_size&&(Ge.gzhead.hcrc&&Ge.pending>Ee&&(re.adler=S(re.adler,Ge.pending_buf,Ge.pending-Ee,Ee)),et(re),Ee=Ge.pending,Ge.pending===Ge.pending_buf_size)){qe=1;break}qe=Ge.gzindex<Ge.gzhead.comment.length?255&Ge.gzhead.comment.charCodeAt(Ge.gzindex++):0,ot(Ge,qe)}while(0!==qe);Ge.gzhead.hcrc&&Ge.pending>Ee&&(re.adler=S(re.adler,Ge.pending_buf,Ge.pending-Ee,Ee)),0===qe&&(Ge.status=103)}else Ge.status=103;if(103===Ge.status&&(Ge.gzhead.hcrc?(Ge.pending+2>Ge.pending_buf_size&&et(re),Ge.pending+2<=Ge.pending_buf_size&&(ot(Ge,255&re.adler),ot(Ge,re.adler>>8&255),re.adler=0,Ge.status=Se)):Ge.status=Se),0!==Ge.pending){if(et(re),0===re.avail_out)return Ge.last_flush=-1,B}else if(0===re.avail_in&&Rt(mt)<=Rt(Ke)&&4!==mt)return Gt(re,-5);if(666===Ge.status&&0!==re.avail_in)return Gt(re,-5);
vendor: 11,857 bytes, line 1
1if(0!==re.avail_in||0!==Ge.lookahead||mt!==M&&666!==Ge.status){var Je=2===Ge.strategy?function(pt,Ft){for(var qt;;){if(0===pt.lookahead&&(He(pt),0===pt.lookahead)){if(Ft===M)return 1;break}if(pt.match_length=0,qt=b._tr_tally(pt,0,pt.window[pt.strstart]),pt.lookahead--,pt.strstart++,qt&&(Ie(pt,!1),0===pt.strm.avail_out))return 1}return pt.insert=0,4===Ft?(Ie(pt,!0),0===pt.strm.avail_out?3:4):pt.last_lit&&(Ie(pt,!1),0===pt.strm.avail_out)?1:2}(Ge,mt):3===Ge.strategy?function(pt,Ft){for(var qt,Wt,En,Sn,Zt=pt.window;;){if(pt.lookahead<=Te){if(He(pt),pt.lookahead<=Te&&Ft===M)return 1;if(0===pt.lookahead)break}if(pt.match_length=0,pt.lookahead>=_e&&0<pt.strstart&&(Wt=Zt[En=pt.strstart-1])===Zt[++En]&&Wt===Zt[++En]&&Wt===Zt[++En]){Sn=pt.strstart+Te;do{}while(Wt===Zt[++En]&&Wt===Zt[++En]&&Wt===Zt[++En]&&Wt===Zt[++En]&&Wt===Zt[++En]&&Wt===Zt[++En]&&Wt===Zt[++En]&&Wt===Zt[++En]&&En<Sn);pt.match_length=Te-(Sn-En),pt.match_length>pt.lookahead&&(pt.match_length=pt.lookahead)}if(pt.match_length>=_e?(qt=b._tr_tally(pt,1,pt.match_length-_e),pt.lookahead-=pt.match_length,pt.strstart+=pt.match_length,pt.match_length=0):(qt=b._tr_tally(pt,0,pt.window[pt.strstart]),pt.lookahead--,pt.strstart++),qt&&(Ie(pt,!1),0===pt.strm.avail_out))return 1}return pt.insert=0,4===Ft?(Ie(pt,!0),0===pt.strm.avail_out?3:4):pt.last_lit&&(Ie(pt,!1),0===pt.strm.avail_out)?1:2}(Ge,mt):e[Ge.level].func(Ge,mt);if(3!==Je&&4!==Je||(Ge.status=666),1===Je||3===Je)return 0===re.avail_out&&(Ge.last_flush=-1),B;if(2===Je&&(1===mt?b._tr_align(Ge):5!==mt&&(b._tr_stored_block(Ge,0,0,!1),3===mt&&(dt(Ge.head),0===Ge.lookahead&&(Ge.strstart=0,Ge.block_start=0,Ge.insert=0))),et(re),0===re.avail_out))return Ge.last_flush=-1,B}return 4!==mt?B:Ge.wrap<=0?1:(2===Ge.wrap?(ot(Ge,255&re.adler),ot(Ge,re.adler>>8&255),ot(Ge,re.adler>>16&255),ot(Ge,re.adler>>24&255),ot(Ge,255&re.total_in),ot(Ge,re.total_in>>8&255),ot(Ge,re.total_in>>16&255),ot(Ge,re.total_in>>24&255)):(vt(Ge,re.adler>>>16),vt(Ge,65535&re.adler)),et(re),0<Ge.wrap&&(Ge.wrap=-Ge.wrap),0!==Ge.pending?B:1)},l.deflateEnd=function(re){var mt;return re&&re.state?(mt=re.state.status)!==ye&&69!==mt&&73!==mt&&91!==mt&&103!==mt&&mt!==Se&&666!==mt?Gt(re,G):(re.state=null,mt===Se?Gt(re,-3):B):G},l.deflateSetDictionary=function(re,mt){var Ke,Ge,Ee,qe,bt,Je,pt,Ft,qt=mt.length;if(!re||!re.state||2===(qe=(Ke=re.state).wrap)||1===qe&&Ke.status!==ye||Ke.lookahead)return G;for(1===qe&&(re.adler=y(re.adler,mt,qt,0)),Ke.wrap=0,qt>=Ke.w_size&&(0===qe&&(dt(Ke.head),Ke.strstart=0,Ke.block_start=0,Ke.insert=0),Ft=new m.Buf8(Ke.w_size),m.arraySet(Ft,mt,qt-Ke.w_size,Ke.w_size,0),mt=Ft,qt=Ke.w_size),bt=re.avail_in,Je=re.next_in,pt=re.input,re.avail_in=qt,re.next_in=0,re.input=mt,He(Ke);Ke.lookahead>=_e;){for(Ge=Ke.strstart,Ee=Ke.lookahead-(_e-1);Ke.ins_h=(Ke.ins_h<<Ke.hash_shift^Ke.window[Ge+_e-1])&Ke.hash_mask,Ke.prev[Ge&Ke.w_mask]=Ke.head[Ke.ins_h],Ke.head[Ke.ins_h]=Ge,Ge++,--Ee;);Ke.strstart=Ge,Ke.lookahead=_e-1,He(Ke)}return Ke.strstart+=Ke.lookahead,Ke.block_start=Ke.strstart,Ke.insert=Ke.lookahead,Ke.lookahead=0,Ke.match_length=Ke.prev_length=_e-1,Ke.match_available=0,re.next_in=Je,re.input=pt,re.avail_in=bt,Ke.wrap=qe,B},l.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(Q,I,l){"use strict";I.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(Q,I,l){"use strict";I.exports=function(e,m){var b,y,S,p,M,$,B,G,Y,q,ee,oe,se,xe,Le,ie,L,K,_e,Te,ct,ye,Se,X,Ne;X=e.input,S=(y=e.next_in)+(e.avail_in-5),Ne=e.output,M=(p=e.next_out)-(m-e.avail_out),$=p+(e.avail_out-257),B=(b=e.state).dmax,G=b.wsize,Y=b.whave,q=b.wnext,ee=b.window,oe=b.hold,se=b.bits,xe=b.lencode,Le=b.distcode,ie=(1<<b.lenbits)-1,L=(1<<b.distbits)-1;e:do{se<15&&(oe+=X[y++]<<se,oe+=X[y++]<<(se+=8),se+=8),K=xe[oe&ie];t:for(;;){if(oe>>>=_e=K>>>24,se-=_e,0==(_e=K>>>16&255))Ne[p++]=65535&K;else{if(!(16&_e)){if(!(64&_e)){K=xe[(65535&K)+(oe&(1<<_e)-1)];continue t}if(32&_e){b.mode=12;break e}e.msg="invalid literal/length code",b.mode=30;break e}Te=65535&K,(_e&=15)&&(se<_e&&(oe+=X[y++]<<se,se+=8),Te+=oe&(1<<_e)-1,oe>>>=_e,se-=_e),se<15&&(oe+=X[y++]<<se,oe+=X[y++]<<(se+=8),se+=8),K=Le[oe&L];n:for(;;){if(oe>>>=_e=K>>>24,se-=_e,!(16&(_e=K>>>16&255))){if(!(64&_e)){K=Le[(65535&K)+(oe&(1<<_e)-1)];continue n}e.msg="invalid distance code",b.mode=30;break e}if(ct=65535&K,se<(_e&=15)&&(oe+=X[y++]<<se,(se+=8)<_e&&(oe+=X[y++]<<se,se+=8)),B<(ct+=oe&(1<<_e)-1)){e.msg="invalid distance too far back",b.mode=30;break e}if(oe>>>=_e,se-=_e,(_e=p-M)<ct){if(Y<(_e=ct-_e)&&b.sane){e.msg="invalid distance too far back",b.mode=30;break e}if(Se=ee,(ye=0)===q){if(ye+=G-_e,_e<Te){for(Te-=_e;Ne[p++]=ee[ye++],--_e;);ye=p-ct,Se=Ne}}else if(q<_e){if(ye+=G+q-_e,(_e-=q)<Te){for(Te-=_e;Ne[p++]=ee[ye++],--_e;);if(ye=0,q<Te){for(Te-=_e=q;Ne[p++]=ee[ye++],--_e;);ye=p-ct,Se=Ne}}}else if(ye+=q-_e,_e<Te){for(Te-=_e;Ne[p++]=ee[ye++],--_e;);ye=p-ct,Se=Ne}for(;2<Te;)Ne[p++]=Se[ye++],Ne[p++]=Se[ye++],Ne[p++]=Se[ye++],Te-=3;Te&&(Ne[p++]=Se[ye++],1<Te&&(Ne[p++]=Se[ye++]))}else{for(ye=p-ct;Ne[p++]=Ne[ye++],Ne[p++]=Ne[ye++],Ne[p++]=Ne[ye++],2<(Te-=3););Te&&(Ne[p++]=Ne[ye++],1<Te&&(Ne[p++]=Ne[ye++]))}break}}break}}while(y<S&&p<$);y-=Te=se>>3,oe&=(1<<(se-=Te<<3))-1,e.next_in=y,e.next_out=p,e.avail_in=y<S?S-y+5:5-(y-S),e.avail_out=p<$?$-p+257:257-(p-$),b.hold=oe,b.bits=se}},{}],49:[function(Q,I,l){"use strict";var e=Q("../utils/common"),m=Q("./adler32"),b=Q("./crc32"),y=Q("./inffast"),S=Q("./inftrees"),$=0,B=-2,G=1,Y=852,q=592;function ee(ye){return(ye>>>24&255)+(ye>>>8&65280)+((65280&ye)<<8)+((255&ye)<<24)}function oe(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new e.Buf16(320),this.work=new e.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function se(ye){var Se;return ye&&ye.state?(ye.total_in=ye.total_out=(Se=ye.state).total=0,ye.msg="",Se.wrap&&(ye.adler=1&Se.wrap),Se.mode=G,Se.last=0,Se.havedict=0,Se.dmax=32768,Se.head=null,Se.hold=0,Se.bits=0,Se.lencode=Se.lendyn=new e.Buf32(Y),Se.distcode=Se.distdyn=new e.Buf32(q),Se.sane=1,Se.back=-1,$):B}function xe(ye){var Se;return ye&&ye.state?((Se=ye.state).wsize=0,Se.whave=0,Se.wnext=0,se(ye)):B}function Le(ye,Se){var X,Ne;return ye&&ye.state?(Ne=ye.state,Se<0?(X=0,Se=-Se):(X=1+(Se>>4),Se<48&&(Se&=15)),Se&&(Se<8||15<Se)?B:(null!==Ne.window&&Ne.wbits!==Se&&(Ne.window=null),Ne.wrap=X,Ne.wbits=Se,xe(ye))):B}function ie(ye,Se){var X,Ne;return ye?(Ne=new oe,(ye.state=Ne).window=null,(X=Le(ye,Se))!==$&&(ye.state=null),X):B}var L,K,_e=!0;function Te(ye){if(_e){var Se;for(L=new e.Buf32(512),K=new e.Buf32(32),Se=0;Se<144;)ye.lens[Se++]=8;for(;Se<256;)ye.lens[Se++]=9;for(;Se<280;)ye.lens[Se++]=7;for(;Se<288;)ye.lens[Se++]=8;for(S(1,ye.lens,0,288,L,0,ye.work,{bits:9}),Se=0;Se<32;)ye.lens[Se++]=5;S(2,ye.lens,0,32,K,0,ye.work,{bits:5}),_e=!1}ye.lencode=L,ye.lenbits=9,ye.distcode=K,ye.distbits=5}function ct(ye,Se,X,Ne){var ft,_t=ye.state;return null===_t.window&&(_t.wsize=1<<_t.wbits,_t.wnext=0,_t.whave=0,_t.window=new e.Buf8(_t.wsize)),Ne>=_t.wsize?(e.arraySet(_t.window,Se,X-_t.wsize,_t.wsize,0),_t.wnext=0,_t.whave=_t.wsize):(Ne<(ft=_t.wsize-_t.wnext)&&(ft=Ne),e.arraySet(_t.window,Se,X-Ne,ft,_t.wnext),(Ne-=ft)?(e.arraySet(_t.window,Se,X-Ne,Ne,0),_t.wnext=Ne,_t.whave=_t.wsize):(_t.wnext+=ft,_t.wnext===_t.wsize&&(_t.wnext=0),_t.whave<_t.wsize&&(_t.whave+=ft))),0}l.inflateReset=xe,l.inflateReset2=Le,l.inflateResetKeep=se,l.inflateInit=function(ye){return ie(ye,15)},l.inflateInit2=ie,l.inflate=function(ye,Se){var X,Ne,ft,_t,Gt,Rt,dt,et,Ie,ot,vt,je,He,Ve,at,Tt,wt,jt,Tn,Ln,re,mt,Ke,Ge,Ee=0,qe=new e.Buf8(4),bt=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!ye||!ye.state||!ye.output||!ye.input&&0!==ye.avail_in)return B;12===(X=ye.state).mode&&(X.mode=13),Gt=ye.next_out,ft=ye.output,_t=ye.next_in,Ne=ye.input,et=X.hold,Ie=X.bits,ot=Rt=ye.avail_in,vt=dt=ye.avail_out,mt=$;e:for(;;)switch(X.mode){case G:if(0===X.wrap){X.mode=13;break}for(;Ie<16;){if(0===Rt)break e;Rt--,et+=Ne[_t++]<<Ie,Ie+=8}if(2&X.wrap&&35615===et){qe[X.check=0]=255&et,qe[1]=et>>>8&255,X.check=b(X.check,qe,2,0),Ie=et=0,X.mode=2;break}if(X.flags=0,X.head&&(X.head.done=!1),!(1&X.wrap)||(((255&et)<<8)+(et>>8))%31){ye.msg="incorrect header check",X.mode=30;break}if(8!=(15&et)){ye.msg="unknown compression method",X.mode=30;break}if(Ie-=4,re=8+(15&(et>>>=4)),0===X.wbits)X.wbits=re;else if(re>X.wbits){ye.msg="invalid window size",X.mode=30;break}X.dmax=1<<re,ye.adler=X.check=1,X.mode=512&et?10:12,Ie=et=0;break;case 2:for(;Ie<16;){if(0===Rt)break e;Rt--,et+=Ne[_t++]<<Ie,Ie+=8}if(X.flags=et,8!=(255&X.flags)){ye.msg="unknown compression method",X.mode=30;break}if(57344&X.flags){ye.msg="unknown header flags set",X.mode=30;break}X.head&&(X.head.text=et>>8&1),512&X.flags&&(qe[0]=255&et,qe[1]=et>>>8&255,X.check=b(X.check,qe,2,0)),Ie=et=0,X.mode=3;case 3:for(;Ie<32;){if(0===Rt)break e;Rt--,et+=Ne[_t++]<<Ie,Ie+=8}X.head&&(X.head.time=et),512&X.flags&&(qe[0]=255&et,qe[1]=et>>>8&255,qe[2]=et>>>16&255,qe[3]=et>>>24&255,X.check=b(X.check,qe,4,0)),Ie=et=0,X.mode=4;case 4:for(;Ie<16;){if(0===Rt)break e;Rt--,et+=Ne[_t++]<<Ie,Ie+=8}X.head&&(X.head.xflags=255&et,X.head.os=et>>8),512&X.flags&&(qe[0]=255&et,qe[1]=et>>>8&255,X.check=b(X.check,qe,2,0)),Ie=et=0,X.mode=5;case 5:if(1024&X.flags){for(;Ie<16;){if(0===Rt)break e;Rt--,et+=Ne[_t++]<<Ie,Ie+=8}X.length=et,X.head&&(X.head.extra_len=et),512&X.flags&&(qe[0]=255&et,qe[1]=et>>>8&255,X.check=b(X.check,qe,2,0)),Ie=et=0}else X.head&&(X.head.extra=null);X.mode=6;case 6:if(1024&X.flags&&(Rt<(je=X.length)&&(je=Rt),je&&(X.head&&(re=X.head.extra_len-X.length,X.head.extra||(X.head.extra=new Array(X.head.extra_len)),e.arraySet(X.head.extra,Ne,_t,je,re)),512&X.flags&&(X.check=b(X.check,Ne,je,_t)),Rt-=je,_t+=je,X.length-=je),X.length))break e;X.length=0,X.mode=7;case 7:if(2048&X.flags){if(0===Rt)break e;for(je=0;re=Ne[_t+je++],X.head&&re&&X.length<65536&&(X.head.name+=String.fromCharCode(re)),re&&je<Rt;);if(512&X.flags&&(X.check=b(X.check,Ne,je,_t)),Rt-=je,_t+=je,re)break e}else X.head&&(X.head.name=null);X.length=0,X.mode=8;case 8:if(4096&X.flags){if(0===Rt)break e;for(je=0;re=Ne[_t+je++],X.head&&re&&X.length<65536&&(X.head.comment+=String.fromCharCode(re)),re&&je<Rt;);if(512&X.flags&&(X.check=b(X.check,Ne,je,_t)),Rt-=je,_t+=je,re)break e}else X.head&&(X.head.comment=null);X.mode=9;case 9:if(512&X.flags){for(;Ie<16;){if(0===Rt)break e;Rt--,et+=Ne[_t++]<<Ie,Ie+=8}if(et!==(65535&X.check)){ye.msg="header crc mismatch",X.mode=30;break}Ie=et=0}X.head&&(X.head.hcrc=X.flags>>9&1,X.head.done=!0),ye.adler=X.check=0,X.mode=12;break;case 10:for(;Ie<32;){if(0===Rt)break e;Rt--,et+=Ne[_t++]<<Ie,Ie+=8}ye.adler=X.check=ee(et),Ie=et=0,X.mode=11;case 11:if(0===X.havedict)return ye.next_out=Gt,ye.avail_out=dt,ye.next_in=_t,ye.avail_in=Rt,X.hold=et,X.bits=Ie,2;ye.adler=X.check=1,X.mode=12;case 12:if(5===Se||6===Se)break e;case 13:if(X.last){et>>>=7&Ie,Ie-=7&Ie,X.mode=27;break}for(;Ie<3;){if(0===Rt)break e;Rt--,et+=Ne[_t++]<<Ie,Ie+=8}switch(X.last=1&et,Ie-=1,3&(et>>>=1)){case 0:X.mode=14;break;case 1:if(Te(X),X.mode=20,6!==Se)break;et>>>=2,Ie-=2;break e;case 2:X.mode=17;break;case 3:ye.msg="invalid block type",X.mode=30}et>>>=2,Ie-=2;break;case 14:for(et>>>=7&Ie,Ie-=7&Ie;Ie<32;){if(0===Rt)break e;Rt--,et+=Ne[_t++]<<Ie,Ie+=8}if((65535&et)!=(et>>>16^65535)){ye.msg="invalid stored block lengths",X.mode=30;break}if(X.length=65535&et,Ie=et=0,X.mode=15,6===Se)break e;case 15:X.mode=16;
vendor: 4,117 bytes, line 1
1case 16:if(je=X.length){if(Rt<je&&(je=Rt),dt<je&&(je=dt),0===je)break e;e.arraySet(ft,Ne,_t,je,Gt),Rt-=je,_t+=je,dt-=je,Gt+=je,X.length-=je;break}X.mode=12;break;case 17:for(;Ie<14;){if(0===Rt)break e;Rt--,et+=Ne[_t++]<<Ie,Ie+=8}if(X.nlen=257+(31&et),Ie-=5,X.ndist=1+(31&(et>>>=5)),Ie-=5,X.ncode=4+(15&(et>>>=5)),et>>>=4,Ie-=4,286<X.nlen||30<X.ndist){ye.msg="too many length or distance symbols",X.mode=30;break}X.have=0,X.mode=18;case 18:for(;X.have<X.ncode;){for(;Ie<3;){if(0===Rt)break e;Rt--,et+=Ne[_t++]<<Ie,Ie+=8}X.lens[bt[X.have++]]=7&et,et>>>=3,Ie-=3}for(;X.have<19;)X.lens[bt[X.have++]]=0;if(X.lencode=X.lendyn,X.lenbits=7,mt=S(0,X.lens,0,19,X.lencode,0,X.work,Ke={bits:X.lenbits}),X.lenbits=Ke.bits,mt){ye.msg="invalid code lengths set",X.mode=30;break}X.have=0,X.mode=19;case 19:for(;X.have<X.nlen+X.ndist;){for(;Tt=(Ee=X.lencode[et&(1<<X.lenbits)-1])>>>16&255,wt=65535&Ee,!((at=Ee>>>24)<=Ie);){if(0===Rt)break e;Rt--,et+=Ne[_t++]<<Ie,Ie+=8}if(wt<16)et>>>=at,Ie-=at,X.lens[X.have++]=wt;else{if(16===wt){for(Ge=at+2;Ie<Ge;){if(0===Rt)break e;Rt--,et+=Ne[_t++]<<Ie,Ie+=8}if(et>>>=at,Ie-=at,0===X.have){ye.msg="invalid bit length repeat",X.mode=30;break}re=X.lens[X.have-1],je=3+(3&et),et>>>=2,Ie-=2}else if(17===wt){for(Ge=at+3;Ie<Ge;){if(0===Rt)break e;Rt--,et+=Ne[_t++]<<Ie,Ie+=8}Ie-=at,re=0,je=3+(7&(et>>>=at)),et>>>=3,Ie-=3}else{for(Ge=at+7;Ie<Ge;){if(0===Rt)break e;Rt--,et+=Ne[_t++]<<Ie,Ie+=8}Ie-=at,re=0,je=11+(127&(et>>>=at)),et>>>=7,Ie-=7}if(X.have+je>X.nlen+X.ndist){ye.msg="invalid bit length repeat",X.mode=30;break}for(;je--;)X.lens[X.have++]=re}}if(30===X.mode)break;if(0===X.lens[256]){ye.msg="invalid code -- missing end-of-block",X.mode=30;break}if(X.lenbits=9,mt=S(1,X.lens,0,X.nlen,X.lencode,0,X.work,Ke={bits:X.lenbits}),X.lenbits=Ke.bits,mt){ye.msg="invalid literal/lengths set",X.mode=30;break}if(X.distbits=6,X.distcode=X.distdyn,mt=S(2,X.lens,X.nlen,X.ndist,X.distcode,0,X.work,Ke={bits:X.distbits}),X.distbits=Ke.bits,mt){ye.msg="invalid distances set",X.mode=30;break}if(X.mode=20,6===Se)break e;case 20:X.mode=21;case 21:if(6<=Rt&&258<=dt){ye.next_out=Gt,ye.avail_out=dt,ye.next_in=_t,ye.avail_in=Rt,X.hold=et,X.bits=Ie,y(ye,vt),Gt=ye.next_out,ft=ye.output,dt=ye.avail_out,_t=ye.next_in,Ne=ye.input,Rt=ye.avail_in,et=X.hold,Ie=X.bits,12===X.mode&&(X.back=-1);break}for(X.back=0;Tt=(Ee=X.lencode[et&(1<<X.lenbits)-1])>>>16&255,wt=65535&Ee,!((at=Ee>>>24)<=Ie);){if(0===Rt)break e;Rt--,et+=Ne[_t++]<<Ie,Ie+=8}if(Tt&&!(240&Tt)){for(jt=at,Tn=Tt,Ln=wt;Tt=(Ee=X.lencode[Ln+((et&(1<<jt+Tn)-1)>>jt)])>>>16&255,wt=65535&Ee,!(jt+(at=Ee>>>24)<=Ie);){if(0===Rt)break e;Rt--,et+=Ne[_t++]<<Ie,Ie+=8}et>>>=jt,Ie-=jt,X.back+=jt}if(et>>>=at,Ie-=at,X.back+=at,X.length=wt,0===Tt){X.mode=26;break}if(32&Tt){X.back=-1,X.mode=12;break}if(64&Tt){ye.msg="invalid literal/length code",X.mode=30;break}X.extra=15&Tt,X.mode=22;case 22:if(X.extra){for(Ge=X.extra;Ie<Ge;){if(0===Rt)break e;Rt--,et+=Ne[_t++]<<Ie,Ie+=8}X.length+=et&(1<<X.extra)-1,et>>>=X.extra,Ie-=X.extra,X.back+=X.extra}X.was=X.length,X.mode=23;case 23:for(;Tt=(Ee=X.distcode[et&(1<<X.distbits)-1])>>>16&255,wt=65535&Ee,!((at=Ee>>>24)<=Ie);){if(0===Rt)break e;Rt--,et+=Ne[_t++]<<Ie,Ie+=8}if(!(240&Tt)){for(jt=at,Tn=Tt,Ln=wt;Tt=(Ee=X.distcode[Ln+((et&(1<<jt+Tn)-1)>>jt)])>>>16&255,wt=65535&Ee,!(jt+(at=Ee>>>24)<=Ie);){if(0===Rt)break e;Rt--,et+=Ne[_t++]<<Ie,Ie+=8}et>>>=jt,Ie-=jt,X.back+=jt}if(et>>>=at,Ie-=at,X.back+=at,64&Tt){ye.msg="invalid distance code",X.mode=30;break}X.offset=wt,X.extra=15&Tt,X.mode=24;case 24:if(X.extra){for(Ge=X.extra;Ie<Ge;){if(0===Rt)break e;Rt--,et+=Ne[_t++]<<Ie,Ie+=8}X.offset+=et&(1<<X.extra)-1,et>>>=X.extra,Ie-=X.extra,X.back+=X.extra}if(X.offset>X.dmax){ye.msg="invalid distance too far back",X.mode=30;break}X.mode=25;case 25:if(0===dt)break e;if(X.offset>(je=vt-dt)){if((je=X.offset-je)>X.whave&&X.sane){ye.msg="invalid distance too far back",X.mode=30;break}He=je>X.wnext?X.wsize-(je-=X.wnext):X.wnext-je,je>X.length&&(je=X.length),Ve=X.window}else Ve=ft,He=Gt-X.offset,je=X.length;for(dt<je&&(je=dt),dt-=je,X.length-=je;ft[Gt++]=Ve[He++],--je;);0===X.length&&(X.mode=21);break;case 26:if(0===dt)break e;
vendor: 4,706 bytes, line 1
1ft[Gt++]=X.length,dt--,X.mode=21;break;case 27:if(X.wrap){for(;Ie<32;){if(0===Rt)break e;Rt--,et|=Ne[_t++]<<Ie,Ie+=8}if(ye.total_out+=vt-=dt,X.total+=vt,vt&&(ye.adler=X.check=X.flags?b(X.check,ft,vt,Gt-vt):m(X.check,ft,vt,Gt-vt)),vt=dt,(X.flags?et:ee(et))!==X.check){ye.msg="incorrect data check",X.mode=30;break}Ie=et=0}X.mode=28;case 28:if(X.wrap&&X.flags){for(;Ie<32;){if(0===Rt)break e;Rt--,et+=Ne[_t++]<<Ie,Ie+=8}if(et!==(4294967295&X.total)){ye.msg="incorrect length check",X.mode=30;break}Ie=et=0}X.mode=29;case 29:mt=1;break e;case 30:mt=-3;break e;case 31:return-4;default:return B}return ye.next_out=Gt,ye.avail_out=dt,ye.next_in=_t,ye.avail_in=Rt,X.hold=et,X.bits=Ie,(X.wsize||vt!==ye.avail_out&&X.mode<30&&(X.mode<27||4!==Se))&&ct(ye,ye.output,ye.next_out,vt-ye.avail_out)?(X.mode=31,-4):(vt-=ye.avail_out,ye.total_in+=ot-=ye.avail_in,ye.total_out+=vt,X.total+=vt,X.wrap&&vt&&(ye.adler=X.check=X.flags?b(X.check,ft,vt,ye.next_out-vt):m(X.check,ft,vt,ye.next_out-vt)),ye.data_type=X.bits+(X.last?64:0)+(12===X.mode?128:0)+(20===X.mode||15===X.mode?256:0),(0==ot&&0===vt||4===Se)&&mt===$&&(mt=-5),mt)},l.inflateEnd=function(ye){if(!ye||!ye.state)return B;var Se=ye.state;return Se.window&&(Se.window=null),ye.state=null,$},l.inflateGetHeader=function(ye,Se){var X;return ye&&ye.state&&2&(X=ye.state).wrap?((X.head=Se).done=!1,$):B},l.inflateSetDictionary=function(ye,Se){var X,Ne=Se.length;return ye&&ye.state?0!==(X=ye.state).wrap&&11!==X.mode?B:11===X.mode&&m(1,Se,Ne,0)!==X.check?-3:ct(ye,Se,Ne,Ne)?(X.mode=31,-4):(X.havedict=1,$):B},l.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(Q,I,l){"use strict";var e=Q("../utils/common"),m=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],b=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],y=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],S=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];I.exports=function(p,M,$,B,G,Y,q,ee){var oe,se,xe,Le,ie,L,K,_e,Te,ct=ee.bits,ye=0,Se=0,X=0,Ne=0,ft=0,_t=0,Gt=0,Rt=0,dt=0,et=0,Ie=null,ot=0,vt=new e.Buf16(16),je=new e.Buf16(16),He=null,Ve=0;for(ye=0;ye<=15;ye++)vt[ye]=0;for(Se=0;Se<B;Se++)vt[M[$+Se]]++;for(ft=ct,Ne=15;1<=Ne&&0===vt[Ne];Ne--);if(Ne<ft&&(ft=Ne),0===Ne)return G[Y++]=20971520,G[Y++]=20971520,ee.bits=1,0;for(X=1;X<Ne&&0===vt[X];X++);for(ft<X&&(ft=X),ye=Rt=1;ye<=15;ye++)if(Rt<<=1,(Rt-=vt[ye])<0)return-1;if(0<Rt&&(0===p||1!==Ne))return-1;for(je[1]=0,ye=1;ye<15;ye++)je[ye+1]=je[ye]+vt[ye];for(Se=0;Se<B;Se++)0!==M[$+Se]&&(q[je[M[$+Se]]++]=Se);if(L=0===p?(Ie=He=q,19):1===p?(Ie=m,ot-=257,He=b,Ve-=257,256):(Ie=y,He=S,-1),ye=X,ie=Y,Gt=Se=et=0,xe=-1,Le=(dt=1<<(_t=ft))-1,1===p&&852<dt||2===p&&592<dt)return 1;for(;;){for(K=ye-Gt,Te=q[Se]<L?(_e=0,q[Se]):q[Se]>L?(_e=He[Ve+q[Se]],Ie[ot+q[Se]]):(_e=96,0),oe=1<<ye-Gt,X=se=1<<_t;G[ie+(et>>Gt)+(se-=oe)]=K<<24|_e<<16|Te,0!==se;);for(oe=1<<ye-1;et&oe;)oe>>=1;if(0!==oe?(et&=oe-1,et+=oe):et=0,Se++,0==--vt[ye]){if(ye===Ne)break;ye=M[$+q[Se]]}if(ft<ye&&(et&Le)!==xe){for(0===Gt&&(Gt=ft),ie+=X,Rt=1<<(_t=ye-Gt);_t+Gt<Ne&&!((Rt-=vt[_t+Gt])<=0);)_t++,Rt<<=1;if(dt+=1<<_t,1===p&&852<dt||2===p&&592<dt)return 1;G[xe=et&Le]=ft<<24|_t<<16|ie-Y}}return 0!==et&&(G[ie+et]=ye-Gt<<24|64<<16),ee.bits=ft,0}},{"../utils/common":41}],51:[function(Q,I,l){"use strict";I.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(Q,I,l){"use strict";var e=Q("../utils/common");function y(Ee){for(var qe=Ee.length;0<=--qe;)Ee[qe]=0}var M=256,$=286,B=30,q=15,ee=16,L=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],K=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],_e=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Te=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],ct=new Array(576);y(ct);var ye=new Array(60);y(ye);var Se=new Array(512);y(Se);var X=new Array(256);y(X);var Ne=new Array(29);y(Ne);var ft,_t,Gt,Rt=new Array(B);function dt(Ee,qe,bt,Je,pt){this.static_tree=Ee,this.extra_bits=qe,this.extra_base=bt,this.elems=Je,this.max_length=pt,this.has_stree=Ee&&Ee.length}function et(Ee,qe){this.dyn_tree=Ee,this.max_code=0,this.stat_desc=qe}function Ie(Ee){return Ee<256?Se[Ee]:Se[256+(Ee>>>7)]}function ot(Ee,qe){Ee.pending_buf[Ee.pending++]=255&qe,Ee.pending_buf[Ee.pending++]=qe>>>8&255}function vt(Ee,qe,bt){Ee.bi_valid>ee-bt?(Ee.bi_buf|=qe<<Ee.bi_valid&65535,ot(Ee,Ee.bi_buf),Ee.bi_buf=qe>>
vendor: 4,602 bytes, line 1
1ee-Ee.bi_valid,Ee.bi_valid+=bt-ee):(Ee.bi_buf|=qe<<Ee.bi_valid&65535,Ee.bi_valid+=bt)}function je(Ee,qe,bt){vt(Ee,bt[2*qe],bt[2*qe+1])}function He(Ee,qe){for(var bt=0;bt|=1&Ee,Ee>>>=1,bt<<=1,0<--qe;);return bt>>>1}function Ve(Ee,qe,bt){var Je,pt,Ft=new Array(q+1),qt=0;for(Je=1;Je<=q;Je++)Ft[Je]=qt=qt+bt[Je-1]<<1;for(pt=0;pt<=qe;pt++){var Wt=Ee[2*pt+1];0!==Wt&&(Ee[2*pt]=He(Ft[Wt]++,Wt))}}function at(Ee){var qe;for(qe=0;qe<$;qe++)Ee.dyn_ltree[2*qe]=0;for(qe=0;qe<B;qe++)Ee.dyn_dtree[2*qe]=0;for(qe=0;qe<19;qe++)Ee.bl_tree[2*qe]=0;Ee.dyn_ltree[512]=1,Ee.opt_len=Ee.static_len=0,Ee.last_lit=Ee.matches=0}function Tt(Ee){8<Ee.bi_valid?ot(Ee,Ee.bi_buf):0<Ee.bi_valid&&(Ee.pending_buf[Ee.pending++]=Ee.bi_buf),Ee.bi_buf=0,Ee.bi_valid=0}function wt(Ee,qe,bt,Je){var pt=2*qe,Ft=2*bt;return Ee[pt]<Ee[Ft]||Ee[pt]===Ee[Ft]&&Je[qe]<=Je[bt]}function jt(Ee,qe,bt){for(var Je=Ee.heap[bt],pt=bt<<1;pt<=Ee.heap_len&&(pt<Ee.heap_len&&wt(qe,Ee.heap[pt+1],Ee.heap[pt],Ee.depth)&&pt++,!wt(qe,Je,Ee.heap[pt],Ee.depth));)Ee.heap[bt]=Ee.heap[pt],bt=pt,pt<<=1;Ee.heap[bt]=Je}function Tn(Ee,qe,bt){var Je,pt,Ft,qt,Wt=0;if(0!==Ee.last_lit)for(;Je=Ee.pending_buf[Ee.d_buf+2*Wt]<<8|Ee.pending_buf[Ee.d_buf+2*Wt+1],pt=Ee.pending_buf[Ee.l_buf+Wt],Wt++,0===Je?je(Ee,pt,qe):(je(Ee,(Ft=X[pt])+M+1,qe),0!==(qt=L[Ft])&&vt(Ee,pt-=Ne[Ft],qt),je(Ee,Ft=Ie(--Je),bt),0!==(qt=K[Ft])&&vt(Ee,Je-=Rt[Ft],qt)),Wt<Ee.last_lit;);je(Ee,256,qe)}function Ln(Ee,qe){var bt,Je,pt,Ft=qe.dyn_tree,qt=qe.stat_desc.static_tree,Wt=qe.stat_desc.has_stree,En=qe.stat_desc.elems,Sn=-1;for(Ee.heap_len=0,Ee.heap_max=573,bt=0;bt<En;bt++)0!==Ft[2*bt]?(Ee.heap[++Ee.heap_len]=Sn=bt,Ee.depth[bt]=0):Ft[2*bt+1]=0;for(;Ee.heap_len<2;)Ft[2*(pt=Ee.heap[++Ee.heap_len]=Sn<2?++Sn:0)]=1,Ee.depth[pt]=0,Ee.opt_len--,Wt&&(Ee.static_len-=qt[2*pt+1]);for(qe.max_code=Sn,bt=Ee.heap_len>>1;1<=bt;bt--)jt(Ee,Ft,bt);for(pt=En;bt=Ee.heap[1],Ee.heap[1]=Ee.heap[Ee.heap_len--],jt(Ee,Ft,1),Je=Ee.heap[1],Ee.heap[--Ee.heap_max]=bt,Ee.heap[--Ee.heap_max]=Je,Ft[2*pt]=Ft[2*bt]+Ft[2*Je],Ee.depth[pt]=(Ee.depth[bt]>=Ee.depth[Je]?Ee.depth[bt]:Ee.depth[Je])+1,Ft[2*bt+1]=Ft[2*Je+1]=pt,Ee.heap[1]=pt++,jt(Ee,Ft,1),2<=Ee.heap_len;);Ee.heap[--Ee.heap_max]=Ee.heap[1],function(Zt,An){var fi,Yt,Oi,Yn,vi,yi,Dn=An.dyn_tree,hs=An.max_code,Pn=An.stat_desc.static_tree,mn=An.stat_desc.has_stree,ji=An.stat_desc.extra_bits,ti=An.stat_desc.extra_base,_n=An.stat_desc.max_length,Bi=0;for(Yn=0;Yn<=q;Yn++)Zt.bl_count[Yn]=0;for(Dn[2*Zt.heap[Zt.heap_max]+1]=0,fi=Zt.heap_max+1;fi<573;fi++)_n<(Yn=Dn[2*Dn[2*(Yt=Zt.heap[fi])+1]+1]+1)&&(Yn=_n,Bi++),Dn[2*Yt+1]=Yn,hs<Yt||(Zt.bl_count[Yn]++,vi=0,ti<=Yt&&(vi=ji[Yt-ti]),Zt.opt_len+=(yi=Dn[2*Yt])*(Yn+vi),mn&&(Zt.static_len+=yi*(Pn[2*Yt+1]+vi)));if(0!==Bi){do{for(Yn=_n-1;0===Zt.bl_count[Yn];)Yn--;Zt.bl_count[Yn]--,Zt.bl_count[Yn+1]+=2,Zt.bl_count[_n]--,Bi-=2}while(0<Bi);for(Yn=_n;0!==Yn;Yn--)for(Yt=Zt.bl_count[Yn];0!==Yt;)hs<(Oi=Zt.heap[--fi])||(Dn[2*Oi+1]!==Yn&&(Zt.opt_len+=(Yn-Dn[2*Oi+1])*Dn[2*Oi],Dn[2*Oi+1]=Yn),Yt--)}}(Ee,qe),Ve(Ft,Sn,Ee.bl_count)}function re(Ee,qe,bt){var Je,pt,Ft=-1,qt=qe[1],Wt=0,En=7,Sn=4;for(0===qt&&(En=138,Sn=3),qe[2*(bt+1)+1]=65535,Je=0;Je<=bt;Je++)pt=qt,qt=qe[2*(Je+1)+1],++Wt<En&&pt===qt||(Wt<Sn?Ee.bl_tree[2*pt]+=Wt:0!==pt?(pt!==Ft&&Ee.bl_tree[2*pt]++,Ee.bl_tree[32]++):Wt<=10?Ee.bl_tree[34]++:Ee.bl_tree[36]++,Ft=pt,Sn=(Wt=0)===qt?(En=138,3):pt===qt?(En=6,3):(En=7,4))}function mt(Ee,qe,bt){var Je,pt,Ft=-1,qt=qe[1],Wt=0,En=7,Sn=4;for(0===qt&&(En=138,Sn=3),Je=0;Je<=bt;Je++)if(pt=qt,qt=qe[2*(Je+1)+1],!(++Wt<En&&pt===qt)){if(Wt<Sn)for(;je(Ee,pt,Ee.bl_tree),0!=--Wt;);else 0!==pt?(pt!==Ft&&(je(Ee,pt,Ee.bl_tree),Wt--),je(Ee,16,Ee.bl_tree),vt(Ee,Wt-3,2)):Wt<=10?(je(Ee,17,Ee.bl_tree),vt(Ee,Wt-3,3)):(je(Ee,18,Ee.bl_tree),vt(Ee,Wt-11,7));Ft=pt,Sn=(Wt=0)===qt?(En=138,3):pt===qt?(En=6,3):(En=7,4)}}y(Rt);var Ke=!1;function Ge(Ee,qe,bt,Je){var pt,Ft,qt;vt(Ee,0+(Je?1:0),3),Ft=qe,qt=bt,Tt(pt=Ee),ot(pt,qt),ot(pt,~qt),e.arraySet(pt.pending_buf,pt.window,Ft,qt,pt.pending),pt.pending+=qt}l._tr_init=function(Ee){Ke||(function(){var qe,bt,Je,pt,Ft,qt=new Array(q+1);for(pt=Je=0;pt<28;pt++)for(Ne[pt]=Je,qe=0;qe<1<<L[pt];qe++)X[Je++]=pt;for(X[Je-1]=pt,pt=Ft=0;pt<16;pt++)for(Rt[pt]=Ft,qe=0;qe<1<<K[pt];qe++)Se[Ft++]=pt;for(Ft>>=7;pt<B;pt++)for(Rt[pt]=Ft<<7,qe=0;qe<1<<K[pt]-7;qe++)Se[256+Ft++]=pt;for(bt=0;bt<=q;bt++)qt[bt]=0;for(qe=0;qe<=143;)ct[2*qe+1]=8,qe++,qt[8]++;for(;qe<=255;)ct[2*qe+1]=9,qe++,qt[9]++;for(;qe<=279;)ct[2*qe+1]=7,qe++,qt[7]++;for(;qe<=287;)ct[2*qe+1]=8,qe++,qt[8]++;for(Ve(ct,287,qt),qe=0;qe<B;qe++)ye[2*qe+1]=5,ye[2*qe]=He(qe,5);ft=new dt(ct,L,257,$,q),_t=new dt(ye,K,0,B,q),Gt=new dt(new Array(0),_e,0,19,7)}
1(),Ke=!0),Ee.l_desc=new et(Ee.dyn_ltree,ft),Ee.d_desc=new et(Ee.dyn_dtree,_t),Ee.bl_desc=new et(Ee.bl_tree,Gt),Ee.bi_buf=0,Ee.bi_valid=0,at(Ee)},l._tr_stored_block=Ge,l._tr_flush_block=function(Ee,qe,bt,Je){var pt,Ft,qt=0;0<Ee.level?(2===Ee.strm.data_type&&(Ee.strm.data_type=function(Wt){var En,Sn=4093624447;for(En=0;En<=31;En++,Sn>>>=1)if(1&Sn&&0!==Wt.dyn_ltree[2*En])return 0;if(0!==Wt.dyn_ltree[18]||0!==Wt.dyn_ltree[20]||0!==Wt.dyn_ltree[26])return 1;for(En=32;En<M;En++)if(0!==Wt.dyn_ltree[2*En])return 1;return 0}(Ee)),Ln(Ee,Ee.l_desc),Ln(Ee,Ee.d_desc),qt=function(Wt){var En;for(re(Wt,Wt.dyn_ltree,Wt.l_desc.max_code),re(Wt,Wt.dyn_dtree,Wt.d_desc.max_code),Ln(Wt,Wt.bl_desc),En=18;3<=En&&0===Wt.bl_tree[2*Te[En]+1];En--);return Wt.opt_len+=3*(En+1)+5+5+4,En}(Ee),(Ft=Ee.static_len+3+7>>>3)<=(pt=Ee.opt_len+3+7>>>3)&&(pt=Ft)):pt=Ft=bt+5,bt+4<=pt&&-1!==qe?Ge(Ee,qe,bt,Je):4===Ee.strategy||Ft===pt?(vt(Ee,2+(Je?1:0),3),Tn(Ee,ct,ye)):(vt(Ee,4+(Je?1:0),3),function(Wt,En,Sn,Zt){var An;for(vt(Wt,En-257,5),vt(Wt,Sn-1,5),vt(Wt,Zt-4,4),An=0;An<Zt;An++)vt(Wt,Wt.bl_tree[2*Te[An]+1],3);mt(Wt,Wt.dyn_ltree,En-1),mt(Wt,Wt.dyn_dtree,Sn-1)}(Ee,Ee.l_desc.max_code+1,Ee.d_desc.max_code+1,qt+1),Tn(Ee,Ee.dyn_ltree,Ee.dyn_dtree)),at(Ee),Je&&Tt(Ee)},l._tr_tally=function(Ee,qe,bt){return Ee.pending_buf[Ee.d_buf+2*Ee.last_lit]=qe>>>8&255,Ee.pending_buf[Ee.d_buf+2*Ee.last_lit+1]=255&qe,Ee.pending_buf[Ee.l_buf+Ee.last_lit]=255&bt,Ee.last_lit++,0===qe?Ee.dyn_ltree[2*bt]++:(Ee.matches++,qe--,Ee.dyn_ltree[2*(X[bt]+M+1)]++,Ee.dyn_dtree[2*Ie(qe)]++),Ee.last_lit===Ee.lit_bufsize-1},l._tr_align=function(Ee){var qe;vt(Ee,2,3),je(Ee,256,ct),16===(qe=Ee).bi_valid?(ot(qe,qe.bi_buf),qe.bi_buf=0,qe.bi_valid=0):8<=qe.bi_valid&&(qe.pending_buf[qe.pending++]=255&qe.bi_buf,qe.bi_buf>>=8,qe.bi_valid-=8)}},{"../utils/common":41}],53:[function(Q,I,l){"use strict";I.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(Q,I,l){(function(e){!function(m,b){"use strict";if(!m.setImmediate){var y,S,p,M,$=1,B={},G=!1,Y=m.document,q=Object.getPrototypeOf&&Object.getPrototypeOf(m);q=q&&q.setTimeout?q:m,y="[object process]"==={}.toString.call(m.process)?function(xe){process.nextTick(function(){oe(xe)})}:function(){if(m.postMessage&&!m.importScripts){var xe=!0,Le=m.onmessage;return m.onmessage=function(){xe=!1},m.postMessage("","*"),m.onmessage=Le,xe}}()?(M="setImmediate$"+Math.random()+"$",m.addEventListener?m.addEventListener("message",se,!1):m.attachEvent("onmessage",se),function(xe){m.postMessage(M+xe,"*")}):m.MessageChannel?((p=new MessageChannel).port1.onmessage=function(xe){oe(xe.data)},function(xe){p.port2.postMessage(xe)}):Y&&"onreadystatechange"in Y.createElement("script")?(S=Y.documentElement,function(xe){var Le=Y.createElement("script");Le.onreadystatechange=function(){oe(xe),Le.onreadystatechange=null,S.removeChild(Le),Le=null},S.appendChild(Le)}):function(xe){setTimeout(oe,0,xe)},q.setImmediate=function(xe){"function"!=typeof xe&&(xe=new Function(""+xe));for(var Le=new Array(arguments.length-1),ie=0;ie<Le.length;ie++)Le[ie]=arguments[ie+1];return B[$]={callback:xe,args:Le},y($),$++},q.clearImmediate=ee}function ee(xe){delete B[xe]}function oe(xe){if(G)setTimeout(oe,0,xe);else{var Le=B[xe];if(Le){G=!0;try{!function(ie){var L=ie.callback,K=ie.args;switch(K.length){case 0:L();break;case 1:L(K[0]);break;case 2:L(K[0],K[1]);break;case 3:L(K[0],K[1],K[2]);break;default:L.apply(b,K)}}(Le)}finally{ee(xe),G=!1}}}}function se(xe){xe.source===m&&"string"==typeof xe.data&&0===xe.data.indexOf(M)&&oe(+xe.data.slice(M.length))}}(typeof self>"u"?void 0===e?this:e:self)}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)},1544:function(We,Q,I){!function(l){"use strict";l.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(m){return/^nm$/i.test(m)},meridiem:function(m,b,y){return m<12?y?"vm":"VM":y?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(m){return m+(1===m||8===m||m>=20?"ste":"de")},week:{dow:1,doy:4}})}(I(7586))},2155:function(We,Q,I){!function(l){"use strict";var e=function(p){return 0===p?0:1===p?1:2===p?2:p%100>=3&&p%100<=10?3:p%100>=11?4:5},m={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},b=function(p){return function(M,$,B,G){var Y=e(M),q=m[p][e(M)];return 2===Y&&(q=q[$?0:1]),q.replace(/%d/i,M)}}
vendor: 14,691 bytes, line 1
1,y=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];l.defineLocale("ar-dz",{months:y,monthsShort:y,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(p){return"\u0645"===p},meridiem:function(p,M,$){return p<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:b("s"),ss:b("s"),m:b("m"),mm:b("m"),h:b("h"),hh:b("h"),d:b("d"),dd:b("d"),M:b("M"),MM:b("M"),y:b("y"),yy:b("y")},postformat:function(p){return p.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(I(7586))},3583:function(We,Q,I){!function(l){"use strict";l.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(I(7586))},1638:function(We,Q,I){!function(l){"use strict";var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},m=function(M){return 0===M?0:1===M?1:2===M?2:M%100>=3&&M%100<=10?3:M%100>=11?4:5},b={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},y=function(M){return function($,B,G,Y){var q=m($),ee=b[M][m($)];return 2===q&&(ee=ee[B?0:1]),ee.replace(/%d/i,$)}},S=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];l.defineLocale("ar-ly",{months:S,monthsShort:S,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(M){return"\u0645"===M},meridiem:function(M,$,B){return M<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:y("s"),ss:y("s"),m:y("m"),mm:y("m"),h:y("h"),hh:y("h"),d:y("d"),dd:y("d"),M:y("M"),MM:y("M"),y:y("y"),yy:y("y")},preparse:function(M){return M.replace(/\u060c/g,",")},postformat:function(M){return M.replace(/\d/g,function($){return e[$]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(I(7586))},7823:function(We,Q,I){!function(l){"use strict";l.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(I(7586))},8261:function(We,Q,I){!function(l){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},m={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};l.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(y){return"\u0645"===y},meridiem:function(y,S,p){return y<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(y){return y.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(S){return m[S]}).replace(/\u060c/g,",")},postformat:function(y){return y.replace(/\d/g,function(S){return e[S]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(I(7586))},6703:function(We,Q,I){!function(l){"use strict";l.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u064
11\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(I(7586))},3108:function(We,Q,I){!function(l){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},m={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},b=function($){return 0===$?0:1===$?1:2===$?2:$%100>=3&&$%100<=10?3:$%100>=11?4:5},y={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},S=function($){return function(B,G,Y,q){var ee=b(B),oe=y[$][b(B)];return 2===ee&&(oe=oe[G?0:1]),oe.replace(/%d/i,B)}},p=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];l.defineLocale("ar",{months:p,monthsShort:p,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function($){return"\u0645"===$},meridiem:function($,B,G){return $<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:S("s"),ss:S("s"),m:S("m"),mm:S("m"),h:S("h"),hh:S("h"),d:S("d"),dd:S("d"),M:S("M"),MM:S("M"),y:S("y"),yy:S("y")},preparse:function($){return $.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(B){return m[B]}).replace(/\u060c/g,",")},postformat:function($){return $.replace(/\d/g,function(B){return e[B]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(I(7586))},6508:function(We,Q,I){!function(l){"use strict";var e={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};l.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u
10259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(b){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(b)},meridiem:function(b,y,S){return b<4?"gec\u0259":b<12?"s\u0259h\u0259r":b<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(b){if(0===b)return b+"-\u0131nc\u0131";var y=b%10;return b+(e[y]||e[b%100-y]||e[b>=100?100:null])},week:{dow:1,doy:7}})}(I(7586))},6766:function(We,Q,I){!function(l){"use strict";function m(y,S,p){return"m"===p?S?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===p?S?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":y+" "+function e(y,S){var p=y.split("_");return S%10==1&&S%100!=11?p[0]:S%10>=2&&S%10<=4&&(S%100<10||S%100>=20)?p[1]:p[2]}({ss:S?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:S?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:S?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[p],+y)}l.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".
vendor: 7,430 bytes, line 1
1split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m,mm:m,h:m,hh:m,d:"\u0434\u0437\u0435\u043d\u044c",dd:m,M:"\u043c\u0435\u0441\u044f\u0446",MM:m,y:"\u0433\u043e\u0434",yy:m},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(y){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(y)},meridiem:function(y,S,p){return y<4?"\u043d\u043e\u0447\u044b":y<12?"\u0440\u0430\u043d\u0456\u0446\u044b":y<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(y,S){switch(S){case"M":case"d":case"DDD":case"w":case"W":return y%10!=2&&y%10!=3||y%100==12||y%100==13?y+"-\u044b":y+"-\u0456";case"D":return y+"-\u0433\u0430";default:return y}},week:{dow:1,doy:7}})}(I(7586))},8564:function(We,Q,I){!function(l){"use strict";l.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(m){var b=m%10,y=m%100;return 0===m?m+"-\u0435\u0432":0===y?m+"-\u0435\u043d":y>10&&y<20?m+"-\u0442\u0438":1===b?m+"-\u0432\u0438":2===b?m+"-\u0440\u0438":7===b||8===b?m+"-\u043c\u0438":m+"-\u0442\u0438"},week:{dow:1,doy:7}})}(I(7586))},7462:function(We,Q,I){!function(l){"use strict";l.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(I(7586))},3438:function(We,Q,I){!function(l){"use strict";var e={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},m={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};l.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u
109ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(y){return y.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(S){return m[S]})},postformat:function(y){return y.replace(/\d/g,function(S){return e[S]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(y,S){return 12===y&&(y=0),"\u09b0\u09be\u09a4"===S?y<4?y:y+12:"\u09ad\u09cb\u09b0"===S||"\u09b8\u0995\u09be\u09b2"===S?y:"\u09a6\u09c1\u09aa\u09c1\u09b0"===S?y>=3?y:y+12:"\u09ac\u09bf\u0995\u09be\u09b2"===S||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===S?y+12:void 0},meridiem:function(y,S,p){return y<4?"\u09b0\u09be\u09a4":y<6?"\u09ad\u09cb\u09b0":y<12?"\u09b8\u0995\u09be\u09b2":y<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":y<18?"\u09ac\u09bf\u0995\u09be\u09b2":y<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(I(7586))},7107:function(We,Q,I){!function(l){"use strict";var e={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},m={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};l.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u
109ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(y){return y.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(S){return m[S]})},postformat:function(y){return y.replace(/\d/g,function(S){return e[S]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(y,S){return 12===y&&(y=0),"\u09b0\u09be\u09a4"===S&&y>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===S&&y<5||"\u09ac\u09bf\u0995\u09be\u09b2"===S?y+12:y},meridiem:function(y,S,p){return y<4?"\u09b0\u09be\u09a4":y<10?"\u09b8\u0995\u09be\u09b2":y<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":y<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(I(7586))},9004:function(We,Q,I){!function(l){"use strict";var e={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},m={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};l.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u
10f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(y){return y.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(S){return m[S]})},postformat:function(y){return y.replace(/\d/g,function(S){return e[S]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(y,S){return 12===y&&(y=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===S&&y>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===S&&y<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===S?y+12:y},meridiem:function(y,S,p){return y<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":y<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":y<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":y<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(I(7586))},927:function(We,Q,I){!function(l){"use strict";function e(oe,se,xe){return oe+" "+function y(oe,se){return 2===se?function S(oe){var se={m:"v",b:"v",d:"z"};return void 0===se[oe.charAt(0)]?oe:se[oe.charAt(0)]+oe.substring(1)}(oe):oe}({mm:"munutenn",MM:"miz",dd:"devezh"}[xe],oe)}function b(oe){return oe>9?b(oe%10):oe}var p=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],M=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,q=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];l.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:q,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:q,monthsRegex:M,monthsShortRegex:M,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:p,longMonthsParse:p,shortMonthsParse:p,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:e,h:"un eur",hh:"%d eur",d:"un devezh",dd:e,M:"ur miz",MM:e,y:"ur bloaz",yy:function m(oe){switch(b(oe)){case 1:case 3:case 4:case 5:case 9:return oe+" bloaz";default:return oe+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(oe){return oe+(1===oe?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(oe){return"g.m."===oe},meridiem:function(oe,se,xe){return oe<12?"a.m.":"g.m."}})}(I(7586))},7768:function(We,Q,I){!function(l){"use strict";function e(b,y,S){var p=b+" ";switch(S){case"ss":return p+(1===b?"sekunda":2===b||3===b||4===b?"sekunde":"sekundi");case"m":return y?"jedna minuta":"jedne minute";case"mm":return p+(1===b?"minuta":2===b||3===b||4===b?"minute":"minuta");case"h":return y?"jedan sat":"jednog sata";case"hh":return p+(1===b?"sat":2===b||3===b||4===b?"sata":"sati");case"dd":return p+(1===b?"dan":"dana");case"MM":return p+(1===b?"mjesec":2===b||3===b||4===b?"mjeseca":"mjeseci");case"yy":return p+(1===b?"godina":2===b||3===b||4===b?"godine":"godina")}}l.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(I(7586))},6291:function(We,Q,I){!function(l){"use strict";l.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%
1d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(m,b){var y=1===m?"r":2===m?"n":3===m?"r":4===m?"t":"\xe8";return("w"===b||"W"===b)&&(y="a"),m+y},week:{dow:1,doy:4}})}(I(7586))},5301:function(We,Q,I){!function(l){"use strict";var e="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),m="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),b=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],y=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function S($){return $>1&&$<5&&1!=~~($/10)}function p($,B,G,Y){var q=$+" ";switch(G){case"s":return B||Y?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return B||Y?q+(S($)?"sekundy":"sekund"):q+"sekundami";case"m":return B?"minuta":Y?"minutu":"minutou";case"mm":return B||Y?q+(S($)?"minuty":"minut"):q+"minutami";case"h":return B?"hodina":Y?"hodinu":"hodinou";case"hh":return B||Y?q+(S($)?"hodiny":"hodin"):q+"hodinami";case"d":return B||Y?"den":"dnem";case"dd":return B||Y?q+(S($)?"dny":"dn\xed"):q+"dny";case"M":return B||Y?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return B||Y?q+(S($)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):q+"m\u011bs\xedci";case"y":return B||Y?"rok":"rokem";case"yy":return B||Y?q+(S($)?"roky":"let"):q+"lety"}}l.defineLocale("cs",{months:e,monthsShort:m,monthsRegex:y,monthsShortRegex:y,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:b,longMonthsParse:b,shortMonthsParse:b,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:p,ss:p,m:p,mm:p,h:p,hh:p,d:p,dd:p,M:p,MM:p,y:p,yy:p},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(7586))},6666:function(We,Q,I){!function(l){"use strict";l.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(m){return m+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(m)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(m)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(I(7586))},5163:function(We,Q,I){!function(l){"use strict";
vendor: 9,154 bytes, line 1
1l.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(m){var y="";return m>20?y=40===m||50===m||60===m||80===m||100===m?"fed":"ain":m>0&&(y=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][m]),m+y},week:{dow:1,doy:4}})}(I(7586))},7360:function(We,Q,I){!function(l){"use strict";l.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(7586))},3248:function(We,Q,I){!function(l){"use strict";function e(b,y,S,p){var M={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[b+" Tage",b+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[b+" Monate",b+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[b+" Jahre",b+" Jahren"]};return y?M[S][0]:M[S][1]}l.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(7586))},3222:function(We,Q,I){!function(l){"use strict";function e(b,y,S,p){var M={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[b+" Tage",b+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[b+" Monate",b+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[b+" Jahre",b+" Jahren"]};return y?M[S][0]:M[S][1]}l.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(7586))},5932:function(We,Q,I){!function(l){"use strict";function e(b,y,S,p){var M={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[b+" Tage",b+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[b+" Monate",b+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[b+" Jahre",b+" Jahren"]};return y?M[S][0]:M[S][1]}l.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(7586))},6405:function(We,Q,I){!function(l){"use strict";var e=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],m=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];l.defineLocale("dv",{months:e,monthsShort:e,weekdays:m,weekdaysShort:m,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(y){return"\u0789\u078a"===y},meridiem:function(y,S,p){return y<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(y){return y.replace(/\u060c/g,",")},postformat:function(y){return y.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(I(7586))},718:function(We,Q,I){!function(l){"use strict";
vendor: 4,729 bytes, line 1
1l.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(b,y){return b?"string"==typeof y&&/D/.test(y.substring(0,y.indexOf("MMMM")))?this._monthsGenitiveEl[b.month()]:this._monthsNominativeEl[b.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(b,y,S){return b>11?S?"\u03bc\u03bc":"\u039c\u039c":S?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(b){return"\u03bc"===(b+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(b,y){var S=this._calendarEl[b],p=y&&y.hours();return function e(b){return typeof Function<"u"&&b instanceof Function||"[object Function]"===Object.prototype.toString.call(b)}(S)&&(S=S.apply(y)),S.replace("{}",p%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(I(7586))},6319:function(We,Q,I){!function(l){"use strict";l.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LT
vendor: 23,474 bytes, line 1
1S:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(m){var b=m%10;return m+(1==~~(m%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:0,doy:4}})}(I(7586))},597:function(We,Q,I){!function(l){"use strict";l.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(m){var b=m%10;return m+(1==~~(m%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")}})}(I(7586))},1800:function(We,Q,I){!function(l){"use strict";l.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(m){var b=m%10;return m+(1==~~(m%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(I(7586))},807:function(We,Q,I){!function(l){"use strict";l.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(m){var b=m%10;return m+(1==~~(m%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(I(7586))},5960:function(We,Q,I){!function(l){"use strict";l.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(m){var b=m%10;return m+(1==~~(m%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")}})}(I(7586))},4418:function(We,Q,I){!function(l){"use strict";l.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(m){var b=m%10;return m+(1==~~(m%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:0,doy:6}})}(I(7586))},6865:function(We,Q,I){!function(l){"use strict";l.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(m){var b=m%10;return m+(1==~~(m%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(I(7586))},2647:function(We,Q,I){!function(l){"use strict";l.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(m){var b=m%10;return m+(1==~~(m%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(I(7586))},1931:function(We,Q,I){!function(l){"use strict";l.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(m){return"p"===m.charAt(0).toLowerCase()},meridiem:function(m,b,y){return m>11?y?"p.t.m.":"P.T.M.":y?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(I(7586))},1805:function(We,Q,I){!function(l){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),m="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),b=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],y=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;l.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(p,M){return p?/-MMM-/.test(M)?m[p.month()]:e[p.month()]:e},monthsRegex:y,monthsShortRegex:y,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:b,longMonthsParse:b,shortMonthsParse:b,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(I(7586))},3445:function(We,Q,I){!function(l){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),m="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),b=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],y=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;l.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(p,M){return p?/-MMM-/.test(M)?m[p.month()]:e[p.month()]:e},monthsRegex:y,monthsShortRegex:y,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:b,longMonthsParse:b,shortMonthsParse:b,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(I(7586))},1516:function(We,Q,I){!function(l){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),m="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),b=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],y=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;l.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(p,M){return p?/-MMM-/.test(M)?m[p.month()]:e[p.month()]:e},monthsRegex:y,monthsShortRegex:y,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:b,longMonthsParse:b,shortMonthsParse:b,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(I(7586))},6679:function(We,Q,I){!function(l){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),m="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),b=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],y=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;l.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(p,M){return p?/-MMM-/.test(M)?m[p.month()]:e[p.month()]:e},monthsRegex:y,monthsShortRegex:y,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:b,longMonthsParse:b,shortMonthsParse:b,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(I(7586))},8150:function(We,Q,I){!function(l){"use strict";function e(b,y,S,p){var M={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[b+"sekundi",b+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[b+" minuti",b+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[b+" tunni",b+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[b+" kuu",b+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[b+" aasta",b+" aastat"]};return y?M[S][2]?M[S][2]:M[S][1]:p?M[S][0]:M[S][1]}l.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d p\xe4eva",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(7586))},757:function(We,Q,I){!function(l){"use strict";l.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(I(7586))},5742:function(We,Q,I){!function(l){"use strict";var e={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},m={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};l.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(y){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(y)},meridiem:function(y,S,p){return y<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"}
vendor: 13,494 bytes, line 1
1,relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(y){return y.replace(/[\u06f0-\u06f9]/g,function(S){return m[S]}).replace(/\u060c/g,",")},postformat:function(y){return y.replace(/\d/g,function(S){return e[S]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(I(7586))},3958:function(We,Q,I){!function(l){"use strict";var e="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),m=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",e[7],e[8],e[9]];function b(p,M,$,B){var G="";switch($){case"s":return B?"muutaman sekunnin":"muutama sekunti";case"ss":G=B?"sekunnin":"sekuntia";break;case"m":return B?"minuutin":"minuutti";case"mm":G=B?"minuutin":"minuuttia";break;case"h":return B?"tunnin":"tunti";case"hh":G=B?"tunnin":"tuntia";break;case"d":return B?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":G=B?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return B?"kuukauden":"kuukausi";case"MM":G=B?"kuukauden":"kuukautta";break;case"y":return B?"vuoden":"vuosi";case"yy":G=B?"vuoden":"vuotta"}return function y(p,M){return p<10?M?m[p]:e[p]:p}(p,B)+" "+G}l.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:b,ss:b,m:b,mm:b,h:b,hh:b,d:b,dd:b,M:b,MM:b,y:b,yy:b},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(7586))},6720:function(We,Q,I){!function(l){"use strict";l.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(m){return m},week:{dow:1,doy:4}})}(I(7586))},8352:function(We,Q,I){!function(l){"use strict";l.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(7586))},2096:function(We,Q,I){!function(l){"use strict";l.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(m,b){switch(b){default:case"M":case"Q":case"D":case"DDD":case"d":return m+(1===m?"er":"e");case"w":case"W":return m+(1===m?"re":"e")}}})}(I(7586))},5759:function(We,Q,I){!function(l){"use strict";l.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(m,b){switch(b){default:case"M":case"Q":case"D":case"DDD":case"d":return m+(1===m?"er":"e");case"w":case"W":return m+(1===m?"re":"e")}},week:{dow:1,doy:4}})}(I(7586))},4059:function(We,Q,I){!function(l){"use strict";var b=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,y=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];l.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:b,monthsShortRegex:b,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:y,longMonthsParse:y,shortMonthsParse:y,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(p,M){switch(M){case"D":return p+(1===p?"er":"");default:case"M":case"Q":case"DDD":case"d":return p+(1===p?"er":"e");case"w":case"W":return p+(1===p?"re":"e")}},week:{dow:1,doy:4}})}(I(7586))},5958:function(We,Q,I){!function(l){"use strict";var e="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),m="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");l.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(y,S){return y?/-MMM-/.test(S)?m[y.month()]:e[y.month()]:e},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(y){return y+(1===y||8===y||y>=20?"ste":"de")},week:{dow:1,doy:4}})}(I(7586))},4143:function(We,Q,I){!function(l){"use strict";l.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(M){return M+(1===M?"d":M%10==2?"na":"mh")},week:{dow:1,doy:4}})}(I(7586))},7028:function(We,Q,I){!function(l){"use strict";l.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(M){return M+(1===M?"d":M%10==2?"na":"mh")},week:{dow:1,doy:4}})}(I(7586))},428:function(We,Q,I){!function(l){"use strict";l.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".
vendor: 10,817 bytes, line 1
1split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(m){return 0===m.indexOf("un")?"n"+m:"en "+m},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(I(7586))},6861:function(We,Q,I){!function(l){"use strict";function e(b,y,S,p){var M={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[b+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",b+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[b+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",b+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[b+" \u0935\u0930\u093e\u0902\u0928\u0940",b+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[b+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",b+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[b+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",b+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[b+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",b+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return p?M[S][0]:M[S][1]}l.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(b,y){return"D"===y?b+"\u0935\u0947\u0930":b},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(b,y){return 12===b&&(b=0),"\u0930\u093e\u0924\u0940"===y?b<4?b:b+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===y?b:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===y?b>12?b:b+12:"\u0938\u093e\u0902\u091c\u0947"===y?b+12:void 0},meridiem:function(b,y,S){return b<4?"\u0930\u093e\u0924\u0940":b<12?"\u0938\u0915\u093e\u0933\u0940\u0902":b<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":b<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(I(7586))},7718:function(We,Q,I){!function(l){"use strict";function e(b,y,S,p){var M={s:["thoddea sekondamni","thodde sekond"],ss:[b+" sekondamni",b+" sekond"],m:["eka mintan","ek minut"],mm:[b+" mintamni",b+" mintam"],h:["eka voran","ek vor"],hh:[b+" voramni",b+" voram"],d:["eka disan","ek dis"],dd:[b+" disamni",b+" dis"],M:["eka mhoinean","ek mhoino"],MM:[b+" mhoineamni",b+" mhoine"],y:["eka vorsan","ek voros"],yy:[b+" vorsamni",b+" vorsam"]};return p?M[S][0]:M[S][1]}l.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(b,y){return"D"===y?b+"er":b},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(b,y){return 12===b&&(b=0),"rati"===y?b<4?b:b+12:"sokallim"===y?b:"donparam"===y?b>12?b:b+12:"sanje"===y?b+12:void 0},meridiem:function(b,y,S){return b<4?"rati":b<12?"sokallim":b<16?"donparam":b<20?"sanje":"rati"}})}(I(7586))},6827:function(We,Q,I){!function(l){"use strict";var e={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},m={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};l.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%
1d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(y){return y.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(S){return m[S]})},postformat:function(y){return y.replace(/\d/g,function(S){return e[S]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(y,S){return 12===y&&(y=0),"\u0ab0\u0abe\u0aa4"===S?y<4?y:y+12:"\u0ab8\u0ab5\u0abe\u0ab0"===S?y:"\u0aac\u0aaa\u0acb\u0ab0"===S?y>=10?y:y+12:"\u0ab8\u0abe\u0a82\u0a9c"===S?y+12:void 0},meridiem:function(y,S,p){return y<4?"\u0ab0\u0abe\u0aa4":y<10?"\u0ab8\u0ab5\u0abe\u0ab0":y<17?"\u0aac\u0aaa\u0acb\u0ab0":y<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(I(7586))},1936:function(We,Q,I){!function(l){"use strict";l.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u
105d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(m){return 2===m?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":m+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(m){return 2===m?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":m+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(m){return 2===m?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":m+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(m){return 2===m?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":m%10==0&&10!==m?m+" \u05e9\u05e0\u05d4":m+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(m){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(m)},meridiem:function(m,b,y){return m<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":m<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":m<12?y?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":m<18?y?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(I(7586))},1332:function(We,Q,I){!function(l){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},m={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},b=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];l.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u
10932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:b,longMonthsParse:b,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(p){return p.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(M){return m[M]})},postformat:function(p){return p.replace(/\d/g,function(M){return e[M]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(p,M){return 12===p&&
vendor: 14,063 bytes, line 1
1(p=0),"\u0930\u093e\u0924"===M?p<4?p:p+12:"\u0938\u0941\u092c\u0939"===M?p:"\u0926\u094b\u092a\u0939\u0930"===M?p>=10?p:p+12:"\u0936\u093e\u092e"===M?p+12:void 0},meridiem:function(p,M,$){return p<4?"\u0930\u093e\u0924":p<10?"\u0938\u0941\u092c\u0939":p<17?"\u0926\u094b\u092a\u0939\u0930":p<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(I(7586))},1957:function(We,Q,I){!function(l){"use strict";function e(b,y,S){var p=b+" ";switch(S){case"ss":return p+(1===b?"sekunda":2===b||3===b||4===b?"sekunde":"sekundi");case"m":return y?"jedna minuta":"jedne minute";case"mm":return p+(1===b?"minuta":2===b||3===b||4===b?"minute":"minuta");case"h":return y?"jedan sat":"jednog sata";case"hh":return p+(1===b?"sat":2===b||3===b||4===b?"sata":"sati");case"dd":return p+(1===b?"dan":"dana");case"MM":return p+(1===b?"mjesec":2===b||3===b||4===b?"mjeseca":"mjeseci");case"yy":return p+(1===b?"godina":2===b||3===b||4===b?"godine":"godina")}}l.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(I(7586))},8928:function(We,Q,I){!function(l){"use strict";var e="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function m(S,p,M,$){var B=S;switch(M){case"s":return $||p?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return B+($||p)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+($||p?" perc":" perce");case"mm":return B+($||p?" perc":" perce");case"h":return"egy"+($||p?" \xf3ra":" \xf3r\xe1ja");case"hh":return B+($||p?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+($||p?" nap":" napja");case"dd":return B+($||p?" nap":" napja");case"M":return"egy"+($||p?" h\xf3nap":" h\xf3napja");case"MM":return B+($||p?" h\xf3nap":" h\xf3napja");case"y":return"egy"+($||p?" \xe9v":" \xe9ve");case"yy":return B+($||p?" \xe9v":" \xe9ve")}return""}function b(S){return(S?"":"[m\xfalt] ")+"["+e[this.day()]+"] LT[-kor]"}l.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(S){return"u"===S.charAt(1).toLowerCase()},meridiem:function(S,p,M){return S<12?!0===M?"de":"DE":!0===M?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return b.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return b.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:m,ss:m,m,mm:m,h:m,hh:m,d:m,dd:m,M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(7586))},6215:function(We,Q,I){!function(l){"use strict";l.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(m){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(m)},meridiem:function(m){return m<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":m<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":m<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(m,b){switch(b){case"DDD":case"w":case"W":case"DDDo":return 1===m?m+"-\u056b\u0576":m+"-\u0580\u0564";default:return m}},week:{dow:1,doy:7}})}(I(7586))},586:function(We,Q,I){!function(l){"use strict";l.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(m,b){return 12===m&&(m=0),"pagi"===b?m:"siang"===b?m>=11?m:m+12:"sore"===b||"malam"===b?m+12:void 0},meridiem:function(m,b,y){return m<11?"pagi":m<15?"siang":m<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(I(7586))},211:function(We,Q,I){!function(l){"use strict";function e(y){return y%100==11||y%10!=1}function m(y,S,p,M){var $=y+" ";switch(p){case"s":return S||M?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return e(y)?$+(S||M?"sek\xfandur":"sek\xfandum"):$+"sek\xfanda";case"m":return S?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return e(y)?$+(S||M?"m\xedn\xfatur":"m\xedn\xfatum"):S?$+"m\xedn\xfata":$+"m\xedn\xfatu";case"hh":return e(y)?$+(S||M?"klukkustundir":"klukkustundum"):$+"klukkustund";case"d":return S?"dagur":M?"dag":"degi";case"dd":return e(y)?S?$+"dagar":$+(M?"daga":"d\xf6gum"):S?$+"dagur":$+(M?"dag":"degi");case"M":return S?"m\xe1nu\xf0ur":M?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return e(y)?S?$+"m\xe1nu\xf0ir":$+(M?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):S?$+"m\xe1nu\xf0ur":$+(M?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return S||M?"\xe1r":"\xe1ri";case"yy":return e(y)?$+(S||M?"\xe1r":"\xe1rum"):$+(S||M?"\xe1r":"\xe1ri")}}l.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:m,ss:m,m,mm:m,h:"klukkustund",hh:m,d:m,dd:m,M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(7586))},2340:function(We,Q,I){!function(l){"use strict";l.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(m){return(/^[0-9].+$/.test(m)?"tra":"in")+" "+m},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(I(7586))},170:function(We,Q,I){!function(l){"use strict";l.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%
1d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(I(7586))},9770:function(We,Q,I){!function(l){"use strict";l.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(m,b){return"\u5143"===b[1]?1:parseInt(b[1]||m,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(m){return"\u5348\u5f8c"===m},meridiem:function(m,b,y){return m<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(m){return m.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(m){return this.week()!==m.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(m,b){switch(b){case"y":return 1===m?"\u5143\u5e74":m+"\u5e74";case"d":case"D":case"DDD":return m+"\u65e5";default:return m}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(I(7586))},3875:function(We,Q,I){!function(l){"use strict";l.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(m,b){return 12===m&&(m=0),"enjing"===b?m:"siyang"===b?m>=11?m:m+12:"sonten"===b||"ndalu"===b?m+12:void 0},meridiem:function(m,b,y){return m<11?"enjing":m<15?"siyang":m<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(I(7586))},9499:function(We,Q,I){!function(l){"use strict";l.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u
110d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(m){return m.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(b,y,S){return"\u10d8"===S?y+"\u10e8\u10d8":y+S+"\u10e8\u10d8"})},past:function(m){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(m)?m.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(m)?m.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):m},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(m){return 0===m?m:1===m?m+"-\u10da\u10d8":m<20||m<=100&&m%20==0||m%100==0?"\u10db\u10d4-"+m:m+"-\u10d4"},week:{dow:1,doy:7}})}(I(7586))},3573:function(We,Q,I){!function(l){"use strict";var e={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};l.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(b){return b+(e[b]||e[b%10]||e[b>=100?100:null])},week:{dow:1,doy:7}})}(I(7586))},8807:function(We,Q,I){!function(l){"use strict";var e={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},m={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};l.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u
117a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(y){return"\u179b\u17d2\u1784\u17b6\u1785"===y},meridiem:function(y,S,p){return y<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(y){return y.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(S){return m[S]})},postformat:function(y){return y.replace(/\d/g,function(S){return e[S]})},week:{dow:1,doy:4}})}(I(7586))},5082:function(We,Q,I){!function(l){"use strict";var e={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},m={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};l.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%
1d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(y){return y.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(S){return m[S]})},postformat:function(y){return y.replace(/\d/g,function(S){return e[S]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(y,S){return 12===y&&(y=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===S?y<4?y:y+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===S?y:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===S?y>=10?y:y+12:"\u0cb8\u0c82\u0c9c\u0cc6"===S?y+12:void 0},meridiem:function(y,S,p){return y<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":y<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":y<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":y<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(y){return y+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(I(7586))},137:function(We,Q,I){!function(l){"use strict";l.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(m,b){switch(b){case"d":case"D":case"DDD":return m+"\uc77c";case"M":return m+"\uc6d4";case"w":case"W":return m+"\uc8fc";default:return m}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(m){return"\uc624\ud6c4"===m},meridiem:function(m,b,y){return m<12?"\uc624\uc804":"\uc624\ud6c4"}})}(I(7586))},111:function(We,Q,I){!function(l){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},m={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},b=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];l.defineLocale("ku",{months:b,monthsShort:b,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(S){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(S)},meridiem:function(S,p,M){return S<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(S){return S.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(p){return m[p]}).replace(/\u060c/g,",")},postformat:function(S){return S.replace(/\d/g,function(p){return e[p]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(I(7586))},9187:function(We,Q,I){!function(l){"use strict";var e={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};l.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(b){return b+(e[b]||e[b%10]||e[b>=100?100:null])},week:{dow:1,doy:7}})}(I(7586))},5969:function(We,Q,I){!function(l){"use strict";function e(p,M,$,B){var G={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return M?G[$][0]:G[$][1]}function y(p){if(p=parseInt(p,10),isNaN(p))return!1;if(p<0)return!0;
vendor: 4,668 bytes, line 1
1if(p<10)return 4<=p&&p<=7;if(p<100){var M=p%10;return y(0===M?p/10:M)}if(p<1e4){for(;p>=10;)p/=10;return y(p)}return y(p/=1e3)}l.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function m(p){return y(p.substr(0,p.indexOf(" ")))?"a "+p:"an "+p},past:function b(p){return y(p.substr(0,p.indexOf(" ")))?"viru "+p:"virun "+p},s:"e puer Sekonnen",ss:"%d Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d M\xe9int",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(7586))},3526:function(We,Q,I){!function(l){"use strict";l.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(m){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===m},meridiem:function(m,b,y){return m<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(m){return"\u0e97\u0eb5\u0ec8"+m}})}(I(7586))},411:function(We,Q,I){!function(l){"use strict";var e={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_die
1n\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function b($,B,G,Y){return B?S(G)[0]:Y?S(G)[1]:S(G)[2]}function y($){return $%10==0||$>10&&$<20}function S($){return e[$].split("_")}function p($,B,G,Y){var q=$+" ";return 1===$?q+b(0,B,G[0],Y):B?q+(y($)?S(G)[1]:S(G)[0]):Y?q+S(G)[1]:q+(y($)?S(G)[1]:S(G)[2])}l.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function m($,B,G,Y){return B?"kelios sekund\u0117s":Y?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:p,m:b,mm:p,h:b,hh:p,d:b,dd:p,M:b,MM:p,y:b,yy:p},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function($){return $+"-oji"},week:{dow:1,doy:4}})}(I(7586))},2621:function(We,Q,I){!function(l){"use strict";var e={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function m(M,$,B){return B?$%10==1&&$%100!=11?M[2]:M[3]:$%10==1&&$%100!=11?M[0]:M[1]}function b(M,$,B){return M+" "+m(e[B],M,$)}function y(M,$,B){return m(e[B],M,$)}l.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function S(M,$){return $?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:b,m:y,mm:b,h:y,hh:b,d:y,dd:b,M:y,MM:b,y,yy:b},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(7586))},5869:function(We,Q,I){!function(l){"use strict";var e={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(b,y){return 1===b?y[0]:b>=2&&b<=4?y[1]:y[2]},translate:function(b,y,S){var p=e.words[S];return 1===S.length?y?p[0]:p[1]:b+" "+e.correctGrammaticalCase(b,p)}};l.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mjesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(I(7586))},5881:function(We,Q,I){!function(l){"use strict";l.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%
1d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(I(7586))},2391:function(We,Q,I){!function(l){"use strict";l.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(m){var b=m%10,y=m%100;return 0===m?m+"-\u0435\u0432":0===y?m+"-\u0435\u043d":y>10&&y<20?m+"-\u0442\u0438":1===b?m+"-\u0432\u0438":2===b?m+"-\u0440\u0438":7===b||8===b?m+"-\u043c\u0438":m+"-\u0442\u0438"},week:{dow:1,doy:7}})}(I(7586))},1126:function(We,Q,I){!function(l){"use strict";l.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%
1d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(m,b){return 12===m&&(m=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===b&&m>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===b||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===b?m+12:m},meridiem:function(m,b,y){return m<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":m<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":m<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":m<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(I(7586))},4892:function(We,Q,I){!function(l){"use strict";function e(b,y,S,p){switch(S){case"s":return y?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return b+(y?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return b+(y?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return b+(y?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return b+(y?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return b+(y?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return b+(y?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return b}}l.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(b){return"\u04ae\u0425"===b}
vendor: 23,216 bytes, line 1
1,meridiem:function(b,y,S){return b<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(b,y){switch(y){case"d":case"D":case"DDD":return b+" \u04e9\u0434\u04e9\u0440";default:return b}}})}(I(7586))},9080:function(We,Q,I){!function(l){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},m={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function b(S,p,M,$){var B="";if(p)switch(M){case"s":B="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":B="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":B="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":B="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":B="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":B="%d \u0924\u093e\u0938";break;case"d":B="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":B="%d \u0926\u093f\u0935\u0938";break;case"M":B="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":B="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":B="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":B="%d \u0935\u0930\u094d\u0937\u0947"}else switch(M){case"s":B="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":B="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":B="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":B="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":B="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":B="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":B="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":B="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":B="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":B="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":B="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":B="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return B.replace(/%d/i,S)}l.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:b,ss:b,m:b,mm:b,h:b,hh:b,d:b,dd:b,M:b,MM:b,y:b,yy:b},preparse:function(S){return S.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(p){return m[p]})},postformat:function(S){return S.replace(/\d/g,function(p){return e[p]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(S,p){return 12===S&&(S=0),"\u092a\u0939\u093e\u091f\u0947"===p||"\u0938\u0915\u093e\u0933\u0940"===p?S:"\u0926\u0941\u092a\u093e\u0930\u0940"===p||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===p||"\u0930\u093e\u0924\u094d\u0930\u0940"===p?S>=12?S:S+12:void 0},meridiem:function(S,p,M){return S>=0&&S<6?"\u092a\u0939\u093e\u091f\u0947":S<12?"\u0938\u0915\u093e\u0933\u0940":S<17?"\u0926\u0941\u092a\u093e\u0930\u0940":S<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(I(7586))},5950:function(We,Q,I){!function(l){"use strict";l.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(m,b){return 12===m&&(m=0),"pagi"===b?m:"tengahari"===b?m>=11?m:m+12:"petang"===b||"malam"===b?m+12:void 0},meridiem:function(m,b,y){return m<11?"pagi":m<15?"tengahari":m<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(I(7586))},399:function(We,Q,I){!function(l){"use strict";l.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(m,b){return 12===m&&(m=0),"pagi"===b?m:"tengahari"===b?m>=11?m:m+12:"petang"===b||"malam"===b?m+12:void 0},meridiem:function(m,b,y){return m<11?"pagi":m<15?"tengahari":m<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(I(7586))},9902:function(We,Q,I){!function(l){"use strict";l.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(I(7586))},2985:function(We,Q,I){!function(l){"use strict";var e={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},m={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};l.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(y){return y.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(S){return m[S]})},postformat:function(y){return y.replace(/\d/g,function(S){return e[S]})},week:{dow:1,doy:4}})}(I(7586))},7859:function(We,Q,I){!function(l){"use strict";l.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(7586))},3642:function(We,Q,I){!function(l){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},m={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};l.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(y){return y.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(S){return m[S]})},postformat:function(y){return y.replace(/\d/g,function(S){return e[S]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(y,S){return 12===y&&(y=0),"\u0930\u093e\u0924\u093f"===S?y<4?y:y+12:"\u092c\u093f\u0939\u093e\u0928"===S?y:"\u0926\u093f\u0909\u0901\u0938\u094b"===S?y>=10?y:y+12:"\u0938\u093e\u0901\u091d"===S?y+12:void 0},meridiem:function(y,S,p){return y<3?"\u0930\u093e\u0924\u093f":y<12?"\u092c\u093f\u0939\u093e\u0928":y<16?"\u0926\u093f\u0909\u0901\u0938\u094b":y<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(I(7586))},9875:function(We,Q,I){!function(l){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),m="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),b=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],y=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;l.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(p,M){return p?/-MMM-/.test(M)?m[p.month()]:e[p.month()]:e},monthsRegex:y,monthsShortRegex:y,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:b,longMonthsParse:b,shortMonthsParse:b,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(p){return p+(1===p||8===p||p>=20?"ste":"de")},week:{dow:1,doy:4}})}(I(7586))},5441:function(We,Q,I){!function(l){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),m="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),b=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],y=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;l.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(p,M){return p?/-MMM-/.test(M)?m[p.month()]:e[p.month()]:e},monthsRegex:y,monthsShortRegex:y,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:b,longMonthsParse:b,shortMonthsParse:b,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(p){return p+(1===p||8===p||p>=20?"ste":"de")},week:{dow:1,doy:4}})}(I(7586))},1311:function(We,Q,I){!function(l){"use strict";l.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(7586))},2567:function(We,Q,I){!function(l){"use strict";l.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%
1d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(m,b){var y=1===m?"r":2===m?"n":3===m?"r":4===m?"t":"\xe8";return("w"===b||"W"===b)&&(y="a"),m+y},week:{dow:1,doy:4}})}(I(7586))},6962:function(We,Q,I){!function(l){"use strict";var e={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},m={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};l.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(y){return y.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(S){return m[S]})},postformat:function(y){return y.replace(/\d/g,function(S){return e[S]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(y,S){return 12===y&&(y=0),"\u0a30\u0a3e\u0a24"===S?y<4?y:y+12:"\u0a38\u0a35\u0a47\u0a30"===S?y:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===S?y>=10?y:y+12:"\u0a38\u0a3c\u0a3e\u0a2e"===S?y+12:void 0}
vendor: 4,765 bytes, line 1
1,meridiem:function(y,S,p){return y<4?"\u0a30\u0a3e\u0a24":y<10?"\u0a38\u0a35\u0a47\u0a30":y<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":y<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(I(7586))},1063:function(We,Q,I){!function(l){"use strict";var e="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),m="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),b=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function y(M){return M%10<5&&M%10>1&&~~(M/10)%10!=1}function S(M,$,B){var G=M+" ";switch(B){case"ss":return G+(y(M)?"sekundy":"sekund");case"m":return $?"minuta":"minut\u0119";case"mm":return G+(y(M)?"minuty":"minut");case"h":return $?"godzina":"godzin\u0119";case"hh":return G+(y(M)?"godziny":"godzin");case"ww":return G+(y(M)?"tygodnie":"tygodni");case"MM":return G+(y(M)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return G+(y(M)?"lata":"lat")}}l.defineLocale("pl",{months:function(M,$){return M?/D MMMM/.test($)?m[M.month()]:e[M.month()]:e},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:b,longMonthsParse:b,shortMonthsParse:b,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:S,m:S,mm:S,h:S,hh:S,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:S,M:"miesi\u0105c",MM:S,y:"rok",yy:S},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(7586))},7476:function(We,Q,I){!function(l){"use strict";l.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(I(7586))},8719:function(We,Q,I){!function(l){"use strict";l.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%
1d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(I(7586))},1004:function(We,Q,I){!function(l){"use strict";function e(b,y,S){var M=" ";return(b%100>=20||b>=100&&b%100==0)&&(M=" de "),b+M+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[S]}l.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:e,m:"un minut",mm:e,h:"o or\u0103",hh:e,d:"o zi",dd:e,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:e,M:"o lun\u0103",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}})}(I(7586))},1326:function(We,Q,I){!function(l){"use strict";function m(S,p,M){return"m"===M?p?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":S+" "+function e(S,p){var M=S.split("_");return p%10==1&&p%100!=11?M[0]:p%10>=2&&p%10<=4&&(p%100<10||p%100>=20)?M[1]:M[2]}({ss:p?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:p?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[M],+S)}var b=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];l.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:b,longMonthsParse:b,shortMonthsParse:b,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u
vendor: 16,384 bytes, line 1
1043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(S){if(S.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(S){if(S.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:m,m,mm:m,h:"\u0447\u0430\u0441",hh:m,d:"\u0434\u0435\u043d\u044c",dd:m,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:m,M:"\u043c\u0435\u0441\u044f\u0446",MM:m,y:"\u0433\u043e\u0434",yy:m},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(S){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(S)},meridiem:function(S,p,M){return S<4?"\u043d\u043e\u0447\u0438":S<12?"\u0443\u0442\u0440\u0430":S<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(S,p){switch(p){case"M":case"d":case"DDD":return S+"-\u0439";case"D":return S+"-\u0433\u043e";case"w":case"W":return S+"-\u044f";default:return S}},week:{dow:1,doy:4}})}(I(7586))},2608:function(We,Q,I){!function(l){"use strict";var e=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],m=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];l.defineLocale("sd",{months:e,monthsShort:e,weekdays:m,weekdaysShort:m,weekdaysMin:m,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(y){return"\u0634\u0627\u0645"===y},meridiem:function(y,S,p){return y<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(y){return y.replace(/\u060c/g,",")},postformat:function(y){return y.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(I(7586))},3911:function(We,Q,I){!function(l){"use strict";l.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(7586))},5147:function(We,Q,I){!function(l){"use strict";l.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(m){return m+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(m){return"\u0db4.\u0dc0."===m||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===m},meridiem:function(m,b,y){return m>11?y?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":y?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(I(7586))},3741:function(We,Q,I){!function(l){"use strict";var e="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),m="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function b(p){return p>1&&p<5}function y(p,M,$,B){var G=p+" ";switch($){case"s":return M||B?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return M||B?G+(b(p)?"sekundy":"sek\xfand"):G+"sekundami";case"m":return M?"min\xfata":B?"min\xfatu":"min\xfatou";case"mm":return M||B?G+(b(p)?"min\xfaty":"min\xfat"):G+"min\xfatami";case"h":return M?"hodina":B?"hodinu":"hodinou";case"hh":return M||B?G+(b(p)?"hodiny":"hod\xedn"):G+"hodinami";case"d":return M||B?"de\u0148":"d\u0148om";case"dd":return M||B?G+(b(p)?"dni":"dn\xed"):G+"d\u0148ami";case"M":return M||B?"mesiac":"mesiacom";case"MM":return M||B?G+(b(p)?"mesiace":"mesiacov"):G+"mesiacmi";case"y":return M||B?"rok":"rokom";case"yy":return M||B?G+(b(p)?"roky":"rokov"):G+"rokmi"}}l.defineLocale("sk",{months:e,monthsShort:m,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:y,ss:y,m:y,mm:y,h:y,hh:y,d:y,dd:y,M:y,MM:y,y,yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(7586))},3e3:function(We,Q,I){!function(l){"use strict";function e(b,y,S,p){var M=b+" ";switch(S){case"s":return y||p?"nekaj sekund":"nekaj sekundami";case"ss":return M+(1===b?y?"sekundo":"sekundi":2===b?y||p?"sekundi":"sekundah":b<5?y||p?"sekunde":"sekundah":"sekund");case"m":return y?"ena minuta":"eno minuto";case"mm":return M+(1===b?y?"minuta":"minuto":2===b?y||p?"minuti":"minutama":b<5?y||p?"minute":"minutami":y||p?"minut":"minutami");case"h":return y?"ena ura":"eno uro";case"hh":return M+(1===b?y?"ura":"uro":2===b?y||p?"uri":"urama":b<5?y||p?"ure":"urami":y||p?"ur":"urami");case"d":return y||p?"en dan":"enim dnem";case"dd":return M+(1===b?y||p?"dan":"dnem":2===b?y||p?"dni":"dnevoma":y||p?"dni":"dnevi");case"M":return y||p?"en mesec":"enim mesecem";case"MM":return M+(1===b?y||p?"mesec":"mesecem":2===b?y||p?"meseca":"mesecema":b<5?y||p?"mesece":"meseci":y||p?"mesecev":"meseci");case"y":return y||p?"eno leto":"enim letom";case"yy":return M+(1===b?y||p?"leto":"letom":2===b?y||p?"leti":"letoma":b<5?y||p?"leta":"leti":y||p?"let":"leti")}}l.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(I(7586))},451:function(We,Q,I){!function(l){"use strict";l.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(m){return"M"===m.charAt(0)},meridiem:function(m,b,y){return m<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(7586))},905:function(We,Q,I){!function(l){"use strict";var e={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u0435 \u043c\u0438\u043d\u0443\u0442\u0435"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0435","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],yy:["\u0433\u043e\u0434\u0438\u043d\u0430","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(b,y){return 1===b?y[0]:b>=2&&b<=4?y[1]:y[2]},translate:function(b,y,S){var p=e.words[S];return 1===S.length?y?p[0]:p[1]:b+" "+e.correctGrammaticalCase(b,p)}};l.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0
1432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"\u0434\u0430\u043d",dd:e.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:e.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(I(7586))},5046:function(We,Q,I){!function(l){"use strict";var e={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(b,y){return 1===b?y[0]:b>=2&&b<=4?y[1]:y[2]},translate:function(b,y,S){var p=e.words[S];return 1===S.length?y?p[0]:p[1]:b+" "+e.correctGrammaticalCase(b,p)}};l.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(I(7586))},5765:function(We,Q,I){!function(l){"use strict";l.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LT
vendor: 15,806 bytes, line 1
1S:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(m,b,y){return m<11?"ekuseni":m<15?"emini":m<19?"entsambama":"ebusuku"},meridiemHour:function(m,b){return 12===m&&(m=0),"ekuseni"===b?m:"emini"===b?m>=11?m:m+12:"entsambama"===b||"ebusuku"===b?0===m?0:m+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(I(7586))},9290:function(We,Q,I){!function(l){"use strict";l.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(m){var b=m%10;return m+(1==~~(m%100/10)?":e":1===b||2===b?":a":":e")},week:{dow:1,doy:4}})}(I(7586))},3449:function(We,Q,I){!function(l){"use strict";l.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(I(7586))},2688:function(We,Q,I){!function(l){"use strict";var e={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},m={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};l.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(y){return y+"\u0bb5\u0ba4\u0bc1"},preparse:function(y){return y.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(S){return m[S]})},postformat:function(y){return y.replace(/\d/g,function(S){return e[S]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(y,S,p){return y<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":y<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":y<10?" \u0b95\u0bbe\u0bb2\u0bc8":y<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":y<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":y<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(y,S){return 12===y&&(y=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===S?y<2?y:y+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===S||"\u0b95\u0bbe\u0bb2\u0bc8"===S||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===S&&y>=10?y:y+12},week:{dow:0,doy:6}})}(I(7586))},2060:function(We,Q,I){!function(l){"use strict";l.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(m,b){return 12===m&&(m=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===b?m<4?m:m+12:"\u0c09\u0c26\u0c2f\u0c02"===b?m:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===b?m>=10?m:m+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===b?m+12:void 0},meridiem:function(m,b,y){return m<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":m<10?"\u0c09\u0c26\u0c2f\u0c02":m<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":m<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(I(7586))},3290:function(We,Q,I){!function(l){"use strict";l.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(m){var b=m%10;return m+(1==~~(m%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(I(7586))},8294:function(We,Q,I){!function(l){"use strict";var e={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};l.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(b,y){return 12===b&&(b=0),"\u0448\u0430\u0431"===y?b<4?b:b+12:"\u0441\u0443\u0431\u04b3"===y?b:"\u0440\u04ef\u0437"===y?b>=11?b:b+12:"\u0431\u0435\u0433\u043e\u04b3"===y?b+12:void 0}
vendor: 4,504 bytes, line 1
1,meridiem:function(b,y,S){return b<4?"\u0448\u0430\u0431":b<11?"\u0441\u0443\u0431\u04b3":b<16?"\u0440\u04ef\u0437":b<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(b){return b+(e[b]||e[b%10]||e[b>=100?100:null])},week:{dow:1,doy:7}})}(I(7586))},1231:function(We,Q,I){!function(l){"use strict";l.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(m){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===m},meridiem:function(m,b,y){return m<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(I(7586))},3746:function(We,Q,I){!function(l){"use strict";var e={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};l.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] 
1LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(b,y){switch(y){case"d":case"D":case"Do":case"DD":return b;default:if(0===b)return b+"'unjy";var S=b%10;return b+(e[S]||e[b%100-S]||e[b>=100?100:null])}},week:{dow:1,doy:7}})}(I(7586))},9040:function(We,Q,I){!function(l){"use strict";l.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(m){return m},week:{dow:1,doy:4}})}(I(7586))},7187:function(We,Q,I){!function(l){"use strict";var e="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function y(M,$,B,G){var Y=function S(M){var $=Math.floor(M%1e3/100),B=Math.floor(M%100/10),G=M%10,Y="";return $>0&&(Y+=e[$]+"vatlh"),B>0&&(Y+=(""!==Y?" ":"")+e[B]+"maH"),G>0&&(Y+=(""!==Y?" ":"")+e[G]),""===Y?"pagh":Y}(M);switch(B){case"ss":return Y+" lup";case"mm":return Y+" tup";case"hh":return Y+" rep";case"dd":return Y+" jaj";case"MM":return Y+" jar";case"yy":return Y+" DIS"}}l.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function m(M){var $=M;return-1!==M.indexOf("jaj")?$.slice(0,-3)+"leS":-1!==M.indexOf("jar")?$.slice(0,-3)+"waQ":-1!==M.indexOf("DIS")?$.slice(0,-3)+"nem":$+" pIq"},past:function b(M){var $=M;return-1!==M.indexOf("jaj")?$.slice(0,-3)+"Hu\u2019":-1!==M.indexOf("jar")?$.slice(0,-3)+"wen":-1!==M.indexOf("DIS")?$.slice(0,-3)+"ben":$+" ret"},s:"puS lup",ss:y,m:"wa\u2019 tup",mm:y,h:"wa\u2019 rep",hh:y,d:"wa\u2019 jaj",dd:y,M:"wa\u2019 jar",MM:y,y:"wa\u2019 DIS",yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(7586))},153:function(We,Q,I){!function(l){"use strict";var e={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};l.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(b,y,S){return b<12?S?"\xf6\xf6":"\xd6\xd6":S?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(b){return"\xf6s"===b||"\xd6S"===b},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(b,y){switch(y){case"d":case"D":case"Do":case"DD":return b;default:if(0===b)return b+"'\u0131nc\u0131";var S=b%10;return b+(e[S]||e[b%100-S]||e[b>=100?100:null])}},week:{dow:1,doy:7}})}(I(7586))},8521:function(We,Q,I){!function(l){"use strict";function m(b,y,S,p){var M={s:["viensas secunds","'iensas secunds"],ss:[b+" secunds",b+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[b+" m\xeduts",b+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[b+" \xfeoras",b+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[b+" ziuas",b+" ziuas"],M:["'n mes","'iens mes"],MM:[b+" mesen",b+" mesen"],y:["'n ar","'iens ar"],yy:[b+" ars",b+" ars"]};return p||y?M[S][0]:M[S][1]}l.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4t
1s_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(b){return"d'o"===b.toLowerCase()},meridiem:function(b,y,S){return b>11?S?"d'o":"D'O":S?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:m,ss:m,m,mm:m,h:m,hh:m,d:m,dd:m,M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(7586))},2234:function(We,Q,I){!function(l){"use strict";l.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4
1wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(I(7586))},8010:function(We,Q,I){!function(l){"use strict";l.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(I(7586))},3349:function(We,Q,I){!function(l){"use strict";l.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(m,b){return 12===m&&(m=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===b||"\u0633\u06d5\u06be\u06d5\u0631"===b||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===b?m:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===b||"\u0643\u06d5\u0686"===b?m+12:m>=11?m:m+12},meridiem:function(m,b,y){var S=100*m+b;return S<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":S<900?"\u0633\u06d5\u06be\u06d5\u0631":S<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":S<1230?"\u0686\u06c8\u0634":S<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%
1d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(m,b){switch(b){case"d":case"D":case"DDD":return m+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return m+"-\u06be\u06d5\u067e\u062a\u06d5";default:return m}},preparse:function(m){return m.replace(/\u060c/g,",")},postformat:function(m){return m.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(I(7586))},8479:function(We,Q,I){!function(l){"use strict";function m(p,M,$){return"m"===$?M?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===$?M?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":p+" "+function e(p,M){var $=p.split("_");return M%10==1&&M%100!=11?$[0]:M%10>=2&&M%10<=4&&(M%100<10||M%100>=20)?$[1]:$[2]}({ss:M?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:M?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:M?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[$],+p)}function y(p){return function(){return p+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}l.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function b(p,M){var $={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===p?$.nominative.slice(1,7).concat($.nominative.slice(0,1)):p?$[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(M)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(M)?"genitive":"nominative"][p.day()]:$.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:y("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:y("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:y("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:y("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 
vendor: 10,935 bytes, line 1
16:return y("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return y("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:m,m,mm:m,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:m,d:"\u0434\u0435\u043d\u044c",dd:m,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:m,y:"\u0440\u0456\u043a",yy:m},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(p){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(p)},meridiem:function(p,M,$){return p<4?"\u043d\u043e\u0447\u0456":p<12?"\u0440\u0430\u043d\u043a\u0443":p<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(p,M){switch(M){case"M":case"d":case"DDD":case"w":case"W":return p+"-\u0439";case"D":return p+"-\u0433\u043e";default:return p}},week:{dow:1,doy:7}})}(I(7586))},3024:function(We,Q,I){!function(l){"use strict";var e=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],m=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];l.defineLocale("ur",{months:e,monthsShort:e,weekdays:m,weekdaysShort:m,weekdaysMin:m,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(y){return"\u0634\u0627\u0645"===y},meridiem:function(y,S,p){return y<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(y){return y.replace(/\u060c/g,",")},postformat:function(y){return y.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(I(7586))},2376:function(We,Q,I){!function(l){"use strict";l.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(I(7586))},9800:function(We,Q,I){!function(l){"use strict";l.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(I(7586))},9366:function(We,Q,I){!function(l){"use strict";l.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(m){return/^ch$/i.test(m)},meridiem:function(m,b,y){return m<12?y?"sa":"SA":y?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(m){return m},week:{dow:1,doy:4}})}(I(7586))},9702:function(We,Q,I){!function(l){"use strict";l.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(m){var b=m%10;return m+(1==~~(m%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(I(7586))},2655:function(We,Q,I){!function(l){"use strict";l.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u
11eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(I(7586))},575:function(We,Q,I){!function(l){"use strict";l.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(m,b){return 12===m&&(m=0),"\u51cc\u6668"===b||"\u65e9\u4e0a"===b||"\u4e0a\u5348"===b?m:"\u4e0b\u5348"===b||"\u665a\u4e0a"===b?m+12:m>=11?m:m+12},meridiem:function(m,b,y){var S=100*m+b;return S<600?"\u51cc\u6668":S<900?"\u65e9\u4e0a":S<1130?"\u4e0a\u5348":S<1230?"\u4e2d\u5348":S<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(m){return m.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(m){return this.week()!==m.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(m,b){switch(b){case"d":case"D":case"DDD":return m+"\u65e5";case"M":return m+"\u6708";case"w":case"W":return m+"\u5468";default:return m}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(I(7586))},8351:function(We,Q,I){!function(l){"use strict";l.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(m,b){return 12===m&&(m=0),"\u51cc\u6668"===b||"\u65e9\u4e0a"===b||"\u4e0a\u5348"===b?m:"\u4e2d\u5348"===b?m>=11?m:m+12:"\u4e0b\u5348"===b||"\u665a\u4e0a"===b?m+12:void 0},meridiem:function(m,b,y){var S=100*m+b;return S<600?"\u51cc\u6668":S<900?"\u65e9\u4e0a":S<1200?"\u4e0a\u5348":1200===S?"\u4e2d\u5348":S<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(m,b){switch(b){case"d":case"D":case"DDD":return m+"\u65e5";case"M":return m+"\u6708";case"w":case"W":return m+"\u9031";default:return m}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(I(7586))},9245:function(We,Q,I){!function(l){"use strict";l.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(m,b){return 12===m&&(m=0),"\u51cc\u6668"===b||"\u65e9\u4e0a"===b||"\u4e0a\u5348"===b?m:"\u4e2d\u5348"===b?m>=11?m:m+12:"\u4e0b\u5348"===b||"\u665a\u4e0a"===b?m+12:void 0},meridiem:function(m,b,y){var S=100*m+b;return S<600?"\u51cc\u6668":S<900?"\u65e9\u4e0a":S<1130?"\u4e0a\u5348":S<1230?"\u4e2d\u5348":S<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(m,b){switch(b){case"d":case"D":case"DDD":return m+"\u65e5";case"M":return m+"\u6708";case"w":case"W":return m+"\u9031";default:return m}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(I(7586))},8887:function(We,Q,I){!function(l){"use strict";l.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(m,b){return 12===m&&(m=0),"\u51cc\u6668"===b||"\u65e9\u4e0a"===b||"\u4e0a\u5348"===b?m:"\u4e2d\u5348"===b?m>=11?m:m+12:"\u4e0b\u5348"===b||"\u665a\u4e0a"===b?m+12:void 0},meridiem:function(m,b,y){var S=100*m+b;return S<600?"\u51cc\u6668":S<900?"\u65e9\u4e0a":S<1130?"\u4e0a\u5348":S<1230?"\u4e2d\u5348":S<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(m,b){switch(b){case"d":case"D":case"DDD":return m+"\u65e5";case"M":return m+"\u6708";case"w":case"W":return m+"\u9031";default:return m}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(I(7586))}
1,7586:function(We,Q,I){(We=I.nmd(We)).exports=function(){"use strict";var l,se;function e(){return l.apply(null,arguments)}function b(E){return E instanceof Array||"[object Array]"===Object.prototype.toString.call(E)}function y(E){return null!=E&&"[object Object]"===Object.prototype.toString.call(E)}function S(E,x){return Object.prototype.hasOwnProperty.call(E,x)}function p(E){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(E).length;var x;for(x in E)if(S(E,x))return!1;return!0}function M(E){return void 0===E}function $(E){return"number"==typeof E||"[object Number]"===Object.prototype.toString.call(E)}function B(E){return E instanceof Date||"[object Date]"===Object.prototype.toString.call(E)}function G(E,x){var ue,Z=[];for(ue=0;ue<E.length;++ue)Z.push(x(E[ue],ue));return Z}function Y(E,x){for(var Z in x)S(x,Z)&&(E[Z]=x[Z]);return S(x,"toString")&&(E.toString=x.toString),S(x,"valueOf")&&(E.valueOf=x.valueOf),E}function q(E,x,Z,ue){return nr(E,x,Z,ue,!0).utc()}function oe(E){return null==E._pf&&(E._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),E._pf}function xe(E){if(null==E._isValid){var x=oe(E),Z=se.call(x.parsedDateParts,function(Oe){return null!=Oe}),ue=!isNaN(E._d.getTime())&&x.overflow<0&&!x.empty&&!x.invalidEra&&!x.invalidMonth&&!x.invalidWeekday&&!x.weekdayMismatch&&!x.nullInput&&!x.invalidFormat&&!x.userInvalidated&&(!x.meridiem||x.meridiem&&Z);if(E._strict&&(ue=ue&&0===x.charsLeftOver&&0===x.unusedTokens.length&&void 0===x.bigHour),null!=Object.isFrozen&&Object.isFrozen(E))return ue;E._isValid=ue}return E._isValid}function Le(E){var x=q(NaN);return null!=E?Y(oe(x),E):oe(x).userInvalidated=!0,x}se=Array.prototype.some?Array.prototype.some:function(E){var ue,x=Object(this),Z=x.length>>>0;for(ue=0;ue<Z;ue++)if(ue in x&&E.call(this,x[ue],ue,x))return!0;return!1};var ie=e.momentProperties=[],L=!1;function K(E,x){var Z,ue,Oe;if(M(x._isAMomentObject)||(E._isAMomentObject=x._isAMomentObject),M(x._i)||(E._i=x._i),M(x._f)||(E._f=x._f),M(x._l)||(E._l=x._l),M(x._strict)||(E._strict=x._strict),M(x._tzm)||(E._tzm=x._tzm),M(x._isUTC)||(E._isUTC=x._isUTC),M(x._offset)||(E._offset=x._offset),M(x._pf)||(E._pf=oe(x)),M(x._locale)||(E._locale=x._locale),ie.length>0)for(Z=0;Z<ie.length;Z++)M(Oe=x[ue=ie[Z]])||(E[ue]=Oe);return E}function _e(E){K(this,E),this._d=new Date(null!=E._d?E._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===L&&(L=!0,e.updateOffset(this),L=!1)}function Te(E){return E instanceof _e||null!=E&&null!=E._isAMomentObject}function ct(E){!1===e.suppressDeprecationWarnings&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+E)}function ye(E,x){var Z=!0;return Y(function(){if(null!=e.deprecationHandler&&e.deprecationHandler(null,E),Z){var Oe,ut,Bt,ue=[];for(ut=0;ut<arguments.length;ut++){if(Oe="","object"==typeof arguments[ut]){for(Bt in Oe+="\n["+ut+"] ",arguments[0])S(arguments[0],Bt)&&(Oe+=Bt+": "+arguments[0][Bt]+", ");Oe=Oe.slice(0,-2)}else Oe=arguments[ut];ue.push(Oe)}ct(E+"\nArguments: "+Array.prototype.slice.call(ue).join("")+"\n"+(new Error).stack),Z=!1}return x.apply(this,arguments)},x)}var Rt,Se={};function X(E,x){null!=e.deprecationHandler&&e.deprecationHandler(E,x),Se[E]||(ct(x),Se[E]=!0)}function Ne(E){return typeof Function<"u"&&E instanceof Function||"[object Function]"===Object.prototype.toString.call(E)}function _t(E,x){var ue,Z=Y({},E);for(ue in x)S(x,ue)&&(y(E[ue])&&y(x[ue])?(Z[ue]={},Y(Z[ue],E[ue]),Y(Z[ue],x[ue])):null!=x[ue]?Z[ue]=x[ue]:delete Z[ue]);for(ue in E)S(E,ue)&&!S(x,ue)&&y(E[ue])&&(Z[ue]=Y({},Z[ue]));return Z}function Gt(E){null!=E&&this.set(E)}e.suppressDeprecationWarnings=!1,e.deprecationHandler=null,Rt=Object.keys?Object.keys:function(E){var x,Z=[];for(x in E)S(E,x)&&Z.push(x);return Z};function Ie(E,x,Z){var ue=""+Math.abs(E);return(E>=0?Z?"+":"":"-")+Math.pow(10,Math.max(0,x-ue.length)).toString().substr(1)+ue}var ot=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}
1|x|X|zz?|ZZ?|.)/g,vt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,je={},He={};function Ve(E,x,Z,ue){var Oe=ue;"string"==typeof ue&&(Oe=function(){return this[ue]()}),E&&(He[E]=Oe),x&&(He[x[0]]=function(){return Ie(Oe.apply(this,arguments),x[1],x[2])}),Z&&(He[Z]=function(){return this.localeData().ordinal(Oe.apply(this,arguments),E)})}function at(E){return E.match(/\[[\s\S]/)?E.replace(/^\[|\]$/g,""):E.replace(/\\/g,"")}function wt(E,x){return E.isValid()?(x=jt(x,E.localeData()),je[x]=je[x]||function Tt(E){var Z,ue,x=E.match(ot);for(Z=0,ue=x.length;Z<ue;Z++)x[Z]=He[x[Z]]?He[x[Z]]:at(x[Z]);return function(Oe){var Bt,ut="";for(Bt=0;Bt<ue;Bt++)ut+=Ne(x[Bt])?x[Bt].call(Oe,E):x[Bt];return ut}}(x),je[x](E)):E.localeData().invalidDate()}function jt(E,x){var Z=5;function ue(Oe){return x.longDateFormat(Oe)||Oe}for(vt.lastIndex=0;Z>=0&&vt.test(E);)E=E.replace(vt,ue),vt.lastIndex=0,Z-=1;return E}var pt={};function Ft(E,x){var Z=E.toLowerCase();pt[Z]=pt[Z+"s"]=pt[x]=E}function qt(E){return"string"==typeof E?pt[E]||pt[E.toLowerCase()]:void 0}function Wt(E){var Z,ue,x={};for(ue in E)S(E,ue)&&(Z=qt(ue))&&(x[Z]=E[ue]);return x}var En={};function Sn(E,x){En[E]=x}function An(E){return E%4==0&&E%100!=0||E%400==0}function fi(E){return E<0?Math.ceil(E)||0:Math.floor(E)}function Yt(E){var x=+E,Z=0;return 0!==x&&isFinite(x)&&(Z=fi(x)),Z}function Oi(E,x){return function(Z){return null!=Z?(vi(this,E,Z),e.updateOffset(this,x),this):Yn(this,E)}}function Yn(E,x){return E.isValid()?E._d["get"+(E._isUTC?"UTC":"")+x]():NaN}function vi(E,x,Z){E.isValid()&&!isNaN(Z)&&("FullYear"===x&&An(E.year())&&1===E.month()&&29===E.date()?(Z=Yt(Z),E._d["set"+(E._isUTC?"UTC":"")+x](Z,E.month(),Fs(Z,E.month()))):E._d["set"+(E._isUTC?"UTC":"")+x](Z))}var un,hs=/\d/,Pn=/\d\d/,mn=/\d{3}/,ji=/\d{4}/,ti=/[+-]?\d{6}/,_n=/\d\d?/,Bi=/\d\d\d\d?/,Ai=/\d\d\d\d\d\d?/,Yi=/\d{1,3}/,Me=/\d{1,4}/,Fe=/[+-]?\d{1,6}/,C=/\d+/,U=/[+-]?\d+/,he=/Z|[+-]\d\d:?\d\d/gi,Ue=/Z|[+-]\d\d(?::?\d\d)?/gi,$t=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function me(E,x,Z){un[E]=Ne(x)?x:function(ue,Oe){return ue&&Z?Z:x}}function jn(E,x){return S(un,E)?un[E](x._strict,x._locale):new RegExp(function pe(E){return Ye(E.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(x,Z,ue,Oe,ut){return Z||ue||Oe||ut}))}(E))}function Ye(E){return E.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}un={};var Vt={};function Xt(E,x){var Z,ue=x;for("string"==typeof E&&(E=[E]),$(x)&&(ue=function(Oe,ut){ut[x]=Yt(Oe)}),Z=0;Z<E.length;Z++)Vt[E[Z]]=ue}function Nn(E,x){Xt(E,function(Z,ue,Oe,ut){Oe._w=Oe._w||{},x(Z,Oe._w,Oe,ut)})}function zt(E,x,Z){null!=x&&S(Vt,E)&&Vt[E](x,Z._a,Z,E)}var Ci,rn=0,ni=1,ss=2,on=3,ge=4,$n=5,Dr=6,ar=7,to=8;function Fs(E,x){if(isNaN(E)||isNaN(x))return NaN;var Z=function Eo(E,x){return(E%x+x)%x}(x,12);return E+=(x-Z)/12,1===Z?An(E)?29:28:31-Z%7%2}Ci=Array.prototype.indexOf?Array.prototype.indexOf:function(E){var x;for(x=0;x<this.length;++x)if(this[x]===E)return x;return-1},Ve("M",["MM",2],"Mo",function(){return this.month()+1}),Ve("MMM",0,0,function(E){return this.localeData().monthsShort(this,E)}),Ve("MMMM",0,0,function(E){return this.localeData().months(this,E)}),Ft("month","M"),Sn("month",8),me("M",_n),me("MM",_n,Pn),me("MMM",function(E,x){return x.monthsShortRegex(E)}),me("MMMM",function(E,x){return x.monthsRegex(E)}),Xt(["M","MM"],function(E,x){x[ni]=Yt(E)-1}),Xt(["MMM","MMMM"],function(E,x,Z,ue){var Oe=Z._locale.monthsParse(E,ue,Z._strict);null!=Oe?x[ni]=Oe:oe(Z).invalidMonth=E});var Cr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Be="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Qe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,tt=$t,Nt=$t;function sn(E,x,Z){var ue,Oe,ut,Bt=E.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],ue=0;ue<12;++ue)ut=q([2e3,ue]),this._shortMonthsParse[ue]=this.monthsShort(ut,"").toLocaleLowerCase(),this._longMonthsParse[ue]=this.months(ut,"").toLocaleLowerCase();return Z?"MMM"===x?-1!==(Oe=Ci.call(this._shortMonthsParse,Bt))?Oe:null:-1!==(Oe=Ci.call(this._longMonthsParse,Bt))?Oe:null:"MMM"===x?-1!==(Oe=Ci.call(this._shortMonthsParse,Bt))||-1!==(Oe=Ci.call(this._longMonthsParse,Bt))?Oe:null:-1!==(Oe=Ci.call(this._longMonthsParse,Bt))||-1!==(Oe=Ci.call(this._shortMonthsParse,Bt))?Oe:null}function Cn(E,x){var Z;if(!E.isValid())return E;if("string"==typeof x)if(/^\d+$/.test(x))x=Yt(x);else if(!$(x=E.localeData().monthsParse(x)))return E;return Z=Math.min(E.date(),Fs(E.year(),x)),E._d["set"+(E._isUTC?"UTC":"")+"Month"](x,Z),E}function mi(E){return null!=E?(Cn(this,E),e.updateOffset(this,!0),this):Yn(this,"Month")}function zs(){function E(Bt,fn){return fn.length-Bt.length}var Oe,ut,x=[],Z=[],ue=[];for(Oe=0;Oe<12;Oe++)ut=q([2e3,Oe]),x.push(this.monthsShort(ut,"")),Z.push(this.months(ut,"")),ue.push(this.months(ut,"")),ue.push(this.monthsShort(ut,""));for(x.sort(E),Z.sort(E),ue.sort(E),Oe=0;Oe<12;Oe++)x[Oe]=Ye(x[Oe]),Z[Oe]=Ye(Z[Oe]);for(Oe=0;Oe<24;Oe++)ue[Oe]=Ye(ue[Oe]);this._monthsRegex=new RegExp("^("+ue.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+Z.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+x.join("|")+")","i")}function us(E){return An(E)?366:365}Ve("Y",0,0,function(){var E=this.year();return E<=9999?Ie(E,4):"+"+E}),Ve(0,["YY",2],0,function(){return this.year()%100}),Ve(0,["YYYY",4],0,"year"),Ve(0,["YYYYY",5],0,"year"),Ve(0,["YYYYYY",6,!0],0,"year"),Ft("year","y"),Sn("year",1),me("Y",U),me("YY",_n,Pn
vendor: 4,622 bytes, line 1
1),me("YYYY",Me,ji),me("YYYYY",Fe,ti),me("YYYYYY",Fe,ti),Xt(["YYYYY","YYYYYY"],rn),Xt("YYYY",function(E,x){x[rn]=2===E.length?e.parseTwoDigitYear(E):Yt(E)}),Xt("YY",function(E,x){x[rn]=e.parseTwoDigitYear(E)}),Xt("Y",function(E,x){x[rn]=parseInt(E,10)}),e.parseTwoDigitYear=function(E){return Yt(E)+(Yt(E)>68?1900:2e3)};var Hn=Oi("FullYear",!0);function xi(E,x,Z,ue,Oe,ut,Bt){var fn;return E<100&&E>=0?(fn=new Date(E+400,x,Z,ue,Oe,ut,Bt),isFinite(fn.getFullYear())&&fn.setFullYear(E)):fn=new Date(E,x,Z,ue,Oe,ut,Bt),fn}function ps(E){var x,Z;return E<100&&E>=0?((Z=Array.prototype.slice.call(arguments))[0]=E+400,x=new Date(Date.UTC.apply(null,Z)),isFinite(x.getUTCFullYear())&&x.setUTCFullYear(E)):x=new Date(Date.UTC.apply(null,arguments)),x}function Mi(E,x,Z){var ue=7+x-Z;return-(7+ps(E,0,ue).getUTCDay()-x)%7+ue-1}function Ni(E,x,Z,ue,Oe){var Gn,Kn,fn=1+7*(x-1)+(7+Z-ue)%7+Mi(E,ue,Oe);return fn<=0?Kn=us(Gn=E-1)+fn:fn>us(E)?(Gn=E+1,Kn=fn-us(E)):(Gn=E,Kn=fn),{year:Gn,dayOfYear:Kn}}function Ds(E,x,Z){var ut,Bt,ue=Mi(E.year(),x,Z),Oe=Math.floor((E.dayOfYear()-ue-1)/7)+1;return Oe<1?ut=Oe+Gi(Bt=E.year()-1,x,Z):Oe>Gi(E.year(),x,Z)?(ut=Oe-Gi(E.year(),x,Z),Bt=E.year()+1):(Bt=E.year(),ut=Oe),{week:ut,year:Bt}}function Gi(E,x,Z){var ue=Mi(E,x,Z),Oe=Mi(E+1,x,Z);return(us(E)-ue+Oe)/7}Ve("w",["ww",2],"wo","week"),Ve("W",["WW",2],"Wo","isoWeek"),Ft("week","w"),Ft("isoWeek","W"),Sn("week",5),Sn("isoWeek",5),me("w",_n),me("ww",_n,Pn),me("W",_n),me("WW",_n,Pn),Nn(["w","ww","W","WW"],function(E,x,Z,ue){x[ue.substr(0,1)]=Yt(E)});function oi(E,x){return E.slice(x,7).concat(E.slice(0,x))}Ve("d",0,"do","day"),Ve("dd",0,0,function(E){return this.localeData().weekdaysMin(this,E)}),Ve("ddd",0,0,function(E){return this.localeData().weekdaysShort(this,E)}),Ve("dddd",0,0,function(E){return this.localeData().weekdays(this,E)}),Ve("e",0,0,"weekday"),Ve("E",0,0,"isoWeekday"),Ft("day","d"),Ft("weekday","e"),Ft("isoWeekday","E"),Sn("day",11),Sn("weekday",11),Sn("isoWeekday",11),me("d",_n),me("e",_n),me("E",_n),me("dd",function(E,x){return x.weekdaysMinRegex(E)}),me("ddd",function(E,x){return x.weekdaysShortRegex(E)}),me("dddd",function(E,x){return x.weekdaysRegex(E)}),Nn(["dd","ddd","dddd"],function(E,x,Z,ue){var Oe=Z._locale.weekdaysParse(E,ue,Z._strict);null!=Oe?x.d=Oe:oe(Z).invalidWeekday=E}),Nn(["d","e","E"],function(E,x,Z,ue){x[ue]=Yt(E)});var Yr="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),$r="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ks="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ta=$t,Bo=$t,Yo=$t;function fo(E,x,Z){var ue,Oe,ut,Bt=E.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],ue=0;ue<7;++ue)ut=q([2e3,1]).day(ue),this._minWeekdaysParse[ue]=this.weekdaysMin(ut,"").toLocaleLowerCase(),this._shortWeekdaysParse[ue]=this.weekdaysShort(ut,"").toLocaleLowerCase(),this._weekdaysParse[ue]=this.weekdays(ut,"").toLocaleLowerCase();return Z?"dddd"===x?-1!==(Oe=Ci.call(this._weekdaysParse,Bt))?Oe:null:"ddd"===x?-1!==(Oe=Ci.call(this._shortWeekdaysParse,Bt))?Oe:null:-1!==(Oe=Ci.call(this._minWeekdaysParse,Bt))?Oe:null:"dddd"===x?-1!==(Oe=Ci.call(this._weekdaysParse,Bt))||-1!==(Oe=Ci.call(this._shortWeekdaysParse,Bt))||-1!==(Oe=Ci.call(this._minWeekdaysParse,Bt))?Oe:null:"ddd"===x?-1!==(Oe=Ci.call(this._shortWeekdaysParse,Bt))||-1!==(Oe=Ci.call(this._weekdaysParse,Bt))||-1!==(Oe=Ci.call(this._minWeekdaysParse,Bt))?Oe:null:-1!==(Oe=Ci.call(this._minWeekdaysParse,Bt))||-1!==(Oe=Ci.call(this._weekdaysParse,Bt))||-1!==(Oe=Ci.call(this._shortWeekdaysParse,Bt))?Oe:null}function os(){function E(uo,Pt){return Pt.length-uo.length}var ut,Bt,fn,Gn,Kn,x=[],Z=[],ue=[],Oe=[];for(ut=0;ut<7;ut++)Bt=q([2e3,1]).day(ut),fn=Ye(this.weekdaysMin(Bt,"")),Gn=Ye(this.weekdaysShort(Bt,"")),Kn=Ye(this.weekdays(Bt,"")),x.push(fn),Z.push(Gn),ue.push(Kn),Oe.push(fn),Oe.push(Gn),Oe.push(Kn);x.sort(E),Z.sort(E),ue.sort(E),Oe.sort(E),this._weekdaysRegex=new RegExp("^("+Oe.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+ue.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+Z.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+x.join("|")+")","i")}function Ks(){return this.hours()%12||12}function Gr(E,x){Ve(E,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),x)})}function So(E,x){return x._meridiemParse}Ve("H",["HH",2],0,"hour"),Ve("h",["hh",2],0,Ks),Ve("k",["kk",2],0,function Vn(){return this.hours()||24}),Ve("hmm",0,0,function(){return""+Ks.apply(this)+Ie(this.minutes(),2)}
vendor: 19,126 bytes, line 1
1),Ve("hmmss",0,0,function(){return""+Ks.apply(this)+Ie(this.minutes(),2)+Ie(this.seconds(),2)}),Ve("Hmm",0,0,function(){return""+this.hours()+Ie(this.minutes(),2)}),Ve("Hmmss",0,0,function(){return""+this.hours()+Ie(this.minutes(),2)+Ie(this.seconds(),2)}),Gr("a",!0),Gr("A",!1),Ft("hour","h"),Sn("hour",13),me("a",So),me("A",So),me("H",_n),me("h",_n),me("k",_n),me("HH",_n,Pn),me("hh",_n,Pn),me("kk",_n,Pn),me("hmm",Bi),me("hmmss",Ai),me("Hmm",Bi),me("Hmmss",Ai),Xt(["H","HH"],on),Xt(["k","kk"],function(E,x,Z){var ue=Yt(E);x[on]=24===ue?0:ue}),Xt(["a","A"],function(E,x,Z){Z._isPm=Z._locale.isPM(E),Z._meridiem=E}),Xt(["h","hh"],function(E,x,Z){x[on]=Yt(E),oe(Z).bigHour=!0}),Xt("hmm",function(E,x,Z){var ue=E.length-2;x[on]=Yt(E.substr(0,ue)),x[ge]=Yt(E.substr(ue)),oe(Z).bigHour=!0}),Xt("hmmss",function(E,x,Z){var ue=E.length-4,Oe=E.length-2;x[on]=Yt(E.substr(0,ue)),x[ge]=Yt(E.substr(ue,2)),x[$n]=Yt(E.substr(Oe)),oe(Z).bigHour=!0}),Xt("Hmm",function(E,x,Z){var ue=E.length-2;x[on]=Yt(E.substr(0,ue)),x[ge]=Yt(E.substr(ue))}),Xt("Hmmss",function(E,x,Z){var ue=E.length-4,Oe=E.length-2;x[on]=Yt(E.substr(0,ue)),x[ge]=Yt(E.substr(ue,2)),x[$n]=Yt(E.substr(Oe))});var Or=Oi("Hours",!0);var ur,Ro={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Cr,monthsShort:Be,week:{dow:0,doy:6},weekdays:Yr,weekdaysMin:ks,weekdaysShort:$r,meridiemParse:/[ap]\.?m?\.?/i},_i={},Mr={};function Ia(E,x){var Z,ue=Math.min(E.length,x.length);for(Z=0;Z<ue;Z+=1)if(E[Z]!==x[Z])return Z;return ue}function er(E){return E&&E.toLowerCase().replace("_","-")}function Cs(E){var x=null;if(void 0===_i[E]&&We&&We.exports)try{x=ur._abbr,I(5358)("./"+E),As(x)}catch{_i[E]=null}return _i[E]}function As(E,x){var Z;return E&&((Z=M(x)?as(E):Vr(E,x))?ur=Z:typeof console<"u"&&console.warn&&console.warn("Locale "+E+" not found. Did you forget to load it?")),ur._abbr}function Vr(E,x){if(null!==x){var Z,ue=Ro;if(x.abbr=E,null!=_i[E])X("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),ue=_i[E]._config;else if(null!=x.parentLocale)if(null!=_i[x.parentLocale])ue=_i[x.parentLocale]._config;else{if(null==(Z=Cs(x.parentLocale)))return Mr[x.parentLocale]||(Mr[x.parentLocale]=[]),Mr[x.parentLocale].push({name:E,config:x}),null;ue=Z._config}return _i[E]=new Gt(_t(ue,x)),Mr[E]&&Mr[E].forEach(function(Oe){Vr(Oe.name,Oe.config)}),As(E),_i[E]}return delete _i[E],null}function as(E){var x;if(E&&E._locale&&E._locale._abbr&&(E=E._locale._abbr),!E)return ur;if(!b(E)){if(x=Cs(E))return x;E=[E]}return function ro(E){for(var Z,ue,Oe,ut,x=0;x<E.length;){for(Z=(ut=er(E[x]).split("-")).length,ue=(ue=er(E[x+1]))?ue.split("-"):null;Z>0;){if(Oe=Cs(ut.slice(0,Z).join("-")))return Oe;if(ue&&ue.length>=Z&&Ia(ut,ue)>=Z-1)break;Z--}x++}return ur}(E)}function Hr(E){var x,Z=E._a;return Z&&-2===oe(E).overflow&&(x=Z[ni]<0||Z[ni]>11?ni:Z[ss]<1||Z[ss]>Fs(Z[rn],Z[ni])?ss:Z[on]<0||Z[on]>24||24===Z[on]&&(0!==Z[ge]||0!==Z[$n]||0!==Z[Dr])?on:Z[ge]<0||Z[ge]>59?ge:Z[$n]<0||Z[$n]>59?$n:Z[Dr]<0||Z[Dr]>999?Dr:-1,oe(E)._overflowDayOfYear&&(x<rn||x>ss)&&(x=ss),oe(E)._overflowWeeks&&-1===x&&(x=ar),oe(E)._overflowWeekday&&-1===x&&(x=to),oe(E).overflow=x),E}var Go=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Vo=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,tr=/Z|[+-]\d\d(?::?\d\d)?/,br=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],vr=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],wo=/^\/?Date\((-?\d+)/i,ta=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,pr={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function ii(E){var x,Z,ut,Bt,fn,Gn,ue=E._i,Oe=Go.exec(ue)||Vo.exec(ue);if(Oe){for(oe(E).iso=!0,x=0,Z=br.length;x<Z;x++)if(br[x][1].exec(Oe[1])){Bt=br[x][0],ut=!1!==br[x][2];break}if(null==Bt)return void(E._isValid=!1);if(Oe[3]){for(x=0,Z=vr.length;x<Z;x++)if(vr[x][1].exec(Oe[3])){fn=(Oe[2]||" ")+vr[x][0];break}if(null==fn)return void(E._isValid=!1)}if(!ut&&null!=fn)return void(E._isValid=!1);if(Oe[4]){if(!tr.exec(Oe[4]))return void(E._isValid=!1);Gn="Z"}E._f=Bt+(fn||"")+(Gn||""),z(E)}else E._isValid=!1}function Da(E){var x=parseInt(E,10);return x<=49?2e3+x:x<=999?1900+x:x}function qr(E){var Z,x=ta.exec(function cr(E){return E.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(E._i));if(x){if(Z=function oo(E,x,Z,ue,Oe,ut){var Bt=[Da(E),Be.indexOf(x),parseInt(Z,10),parseInt(ue,10),parseInt(Oe,10)];return ut&&Bt.push(parseInt(ut,10)),Bt}(x[4],x[3],x[2],x[5],x[6],x[7]),!function Wr(E,x,Z){return!E||$r.indexOf(E)===new Date(x[0],x[1],x[2]).getDay()||(oe(Z).weekdayMismatch=!0,Z._isValid=!1,!1)}(x[1],Z,E))return;E._a=Z,E._tzm=function Fr(E,x,Z){if(E)return pr[E];if(x)return 0;var ue=parseInt(Z,10),Oe=ue%100;return(ue-Oe)/100*60+Oe}(x[8],x[9],x[10]),E._d=ps.apply(null,E._a),E._d.setUTCMinutes(E._d.getUTCMinutes()-E._tzm),oe(E).rfc2822=!0}else E._isValid=!1}function lo(E,x,Z){return E??x??Z}function de(E){var x,Z,Oe,ut,Bt,ue=[];if(!E._d){for(Oe=function ko(E){var x=new Date(e.now());return E._useUTC?[x.getUTCFullYear(),x.getUTCMonth(),x.getUTCDate()]:[x.getFullYear(),x.getMonth(),x.getDate()]}(E),E._w&&null==E._a[ss]&&null==E._a[ni]&&function fe(E){var x,Z,ue,Oe,ut,Bt,fn,Gn,Kn;null!=(x=E._w).GG||null!=x.W||null!=x.E?(ut=1,Bt=4,Z=lo(x.GG,E._a[rn],Ds(ls(),1,4).year),ue=lo(x.W,1),((Oe=lo(x.E,1))<1||Oe>7)&&(Gn=!0)):(ut=E._locale._week.dow,Bt=E._locale._week.doy,Kn=Ds(ls(),ut,Bt),Z=lo(x.gg,E._a[rn],Kn.year),ue=lo(x.w,Kn.week),null!=x.d?((Oe=x.d)<0||Oe>6)&&(Gn=!0):null!=x.e?(Oe=x.e+ut,(x.e<0||x.e>6)&&(Gn=!0)):Oe=ut),ue<1||ue>Gi(Z,ut,Bt)?oe(E)._overflowWeeks=!0:null!=Gn?oe(E)._overflowWeekday=!0:(fn=Ni(Z,ue,Oe,ut,Bt),E._a[rn]=fn.year,E._dayOfYear=fn.dayOfYear)}(E),null!=E._dayOfYear&&(Bt=lo(E._a[rn],Oe[rn]),(E._dayOfYear>us(Bt)||0===E._dayOfYear)&&(oe(E)._overflowDayOfYear=!0),Z=ps(Bt,0,E._dayOfYear),E._a[ni]=Z.getUTCMonth(),E._a[ss]=Z.getUTCDate()),x=0;x<3&&null==E._a[x];++x)E._a[x]=ue[x]=Oe[x];for(;x<7;x++)E._a[x]=ue[x]=null==E._a[x]?2===x?1:0:E._a[x];24===E._a[on]&&0===E._a[ge]&&0===E._a[$n]&&0===E._a[Dr]&&(E._nextDay=!0,E._a[on]=0),E._d=(E._useUTC?ps:xi).apply(null,ue),ut=E._useUTC?E._d.getUTCDay():E._d.getDay(),null!=E._tzm&&E._d.setUTCMinutes(E._d.getUTCMinutes()-E._tzm),E._nextDay&&(E._a[on]=24),E._w&&typeof E._w.d<"u"&&E._w.d!==ut&&(oe(E).weekdayMismatch=!0)}}function z(E){if(E._f!==e.ISO_8601)if(E._f!==e.RFC_2822){E._a=[],oe(E).empty=!0;var Z,ue,Oe,ut,Bt,Kn,x=""+E._i,fn=x.length,Gn=0;for(Oe=jt(E._f,E._locale).match(ot)||[],Z=0;Z<Oe.length;Z++)(ue=(x.match(jn(ut=Oe[Z],E))||[])[0])&&((Bt=x.substr(0,x.indexOf(ue))).length>0&&oe(E).unusedInput.push(Bt),x=x.slice(x.indexOf(ue)+ue.length),Gn+=ue.length),He[ut]?(ue?oe(E).empty=!1:oe(E).unusedTokens.push(ut),zt(ut,ue,E)):E._strict&&!ue&&oe(E).unusedTokens.push(ut);oe(E).charsLeftOver=fn-Gn,x.length>0&&oe(E).unusedInput.push(x),E._a[on]<=12&&!0===oe(E).bigHour&&E._a[on]>0&&(oe(E).bigHour=void 0),oe(E).parsedDateParts=E._a.slice(0),oe(E).meridiem=E._meridiem,E._a[on]=function Ae(E,x,Z){var ue;return null==Z?x:null!=E.meridiemHour?E.meridiemHour(x,Z):(null!=E.isPM&&((ue=E.isPM(Z))&&x<12&&(x+=12),!ue&&12===x&&(x=0)),x)}(E._locale,E._a[on],E._meridiem),null!==(Kn=oe(E).era)&&(E._a[rn]=E._locale.erasConvertYear(Kn,E._a[rn])),de(E),Hr(E)}else qr(E);else ii(E)}function Ms(E){var x=E._i,Z=E._f;return E._locale=E._locale||as(E._l),null===x||void 0===Z&&""===x?Le({nullInput:!0}):("string"==typeof x&&(E._i=x=E._locale.preparse(x)),Te(x)?new _e(Hr(x)):(B(x)?E._d=x:b(Z)?function Ze(E){var x,Z,ue,Oe,ut,Bt,fn=!1;if(0===E._f.length)return oe(E).invalidFormat=!0,void(E._d=new Date(NaN));for(Oe=0;Oe<E._f.length;Oe++)ut=0,Bt=!1,x=K({},E),null!=E._useUTC&&(x._useUTC=E._useUTC),x._f=E._f[Oe],z(x),xe(x)&&(Bt=!0),ut+=oe(x).charsLeftOver,ut+=10*oe(x).unusedTokens.length,oe(x).score=ut,fn?ut<ue&&(ue=ut,Z=x):(null==ue||ut<ue||Bt)&&(ue=ut,Z=x,Bt&&(fn=!0));Y(E,Z||x)}(E):Z?z(E):function Lr(E){var x=E._i;M(x)?E._d=new Date(e.now()):B(x)?E._d=new Date(x.valueOf()):"string"==typeof x?function ao(E){var x=wo.exec(E._i);null===x?(ii(E),!1===E._isValid&&(delete E._isValid,qr(E),!1===E._isValid&&(delete E._isValid,E._strict?E._isValid=!1:e.createFromInputFallback(E)))):E._d=new Date(+x[1])}(E):b(x)?(E._a=G(x.slice(0),function(Z){return parseInt(Z,10)}),de(E)):y(x)?function In(E){if(!E._d){var x=Wt(E._i);E._a=G([x.year,x.month,void 0===x.day?x.date:x.day,x.hour,x.minute,x.second,x.millisecond],function(ue){return ue&&parseInt(ue,10)}),de(E)}}(E):$(x)?E._d=new Date(x):e.createFromInputFallback(E)}(E),xe(E)||(E._d=null),E))}function nr(E,x,Z,ue,Oe){var ut={};return(!0===x||!1===x)&&(ue=x,x=void 0),(!0===Z||!1===Z)&&(ue=Z,Z=void 0),(y(E)&&p(E)||b(E)&&0===E.length)&&(E=void 0),ut._isAMomentObject=!0,ut._useUTC=ut._isUTC=Oe,ut._l=Z,ut._i=E,ut._f=x,ut._strict=ue,function Jn(E){var x=new _e(Hr(Ms(E)));return x._nextDay&&(x.add(1,"d"),x._nextDay=void 0),x}(ut)}function ls(E,x,Z,ue){return nr(E,x,Z,ue,!1)}e.createFromInputFallback=ye("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(E){E._d=new Date(E._i+(E._useUTC?" UTC":""))}),e.ISO_8601=function(){},e.RFC_2822=function(){};var gl=ye("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var E=ls.apply(null,arguments);return this.isValid()&&E.isValid()?E<this?this:E:Le()}),Ca=ye("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var E=ls.apply(null,arguments);return this.isValid()&&E.isValid()?E>this?this:E:Le()});function na(E,x){var Z,ue;if(1===x.length&&b(x[0])&&(x=x[0]),!x.length)return ls();for(Z=x[0],ue=1;ue<x.length;++ue)(!x[ue].isValid()||x[ue][E](Z))&&(Z=x[ue]);return Z}var Xr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Sa(E){var x=Wt(E),Z=x.year||0,ue=x.quarter||0,Oe=x.month||0,ut=x.week||x.isoWeek||0,Bt=x.day||0,fn=x.hour||0,Gn=x.minute||0,Kn=x.second||0,uo=x.millisecond||0;this._isValid=function bl(E){var x,ue,Z=!1;for(x in E)if(S(E,x)&&(-1===Ci.call(Xr,x)||null!=E[x]&&isNaN(E[x])))return!1;for(ue=0;ue<Xr.length;++ue)if(E[Xr[ue]]){if(Z)return!1;parseFloat(E[Xr[ue]])!==Yt(E[Xr[ue]])&&(Z=!0)}return!0}(x),this._milliseconds=+uo+1e3*Kn+6e4*Gn+1e3*fn*60*60,this._days=+Bt+7*ut,this._months=+Oe+3*ue+12*Z,this._data={},this._locale=as(),this._bubble()}function sa(E){return E instanceof Sa}function Pr(E){return E<0?-1*Math.round(-1*E):Math.round(E)}function ja(E,x){Ve(E,0,0,function(){var Z=this.utcOffset(),ue="+";return Z<0&&(Z=-Z,ue="-"),ue+Ie(~~(Z/60),2)+x+Ie(~~Z%60,2)})}ja("Z",":"),ja("ZZ",""),me("Z",Ue),me("ZZ",Ue),Xt(["Z","ZZ"],function(E,x,Z){Z._useUTC=!0,Z._tzm=ai(Ue,E)});var Ra=/([\+\-]|\d\d)/gi;function ai(E,x){var Oe,ut,Z=(x||"").match(E);return null===Z?null:0===(ut=60*(Oe=((Z[Z.length-1]||[])+"").match(Ra)||["-",0,0])[1]+Yt(Oe[2]))?0:"+"===Oe[0]?ut:-ut}function xs(E,x){var Z,ue;return x._isUTC?(Z=x.clone(),ue=(Te(E)||B(E)?E.valueOf():ls(E).valueOf())-Z.valueOf(),Z._d.setTime(Z._d.valueOf()+ue),e.updateOffset(Z,!1),Z):ls(E).local()}function fs(E){return-Math.round(E._d.getTimezoneOffset())}function nt(){return!!this.isValid()&&this._isUTC&&0===this._offset}e.updateOffset=function(){};var rt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,St=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function kt(E,x){var Oe,ut,Bt,Z=E,ue=null;return sa(E)?Z={ms:E._milliseconds,d:E._days,M:E._months}:$(E)||!isNaN(+E)?(Z={},x?Z[x]=+E:Z.milliseconds=+E):(ue=rt.exec(E))?(Oe="-"===ue[1]?-1:1,Z={y:0,d:Yt(ue[ss])*Oe,h:Yt(ue[on])*Oe,m:Yt(ue[ge])*Oe,s:Yt(ue[$n])*Oe,ms:Yt(Pr(1e3*ue[Dr]))*Oe}):(ue=St.exec(E))?Z={y:dn(ue[2],Oe="-"===ue[1]?-1:1),M:dn(ue[3],Oe),w:dn(ue[4],Oe),d:dn(ue[5],Oe),h:dn(ue[6],Oe),m:dn(ue[7],Oe),s:dn(ue[8],Oe)}:null==Z?Z={}:"object"==typeof Z&&("from"in Z||"to"in Z)&&(Bt=function Ei(E,x){var Z;return E.isValid()&&x.isValid()?(x=xs(x,E),E.isBefore(x)?Z=pn(E,x):((Z=pn(x,E)).milliseconds=-Z.milliseconds,Z.months=-Z.months),Z):{milliseconds:0,months:0}}(ls(Z.from),ls(Z.to)),(Z={}).ms=Bt.milliseconds,Z.M=Bt.months),ut=new Sa(Z),sa(E)&&S(E,"_locale")&&(ut._locale=E._locale),sa(E)&&S(E,"_isValid")&&(ut._isValid=E._isValid),ut}function dn(E,x){var Z=E&&parseFloat(E.replace(",","."));return(isNaN(Z)?0:Z)*x}function pn(E,x){var Z={};return Z.months=x.month()-E.month()+12*(x.year()-E.year()),E.clone().add(Z.months,"M").isAfter(x)&&--Z.months,Z.milliseconds=+x-+E.clone().add(Z.months,"M"),Z}function si(E,x){return function(Z,ue){var ut;return null!==ue&&!isNaN(+ue)&&(X(x,"moment()."+x+"(period, number) is deprecated. Please use moment()."+x+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),ut=Z,Z=ue,ue=ut),xn(this,kt(Z,ue),E),this}}function xn(E,x,Z,ue){var Oe=x._milliseconds,ut=Pr(x._days),Bt=Pr(x._months);E.isValid()&&(ue=ue??!0,Bt&&Cn(E,Yn(E,"Month")+Bt*Z),ut&&vi(E,"Date",Yn(E,"Date")+ut*Z),Oe&&E._d.setTime(E._d.valueOf()+Oe*Z),ue&&e.updateOffset(E,ut||Bt))}kt.fn=Sa.prototype,kt.invalid=function Hi(){return kt(NaN)};var zn=si(1,"add"),Ki=si(-1,"subtract");function _s(E){return"string"==typeof E||E instanceof String}function Us(E){return Te(E)||B(E)||_s(E)||$(E)||function Ji(E){var x=b(E),Z=!1;return x&&(Z=0===E.filter(function(ue){return!$(ue)&&_s(E)}).length),x&&Z}(E)||function Gs(E){var Oe,x=y(E)&&!p(E),Z=!1,ue=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(Oe=0;Oe<ue.length;Oe+=1)Z=Z||S(E,ue[Oe]);return x&&Z}(E)||null==E}function bn(E,x){if(E.date()<x.date())return-bn(x,E);var Z=12*(x.year()-E.year())+(x.month()-E.month()),ue=E.clone().add(Z,"months");return-(Z+(x-ue<0?(x-ue)/(ue-E.clone().add(Z-1,"months")):(x-ue)/(E.clone().add(Z+1,"months")-ue)))||0}function Lt(E){var x;return void 0===E?this._locale._abbr:(null!=(x=as(E))&&(this._locale=x),this)}e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var vn=ye("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(E){return void 0===E?this.localeData():this.locale(E)});function di(){return this._locale}var qn=6e4,Bn=60*qn,Wi=3506328*Bn;function Ii(E,x){return(E%x+x)%x}function bs(E,x,Z){return E<100&&E>=0?new Date(E+400,x,Z)-Wi:new Date(E,x,Z).valueOf()}function wi(E,x,Z){return E<100&&E>=0?Date.UTC(E+400,x,Z)-Wi:Date.UTC(E,x,Z)}function Xo(E,x){return x.erasAbbrRegex(E)}function Tr(){var Oe,ut,E=[],x=[],Z=[],ue=[],Bt=this.eras();for(Oe=0,ut=Bt.length;Oe<ut;++Oe)x.push(Ye(Bt[Oe].name)),E.push(Ye(Bt[Oe].abbr)),Z.push(Ye(Bt[Oe].narrow)),ue.push(Ye(Bt[Oe].name)),ue.push(Ye(Bt[Oe].abbr)),ue.push(Ye(Bt[Oe].narrow));this._erasRegex=new RegExp("^("+ue.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+x.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+E.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+Z.join("|")+")","i")}function zo(E,x){Ve(0,[E,E.length],0,x)}function No(E,x,Z,ue,Oe){var ut;return null==E?Ds(this,ue,Oe).year:(x>(ut=Gi(E,ue,Oe))&&(x=ut),nl.call(this,E,x,Z,ue,Oe))}function nl(E,x,Z,ue,Oe){var ut=Ni(E,x,Z,ue,Oe),Bt=ps(ut.year,0,ut.dayOfYear);return this.year(Bt.getUTCFullYear()),this.month(Bt.getUTCMonth()),this.date(Bt.getUTCDate()),this}Ve("N",0,0,"eraAbbr"),Ve("NN",0,0,"eraAbbr"),Ve("NNN",0,0,"eraAbbr"),Ve("NNNN",0,0,"eraName"),Ve("NNNNN",0,0,"eraNarrow"),Ve("y",["y",1],"yo","eraYear"),Ve("y",["yy",2],0,"eraYear"),Ve("y",["yyy",3],0,"eraYear"),Ve("y",["yyyy",4],0,"eraYear"),me("N",Xo),me("NN",Xo),me("NNN",Xo),me("NNNN",function li(E,x){return x.erasNameRegex(E)}),me("NNNNN",function Ps(E,x){return x.erasNarrowRegex(E)}),Xt(["N","NN","NNN","NNNN","NNNNN"],function(E,x,Z,ue){var Oe=Z._locale.erasParse(E,ue,Z._strict);Oe?oe(Z).era=Oe:oe(Z).invalidEra=E}),me("y",C),me("yy",C),me("yyy",C),me("yyyy",C),me("yo",function ka(E,x){return x._eraYearOrdinalRegex||C}),Xt(["y","yy","yyy","yyyy"],rn),Xt(["yo"],function(E,x,Z,ue){var Oe;Z._locale._eraYearOrdinalRegex&&(Oe=E.match(Z._locale._eraYearOrdinalRegex)),x[rn]=Z._locale.eraYearOrdinalParse?Z._locale.eraYearOrdinalParse(E,Oe):parseInt(E,10)}),Ve(0,["gg",2],0,function(){return this.weekYear()%100}),Ve(0,["GG",2],0,function(){return this.isoWeekYear()%100}),zo("gggg","weekYear"),zo("ggggg","weekYear"),zo("GGGG","isoWeekYear"),zo("GGGGG","isoWeekYear"),Ft("weekYear","gg"),Ft("isoWeekYear","GG"),Sn("weekYear",1),Sn("isoWeekYear",1),me("G",U),me("g",U),me("GG",_n,Pn),me("gg",_n,Pn),me("GGGG",Me,ji),me("gggg",Me,ji),me("GGGGG",Fe,ti),me("ggggg",Fe,ti),Nn(["gggg","ggggg","GGGG","GGGGG"],function(E,x,Z,ue){x[ue.substr(0,2)]=Yt(E)}),Nn(["gg","GG"],function(E,x,Z,ue){x[ue]=e.parseTwoDigitYear(E)}),Ve("Q",0,"Qo","quarter"),Ft("quarter","Q"),Sn("quarter",7),me("Q",hs),Xt("Q",function(E,x){x[ni]=3*(Yt(E)-1)}),Ve("D",["DD",2],"Do","date"),Ft("date","D"),Sn("date",9),me("D",_n),me("DD",_n,Pn),me("Do",function(E,x){return E?x._dayOfMonthOrdinalParse||x._ordinalParse:x._dayOfMonthOrdinalParseLenient}),Xt(["D","DD"],ss),Xt("Do",function(E,x){x[ss]=Yt(E.match(_n)[0])});var Tl=Oi("Date",!0);Ve("DDD",["DDDD",3],"DDDo","dayOfYear"),Ft("dayOfYear","DDD"),Sn("dayOfYear",4),me("DDD",Yi),me("DDDD",mn),Xt(["DD
1D","DDDD"],function(E,x,Z){Z._dayOfYear=Yt(E)}),Ve("m",["mm",2],0,"minute"),Ft("minute","m"),Sn("minute",14),me("m",_n),me("mm",_n,Pn),Xt(["m","mm"],ge);var Zl=Oi("Minutes",!1);Ve("s",["ss",2],0,"second"),Ft("second","s"),Sn("second",15),me("s",_n),me("ss",_n,Pn),Xt(["s","ss"],$n);var Ko,ec,Fl=Oi("Seconds",!1);for(Ve("S",0,0,function(){return~~(this.millisecond()/100)}),Ve(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Ve(0,["SSS",3],0,"millisecond"),Ve(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Ve(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Ve(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Ve(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Ve(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Ve(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Ft("millisecond","ms"),Sn("millisecond",16),me("S",Yi,hs),me("SS",Yi,Pn),me("SSS",Yi,mn),Ko="SSSS";Ko.length<=9;Ko+="S")me(Ko,C);function Oo(E,x){x[Dr]=Yt(1e3*("0."+E))}for(Ko="S";Ko.length<=9;Ko+="S")Xt(Ko,Oo);ec=Oi("Milliseconds",!1),Ve("z",0,0,"zoneAbbr"),Ve("zz",0,0,"zoneName");var en=_e.prototype;function Ll(E){return E}en.add=zn,en.calendar=function Fi(E,x){1===arguments.length&&(arguments[0]?Us(arguments[0])?(E=arguments[0],x=void 0):function ir(E){var Oe,x=y(E)&&!p(E),Z=!1,ue=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(Oe=0;Oe<ue.length;Oe+=1)Z=Z||S(E,ue[Oe]);return x&&Z}(arguments[0])&&(x=arguments[0],E=void 0):(E=void 0,x=void 0));var Z=E||ls(),ue=xs(Z,this).startOf("day"),Oe=e.calendarFormat(this,ue)||"sameElse",ut=x&&(Ne(x[Oe])?x[Oe].call(this,Z):x[Oe]);return this.format(ut||this.localeData().calendar(Oe,this,ls(Z)))},en.clone=function yr(){return new _e(this)},en.diff=function Ho(E,x,Z){var ue,Oe,ut;if(!this.isValid())return NaN;if(!(ue=xs(E,this)).isValid())return NaN;switch(Oe=6e4*(ue.utcOffset()-this.utcOffset()),x=qt(x)){case"year":ut=bn(this,ue)/12;break;case"month":ut=bn(this,ue);break;case"quarter":ut=bn(this,ue)/3;break;case"second":ut=(this-ue)/1e3;break;case"minute":ut=(this-ue)/6e4;break;case"hour":ut=(this-ue)/36e5;break;case"day":ut=(this-ue-Oe)/864e5;break;case"week":ut=(this-ue-Oe)/6048e5;break;default:ut=this-ue}return Z?ut:fi(ut)},en.endOf=function Mn(E){var x,Z;if(void 0===(E=qt(E))||"millisecond"===E||!this.isValid())return this;switch(Z=this._isUTC?wi:bs,E){case"year":x=Z(this.year()+1,0,1)-1;break;case"quarter":x=Z(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":x=Z(this.year(),this.month()+1,1)-1;break;case"week":x=Z(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":x=Z(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":x=Z(this.year(),this.month(),this.date()+1)-1;break;case"hour":x=this._d.valueOf(),x+=Bn-Ii(x+(this._isUTC?0:this.utcOffset()*qn),Bn)-1;break;case"minute":x=this._d.valueOf(),x+=qn-Ii(x,qn)-1;break;case"second":x=this._d.valueOf(),x+=1e3-Ii(x,1e3)-1}return this._d.setTime(x),e.updateOffset(this,!0),this},en.format=function be(E){E||(E=this.isUtc()?e.defaultFormatUtc:e.defaultFormat);var x=wt(this,E);return this.localeData().postformat(x)},en.from=function J(E,x){return this.isValid()&&(Te(E)&&E.isValid()||ls(E).isValid())?kt({to:this,from:E}).locale(this.locale()).humanize(!x):this.localeData().invalidDate()},en.fromNow=function ce(E){return this.from(ls(),E)},en.to=function Xe(E,x){return this.isValid()&&(Te(E)&&E.isValid()||ls(E).isValid())?kt({from:this,to:E}).locale(this.locale()).humanize(!x):this.localeData().invalidDate()},en.toNow=function Et(E){return this.to(ls(),E)},en.get=function yi(E){return Ne(this[E=qt(E)])?this[E]():this},en.invalidAt=function Qn(){return oe(this).overflow},en.isAfter=function Ao(E,x){var Z=Te(E)?E:ls(E);return!(!this.isValid()||!Z.isValid())&&("millisecond"===(x=qt(x)||"millisecond")?this.valueOf()>Z.valueOf():Z.valueOf()<this.clone().startOf(x).valueOf())},en.isBefore=function mr(E,x){var Z=Te(E)?E:ls(E);return!(!this.isValid()||!Z.isValid())&&("millisecond"===(x=qt(x)||"millisecond")?this.valueOf()<Z.valueOf():this.clone().endOf(x).valueOf()<Z.valueOf())},en.isBetween=function gs(E,x,Z,ue){var Oe=Te(E)?E:ls(E),ut=Te(x
vendor: 24,936 bytes, line 1
1)?x:ls(x);return!!(this.isValid()&&Oe.isValid()&&ut.isValid())&&("("===(ue=ue||"()")[0]?this.isAfter(Oe,Z):!this.isBefore(Oe,Z))&&(")"===ue[1]?this.isBefore(ut,Z):!this.isAfter(ut,Z))},en.isSame=function Ns(E,x){var ue,Z=Te(E)?E:ls(E);return!(!this.isValid()||!Z.isValid())&&("millisecond"===(x=qt(x)||"millisecond")?this.valueOf()===Z.valueOf():(ue=Z.valueOf(),this.clone().startOf(x).valueOf()<=ue&&ue<=this.clone().endOf(x).valueOf()))},en.isSameOrAfter=function co(E,x){return this.isSame(E,x)||this.isAfter(E,x)},en.isSameOrBefore=function ra(E,x){return this.isSame(E,x)||this.isBefore(E,x)},en.isValid=function sr(){return xe(this)},en.lang=vn,en.locale=Lt,en.localeData=di,en.max=Ca,en.min=gl,en.parsingFlags=function Sr(){return Y({},oe(this))},en.set=function Dn(E,x){if("object"==typeof E){var ue,Z=function Zt(E){var Z,x=[];for(Z in E)S(E,Z)&&x.push({unit:Z,priority:En[Z]});return x.sort(function(ue,Oe){return ue.priority-Oe.priority}),x}(E=Wt(E));for(ue=0;ue<Z.length;ue++)this[Z[ue].unit](E[Z[ue].unit])}else if(Ne(this[E=qt(E)]))return this[E](x);return this},en.startOf=function Qt(E){var x,Z;if(void 0===(E=qt(E))||"millisecond"===E||!this.isValid())return this;switch(Z=this._isUTC?wi:bs,E){case"year":x=Z(this.year(),0,1);break;case"quarter":x=Z(this.year(),this.month()-this.month()%3,1);break;case"month":x=Z(this.year(),this.month(),1);break;case"week":x=Z(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":x=Z(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":x=Z(this.year(),this.month(),this.date());break;case"hour":x=this._d.valueOf(),x-=Ii(x+(this._isUTC?0:this.utcOffset()*qn),Bn);break;case"minute":x=this._d.valueOf(),x-=Ii(x,qn);break;case"second":x=this._d.valueOf(),x-=Ii(x,1e3)}return this._d.setTime(x),e.updateOffset(this,!0),this},en.subtract=Ki,en.toArray=function Hs(){var E=this;return[E.year(),E.month(),E.date(),E.hour(),E.minute(),E.second(),E.millisecond()]},en.toObject=function Js(){var E=this;return{years:E.year(),months:E.month(),date:E.date(),hours:E.hours(),minutes:E.minutes(),seconds:E.seconds(),milliseconds:E.milliseconds()}},en.toDate=function Rs(){return new Date(this.valueOf())},en.toISOString=function Rn(E){if(!this.isValid())return null;var x=!0!==E,Z=x?this.clone().utc():this;return Z.year()<0||Z.year()>9999?wt(Z,x?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Ne(Date.prototype.toISOString)?x?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",wt(Z,"Z")):wt(Z,x?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},en.inspect=function F(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var Z,ue,E="moment",x="";return this.isLocal()||(E=0===this.utcOffset()?"moment.utc":"moment.parseZone",x="Z"),Z="["+E+'("]',ue=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(Z+ue+"-MM-DD[T]HH:mm:ss.SSS"+x+'[")]')},typeof Symbol<"u"&&null!=Symbol.for&&(en[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),en.toJSON=function Ts(){return this.isValid()?this.toISOString():null},en.toString=function Fn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},en.unix=function Vs(){return Math.floor(this.valueOf()/1e3)},en.valueOf=function Si(){return this._d.valueOf()-6e4*(this._offset||0)},en.creationData=function Ya(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},en.eraName=function yl(){var E,x,Z,ue=this.localeData().eras();for(E=0,x=ue.length;E<x;++E)if(Z=this.clone().startOf("day").valueOf(),ue[E].since<=Z&&Z<=ue[E].until||ue[E].until<=Z&&Z<=ue[E].since)return ue[E].name;return""},en.eraNarrow=function wa(){var E,x,Z,ue=this.localeData().eras();for(E=0,x=ue.length;E<x;++E)if(Z=this.clone().startOf("day").valueOf(),ue[E].since<=Z&&Z<=ue[E].until||ue[E].until<=Z&&Z<=ue[E].since)return ue[E].narrow;return""},en.eraAbbr=function qo(){var E,x,Z,ue=this.localeData().eras();for(E=0,x=ue.length;E<x;++E)if(Z=this.clone().startOf("day").valueOf(),ue[E].since<=Z&&Z<=ue[E].until||ue[E].until<=Z&&Z<=ue[E].since)return ue[E].abbr;return""},en.eraYear=function Ol(){var E,x,Z,ue,Oe=this.localeData().eras();for(E=0,x=Oe.length;E<x;++E)if(Z=Oe[E].since<=Oe[E].until?1:-1,ue=this.clone().startOf("day").valueOf(),Oe[E].since<=ue&&ue<=Oe[E].until||Oe[E].until<=ue&&ue<=Oe[E].since)return(this.year()-e(Oe[E].since).year())*Z+Oe[E].offset;return this.year()},en.year=Hn,en.isLeapYear=function gn(){return An(this.year())},en.weekYear=function xo(E){return No.call(this,E,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},en.isoWeekYear=function Os(E){return No.call(this,E,this.isoWeek(),this.isoWeekday(),1,4)},en.quarter=en.quarters=function _o(E){return null==E?Math.ceil((this.month()+1)/3):this.month(3*(E-1)+this.month()%3)},en.month=mi,en.daysInMonth=function Es(){return Fs(this.year(),this.month())},en.week=en.weeks=function To(E){var x=this.localeData().week(this);return null==E?x:this.add(7*(E-x),"d")},en.isoWeek=en.isoWeeks=function Io(E){var x=Ds(this,1,4).week;return null==E?x:this.add(7*(E-x),"d")},en.weeksInYear=function ci(){var E=this.localeData()._week;return Gi(this.year(),E.dow,E.doy)},en.weeksInWeekYear=function Ql(){var E=this.localeData()._week;return Gi(this.weekYear(),E.dow,E.doy)},en.isoWeeksInYear=function oa(){return Gi(this.year(),1,4)},en.isoWeeksInISOWeekYear=function vs(){return Gi(this.isoWeekYear(),1,4)},en.date=Tl,en.day=en.days=function Mo(E){if(!this.isValid())return null!=E?this:NaN;var x=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=E?(E=function Ea(E,x){return"string"!=typeof E?E:isNaN(E)?"number"==typeof(E=x.weekdaysParse(E))?E:null:parseInt(E,10)}(E,this.localeData()),this.add(E-x,"d")):x},en.weekday=function $o(E){if(!this.isValid())return null!=E?this:NaN;var x=(this.day()+7-this.localeData()._week.dow)%7;return null==E?x:this.add(E-x,"d")},en.isoWeekday=function ms(E){if(!this.isValid())return null!=E?this:NaN;if(null!=E){var x=function Do(E,x){return"string"==typeof E?x.weekdaysParse(E)%7||7:isNaN(E)?null:E}(E,this.localeData());return this.day(this.day()%7?x:x-7)}return this.day()||7},en.dayOfYear=function dd(E){var x=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==E?x:this.add(E-x,"d")},en.hour=en.hours=Or,en.minute=en.minutes=Zl,en.second=en.seconds=Fl,en.millisecond=en.milliseconds=ec,en.utcOffset=function hr(E,x,Z){var Oe,ue=this._offset||0;if(!this.isValid())return null!=E?this:NaN;if(null!=E){if("string"==typeof E){if(null===(E=ai(Ue,E)))return this}else Math.abs(E)<16&&!Z&&(E*=60);return!this._isUTC&&x&&(Oe=fs(this)),this._offset=E,this._isUTC=!0,null!=Oe&&this.add(Oe,"m"),ue!==E&&(!x||this._changeInProgress?xn(this,kt(E-ue,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?ue:fs(this)},en.utc=function Nl(E){return this.utcOffset(0,E)},en.local=function Ba(E){return this._isUTC&&(this.utcOffset(0,E),this._isUTC=!1,E&&this.subtract(fs(this),"m")),this},en.parseZone=function we(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var E=ai(he,this._i);null!=E?this.utcOffset(E):this.utcOffset(0,!0)}return this},en.hasAlignedHourOffset=function N(E){return!!this.isValid()&&(E=E?ls(E).utcOffset():0,(this.utcOffset()-E)%60==0)},en.isDST=function j(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},en.isLocal=function De(){return!!this.isValid()&&!this._isUTC},en.isUtcOffset=function $e(){return!!this.isValid()&&this._isUTC},en.isUtc=nt,en.isUTC=nt,en.zoneAbbr=function ud(){return this._isUTC?"UTC":""},en.zoneName=function tc(){return this._isUTC?"Coordinated Universal Time":""},en.dates=ye("dates accessor is deprecated. Use date instead.",Tl),en.months=ye("months accessor is deprecated. Use month instead",mi),en.years=ye("years accessor is deprecated. Use year instead",Hn),en.zone=ye("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function Ss(E,x){return null!=E?("string"!=typeof E&&(E=-E),this.utcOffset(E,x),this):-this.utcOffset()}),en.isDSTShifted=ye("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function te(){if(!M(this._isDSTShifted))return this._isDSTShifted;var x,E={};return K(E,this),(E=Ms(E))._a?(x=E._isUTC?q(E._a):ls(E._a),this._isDSTShifted=this.isValid()&&function tl(E,x,Z){var Bt,ue=Math.min(E.length,x.length),Oe=Math.abs(E.length-x.length),ut=0;for(Bt=0;Bt<ue;Bt++)(Z&&E[Bt]!==x[Bt]||!Z&&Yt(E[Bt])!==Yt(x[Bt]))&&ut++;return ut+Oe}(E._a,x.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted});var qi=Gt.prototype;function cs(E,x,Z,ue){var Oe=as(),ut=q().set(ue,x);return Oe[Z](ut,E)}function hd(E,x,Z){if($(E)&&(x=E,E=void 0),E=E||"",null!=x)return cs(E,x,Z,"month");var ue,Oe=[];for(ue=0;ue<12;ue++)Oe[ue]=cs(E,ue,Z,"month");return Oe}function Ac(E,x,Z,ue){"boolean"==typeof E?($(x)&&(Z=x,x=void 0),x=x||""):(Z=x=E,E=!1,$(x)&&(Z=x,x=void 0),x=x||"");var Bt,Oe=as(),ut=E?Oe._week.dow:0,fn=[];if(null!=Z)return cs(x,(Z+ut)%7,ue,"day");for(Bt=0;Bt<7;Bt++)fn[Bt]=cs(x,(Bt+ut)%7,ue,"day");return fn}qi.calendar=function et(E,x,Z){var ue=this._calendar[E]||this._calendar.sameElse;return Ne(ue)?ue.call(x,Z):ue},qi.longDateFormat=function Ln(E){var x=this._longDateFormat[E],Z=this._longDateFormat[E.toUpperCase()];return x||!Z?x:(this._longDateFormat[E]=Z.match(ot).map(function(ue){return"MMMM"===ue||"MM"===ue||"DD"===ue||"dddd"===ue?ue.slice(1):ue}).join(""),this._longDateFormat[E])},qi.invalidDate=function mt(){return this._invalidDate},qi.ordinal=function Ee(E){return this._ordinal.replace("%d",E)},qi.preparse=Ll,qi.postformat=Ll,qi.relativeTime=function bt(E,x,Z,ue){var Oe=this._relativeTime[Z];return Ne(Oe)?Oe(E,x,Z,ue):Oe.replace(/%d/i,E)},qi.pastFuture=function Je(E,x){var Z=this._relativeTime[E>0?"future":"past"];return Ne(Z)?Z(x):Z.replace(/%s/i,x)},qi.set=function ft(E){var x,Z;for(Z in E)S(E,Z)&&(Ne(x=E[Z])?this[Z]=x:this["_"+Z]=x);this._config=E,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},qi.eras=function vl(E,x){var Z,ue,Oe,ut=this._eras||as("en")._eras;for(Z=0,ue=ut.length;Z<ue;++Z)switch("string"==typeof ut[Z].since&&(Oe=e(ut[Z].since).startOf("day"),ut[Z].since=Oe.valueOf()),typeof ut[Z].until){case"undefined":ut[Z].until=1/0;break;case"string":Oe=e(ut[Z].until).startOf("day").valueOf(),ut[Z].until=Oe.valueOf()}return ut},qi.erasParse=function Wo(E,x,Z){var ue,Oe,Bt,fn,Gn,ut=this.eras();for(E=E.toUpperCase(),ue=0,Oe=ut.length;ue<Oe;++ue)if(Bt=ut[ue].name.toUpperCase(),fn=ut[ue].abbr.toUpperCase(),Gn=ut[ue].narrow.toUpperCase(),Z)switch(x){case"N":case"NN":case"NNN":if(fn===E)return ut[ue];break;case"NNNN":if(Bt===E)return ut[ue];break;case"NNNNN":if(Gn===E)return ut[ue]}else if([Bt,fn,Gn].indexOf(E)>=0)return ut[ue]},qi.erasConvertYear=function Is(E,x){var Z=E.since<=E.until?1:-1;return void 0===x?e(E.since).year():e(E.since).year()+(x-E.offset)*Z},qi.erasAbbrRegex=function Er(E){return S(this,"_erasAbbrRegex")||Tr.call(this),E?this._erasAbbrRegex:this._erasRegex},qi.erasNameRegex=function Jl(E){return S(this,"_erasNameRegex")||Tr.call(this),E?this._erasNameRegex:this._erasRegex},qi.erasNarrowRegex=function El(E){return S(this,"_erasNarrowRegex")||Tr.call(this),E?this._erasNarrowRegex:this._erasRegex},qi.months=function Mt(E,x){return E?b(this._months)?this._months[E.month()]:this._months[(this._months.isFormat||Qe).test(x)?"format":"standalone"][E.month()]:b(this._months)?this._months:this._months.standalone},qi.monthsShort=function nn(E,x){return E?b(this._monthsShort)?this._monthsShort[E.month()]:this._monthsShort[Qe.test(x)?"format":"standalone"][E.month()]:b(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},qi.monthsParse=function Wn(E,x,Z){var ue,Oe,ut;if(this._monthsParseExact)return sn.call(this,E,x,Z);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),ue=0;ue<12;ue++){if(Oe=q([2e3,ue]),Z&&!this._longMonthsParse[ue]&&(this._longMonthsParse[ue]=new RegExp("^"+this.months(Oe,"").replace(".","")+"$","i"),this._shortMonthsParse[ue]=new RegExp("^"+this.monthsShort(Oe,"").replace(".","")+"$","i")),!Z&&!this._monthsParse[ue]&&(ut="^"+this.months(Oe,"")+"|^"+this.monthsShort(Oe,""),this._monthsParse[ue]=new RegExp(ut.replace(".",""),"i")),Z&&"MMMM"===x&&this._longMonthsParse[ue].test(E))return ue;if(Z&&"MMM"===x&&this._shortMonthsParse[ue].test(E))return ue;if(!Z&&this._monthsParse[ue].test(E))return ue}},qi.monthsRegex=function rs(E){return this._monthsParseExact?(S(this,"_monthsRegex")||zs.call(this),E?this._monthsStrictRegex:this._monthsRegex):(S(this,"_monthsRegex")||(this._monthsRegex=Nt),this._monthsStrictRegex&&E?this._monthsStrictRegex:this._monthsRegex)},qi.monthsShortRegex=function bi(E){return this._monthsParseExact?(S(this,"_monthsRegex")||zs.call(this),E?this._monthsShortStrictRegex:this._monthsShortRegex):(S(this,"_monthsShortRegex")||(this._monthsShortRegex=tt),this._monthsShortStrictRegex&&E?this._monthsShortStrictRegex:this._monthsShortRegex)},qi.week=function On(E){return Ds(E,this._week.dow,this._week.doy).week},qi.firstDayOfYear=function Zs(){return this._week.doy},qi.firstDayOfWeek=function ya(){return this._week.dow},qi.weekdays=function gr(E,x){var Z=b(this._weekdays)?this._weekdays:this._weekdays[E&&!0!==E&&this._weekdays.isFormat.test(x)?"format":"standalone"];return!0===E?oi(Z,this._week.dow):E?Z[E.day()]:Z},qi.weekdaysMin=function Nr(E){return!0===E?oi(this._weekdaysMin,this._week.dow):E?this._weekdaysMin[E.day()]:this._weekdaysMin},qi.weekdaysShort=function Co(E){return!0===E?oi(this._weekdaysShort,this._week.dow):E?this._weekdaysShort[E.day()]:this._weekdaysShort},qi.weekdaysParse=function no(E,x,Z){var ue,Oe,ut;if(this._weekdaysParseExact)return fo.call(this,E,x,Z);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),ue=0;ue<7;ue++){if(Oe=q([2e3,1]).day(ue),Z&&!this._fullWeekdaysParse[ue]&&(this._fullWeekdaysParse[ue]=new RegExp("^"+this.weekdays(Oe,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[ue]=new RegExp("^"+this.weekdaysShort(Oe,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[ue]=new RegExp("^"+this.weekdaysMin(Oe,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[ue]||(ut="^"+this.weekdays(Oe,"")+"|^"+this.weekdaysShort(Oe,"")+"|^"+this.weekdaysMin(Oe,""),this._weekdaysParse[ue]=new RegExp(ut.replace(".",""),"i")),Z&&"dddd"===x&&this._fullWeekdaysParse[ue].test(E))return ue;if(Z&&"ddd"===x&&this._shortWeekdaysParse[ue].test(E))return ue;if(Z&&"dd"===x&&this._minWeekdaysParse[ue].test(E))return ue;if(!Z&&this._weekdaysParse[ue].test(E))return ue}},qi.weekdaysRegex=function Ur(E){return this._weekdaysParseExact?(S(this,"_weekdaysRegex")||os.call(this),E?this._weekdaysStrictRegex:this._weekdaysRegex):(S(this,"_weekdaysRegex")||(this._weekdaysRegex=Ta),this._weekdaysStrictRegex&&E?this._weekdaysStrictRegex:this._weekdaysRegex)},qi.weekdaysShortRegex=function lr(E){return this._weekdaysParseExact?(S(this,"_weekdaysRegex")||os.call(this),E?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(S(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Bo),this._weekdaysShortStrictRegex&&E?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},qi.weekdaysMinRegex=function Uo(E){return this._weekdaysParseExact?(S(this,"_weekdaysRegex")||os.call(this),E?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(S(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Yo),this._weekdaysMinStrictRegex&&E?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},qi.isPM=function $s(E){return"p"===(E+"").toLowerCase().charAt(0)},qi.meridiem=function so(E,x,Z){return E>11?Z?"pm":"PM":Z?"am":"AM"},As("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(E){var x=E%10;return E+(1===Yt(E%100/10)?"th":1===x?"st":2===x?"nd":3===x?"rd":"th")}}),e.lang=ye("moment.lang is deprecated. Use moment.locale instead.",As),e.langData=ye("moment.langData is deprecated. Use moment.localeData instead.",as);var ae=Math.abs;function ze(E,x,Z,ue){var Oe=kt(x,Z);return E._milliseconds+=ue*Oe._milliseconds,E._days+=ue*Oe._days,E._months+=ue*Oe._months,E._bubble()}function an(E){return E<0?Math.floor(E):Math.ceil(E)}function hi(E){return 4800*E/146097}function js(E){return 146097*E/4800}function zr(E){return function(){return this.as(E)}}var il=zr("ms"),Aa=zr("s"),aa=zr("m"),md=zr("h"),xc=zr("d"),fd=zr("w"),_d=zr("M"),gd=zr("Q"),$i=zr("y");function rr(E){return function(){return this.isValid()?this._data[E]:NaN}}var bd=rr("milliseconds"),rl=rr("seconds"),ol=rr("minutes"),Fo=rr("hours"),Xp=rr("days"),Oc=rr("months"),Du=rr("years");var xa=Math.round,Pl={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Cu(E,x,Z,ue,Oe){return Oe.relativeTime(x||1,!!Z,E,ue)}var ic=Math.abs;function Po(E){return(E>0)-(E<0)||+E}function ei(){if(!this.isValid())return this.localeData().invalidDate();var ue,Oe,ut,Bt,Gn,Kn,uo,Pt,E=ic(this._milliseconds)/1e3,x=ic(this._days),Z=ic(this._months),fn=this.asSeconds();return fn?(ue=fi(E/60),Oe=fi(ue/60),E%=60,ue%=60,ut=fi(Z/12),Z%=12,Bt=E?E.toFixed(3).replace(/\.?0+$/,""):"",Gn=fn<0?"-":"",Kn=Po(this._months)!==Po(fn)?"-":"",uo=Po(this._days)!==Po(fn)?"-":"",Pt=Po(this._milliseconds)!==Po(fn)?"-":"",Gn+"P"+(ut?Kn+ut+"Y":"")+(Z?Kn+Z+"M":"")+(x?uo+x+"D":"")+(Oe||ue||E?"T":"")+(Oe?Pt+Oe+"H":"")+(ue?Pt+ue+"M":"")+(E?Pt+Bt+"S":"")):"P0D"}var Li=Sa.prototype;return Li.isValid=function Ma(){return this._isValid},Li.abs=function ke(){var E=this._data;return this._milliseconds=ae(this._milliseconds),this._days=ae(this._days),this._months=ae(this._months),E.milliseconds=ae(E.milliseconds),E.seconds=ae(E.seconds),E.minutes=ae(E.minutes),E.hours=ae(E.hours),E.months=ae(E.months),E.years=ae(E.years),this},Li.add=function Ct(E,x){return ze(this,E,x,1)},Li.subtract=function It(E,x){return ze(this,E,x,-1)},Li.as=function $a(E){if(!this.isValid())return NaN;var x,Z,ue=this._milliseconds;if("month"===(E=qt(E))||"quarter"===E||"year"===E)switch(x=this._days+ue/864e5,Z=this._months+hi(x),E){case"month":return Z;case"quarter":return Z/3;case"year":return Z/12}else switch(x=this._days+Math.round(js(this._months)),E){case"week":return x/7+ue/6048e5;case"day":return x+ue/864e5;case"hour":return 24*x+ue/36e5;case"minute":return 1440*x+ue/6e4;case"second":return 86400*x+ue/1e3;case"millisecond":return Math.floor(864e5*x)+ue;default:throw new Error("Unknown unit "+E)}},Li.asMilliseconds=il,Li.asSeconds=Aa,Li.asMinutes=aa,Li.asHours=md,Li.asDays=xc,Li.asWeeks=fd,Li.asMonths=_d,Li.asQuarters=gd,Li.asYears=$i,Li.valueOf=function Ua(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Yt(this._months/12):NaN},Li._bubble=function Zn(){var Oe,ut,Bt,fn,Gn,E=this._milliseconds,x=this._days,Z=this._months,ue=this._data;return E>=0&&x>=0&&Z>=0||E<=0&&x<=0&&Z<=0||(E+=864e5*an(js(Z)+x),x=0,Z=0),ue.milliseconds=E%1e3,Oe=fi(E/1e3),ue.seconds=Oe%60,ut=fi(Oe/60),ue.minutes=ut%60,Bt=fi(ut/60),ue.hours=Bt%24,x+=fi(Bt/24),Z+=Gn=fi(hi(x)),x-=an(js(Gn)),fn=fi(Z/12),Z%=12,ue.days=x,ue.months=Z,ue.years=fn,this},Li.clone=function Nc(){return kt(this)},Li.get=function sl(E){return E=qt(E),this.isValid()?this[E+"s"]():NaN},Li.milliseconds=bd,Li.seconds=rl,Li.minutes=ol,Li.hours=Fo,Li.days=Xp,Li.weeks=function Lo(){return fi(this.days()/7)},Li.months=Oc,Li.years=Du,Li.humanize=function Fc(E,x){if(!this.isValid())return this.localeData().invalidDate();var Oe,ut,Z=!1,ue=Pl;return"object"==typeof E&&(x=E,E=!1),"boolean"==typeof E&&(Z=E),"object"==typeof x&&(ue=Object.assign({},Pl,x),null!=x.s&&null==x.ss&&(ue.ss=x.s-1)),ut=function vd(E,x,Z,ue){var Oe=kt(E).abs(),ut=xa(Oe.as("s")),Bt=xa(Oe.as("m")),fn=xa(Oe.as("h")),Gn=xa(Oe.as("d")),Kn=xa(Oe.as("M")),uo=xa(Oe.as("w")),Pt=xa(Oe.as("y")),gi=ut<=Z.ss&&["s",ut]||ut<Z.s&&["ss",ut]||Bt<=1&&["m"]||Bt<Z.m&&["mm",Bt]||fn<=1&&["h"]||fn<Z.h&&["hh",fn]||Gn<=1&&["d"]||Gn<Z.d&&["dd",Gn];return null!=Z.w&&(gi=gi||uo<=1&&["w"]||uo<Z.w&&["ww",uo]),(gi=gi||Kn<=1&&["M"]||Kn<Z.M&&["MM",Kn]||Pt<=1&&["y"]||["yy",Pt])[2]=x,gi[3]=+E>0,gi[4]=ue,Cu.apply(null,gi)}(this,!Z,ue,Oe=this.localeData()),Z&&(ut=Oe.pastFuture(+this,ut)),Oe.postformat(ut)},Li.toISOString=ei,Li.toString=ei,Li.toJSON=ei,Li.locale=Lt,Li.localeData=di,Li.toIsoString=ye("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ei),Li.lang=vn,Ve("X",0,0,"unix"),Ve("x",0,0,"valueOf"),me("x",U),me("X",/[+-]?\d+(\.\d{1,3})?/),Xt("X",function(E,x,Z){Z._d=new Date(1e3*parseFloat(E))}),Xt("x",function(E,x,Z){Z._d=new Date(Yt(E))}),e.version="2.29.1",function m(E){l=E}(ls),e.fn=en,e.min=function Vi(){return na("isBefore",[].slice.call(arguments,0))},e.max=function el(){return na("isAfter",[].slice.call(arguments,0))},e.now=function(){return Date.now?Date.now():+new Date},e.utc=q,e.unix=function Il(E){return ls(1e3*E)},e.months=function Iu(E,x){return hd(E,x,"months")},e.isDate=B,e.locale=As,e.invalid=Le,e.duration=kt,e.isMoment=Te,e.weekdays=function H(E,x,Z){return Ac(E,x,Z,"weekdays")},e.parseZone=function pd(){return ls.apply(null,arguments).parseZone()},e.localeData=as,e.isDuration=sa,e.monthsShort=function w(E,x){return hd(E,x,"monthsShort")},e.weekdaysMin=function W(E,x,Z){return Ac(E,x,Z,"weekdaysMin")},e.defineLocale=Vr,e.updateLocale=function Ls(E,x){if(null!=x){var Z,ue,Oe=Ro;null!=_i[E]&&null!=_i[E].parentLocale?_i[E].set(_t(_i[E]._config,x)):(null!=(ue=Cs(E))&&(Oe=ue._config),x=_t(Oe,x),null==ue&&(x.abbr=E),(Z=new Gt(x)).parentLocale=_i[E],_i[E]=Z),As(E)}else null!=_i[E]&&(null!=_i[E].parentLocale?(_i[E]=_i[E].parentLocale,E===As()&&As(E)):null!=_i[E]&&delete _i[E]);return _i[E]},e.locales=function ea(){return Rt(_i)},e.weekdaysShort=function O(E,x,Z){return Ac(E,x,Z,"weekdaysShort")},e.normalizeUnits=qt,e.relativeTimeRounding=function yd(E){return void 0===E?xa:"function"==typeof E&&(xa=E,!0)},e.relativeTimeThreshold=function nc(E,x){return void 0!==Pl[E]&&(void 0===x?Pl[E]:(Pl[E]=x,"s"===E&&(Pl.ss=x-1),!0))},e.calendarFormat=function dr(E,x){var Z=E.diff(x,"days",!0);return Z<-6?"sameElse":Z<-1?"lastWeek":Z<0?"lastDay":Z<1?"sameDay":Z<2?"nextDay":Z<7?"nextWeek":"sameElse"},e.prototype=en,e.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},e}()},4412:(We,Q,I)=>{"use strict";I.d(Q,{t:()=>e});var l=I(1413);class e extends l.B{constructor(b){super(),this._value=b}get value(){return this.getValue()}_subscribe(b){const y=super._subscribe(b);return!y.closed&&b.next(this._value),y}getValue(){const{hasError:b,thrownError:y,_value:S}=this;if(b)throw y;return this._throwIfClosed(),S}next(b){super.next(this._value=b)}}},1985:(We,Q,I)=>{"use strict";I.d(Q,{c:()=>M});var l=I(7707),e=I(8359),m=I(3494),b=I(1203),y=I(1026),S=I(8071),p=I(9786);let M=(()=>{class Y{constructor(ee){ee&&(this._subscribe=ee)}lift(ee){const oe=new Y;return oe.source=this,oe.operator=ee,oe}subscribe(ee,oe,se){const xe=function G(Y){return Y&&Y instanceof l.vU||function B(Y){return Y&&(0,S.T)(Y.next)&&(0,S.T)(Y.error)&&(0,S.T)(Y.complete)}(Y)&&(0,e.Uv)(Y)}(ee)?ee:new l.Ms(ee,oe,se);return(0,p.Y)(()=>{const{operator:Le,source:ie}=this;xe.add(Le?Le.call(xe,ie):ie?this._subscribe(xe):this._trySubscribe(xe))}),xe}_trySubscribe(ee){try{return this._subscribe(ee)}catch(oe){ee.error(oe)}}forEach(ee,oe){return new(oe=$(oe))((se,xe)=>{const Le=new l.Ms({next:ie=>{try{ee(ie)}catch(L){xe(L),Le.unsubscribe()}},error:xe,complete:se});this.subscribe(Le)})}_subscribe(ee){var oe;return null===(oe=this.source)||void 0===oe?void 0:oe.subscribe(ee)}[m.s](){return this}pipe(...ee){return(0,b.m)(ee)(this)}toPromise(ee){return new(ee=$(ee))((oe,se)=>{let xe;this.subscribe(Le=>xe=Le,Le=>se(Le),()=>oe(xe))})}}return Y.create=q=>new Y(q),Y})();function $(Y){var q;return null!==(q=Y??y.$.Promise)&&void 0!==q?q:Promise}},1413:(We,Q,I)=>{"use strict";I.d(Q,{B:()=>p});var l=I(1985),e=I(8359);const b=(0,I(1853).L)($=>function(){$(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var y=I(7908),S=I(9786);let p=(()=>{class $ extends l.c{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(G){const Y=new M(this,this);return Y.operator=G,Y}_throwIfClosed(){if(this.closed)throw new b}next(G){(0,S.Y)(()=>
1{if(this._throwIfClosed(),!this.isStopped){const Y=this.observers.slice();for(const q of Y)q.next(G)}})}error(G){(0,S.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=G;const{observers:Y}=this;for(;Y.length;)Y.shift().error(G)}})}complete(){(0,S.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:G}=this;for(;G.length;)G.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=null}get observed(){var G;return(null===(G=this.observers)||void 0===G?void 0:G.length)>0}_trySubscribe(G){return this._throwIfClosed(),super._trySubscribe(G)}_subscribe(G){return this._throwIfClosed(),this._checkFinalizedStatuses(G),this._innerSubscribe(G)}_innerSubscribe(G){const{hasError:Y,isStopped:q,observers:ee}=this;return Y||q?e.Kn:(ee.push(G),new e.yU(()=>(0,y.o)(ee,G)))}_checkFinalizedStatuses(G){const{hasError:Y,thrownError:q,isStopped:ee}=this;Y?G.error(q):ee&&G.complete()}asObservable(){const G=new l.c;return G.source=this,G}}return $.create=(B,G)=>new M(B,G),$})();class M extends p{constructor(B,G){super(),this.destination=B,this.source=G}next(B){var G,Y;null===(Y=null===(G=this.destination)||void 0===G?void 0:G.next)||void 0===Y||Y.call(G,B)}error(B){var G,Y;null===(Y=null===(G=this.destination)||void 0===G?void 0:G.error)||void 0===Y||Y.call(G,B)}complete(){var B,G;null===(G=null===(B=this.destination)||void 0===B?void 0:B.complete)||void 0===G||G.call(B)}_subscribe(B){var G,Y;return null!==(Y=null===(G=this.source)||void 0===G?void 0:G.subscribe(B))&&void 0!==Y?Y:e.Kn}}},7707:(We,Q,I)=>{"use strict";I.d(Q,{Ms:()=>q,vU:()=>Y});var l=I(8071),e=I(8359),m=I(1026),b=I(5334),y=I(5343);const S=$("C",void 0,void 0);function $(Le,ie,L){return{kind:Le,value:ie,error:L}}var B=I(9270),G=I(9786);class Y extends e.yU{constructor(ie){super(),this.isStopped=!1,ie?(this.destination=ie,(0,e.Uv)(ie)&&ie.add(this)):this.destination=xe}static create(ie,L,K){return new q(ie,L,K)}next(ie){this.isStopped?se(function M(Le){return $("N",Le,void 0)}(ie),this):this._next(ie)}error(ie){this.isStopped?se(function p(Le){return $("E",void 0,Le)}(ie),this):(this.isStopped=!0,this._error(ie))}complete(){this.isStopped?se(S,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(ie){this.destination.next(ie)}_error(ie){try{this.destination.error(ie)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}class q extends Y{constructor(ie,L,K){let _e;if(super(),(0,l.T)(ie))_e=ie;else if(ie){let Te;({next:_e,error:L,complete:K}=ie),this&&m.$.useDeprecatedNextContext?(Te=Object.create(ie),Te.unsubscribe=()=>this.unsubscribe()):Te=ie,_e=_e?.bind(Te),L=L?.bind(Te),K=K?.bind(Te)}this.destination={next:_e?ee(_e):y.l,error:ee(L??oe),complete:K?ee(K):y.l}}}function ee(Le,ie){return(...L)=>{try{Le(...L)}catch(K){m.$.useDeprecatedSynchronousErrorHandling?(0,G.l)(K):(0,b.m)(K)}}}function oe(Le){throw Le}function se(Le,ie){const{onStoppedNotification:L}=m.$;L&&B.f.setTimeout(()=>L(Le,ie))}const xe={closed:!0,next:y.l,error:oe,complete:y.l}},8359:(We,Q,I)=>{"use strict";I.d(Q,{Kn:()=>S,yU:()=>y,Uv:()=>p});var l=I(8071);const m=(0,I(1853).L)($=>function(G){$(this),this.message=G?`${G.length} errors occurred during unsubscription:\n${G.map((Y,q)=>`${q+1}) ${Y.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=G});var b=I(7908);class y{constructor(B){this.initialTeardown=B,this.closed=!1,this._parentage=null,this._teardowns=null}
1unsubscribe(){let B;if(!this.closed){this.closed=!0;const{_parentage:G}=this;if(G)if(this._parentage=null,Array.isArray(G))for(const ee of G)ee.remove(this);else G.remove(this);const{initialTeardown:Y}=this;if((0,l.T)(Y))try{Y()}catch(ee){B=ee instanceof m?ee.errors:[ee]}const{_teardowns:q}=this;if(q){this._teardowns=null;for(const ee of q)try{M(ee)}catch(oe){B=B??[],oe instanceof m?B=[...B,...oe.errors]:B.push(oe)}}if(B)throw new m(B)}}add(B){var G;if(B&&B!==this)if(this.closed)M(B);else{if(B instanceof y){if(B.closed||B._hasParent(this))return;B._addParent(this)}(this._teardowns=null!==(G=this._teardowns)&&void 0!==G?G:[]).push(B)}}_hasParent(B){const{_parentage:G}=this;return G===B||Array.isArray(G)&&G.includes(B)}_addParent(B){const{_parentage:G}=this;this._parentage=Array.isArray(G)?(G.push(B),G):G?[G,B]:B}_removeParent(B){const{_parentage:G}=this;G===B?this._parentage=null:Array.isArray(G)&&(0,b.o)(G,B)}remove(B){const{_teardowns:G}=this;G&&(0,b.o)(G,B),B instanceof y&&B._removeParent(this)}}y.EMPTY=(()=>{const $=new y;return $.closed=!0,$})();const S=y.EMPTY;function p($){return $ instanceof y||$&&"closed"in $&&(0,l.T)($.remove)&&(0,l.T)($.add)&&(0,l.T)($.unsubscribe)}function M($){(0,l.T)($)?$():$.unsubscribe()}},1026:(We,Q,I)=>{"use strict";I.d(Q,{$:()=>l});const l={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},4843:(We,Q,I)=>{"use strict";I.d(Q,{_:()=>m});var l=I(9350),e=I(7707);function m(b,y){const S="object"==typeof y;return new Promise((p,M)=>{const $=new e.Ms({next:B=>{p(B),$.unsubscribe()},error:M,complete:()=>{S?p(y.defaultValue):M(new l.G)}});b.subscribe($)})}},8793:(We,Q,I)=>{"use strict";I.d(Q,{x:()=>y});var l=I(6365),m=I(9326),b=I(6648);function y(...S){return function e(){return(0,l.U)(1)}()((0,b.H)(S,(0,m.lI)(S)))}},9030:(We,Q,I)=>{"use strict";I.d(Q,{v:()=>m});var l=I(1985),e=I(8750);function m(b){return new l.c(y=>{(0,e.Tg)(b()).subscribe(y)})}},983:(We,Q,I)=>{"use strict";I.d(Q,{w:()=>e});const e=new(I(1985).c)(y=>y.complete())},7468:(We,Q,I)=>{"use strict";I.d(Q,{p:()=>M});var l=I(1985),e=I(3073),m=I(8750),b=I(9326),y=I(4360),S=I(6450),p=I(8496);function M(...$){const B=(0,b.ms)($),{args:G,keys:Y}=(0,e.D)($),q=new l.c(ee=>{const{length:oe}=G;if(!oe)return void ee.complete();const se=new Array(oe);let xe=oe,Le=oe;for(let ie=0;ie<oe;ie++){let L=!1;(0,m.Tg)(G[ie]).subscribe(new y.H(ee,K=>{L||(L=!0,Le--),se[ie]=K},()=>xe--,void 0,()=>{(!xe||!L)&&(Le||ee.next(Y?(0,p.e)(Y,se):se),ee.complete())}))}});return B?q.pipe((0,S.I)(B)):q}},6648:(We,Q,I)=>{"use strict";I.d(Q,{H:()=>ct});var l=I(8750),e=I(5225),m=I(9974),b=I(4360);function y(ye,Se=0){return(0,m.N)((X,Ne)=>{X.subscribe(new b.H(Ne,ft=>(0,e.N)(Ne,ye,()=>Ne.next(ft),Se),()=>(0,e.N)(Ne,ye,()=>Ne.complete(),Se),ft=>(0,e.N)(Ne,ye,()=>Ne.error(ft),Se)))})}function S(ye,Se=0){return(0,m.N)((X,Ne)=>{Ne.add(ye.schedule(()=>X.subscribe(Ne),Se))})}var $=I(1985),G=I(4761),Y=I(8071);function ee(ye,Se){if(!ye)throw new Error("Iterable cannot be null");return new $.c(X=>{(0,e.N)(X,Se,()=>{const Ne=ye[Symbol.asyncIterator]();(0,e.N)(X,Se,()=>{Ne.next().then(ft=>{ft.done?X.complete():X.next(ft.value)})},0,!0)})})}var oe=I(5055),se=I(9858),xe=I(7441),Le=I(5397),ie=I(7953),L=I(591),K=I(5196);function ct(ye,Se){return Se?function Te(ye,Se){if(null!=ye){if((0,oe.l)(ye))return function p(ye,Se){return(0,l.Tg)(ye).pipe(S(Se),y(Se))}(ye,Se);if((0,xe.X)(ye))return function B(ye,Se){return new $.c(X=>{let Ne=0;return Se.schedule(function(){Ne===ye.length?X.complete():(X.next(ye[Ne++]),X.closed||this.schedule())})})}(ye,Se);if((0,se.y)(ye))return function M(ye,Se){return(0,l.Tg)(ye).pipe(S(Se),y(Se))}(ye,Se);if((0,ie.T)(ye))return ee(ye,Se);if((0,Le.x)(ye))return function q(ye,Se){return new $.c(X=>{let Ne;return(0,e.N)(X,Se,()=>{Ne=ye[G.l](),(0,e.N)(X,Se,()=>{let ft,_t;try{({value:ft,done:_t}=Ne.next())}catch(Gt){return void X.error(Gt)}_t?X.complete():X.next(ft)},0,!0)}),()=>(0,Y.T)(Ne?.return)&&Ne.return()})}(ye,Se);if((0,K.U)(ye))return function _e(ye,Se){return ee((0,K.C)(ye),Se)}(ye,Se)}throw(0,L.L)(ye)}(ye,Se):(0,l.Tg)(ye)}},3726:(We,Q,I)=>{"use strict";I.d(Q,{R:()=>B});var l=I(8750),e=I(1985),m=I(1397),b=I(7441),y=I(8071),S=I(6450);const p=["addListener","removeListener"],M=["addEventListener","removeEventListener"],$=["on","off"];function B(oe,se,xe,Le){if((0,y.T)(xe)&&(Le=xe,xe=void 0),Le)return B(oe,se,xe).pipe((0,S.I)(Le));const[ie,L]=function ee(oe){return(0,y.T)(oe.addEventListener)&&(0,y.T)(oe.removeEventListener)}(oe)?M.map(K=>_e=>oe[K](se,_e,xe)):function Y(oe){return(0,y.T)(oe.addListener)&&(0,y.T)(oe.removeListener)}(oe)?p.map(G(oe,se)):function q(oe){return(0,y.T)(oe.on)&&(0,y.T)(oe.off)}(oe)?$.map(G(oe,se)):[];if(!ie&&(0,b.X)(oe))return(0,m.Z)(K=>B(K,se,xe))((0,l.Tg)(oe));if(!ie)throw new TypeError("Invalid event target");return new e.c(K=>{const _e=(...Te)=>K.next(1<Te.length?Te:Te[0]);return ie(_e),()=>L(_e)})}function G(oe,se){return xe=>Le=>oe[xe](se,Le)}},8750:(We,Q,I)=>{"use strict";I.d(Q,{Tg:()=>q});
1var l=I(7798),e=I(7441),m=I(9858),b=I(1985),y=I(5055),S=I(7953),p=I(591),M=I(5397),$=I(5196),B=I(8071),G=I(5334),Y=I(3494);function q(K){if(K instanceof b.c)return K;if(null!=K){if((0,y.l)(K))return function ee(K){return new b.c(_e=>{const Te=K[Y.s]();if((0,B.T)(Te.subscribe))return Te.subscribe(_e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(K);if((0,e.X)(K))return function oe(K){return new b.c(_e=>{for(let Te=0;Te<K.length&&!_e.closed;Te++)_e.next(K[Te]);_e.complete()})}(K);if((0,m.y)(K))return function se(K){return new b.c(_e=>{K.then(Te=>{_e.closed||(_e.next(Te),_e.complete())},Te=>_e.error(Te)).then(null,G.m)})}(K);if((0,S.T)(K))return Le(K);if((0,M.x)(K))return function xe(K){return new b.c(_e=>{for(const Te of K)if(_e.next(Te),_e.closed)return;_e.complete()})}(K);if((0,$.U)(K))return function ie(K){return Le((0,$.C)(K))}(K)}throw(0,p.L)(K)}function Le(K){return new b.c(_e=>{(function L(K,_e){var Te,ct,ye,Se;return(0,l.sH)(this,void 0,void 0,function*(){try{for(Te=(0,l.xN)(K);!(ct=yield Te.next()).done;)if(_e.next(ct.value),_e.closed)return}catch(X){ye={error:X}}finally{try{ct&&!ct.done&&(Se=Te.return)&&(yield Se.call(Te))}finally{if(ye)throw ye.error}}_e.complete()})})(K,_e).catch(Te=>_e.error(Te))})}},7786:(We,Q,I)=>{"use strict";I.d(Q,{h:()=>S});var l=I(6365),e=I(8750),m=I(983),b=I(9326),y=I(6648);function S(...p){const M=(0,b.lI)(p),$=(0,b.R0)(p,1/0),B=p;return B.length?1===B.length?(0,e.Tg)(B[0]):(0,l.U)($)((0,y.H)(B,M)):m.w}},7673:(We,Q,I)=>{"use strict";I.d(Q,{of:()=>m});var l=I(9326),e=I(6648);function m(...b){const y=(0,l.lI)(b);return(0,e.H)(b,y)}},8810:(We,Q,I)=>{"use strict";I.d(Q,{$:()=>m});var l=I(1985),e=I(8071);function m(b,y){const S=(0,e.T)(b)?b:()=>b,p=M=>M.error(S());return new l.c(y?M=>y.schedule(p,0,M):p)}},1584:(We,Q,I)=>{"use strict";I.d(Q,{O:()=>y});var l=I(1985),e=I(3236),m=I(9470);function y(S=0,p,M=e.b){let $=-1;return null!=p&&((0,m.m)(p)?M=p:$=p),new l.c(B=>{let G=function b(S){return S instanceof Date&&!isNaN(S)}(S)?+S-M.now():S;G<0&&(G=0);let Y=0;return M.schedule(function(){B.closed||(B.next(Y++),0<=$?this.schedule(void 0,$):B.complete())},G)})}},4360:(We,Q,I)=>{"use strict";I.d(Q,{H:()=>e});var l=I(7707);class e extends l.vU{constructor(b,y,S,p,M){super(b),this.onFinalize=M,this._next=y?function($){try{y($)}catch(B){b.error(B)}}:super._next,this._error=p?function($){try{p($)}catch(B){b.error(B)}finally{this.unsubscribe()}}:super._error,this._complete=S?function(){try{S()}catch($){b.error($)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var b;const{closed:y}=this;super.unsubscribe(),!y&&(null===(b=this.onFinalize)||void 0===b||b.call(this))}}},9437:(We,Q,I)=>{"use strict";I.d(Q,{W:()=>b});var l=I(8750),e=I(4360),m=I(9974);function b(y){return(0,m.N)((S,p)=>{let B,M=null,$=!1;M=S.subscribe(new e.H(p,void 0,void 0,G=>{B=(0,l.Tg)(y(G,b(y)(S))),M?(M.unsubscribe(),M=null,B.subscribe(p)):$=!0})),$&&(M.unsubscribe(),M=null,B.subscribe(p))})}},274:(We,Q,I)=>{"use strict";I.d(Q,{H:()=>m});var l=I(1397),e=I(8071);function m(b,y){return(0,e.T)(y)?(0,l.Z)(b,y,1):(0,l.Z)(b,1)}},9901:(We,Q,I)=>{"use strict";I.d(Q,{U:()=>m});var l=I(9974),e=I(4360);function m(b){return(0,l.N)((y,S)=>{let p=!1;y.subscribe(new e.H(S,M=>{p=!0,S.next(M)},()=>{p||S.next(b),S.complete()}))})}},3294:(We,Q,I)=>{"use strict";I.d(Q,{F:()=>b});var l=I(3669),e=I(9974),m=I(4360);function b(S,p=l.D){return S=S??y,(0,e.N)((M,$)=>{let B,G=!0;M.subscribe(new m.H($,Y=>{const q=p(Y);(G||!S(B,q))&&(G=!1,B=q,$.next(Y))}))})}function y(S,p){return S===p}},5964:(We,Q,I)=>{"use strict";I.d(Q,{p:()=>m});var l=I(9974),e=I(4360);function m(b,y){return(0,l.N)((S,p)=>{let M=0;S.subscribe(new e.H(p,$=>b.call(y,$,M++)&&p.next($)))})}},980:(We,Q,I)=>{"use strict";I.d(Q,{j:()=>e});var l=I(9974);function e(m){return(0,l.N)((b,y)=>{try{b.subscribe(y)}finally{y.add(m)}})}},1594:(We,Q,I)=>{"use strict";I.d(Q,{$:()=>p});var l=I(9350),e=I(5964),m=I(6697),b=I(9901),y=I(3774),S=I(3669);function p(M,$){const B=arguments.length>=2;return G=>G.pipe(M?(0,e.p)((Y,q)=>M(Y,q,G)):S.D,(0,m.s)(1),B?(0,b.U)($):(0,y.v)(()=>new l.G))}},6354:(We,Q,I)=>{"use strict";I.d(Q,{T:()=>m});var l=I(9974),e=I(4360);
1function m(b,y){return(0,l.N)((S,p)=>{let M=0;S.subscribe(new e.H(p,$=>{p.next(b.call(y,$,M++))}))})}},3703:(We,Q,I)=>{"use strict";I.d(Q,{u:()=>e});var l=I(6354);function e(m){return(0,l.T)(()=>m)}},6365:(We,Q,I)=>{"use strict";I.d(Q,{U:()=>m});var l=I(1397),e=I(3669);function m(b=1/0){return(0,l.Z)(e.D,b)}},1397:(We,Q,I)=>{"use strict";I.d(Q,{Z:()=>M});var l=I(6354),e=I(8750),m=I(9974),b=I(5225),y=I(4360),p=I(8071);function M($,B,G=1/0){return(0,p.T)(B)?M((Y,q)=>(0,l.T)((ee,oe)=>B(Y,ee,q,oe))((0,e.Tg)($(Y,q))),G):("number"==typeof B&&(G=B),(0,m.N)((Y,q)=>function S($,B,G,Y,q,ee,oe,se){const xe=[];let Le=0,ie=0,L=!1;const K=()=>{L&&!xe.length&&!Le&&B.complete()},_e=ct=>Le<Y?Te(ct):xe.push(ct),Te=ct=>{ee&&B.next(ct),Le++;let ye=!1;(0,e.Tg)(G(ct,ie++)).subscribe(new y.H(B,Se=>{q?.(Se),ee?_e(Se):B.next(Se)},()=>{ye=!0},void 0,()=>{if(ye)try{for(Le--;xe.length&&Le<Y;){const Se=xe.shift();oe?(0,b.N)(B,oe,()=>Te(Se)):Te(Se)}K()}catch(Se){B.error(Se)}}))};return $.subscribe(new y.H(B,_e,()=>{L=!0,K()})),()=>{se?.()}}(Y,q,$,G)))}},253:(We,Q,I)=>{"use strict";I.d(Q,{t:()=>B});var l=I(1413),e=I(6129);class m extends l.B{constructor(Y=1/0,q=1/0,ee=e.U){super(),this._bufferSize=Y,this._windowTime=q,this._timestampProvider=ee,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=q===1/0,this._bufferSize=Math.max(1,Y),this._windowTime=Math.max(1,q)}next(Y){const{isStopped:q,_buffer:ee,_infiniteTimeWindow:oe,_timestampProvider:se,_windowTime:xe}=this;q||(ee.push(Y),!oe&&ee.push(se.now()+xe)),this._trimBuffer(),super.next(Y)}_subscribe(Y){this._throwIfClosed(),this._trimBuffer();const q=this._innerSubscribe(Y),{_infiniteTimeWindow:ee,_buffer:oe}=this,se=oe.slice();for(let xe=0;xe<se.length&&!Y.closed;xe+=ee?1:2)Y.next(se[xe]);return this._checkFinalizedStatuses(Y),q}_trimBuffer(){const{_bufferSize:Y,_timestampProvider:q,_buffer:ee,_infiniteTimeWindow:oe}=this,se=(oe?1:2)*Y;if(Y<1/0&&se<ee.length&&ee.splice(0,ee.length-se),!oe){const xe=q.now();let Le=0;for(let ie=1;ie<ee.length&&ee[ie]<=xe;ie+=2)Le=ie;Le&&ee.splice(0,Le+1)}}}var b=I(6648),y=I(6697),S=I(7707),p=I(9974);function $(G,Y,...q){return!0===Y?(G(),null):!1===Y?null:Y(...q).pipe((0,y.s)(1)).subscribe(()=>G())}function B(G,Y,q){var ee,oe;let se,xe=!1;return G&&"object"==typeof G?(se=null!==(ee=G.bufferSize)&&void 0!==ee?ee:1/0,Y=null!==(oe=G.windowTime)&&void 0!==oe?oe:1/0,xe=!!G.refCount,q=G.scheduler):se=G??1/0,function M(G={}){const{connector:Y=(()=>new l.B),resetOnError:q=!0,resetOnComplete:ee=!0,resetOnRefCountZero:oe=!0}=G;return se=>{let xe=null,Le=null,ie=null,L=0,K=!1,_e=!1;const Te=()=>{Le?.unsubscribe(),Le=null},ct=()=>{Te(),xe=ie=null,K=_e=!1},ye=()=>{const Se=xe;ct(),Se?.unsubscribe()};return(0,p.N)((Se,X)=>{L++,!_e&&!K&&Te();const Ne=ie=ie??Y();X.add(()=>{L--,0===L&&!_e&&!K&&(Le=$(ye,oe))}),Ne.subscribe(X),xe||(xe=new S.Ms({next:ft=>Ne.next(ft),error:ft=>{_e=!0,Te(),Le=$(ct,q,ft),Ne.error(ft)},complete:()=>{K=!0,Te(),Le=$(ct,ee),Ne.complete()}}),(0,b.H)(Se).subscribe(xe))})(se)}}({connector:()=>new m(se,Y,q),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:xe})}},5245:(We,Q,I)=>{"use strict";I.d(Q,{i:()=>e});var l=I(5964);function e(m){return(0,l.p)((b,y)=>m<=y)}},9172:(We,Q,I)=>{"use strict";I.d(Q,{Z:()=>b});var l=I(8793),e=I(9326),m=I(9974);function b(...y){const S=(0,e.lI)(y);return(0,m.N)((p,M)=>{(S?(0,l.x)(y,p,S):(0,l.x)(y,p)).subscribe(M)})}},5558:(We,Q,I)=>{"use strict";I.d(Q,{n:()=>b});var l=I(8750),e=I(9974),m=I(4360);function b(y,S){return(0,e.N)((p,M)=>{let $=null,B=0,G=!1;const Y=()=>G&&!$&&M.complete();p.subscribe(new m.H(M,q=>{$?.unsubscribe();let ee=0;const oe=B++;(0,l.Tg)(y(q,oe)).subscribe($=new m.H(M,se=>M.next(S?S(q,se,oe,ee++):se),()=>{$=null,Y()}))},()=>{G=!0,Y()}))})}},6697:(We,Q,I)=>{"use strict";I.d(Q,{s:()=>b});var l=I(983),e=I(9974),m=I(4360);function b(y){return y<=0?()=>l.w:(0,e.N)((S,p)=>{let M=0;S.subscribe(new m.H(p,$=>{++M<=y&&(p.next($),y<=M&&p.complete())}))})}},6977:(We,Q,I)=>{"use strict";I.d(Q,{Q:()=>y});var l=I(9974),e=I(4360),m=I(8750),b=I(5343);function y(S){return(0,l.N)((p,M)=>{(0,m.Tg)(S).subscribe(new e.H(M,()=>M.complete(),b.l)),!M.closed&&p.subscribe(M)})}},8141:(We,Q,I)=>{"use strict";I.d(Q,{M:()=>y});var l=I(8071),e=I(9974),m=I(4360),b=I(3669);function y(S,p,M){const $=(0,l.T)(S)||p||M?{next:S,error:p,complete:M}:S;return $?(0,e.N)((B,G)=>{var Y;null===(Y=$.subscribe)||void 0===Y||Y.call($);let q=!0;B.subscribe(new m.H(G,ee=>{var oe;null===(oe=$.next)||void 0===oe||oe.call($,ee),G.next(ee)},()=>{var ee;q=!1,null===(ee=$.complete)||void 0===ee||ee.call($),G.complete()},ee=>{var oe;q=!1,null===(oe=$.error)||void 0===oe||oe.call($,ee),G.error(ee)},()=>{var ee,oe;q&&(null===(ee=$.unsubscribe)||void 0===ee||ee.call($)),null===(oe=$.finalize)||void 0===oe||oe.call($)}))}):b.D}}
1,3774:(We,Q,I)=>{"use strict";I.d(Q,{v:()=>b});var l=I(9350),e=I(9974),m=I(4360);function b(S=y){return(0,e.N)((p,M)=>{let $=!1;p.subscribe(new m.H(M,B=>{$=!0,M.next(B)},()=>$?M.complete():M.error(S())))})}function y(){return new l.G}},6780:(We,Q,I)=>{"use strict";I.d(Q,{R:()=>y});var l=I(8359);class e extends l.yU{constructor(p,M){super()}schedule(p,M=0){return this}}const m={setInterval(...S){const{delegate:p}=m;return(p?.setInterval||setInterval)(...S)},clearInterval(S){const{delegate:p}=m;return(p?.clearInterval||clearInterval)(S)},delegate:void 0};var b=I(7908);class y extends e{constructor(p,M){super(p,M),this.scheduler=p,this.work=M,this.pending=!1}schedule(p,M=0){if(this.closed)return this;this.state=p;const $=this.id,B=this.scheduler;return null!=$&&(this.id=this.recycleAsyncId(B,$,M)),this.pending=!0,this.delay=M,this.id=this.id||this.requestAsyncId(B,this.id,M),this}requestAsyncId(p,M,$=0){return m.setInterval(p.flush.bind(p,this),$)}recycleAsyncId(p,M,$=0){if(null!=$&&this.delay===$&&!1===this.pending)return M;m.clearInterval(M)}execute(p,M){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const $=this._execute(p,M);if($)return $;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(p,M){let B,$=!1;try{this.work(p)}catch(G){$=!0,B=G||new Error("Scheduled action threw falsy error")}if($)return this.unsubscribe(),B}unsubscribe(){if(!this.closed){const{id:p,scheduler:M}=this,{actions:$}=M;this.work=this.state=this.scheduler=null,this.pending=!1,(0,b.o)($,this),null!=p&&(this.id=this.recycleAsyncId(M,p,null)),this.delay=null,super.unsubscribe()}}}},9687:(We,Q,I)=>{"use strict";I.d(Q,{q:()=>m});var l=I(6129);class e{constructor(y,S=e.now){this.schedulerActionCtor=y,this.now=S}schedule(y,S=0,p){return new this.schedulerActionCtor(this,y).schedule(p,S)}}e.now=l.U.now;class m extends e{constructor(y,S=e.now){super(y,S),this.actions=[],this._active=!1,this._scheduled=void 0}flush(y){const{actions:S}=this;if(this._active)return void S.push(y);let p;this._active=!0;do{if(p=y.execute(y.state,y.delay))break}while(y=S.shift());if(this._active=!1,p){for(;y=S.shift();)y.unsubscribe();throw p}}}},3236:(We,Q,I)=>{"use strict";I.d(Q,{E:()=>m,b:()=>b});var l=I(6780);const m=new(I(9687).q)(l.R),b=m},6129:(We,Q,I)=>{"use strict";I.d(Q,{U:()=>l});const l={now:()=>(l.delegate||Date).now(),delegate:void 0}},9270:(We,Q,I)=>{"use strict";I.d(Q,{f:()=>l});const l={setTimeout(...e){const{delegate:m}=l;return(m?.setTimeout||setTimeout)(...e)},clearTimeout(e){const{delegate:m}=l;return(m?.clearTimeout||clearTimeout)(e)},delegate:void 0}},4761:(We,Q,I)=>{"use strict";I.d(Q,{l:()=>e});const e=function l(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(We,Q,I)=>{"use strict";I.d(Q,{s:()=>l});const l="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350:(We,Q,I)=>{"use strict";I.d(Q,{G:()=>e});const e=(0,I(1853).L)(m=>function(){m(this),this.name="EmptyError",this.message="no elements in sequence"})},9326:(We,Q,I)=>{"use strict";I.d(Q,{R0:()=>S,lI:()=>y,ms:()=>b});var l=I(8071),e=I(9470);function m(p){return p[p.length-1]}function b(p){return(0,l.T)(m(p))?p.pop():void 0}function y(p){return(0,e.m)(m(p))?p.pop():void 0}function S(p,M){return"number"==typeof m(p)?p.pop():M}},3073:(We,Q,I)=>{"use strict";I.d(Q,{D:()=>y});const{isArray:l}=Array,{getPrototypeOf:e,prototype:m,keys:b}=Object;function y(p){if(1===p.length){const M=p[0];if(l(M))return{args:M,keys:null};if(function S(p){return p&&"object"==typeof p&&e(p)===m}(M)){const $=b(M);return{args:$.map(B=>M[B]),keys:$}}}return{args:p,keys:null}}},7908:(We,Q,I)=>{"use strict";function l(e,m){if(e){const b=e.indexOf(m);0<=b&&e.splice(b,1)}}I.d(Q,{o:()=>l})},1853:(We,Q,I)=>{"use strict";function l(e){const b=e(y=>{Error.call(y),y.stack=(new Error).stack});return b.prototype=Object.create(Error.prototype),b.prototype.constructor=b,b}I.d(Q,{L:()=>l})},8496:(We,Q,I)=>{"use strict";function l(e,m){return e.reduce((b,y,S)=>(b[y]=m[S],b),{})}I.d(Q,{e:()=>l})},9786:(We,Q,I)=>{"use strict";I.d(Q,{Y:()=>m,l:()=>b});var l=I(1026);let e=null;function m(y){if(l.$.useDeprecatedSynchronousErrorHandling){const S=!e;if(S&&(e={errorThrown:!1,error:null}),y(),S){const{errorThrown:p,error:M}=e;if(e=null,p)throw M}}else y()}function b(y){l.$.useDeprecatedSynchronousErrorHandling&&e&&(e.errorThrown=!0,e.error=y)}},5225:(We,Q,I)=>{"use strict";
1function l(e,m,b,y=0,S=!1){const p=m.schedule(function(){b(),S?e.add(this.schedule(null,y)):this.unsubscribe()},y);if(e.add(p),!S)return p}I.d(Q,{N:()=>l})},3669:(We,Q,I)=>{"use strict";function l(e){return e}I.d(Q,{D:()=>l})},7441:(We,Q,I)=>{"use strict";I.d(Q,{X:()=>l});const l=e=>e&&"number"==typeof e.length&&"function"!=typeof e},7953:(We,Q,I)=>{"use strict";I.d(Q,{T:()=>e});var l=I(8071);function e(m){return Symbol.asyncIterator&&(0,l.T)(m?.[Symbol.asyncIterator])}},8071:(We,Q,I)=>{"use strict";function l(e){return"function"==typeof e}I.d(Q,{T:()=>l})},5055:(We,Q,I)=>{"use strict";I.d(Q,{l:()=>m});var l=I(3494),e=I(8071);function m(b){return(0,e.T)(b[l.s])}},5397:(We,Q,I)=>{"use strict";I.d(Q,{x:()=>m});var l=I(4761),e=I(8071);function m(b){return(0,e.T)(b?.[l.l])}},4402:(We,Q,I)=>{"use strict";I.d(Q,{A:()=>m});var l=I(1985),e=I(8071);function m(b){return!!b&&(b instanceof l.c||(0,e.T)(b.lift)&&(0,e.T)(b.subscribe))}},9858:(We,Q,I)=>{"use strict";I.d(Q,{y:()=>e});var l=I(8071);function e(m){return(0,l.T)(m?.then)}},5196:(We,Q,I)=>{"use strict";I.d(Q,{C:()=>m,U:()=>b});var l=I(7798),e=I(8071);function m(y){return(0,l.AQ)(this,arguments,function*(){const p=y.getReader();try{for(;;){const{value:M,done:$}=yield(0,l.N3)(p.read());if($)return yield(0,l.N3)(void 0);yield yield(0,l.N3)(M)}}finally{p.releaseLock()}})}function b(y){return(0,e.T)(y?.getReader)}},9470:(We,Q,I)=>{"use strict";I.d(Q,{m:()=>e});var l=I(8071);function e(m){return m&&(0,l.T)(m.schedule)}},9974:(We,Q,I)=>{"use strict";I.d(Q,{N:()=>m,S:()=>e});var l=I(8071);function e(b){return(0,l.T)(b?.lift)}function m(b){return y=>{if(e(y))return y.lift(function(S){try{return b(S,this)}catch(p){this.error(p)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(We,Q,I)=>{"use strict";I.d(Q,{I:()=>b});var l=I(6354);const{isArray:e}=Array;function b(y){return(0,l.T)(S=>function m(y,S){return e(S)?y(...S):y(S)}(y,S))}},5343:(We,Q,I)=>{"use strict";function l(){}I.d(Q,{l:()=>l})},1203:(We,Q,I)=>{"use strict";I.d(Q,{F:()=>e,m:()=>m});var l=I(3669);function e(...b){return m(b)}function m(b){return 0===b.length?l.D:1===b.length?b[0]:function(S){return b.reduce((p,M)=>M(p),S)}}},5334:(We,Q,I)=>{"use strict";I.d(Q,{m:()=>m});var l=I(1026),e=I(9270);function m(b){e.f.setTimeout(()=>{const{onUnhandledError:y}=l.$;if(!y)throw b;y(b)})}},591:(We,Q,I)=>{"use strict";function l(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}I.d(Q,{L:()=>l})},5358:(We,Q,I)=>{var l={"./af":1544,"./af.js":1544,"./ar":3108,"./ar-dz":2155,"./ar-dz.js":2155,"./ar-kw":3583,"./ar-kw.js":3583,"./ar-ly":1638,"./ar-ly.js":1638,"./ar-ma":7823,"./ar-ma.js":7823,"./ar-sa":8261,"./ar-sa.js":8261,"./ar-tn":6703,"./ar-tn.js":6703,"./ar.js":3108,"./az":6508,"./az.js":6508,"./be":6766,"./be.js":6766,"./bg":8564,"./bg.js":8564,"./bm":7462,"./bm.js":7462,"./bn":7107,"./bn-bd":3438,"./bn-bd.js":3438,"./bn.js":7107,"./bo":9004,"./bo.js":9004,"./br":927,"./br.js":927,"./bs":7768,"./bs.js":7768,"./ca":6291,"./ca.js":6291,"./cs":5301,"./cs.js":5301,"./cv":6666,"./cv.js":6666,"./cy":5163,"./cy.js":5163,"./da":7360,"./da.js":7360,"./de":5932,"./de-at":3248,"./de-at.js":3248,"./de-ch":3222,"./de-ch.js":3222,"./de.js":5932,"./dv":6405,"./dv.js":6405,"./el":718,"./el.js":718,"./en-au":6319,"./en-au.js":6319,"./en-ca":597,"./en-ca.js":597,"./en-gb":1800,"./en-gb.js":1800,"./en-ie":807,"./en-ie.js":807,"./en-il":5960,"./en-il.js":5960,"./en-in":4418,"./en-in.js":4418,"./en-nz":6865,"./en-nz.js":6865,"./en-sg":2647,"./en-sg.js":2647,"./eo":1931,"./eo.js":1931,"./es":6679,"./es-do":1805,"./es-do.js":1805,"./es-mx":3445,"./es-mx.js":3445,"./es-us":1516,"./es-us.js":1516,"./es.js":6679,"./et":8150,"./et.js":8150,"./eu":757,"./eu.js":757,"./fa":5742,"./fa.js":5742,"./fi":3958,"./fi.js":3958,"./fil":6720,"./fil.js":6720,"./fo":8352,"./fo.js":8352,"./fr":4059,"./fr-ca":2096,"./fr-ca.js":2096,"./fr-ch":5759,"./fr-ch.js":5759,"./fr.js":4059,"./fy":5958,"./fy.js":5958,"./ga":4143,"./ga.js":4143,"./gd":7028,"./gd.js":7028,"./gl":428,"./gl.js":428,"./gom-deva":6861,"./gom-deva.js":6861,"./gom-latn":7718,"./gom-latn.js":7718,"./gu":6827,"./gu.js":6827,"./he":1936,"./he.js":1936,"./hi":1332,"./hi.js":1332,"./hr":1957,"./hr.js":1957,"./hu":8928,"./hu.js":8928,"./hy-am":6215,"./hy-am.js":6215,"./id":586,"./id.js":586,"./is":211,"./is.js":211,"./it":170,"./it-ch":2340,"./it-ch.js":2340,"./it.js":170,"./ja":9770,"./ja.js":9770,"./jv":3875,"./jv.js":3875,"./ka":9499,"./ka.js":9499,"./kk":3573,"./kk.js":3573,"./km":8807,"./km.js":8807,"./kn":5082,"./kn.js":5082,"./ko":137,"./ko.js":137,"./ku":111,"./ku.js":111,"./ky":9187,"./ky.js":9187,"./lb":5969,"./lb.js":5969,"./lo":3526,"./lo.js":3526,"./lt":411,"./lt.js":411,"./lv":2621,"./lv.js":2621,"./me":5869,"./me.js":5869,"./mi":5881,"./mi.js":5881,"./mk":2391,"./mk.js":2391,"./ml":1126,"./ml.js":1126,"./mn":4892,"./mn.js":4892,"./mr":9080,"./mr.js":9080,"./ms":399,"./ms-my":5950,"./ms-my.js":5950,"./ms.js":399,"./mt":9902,"./mt.js":9902,"./my":2985,"./my.js":2985,"./nb":7859,"./nb.js":7859,"./ne":3642,"./ne.js":3642,"./nl":5441,"./nl-be":9875,"./nl-be.js":9875,"./nl.js":5441,"./nn":1311,"./nn.js":1311,"./oc-lnc":2567,"./oc-lnc.js":2567,"./pa-in":6962,"./pa-in.js":6962,"./pl":1063,"./pl.js":1063,"./pt":8719,"./pt-br":7476,"./pt-br.js":7476,"./pt.js":8719,"./ro":1004,"./ro.js":1004,"./ru":1326,"./ru.js":1326,"./sd":2608,"./sd.js":2608,"./se":3911,"./se.js":3911,"./si":5147,"./si.js":5147,"./sk":3741,"./sk.js":3741,"./sl":3e3,"./sl.js":3e3,"./sq":451,"./sq.js":451,"./sr":5046,"./sr-cyrl":905,"./sr-cyrl.js":905,"./sr.js":5046,"./ss":5765,"./ss.js":5765,"./sv":9290,"./sv.js":9290,"./sw":3449,"./sw.js":3449,"./ta":2688,"./ta.js":2688,"./te":2060,"./te.js":2060,"./tet":3290,"./tet.js":3290,"./tg":8294,"./tg.js":8294,"./th":1231,"./th.js":1231,"./tk":3746,"./tk.js":3746,"./tl-ph":9040,"./tl-ph.js":9040,"./tlh":7187,"./tlh.js":7187,"./tr":153,"./tr.js":153,"./tzl":8521,"./tzl.js":8521,"./tzm":8010,"./tzm-latn":2234,"./tzm-latn.js":2234,"./tzm.js":8010,"./ug-cn":3349,"./ug-cn.js":3349,"./uk":8479,"./uk.js":8479,"./ur":3024,"./ur.js":3024,"./uz":9800,"./uz-latn":2376,"./uz-latn.js":2376,"./uz.js":9800,"./vi":9366,"./vi.js":9366,"./x-pseudo":9702,"./x-pseudo.js":9702,"./yo":2655,"./yo.js":2655,"./zh-cn":575,"./zh-cn.js":575,"./zh-hk":8351,"./zh-hk.js":8351,"./zh-mo":9245,"./zh-mo.js":9245,"./zh-tw":8887,"./zh-tw.js":8887};function e(b){var y=m(b);return I(y)}function m(b){if(!I.o(l,b)){var y=new Error("Cannot find module '"+b+"'");throw y.code="MODULE_NOT_FOUND",y}return l[b]}e.keys=function(){return Object.keys(l)},e.resolve=m,We.exports=e,e.id=5358},4523:(We,Q,I)=>{"use strict";function l(m,b,y,S,p,M,$){try{var B=m[M]($),G=B.value}catch(Y){return void y(Y)}
1B.done?b(G):Promise.resolve(G).then(S,p)}function e(m){return function(){var b=this,y=arguments;return new Promise(function(S,p){var M=m.apply(b,y);function $(G){l(M,S,p,$,B,"next",G)}function B(G){l(M,S,p,$,B,"throw",G)}$(void 0)})}}I.d(Q,{A:()=>e})},9969:(We,Q,I)=>{"use strict";I.d(Q,{FX:()=>Se,If:()=>l,K2:()=>S,hZ:()=>m,i0:()=>b,iF:()=>p,kY:()=>B,kp:()=>e,sf:()=>ct,ui:()=>ye});var l=function(X){return X[X.State=0]="State",X[X.Transition=1]="Transition",X[X.Sequence=2]="Sequence",X[X.Group=3]="Group",X[X.Animate=4]="Animate",X[X.Keyframes=5]="Keyframes",X[X.Style=6]="Style",X[X.Trigger=7]="Trigger",X[X.Reference=8]="Reference",X[X.AnimateChild=9]="AnimateChild",X[X.AnimateRef=10]="AnimateRef",X[X.Query=11]="Query",X[X.Stagger=12]="Stagger",X}(l||{});const e="*";function m(X,Ne){return{type:l.Trigger,name:X,definitions:Ne,options:{}}}function b(X,Ne=null){return{type:l.Animate,styles:Ne,timings:X}}function S(X,Ne=null){return{type:l.Sequence,steps:X,options:Ne}}function p(X){return{type:l.Style,styles:X,offset:null}}function B(X,Ne,ft=null){return{type:l.Transition,expr:X,animation:Ne,options:ft}}class ct{constructor(Ne=0,ft=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=Ne+ft}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Ne=>Ne()),this._onDoneFns=[])}onStart(Ne){this._originalOnStartFns.push(Ne),this._onStartFns.push(Ne)}onDone(Ne){this._originalOnDoneFns.push(Ne),this._onDoneFns.push(Ne)}onDestroy(Ne){this._onDestroyFns.push(Ne)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(Ne=>Ne()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(Ne=>Ne()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(Ne){this._position=this.totalTime?Ne*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}
vendor: 1,571 bytes, line 1
1triggerCallback(Ne){const ft="start"==Ne?this._onStartFns:this._onDoneFns;ft.forEach(_t=>_t()),ft.length=0}}class ye{constructor(Ne){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Ne;let ft=0,_t=0,Gt=0;const Rt=this.players.length;0==Rt?queueMicrotask(()=>this._onFinish()):this.players.forEach(dt=>{dt.onDone(()=>{++ft==Rt&&this._onFinish()}),dt.onDestroy(()=>{++_t==Rt&&this._onDestroy()}),dt.onStart(()=>{++Gt==Rt&&this._onStart()})}),this.totalTime=this.players.reduce((dt,et)=>Math.max(dt,et.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Ne=>Ne()),this._onDoneFns=[])}init(){this.players.forEach(Ne=>Ne.init())}onStart(Ne){this._onStartFns.push(Ne)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(Ne=>Ne()),this._onStartFns=[])}onDone(Ne){this._onDoneFns.push(Ne)}onDestroy(Ne){this._onDestroyFns.push(Ne)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(Ne=>Ne.play())}pause(){this.players.forEach(Ne=>Ne.pause())}restart(){this.players.forEach(Ne=>Ne.restart())}finish(){this._onFinish(),this.players.forEach(Ne=>Ne.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(Ne=>Ne.destroy()),this._onDestroyFns.forEach(Ne=>Ne()),this._onDestroyFns=[])}reset(){this.players.forEach(Ne=>Ne.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}
1setPosition(Ne){const ft=Ne*this.totalTime;this.players.forEach(_t=>{const Gt=_t.totalTime?Math.min(1,ft/_t.totalTime):1;_t.setPosition(Gt)})}getPosition(){const Ne=this.players.reduce((ft,_t)=>null===ft||_t.totalTime>ft.totalTime?_t:ft,null);return null!=Ne?Ne.getPosition():0}beforeDestroy(){this.players.forEach(Ne=>{Ne.beforeDestroy&&Ne.beforeDestroy()})}triggerCallback(Ne){const ft="start"==Ne?this._onStartFns:this._onDoneFns;ft.forEach(_t=>_t()),ft.length=0}}const Se="!"},177:(We,Q,I)=>{"use strict";I.d(Q,{AJ:()=>io,B3:()=>On,EO:()=>Be,Jj:()=>oi,MD:()=>$s,N0:()=>Ls,QT:()=>m,Sm:()=>se,Sq:()=>Cn,T3:()=>Xn,UE:()=>_i,VF:()=>y,Vy:()=>Mr,XO:()=>dt,Xr:()=>ro,YU:()=>Mt,Yq:()=>fi,ZD:()=>b,_b:()=>Qe,aZ:()=>Le,bT:()=>bi,cH:()=>X,e1:()=>xi,fG:()=>ps,fw:()=>xe,hb:()=>ee,hj:()=>$,kB:()=>oe,lG:()=>ms,oV:()=>Se,oe:()=>os,qQ:()=>p,tL:()=>et,ux:()=>gn,vh:()=>Co});var l=I(4438);let e=null;function m(){return e}function b(F){e??=F}class y{}const p=new l.nKC("");let M=(()=>{class F{historyGo(J){throw new Error("")}static{this.\u0275fac=function(ce){return new(ce||F)}}static{this.\u0275prov=l.jDH({token:F,factory:()=>(0,l.WQX)(B),providedIn:"platform"})}}return F})();const $=new l.nKC("");let B=(()=>{class F extends M{constructor(){super(),this._doc=(0,l.WQX)(p),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return m().getBaseHref(this._doc)}onPopState(J){const ce=m().getGlobalEventTarget(this._doc,"window");return ce.addEventListener("popstate",J,!1),()=>ce.removeEventListener("popstate",J)}onHashChange(J){const ce=m().getGlobalEventTarget(this._doc,"window");return ce.addEventListener("hashchange",J,!1),()=>ce.removeEventListener("hashchange",J)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(J){this._location.pathname=J}pushState(J,ce,Xe){this._history.pushState(J,ce,Xe)}replaceState(J,ce,Xe){this._history.replaceState(J,ce,Xe)}forward(){this._history.forward()}back(){this._history.back()}historyGo(J=0){this._history.go(J)}getState(){return this._history.state}static{this.\u0275fac=function(ce){return new(ce||F)}}static{this.\u0275prov=l.jDH({token:F,factory:()=>new F,providedIn:"platform"})}}return F})();function G(F,be){if(0==F.length)return be;if(0==be.length)return F;let J=0;return F.endsWith("/")&&J++,be.startsWith("/")&&J++,2==J?F+be.substring(1):1==J?F+be:F+"/"+be}function Y(F){const be=F.match(/#|\?|$/),J=be&&be.index||F.length;return F.slice(0,J-("/"===F[J-1]?1:0))+F.slice(J)}function q(F){return F&&"?"!==F[0]?"?"+F:F}let ee=(()=>{class F{historyGo(J){throw new Error("")}static{this.\u0275fac=function(ce){return new(ce||F)}}static{this.\u0275prov=l.jDH({token:F,factory:()=>(0,l.WQX)(se),providedIn:"root"})}}return F})();const oe=new l.nKC("");let se=(()=>{class F extends ee{constructor(J,ce){super(),this._platformLocation=J,this._removeListenerFns=[],this._baseHref=ce??this._platformLocation.getBaseHrefFromDOM()??(0,l.WQX)(p).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(J){this._removeListenerFns.push(this._platformLocation.onPopState(J),this._platformLocation.onHashChange(J))}getBaseHref(){return this._baseHref}prepareExternalUrl(J){return G(this._baseHref,J)}path(J=!1){const ce=this._platformLocation.pathname+q(this._platformLocation.search),Xe=this._platformLocation.hash;return Xe&&J?`${ce}${Xe}`:ce}pushState(J,ce,Xe,Et){const Lt=this.prepareExternalUrl(Xe+q(Et));this._platformLocation.pushState(J,ce,Lt)}replaceState(J,ce,Xe,Et){const Lt=this.prepareExternalUrl(Xe+q(Et));this._platformLocation.replaceState(J,ce,Lt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(J=0){this._platformLocation.historyGo?.(J)}static{this.\u0275fac=function(ce){return new(ce||F)(l.KVO(M),l.KVO(oe,8))}}static{this.\u0275prov=l.jDH({token:F,factory:F.\u0275fac,providedIn:"root"})}}return F})(),xe=(()=>{class F extends ee{constructor(J,ce){super(),this._platformLocation=J,this._baseHref="",this._removeListenerFns=[],null!=ce&&(this._baseHref=ce)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(J){this._removeListenerFns.push(this._platformLocation.onPopState(J),this._platformLocation.on
1HashChange(J))}getBaseHref(){return this._baseHref}path(J=!1){const ce=this._platformLocation.hash??"#";return ce.length>0?ce.substring(1):ce}prepareExternalUrl(J){const ce=G(this._baseHref,J);return ce.length>0?"#"+ce:ce}pushState(J,ce,Xe,Et){let Lt=this.prepareExternalUrl(Xe+q(Et));0==Lt.length&&(Lt=this._platformLocation.pathname),this._platformLocation.pushState(J,ce,Lt)}replaceState(J,ce,Xe,Et){let Lt=this.prepareExternalUrl(Xe+q(Et));0==Lt.length&&(Lt=this._platformLocation.pathname),this._platformLocation.replaceState(J,ce,Lt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(J=0){this._platformLocation.historyGo?.(J)}static{this.\u0275fac=function(ce){return new(ce||F)(l.KVO(M),l.KVO(oe,8))}}static{this.\u0275prov=l.jDH({token:F,factory:F.\u0275fac})}}return F})(),Le=(()=>{class F{constructor(J){this._subject=new l.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=J;const ce=this._locationStrategy.getBaseHref();this._basePath=function _e(F){if(new RegExp("^(https?:)?//").test(F)){const[,J]=F.split(/\/\/[^\/]+/);return J}return F}(Y(K(ce))),this._locationStrategy.onPopState(Xe=>{this._subject.emit({url:this.path(!0),pop:!0,state:Xe.state,type:Xe.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(J=!1){return this.normalize(this._locationStrategy.path(J))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(J,ce=""){return this.path()==this.normalize(J+q(ce))}normalize(J){return F.stripTrailingSlash(function L(F,be){if(!F||!be.startsWith(F))return be;const J=be.substring(F.length);return""===J||["/",";","?","#"].includes(J[0])?J:be}(this._basePath,K(J)))}prepareExternalUrl(J){return J&&"/"!==J[0]&&(J="/"+J),this._locationStrategy.prepareExternalUrl(J)}go(J,ce="",Xe=null){this._locationStrategy.pushState(Xe,"",J,ce),this._notifyUrlChangeListeners(this.prepareExternalUrl(J+q(ce)),Xe)}replaceState(J,ce="",Xe=null){this._locationStrategy.replaceState(Xe,"",J,ce),this._notifyUrlChangeListeners(this.prepareExternalUrl(J+q(ce)),Xe)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(J=0){this._locationStrategy.historyGo?.(J)}onUrlChange(J){return this._urlChangeListeners.push(J),this._urlChangeSubscription??=this.subscribe(ce=>{this._notifyUrlChangeListeners(ce.url,ce.state)}),()=>{const ce=this._urlChangeListeners.indexOf(J);this._urlChangeListeners.splice(ce,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(J="",ce){this._urlChangeListeners.forEach(Xe=>Xe(J,ce))}subscribe(J,ce,Xe){return this._subject.subscribe({next:J,error:ce,complete:Xe})}static{this.normalizeQueryParams=q}static{this.joinWithSlash=G}static{this.stripTrailingSlash=Y}static{this.\u0275fac=function(ce){return new(ce||F)(l.KVO(ee))}}static{this.\u0275prov=l.jDH({token:F,factory:()=>function ie(){return new Le((0,l.KVO)(ee))}(),providedIn:"root"})}}return F})();function K(F){return F.replace(/\/index.html$/,"")}const Te={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var ct=function(F){return F[F.Decimal=0]="Decimal",F[F.Percent=1]="Percent",F[F.Currency=2]="Currency",F[F.Scientific=3]="Scientific",F}(ct||{}),Se=function(F){return F[F.Format=0]="Format",F[F.Standalone=1]="Standalone",F}
1(Se||{}),X=function(F){return F[F.Narrow=0]="Narrow",F[F.Abbreviated=1]="Abbreviated",F[F.Wide=2]="Wide",F[F.Short=3]="Short",F}(X||{}),Ne=function(F){return F[F.Short=0]="Short",F[F.Medium=1]="Medium",F[F.Long=2]="Long",F[F.Full=3]="Full",F}(Ne||{});const ft={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function dt(F,be,J){const ce=(0,l.H5H)(F),Et=qe([ce[l.KH2.DaysFormat],ce[l.KH2.DaysStandalone]],be);return qe(Et,J)}function et(F,be,J){const ce=(0,l.H5H)(F),Et=qe([ce[l.KH2.MonthsFormat],ce[l.KH2.MonthsStandalone]],be);return qe(Et,J)}function je(F,be){return qe((0,l.H5H)(F)[l.KH2.DateFormat],be)}function He(F,be){return qe((0,l.H5H)(F)[l.KH2.TimeFormat],be)}function Ve(F,be){return qe((0,l.H5H)(F)[l.KH2.DateTimeFormat],be)}function at(F,be){const J=(0,l.H5H)(F),ce=J[l.KH2.NumberSymbols][be];if(typeof ce>"u"){if(be===ft.CurrencyDecimal)return J[l.KH2.NumberSymbols][ft.Decimal];if(be===ft.CurrencyGroup)return J[l.KH2.NumberSymbols][ft.Group]}return ce}function mt(F){if(!F[l.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${F[l.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function qe(F,be){for(let J=be;J>-1;J--)if(typeof F[J]<"u")return F[J];throw new Error("Locale data API: locale data undefined")}function bt(F){const[be,J]=F.split(":");return{hours:+be,minutes:+J}}const qt=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Wt={},En=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Sn=function(F){return F[F.Short=0]="Short",F[F.ShortGMT=1]="ShortGMT",F[F.Long=2]="Long",F[F.Extended=3]="Extended",F}(Sn||{}),Zt=function(F){return F[F.FullYear=0]="FullYear",F[F.Month=1]="Month",F[F.Date=2]="Date",F[F.Hours=3]="Hours",F[F.Minutes=4]="Minutes",F[F.Seconds=5]="Seconds",F[F.FractionalSeconds=6]="FractionalSeconds",F[F.Day=7]="Day",F}(Zt||{}),An=function(F){return F[F.DayPeriods=0]="DayPeriods",F[F.Days=1]="Days",F[F.Months=2]="Months",F[F.Eras=3]="Eras",F}(An||{});function fi(F,be,J,ce){let Xe=function ht(F){if(un(F))return F;if("number"==typeof F&&!isNaN(F))return new Date(F);if("string"==typeof F){if(F=F.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(F)){const[Xe,Et=1,Lt=1]=F.split("-").map(vn=>+vn);return Yt(Xe,Et-1,Lt)}const J=parseFloat(F);if(!isNaN(F-J))return new Date(J);let ce;if(ce=F.match(qt))return function $t(F){const be=new Date(0);let J=0,ce=0;const Xe=F[8]?be.setUTCFullYear:be.setFullYear,Et=F[8]?be.setUTCHours:be.setHours;F[9]&&(J=Number(F[9]+F[10]),ce=Number(F[9]+F[11])),Xe.call(be,Number(F[1]),Number(F[2])-1,Number(F[3]));const Lt=Number(F[4]||0)-J,vn=Number(F[5]||0)-ce,di=Number(F[6]||0),Ti=Math.floor(1e3*parseFloat("0."+(F[7]||0)));return Et.call(be,Lt,vn,di,Ti),be}(ce)}const be=new Date(F);if(!un(be))throw new Error(`Unable to convert "${F}" into a date`);return be}(F);be=Oi(J,be)||be;let vn,Lt=[];for(;be;){if(vn=En.exec(be),!vn){Lt.push(be);break}
vendor: 4,301 bytes, line 1
1{Lt=Lt.concat(vn.slice(1));const qn=Lt.pop();if(!qn)break;be=qn}}let di=Xe.getTimezoneOffset();ce&&(di=U(ce,di),Xe=function Ue(F,be,J){const ce=J?-1:1,Xe=F.getTimezoneOffset();return function he(F,be){return(F=new Date(F.getTime())).setMinutes(F.getMinutes()+be),F}(F,ce*(U(be,Xe)-Xe))}(Xe,ce,!0));let Ti="";return Lt.forEach(qn=>{const Bn=function C(F){if(Fe[F])return Fe[F];let be;switch(F){case"G":case"GG":case"GGG":be=Pn(An.Eras,X.Abbreviated);break;case"GGGG":be=Pn(An.Eras,X.Wide);break;case"GGGGG":be=Pn(An.Eras,X.Narrow);break;case"y":be=Dn(Zt.FullYear,1,0,!1,!0);break;case"yy":be=Dn(Zt.FullYear,2,0,!0,!0);break;case"yyy":be=Dn(Zt.FullYear,3,0,!1,!0);break;case"yyyy":be=Dn(Zt.FullYear,4,0,!1,!0);break;case"Y":be=Me(1);break;case"YY":be=Me(2,!0);break;case"YYY":be=Me(3);break;case"YYYY":be=Me(4);break;case"M":case"L":be=Dn(Zt.Month,1,1);break;case"MM":case"LL":be=Dn(Zt.Month,2,1);break;case"MMM":be=Pn(An.Months,X.Abbreviated);break;case"MMMM":be=Pn(An.Months,X.Wide);break;case"MMMMM":be=Pn(An.Months,X.Narrow);break;case"LLL":be=Pn(An.Months,X.Abbreviated,Se.Standalone);break;case"LLLL":be=Pn(An.Months,X.Wide,Se.Standalone);break;case"LLLLL":be=Pn(An.Months,X.Narrow,Se.Standalone);break;case"w":be=Yi(1);break;case"ww":be=Yi(2);break;case"W":be=Yi(1,!0);break;case"d":be=Dn(Zt.Date,1);break;case"dd":be=Dn(Zt.Date,2);break;case"c":case"cc":be=Dn(Zt.Day,1);break;case"ccc":be=Pn(An.Days,X.Abbreviated,Se.Standalone);break;case"cccc":be=Pn(An.Days,X.Wide,Se.Standalone);break;case"ccccc":be=Pn(An.Days,X.Narrow,Se.Standalone);break;case"cccccc":be=Pn(An.Days,X.Short,Se.Standalone);break;case"E":case"EE":case"EEE":be=Pn(An.Days,X.Abbreviated);break;case"EEEE":be=Pn(An.Days,X.Wide);break;case"EEEEE":be=Pn(An.Days,X.Narrow);break;case"EEEEEE":be=Pn(An.Days,X.Short);break;case"a":case"aa":case"aaa":be=Pn(An.DayPeriods,X.Abbreviated);break;case"aaaa":be=Pn(An.DayPeriods,X.Wide);break;case"aaaaa":be=Pn(An.DayPeriods,X.Narrow);break;case"b":case"bb":case"bbb":be=Pn(An.DayPeriods,X.Abbreviated,Se.Standalone,!0);break;case"bbbb":be=Pn(An.DayPeriods,X.Wide,Se.Standalone,!0);break;case"bbbbb":be=Pn(An.DayPeriods,X.Narrow,Se.Standalone,!0);break;case"B":case"BB":case"BBB":be=Pn(An.DayPeriods,X.Abbreviated,Se.Format,!0);break;case"BBBB":be=Pn(An.DayPeriods,X.Wide,Se.Format,!0);break;case"BBBBB":be=Pn(An.DayPeriods,X.Narrow,Se.Format,!0);break;case"h":be=Dn(Zt.Hours,1,-12);break;case"hh":be=Dn(Zt.Hours,2,-12);break;case"H":be=Dn(Zt.Hours,1);break;case"HH":be=Dn(Zt.Hours,2);break;case"m":be=Dn(Zt.Minutes,1);break;case"mm":be=Dn(Zt.Minutes,2);break;case"s":be=Dn(Zt.Seconds,1);break;case"ss":be=Dn(Zt.Seconds,2);break;case"S":be=Dn(Zt.FractionalSeconds,1);break;case"SS":be=Dn(Zt.FractionalSeconds,2);break;case"SSS":be=Dn(Zt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":be=ji(Sn.Short);break;case"ZZZZZ":be=ji(Sn.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":be=ji(Sn.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":be=ji(Sn.Long);break;default:return null}return Fe[F]=be,be}(qn);Ti+=Bn?Bn(Xe,J,di):"''"===qn?"'":qn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Ti}function Yt(F,be,J){const ce=new Date(0);return ce.setFullYear(F,be,J),ce.setHours(0,0,0),ce}function Oi(F,be){const J=function Gt(F){return(0,l.H5H)(F)[l.KH2.LocaleId]}(F);if(Wt[J]??={},Wt[J][be])return Wt[J][be];let ce="";switch(be){case"shortDate":ce=je(F,Ne.Short);break;case"mediumDate":ce=je(F,Ne.Medium);break;case"longDate":ce=je(F,Ne.Long);break;case"fullDate":ce=je(F,Ne.Full);break;case"shortTime":ce=He(F,Ne.Short);break;case"mediumTime":ce=He(F,Ne.Medium);break;case"longTime":ce=He(F,Ne.Long);break;case"fullTime":ce=He(F,Ne.Full);break;case"short":const Xe=Oi(F,"shortTime"),Et=Oi(F,"shortDate");ce=Yn(Ve(F,Ne.Short),[Xe,Et]);break;case"medium":const Lt=Oi(F,"mediumTime"),vn=Oi(F,"mediumDate");ce=Yn(Ve(F,Ne.Medium),[Lt,vn]);break;case"long":const di=Oi(F,"longTime"),Ti=Oi(F,"longDate");ce=Yn(Ve(F,Ne.Long),[di,Ti]);break;case"full":const qn=Oi(F,"fullTime"),Bn=Oi(F,"fullDate");ce=Yn(Ve(F,Ne.Full),[qn,Bn])}return ce&&(Wt[J][be]=ce),ce}function Yn(F,be){return be&&(F=F.replace(/\{([^}]+)}/g,function(J,ce){return null!=be&&ce in be?be[ce]:J})),F}function vi(F,be,J="-",ce,Xe){let Et="";(F<0||Xe&&F<=0)&&(Xe?F=1-F:(F=-F,Et=J));let Lt=String(F);for(;Lt.length<be;
1)Lt="0"+Lt;return ce&&(Lt=Lt.slice(Lt.length-be)),Et+Lt}function Dn(F,be,J=0,ce=!1,Xe=!1){return function(Et,Lt){let vn=function hs(F,be){switch(F){case Zt.FullYear:return be.getFullYear();case Zt.Month:return be.getMonth();case Zt.Date:return be.getDate();case Zt.Hours:return be.getHours();case Zt.Minutes:return be.getMinutes();case Zt.Seconds:return be.getSeconds();case Zt.FractionalSeconds:return be.getMilliseconds();case Zt.Day:return be.getDay();default:throw new Error(`Unknown DateType value "${F}".`)}}(F,Et);if((J>0||vn>-J)&&(vn+=J),F===Zt.Hours)0===vn&&-12===J&&(vn=12);else if(F===Zt.FractionalSeconds)return function yi(F,be){return vi(F,3).substring(0,be)}(vn,be);const di=at(Lt,ft.MinusSign);return vi(vn,be,di,ce,Xe)}}function Pn(F,be,J=Se.Format,ce=!1){return function(Xe,Et){return function mn(F,be,J,ce,Xe,Et){switch(J){case An.Months:return et(be,Xe,ce)[F.getMonth()];case An.Days:return dt(be,Xe,ce)[F.getDay()];case An.DayPeriods:const Lt=F.getHours(),vn=F.getMinutes();if(Et){const Ti=function Ke(F){const be=(0,l.H5H)(F);return mt(be),(be[l.KH2.ExtraData][2]||[]).map(ce=>"string"==typeof ce?bt(ce):[bt(ce[0]),bt(ce[1])])}(be),qn=function Ge(F,be,J){const ce=(0,l.H5H)(F);mt(ce);const Et=qe([ce[l.KH2.ExtraData][0],ce[l.KH2.ExtraData][1]],be)||[];return qe(Et,J)||[]}(be,Xe,ce),Bn=Ti.findIndex(Wi=>{if(Array.isArray(Wi)){const[Ii,bs]=Wi,wi=Lt>=Ii.hours&&vn>=Ii.minutes,Qt=Lt<bs.hours||Lt===bs.hours&&vn<bs.minutes;if(Ii.hours<bs.hours){if(wi&&Qt)return!0}else if(wi||Qt)return!0}else if(Wi.hours===Lt&&Wi.minutes===vn)return!0;return!1});if(-1!==Bn)return qn[Bn]}return function Rt(F,be,J){const ce=(0,l.H5H)(F),Et=qe([ce[l.KH2.DayPeriodsFormat],ce[l.KH2.DayPeriodsStandalone]],be);return qe(Et,J)}(be,Xe,ce)[Lt<12?0:1];case An.Eras:return function Ie(F,be){return qe((0,l.H5H)(F)[l.KH2.Eras],be)}(be,ce)[F.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${J}`)}}(Xe,Et,F,be,J,ce)}}function ji(F){return function(be,J,ce){const Xe=-1*ce,Et=at(J,ft.MinusSign),Lt=Xe>0?Math.floor(Xe/60):Math.ceil(Xe/60);switch(F){case Sn.Short:return(Xe>
vendor: 8,271 bytes, line 1
1=0?"+":"")+vi(Lt,2,Et)+vi(Math.abs(Xe%60),2,Et);case Sn.ShortGMT:return"GMT"+(Xe>=0?"+":"")+vi(Lt,1,Et);case Sn.Long:return"GMT"+(Xe>=0?"+":"")+vi(Lt,2,Et)+":"+vi(Math.abs(Xe%60),2,Et);case Sn.Extended:return 0===ce?"Z":(Xe>=0?"+":"")+vi(Lt,2,Et)+":"+vi(Math.abs(Xe%60),2,Et);default:throw new Error(`Unknown zone width "${F}"`)}}}const ti=0,_n=4;function Ai(F){const be=F.getDay(),J=0===be?-3:_n-be;return Yt(F.getFullYear(),F.getMonth(),F.getDate()+J)}function Yi(F,be=!1){return function(J,ce){let Xe;if(be){const Et=new Date(J.getFullYear(),J.getMonth(),1).getDay()-1,Lt=J.getDate();Xe=1+Math.floor((Lt+Et)/7)}else{const Et=Ai(J),Lt=function Bi(F){const be=Yt(F,ti,1).getDay();return Yt(F,0,1+(be<=_n?_n:_n+7)-be)}(Et.getFullYear()),vn=Et.getTime()-Lt.getTime();Xe=1+Math.round(vn/6048e5)}return vi(Xe,F,at(ce,ft.MinusSign))}}function Me(F,be=!1){return function(J,ce){return vi(Ai(J).getFullYear(),F,at(ce,ft.MinusSign),be)}}const Fe={};function U(F,be){F=F.replace(/:/g,"");const J=Date.parse("Jan 01, 1970 00:00:00 "+F)/6e4;return isNaN(J)?be:J}function un(F){return F instanceof Date&&!isNaN(F.valueOf())}const me=/^(\d+)?\.((\d+)(-(\d+))?)?$/,jn=22,pe=".",Ye="0",Vt=";",Xt=",",Nn="#";function ss(F,be,J,ce,Xe){const Lt=function $n(F,be="-"){const J={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},ce=F.split(Vt),Xe=ce[0],Et=ce[1],Lt=-1!==Xe.indexOf(pe)?Xe.split(pe):[Xe.substring(0,Xe.lastIndexOf(Ye)+1),Xe.substring(Xe.lastIndexOf(Ye)+1)],vn=Lt[0],di=Lt[1]||"";J.posPre=vn.substring(0,vn.indexOf(Nn));for(let qn=0;qn<di.length;qn++){const Bn=di.charAt(qn);Bn===Ye?J.minFrac=J.maxFrac=qn+1:Bn===Nn?J.maxFrac=qn+1:J.posSuf+=Bn}const Ti=vn.split(Xt);if(J.gSize=Ti[1]?Ti[1].length:0,J.lgSize=Ti[2]||Ti[1]?(Ti[2]||Ti[1]).length:0,Et){const qn=Xe.length-J.posPre.length-J.posSuf.length,Bn=Et.indexOf(Nn);J.negPre=Et.substring(0,Bn).replace(/'/g,""),J.negSuf=Et.slice(Bn+qn).replace(/'/g,"")}else J.negPre=be+J.posPre,J.negSuf=J.posSuf;return J}(function Tt(F,be){return(0,l.H5H)(F)[l.KH2.NumberFormats][be]}(be,ct.Currency),at(be,ft.MinusSign));return Lt.minFrac=function Ft(F){let be;const J=Te[F];return J&&(be=J[2]),"number"==typeof be?be:2}(ce),Lt.maxFrac=Lt.minFrac,function ni(F,be,J,ce,Xe,Et,Lt=!1){let vn="",di=!1;if(isFinite(F)){let Ti=function ar(F){let ce,Xe,Et,Lt,vn,be=Math.abs(F)+"",J=0;for((Xe=be.indexOf(pe))>-1&&(be=be.replace(pe,"")),(Et=be.search(/e/i))>0?(Xe<0&&(Xe=Et),Xe+=+be.slice(Et+1),be=be.substring(0,Et)):Xe<0&&(Xe=be.length),Et=0;be.charAt(Et)===Ye;Et++);if(Et===(vn=be.length))ce=[0],Xe=1;else{for(vn--;be.charAt(vn)===Ye;)vn--;for(Xe-=Et,ce=[],Lt=0;Et<=vn;Et++,Lt++)ce[Lt]=Number(be.charAt(Et))}return Xe>jn&&(ce=ce.splice(0,jn-1),J=Xe-1,Xe=1),{digits:ce,exponent:J,integerLen:Xe}}(F);Lt&&(Ti=function Dr(F){if(0===F.digits[0])return F;const be=F.digits.length-F.integerLen;return F.exponent?F.exponent+=2:(0===be?F.digits.push(0,0):1===be&&F.digits.push(0),F.integerLen+=2),F}(Ti));let qn=be.minInt,Bn=be.minFrac,Wi=be.maxFrac;if(Et){const Si=Et.match(me);if(null===Si)throw new Error(`${Et} is not a valid digit info`);const Vs=Si[1],Rs=Si[3],Hs=Si[5];null!=Vs&&(qn=Eo(Vs)),null!=Rs&&(Bn=Eo(Rs)),null!=Hs?Wi=Eo(Hs):null!=Rs&&Bn>Wi&&(Wi=Bn)}!function to(F,be,J){if(be>J)throw new Error(`The minimum number of digits after fraction (${be}) is higher than the maximum (${J}).`);let ce=F.digits,Xe=ce.length-F.integerLen;const Et=Math.min(Math.max(be,Xe),J);let Lt=Et+F.integerLen,vn=ce[Lt];if(Lt>0){ce.splice(Math.max(F.integerLen,Lt));for(let Bn=Lt;Bn<ce.length;Bn++)ce[Bn]=0}else{Xe=Math.max(0,Xe),F.integerLen=1,ce.length=Math.max(1,Lt=Et+1),ce[0]=0;for(let Bn=1;Bn<Lt;Bn++)ce[Bn]=0}if(vn>=5)if(Lt-1<0){for(let Bn=0;Bn>Lt;Bn--)ce.unshift(0),F.integerLen++;ce.unshift(1),F.integerLen++}else ce[Lt-1]++;for(;Xe<Math.max(0,Et);Xe++)ce.push(0);let di=0!==Et;const Ti=be+F.integerLen,qn=ce.reduceRight(function(Bn,Wi,Ii,bs){return bs[Ii]=(Wi+=Bn)<10?Wi:Wi-10,di&&(0===bs[Ii]&&Ii>=Ti?bs.pop():di=!1),Wi>=10?1:0},0);qn&&(ce.unshift(qn),F.integerLen++)}(Ti,Bn,Wi);let Ii=Ti.digits,bs=Ti.integerLen;const wi=Ti.exponent;let Qt=[];for(di=Ii.every(Si=>!Si);bs<qn;bs++)Ii.unshift(0);for(;bs<0;bs++)Ii.unshift(0);bs>0?Qt=Ii.splice(bs,Ii.length):(Qt=Ii,Ii=[0]);const Mn=[];for(Ii.length>=be.lgSize&&Mn.unshift(Ii.splice(-be.lgSize,Ii.length).join(""));Ii.length>be.gSize;)Mn.unshift(Ii.splice(-be.gSize,Ii.length).join(""));Ii.length&&Mn.unshift(Ii.join("")),vn=Mn.join(at(J,ce)),Qt.length&&(vn+=at(J,Xe)+Qt.join("")),wi&&(vn+=at(J,ft.Exponential)+"+"+wi)}else vn=at(J,ft.Infinity);return vn=F<0&&!di?be.negPre+vn+be.negSuf:be.posPre+vn+be.posSuf,vn}(F,Lt,be,ft.CurrencyGroup,ft.CurrencyDecimal,Xe).replace("\xa4",J).replace("\xa4","").trim()}function Eo(F){const be=parseInt(F);if(isNaN(be))throw new Error("Invalid integer literal when parsing "+F);return be}function Be(F,be,J){return(0,l.XSP)(F,be,J)}function Qe(F,be){be=encodeURIComponent(be);for(const J of F.split(";")){const ce=J.indexOf("="),[Xe,Et]=-1==ce?[J,""]:[J.slice(0,ce),J.slice(ce+1)];if(Xe.trim()===be)return decodeURIComponent(Et)}return null}const tt=/\s+/,Nt=[];let Mt=(()=>{class F{constructor(J,ce){this._ngEl=J,this._renderer=ce,this.initialClasses=Nt,this.stateMap=new Map}set klass(J){this.initialClasses=null!=J?J.trim().split(tt):Nt}set ngClass(J){this.rawClass="string"==typeof J?J.trim().split(tt):J}ngDoCheck(){for(const ce of this.initialClasses)this._updateState(ce,!0);const J=this.rawClass;if(Array.isArray(J)||J instanceof Set)for(const ce of J)this._updateState(ce,!0);else if(null!=J)for(const ce of Object.keys(J))this._updateState(ce,!!J[ce]);this._applyStateDiff()}_updateState(J,ce){const Xe=this.stateMap.get(J);void 0!==Xe?(Xe.enabled!==ce&&(Xe.changed=!0,Xe.enabled=ce),Xe.touched=!0):this.stateMap.set(J,{enabled:ce,changed:!0,touched:!0})}_applyStateDiff(){for(const J of this.stateMap){const ce=J[0],Xe=J[1];Xe.changed?(this._toggleClass(ce,Xe.enabled),Xe.changed=!1):Xe.touched||(Xe.enabled&&this._toggleClass(ce,!1),this.stateMap.delete(ce)),Xe.touched=!1}}_toggleClass(J,ce){(J=J.trim()).length>0&&J.split(tt).forEach(Xe=>{ce?this._renderer.addClass(this._ngEl.nativeElement,Xe):this._renderer.removeClass(this._ngEl.nativeElement,Xe)})}static{this.\u0275fac=function(ce){return new(ce||F)(l.rXU(l.aKT),l.rXU(l.sFG))}}static{this.\u0275dir=l.FsC({type:F,selectors:[["","ngClass",""]],inputs:{klass:[l.Mj6.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return F})();class Wn{constructor(be,J,ce,Xe){this.$implicit=be,this.ngForOf=J,this.index=ce,this.count=Xe}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Cn=(()=>{class F{set ngForOf(J){this._ngForOf=J,this._ngForOfDirty=!0}set ngForTrackBy(J){this._trackByFn=J}get ngForTrackBy(){return this._trackByFn}constructor(J,ce,Xe){this._viewContainer=J,this._template=ce,this._differs=Xe,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(J){J&&(this._template=J)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const J=this._ngForOf;!this._differ&&J&&(this._differ=this._differs.find(J).create(this.ngForTrackBy))}if(this._differ){const J=this._differ.diff(this._ngForOf);J&&this._applyChanges(J)}}_applyChanges(J){const ce=this._viewContainer;J.forEachOperation((Xe,Et,Lt)=>{if(null==Xe.previousIndex)ce.createEmbeddedView(this._template,new Wn(Xe.item,this._ngForOf,-1,-1),null===Lt?void 0:Lt);else if(null==Lt)ce.remove(null===Et?void 0:Et);else if(null!==Et){const vn=ce.get(Et);ce.move(vn,Lt),mi(vn,Xe)}});for(let Xe=0,Et=ce.length;Xe<Et;Xe++){const vn=ce.get(Xe).context;vn.index=Xe,vn.count=Et,vn.ngForOf=this._ngForOf}J.forEachIdentityChange(Xe=>{mi(ce.get(Xe.currentIndex),Xe)})}static ngTemplateContextGuard(J,ce){return!0}static{this.\u0275fac=function(ce){return new(ce||F)(l.rXU(l.c1b),l.rXU(l.C4Q),l.rXU(l._q3))}}static{this.\u0275dir=l.FsC({type:F,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return F})();function mi(F,be){F.context.$implicit=be.item}let bi=(()=>{class F{constructor(J,ce){this._viewContainer=J,this._context=new rs,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenView
1Ref=null,this._elseViewRef=null,this._thenTemplateRef=ce}set ngIf(J){this._context.$implicit=this._context.ngIf=J,this._updateView()}set ngIfThen(J){zs("ngIfThen",J),this._thenTemplateRef=J,this._thenViewRef=null,this._updateView()}set ngIfElse(J){zs("ngIfElse",J),this._elseTemplateRef=J,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(J,ce){return!0}static{this.\u0275fac=function(ce){return new(ce||F)(l.rXU(l.c1b),l.rXU(l.C4Q))}}static{this.\u0275dir=l.FsC({type:F,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return F})();class rs{constructor(){this.$implicit=null,this.ngIf=null}}function zs(F,be){if(be&&!be.createEmbeddedView)throw new Error(`${F} must be a TemplateRef, but received '${(0,l.Tbb)(be)}'.`)}class Hn{constructor(be,J){this._viewContainerRef=be,this._templateRef=J,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(be){be&&!this._created?this.create():!be&&this._created&&this.destroy()}}let gn=(()=>{class F{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(J){this._ngSwitch=J,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(J){this._defaultViews.push(J)}_matchCase(J){const ce=J===this._ngSwitch;return this._lastCasesMatched||=ce,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),ce}_updateDefaultCases(J){if(this._defaultViews.length>0&&J!==this._defaultUsed){this._defaultUsed=J;for(const ce of this._defaultViews)ce.enforceState(J)}}static{this.\u0275fac=function(ce){return new(ce||F)}}static{this.\u0275dir=l.FsC({type:F,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}}return F})(),xi=(()=>{class F{constructor(J,ce,Xe){this.ngSwitch=Xe,Xe._addCase(),this._view=new Hn(J,ce)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static{this.\u0275fac=function(ce){return new(ce||F)(l.rXU(l.c1b),l.rXU(l.C4Q),l.rXU(gn,9))}}static{this.\u0275dir=l.FsC({type:F,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}}return F})(),ps=(()=>{class F{constructor(J,ce,Xe){Xe._addDefault(new Hn(J,ce))}static{this.\u0275fac=function(ce){return new(ce||F)(l.rXU(l.c1b),l.rXU(l.C4Q),l.rXU(gn,9))}}static{this.\u0275dir=l.FsC({type:F,selectors:[["","ngSwitchDefault",""]],standalone:!0})}}return F})(),On=(()=>{class F{constructor(J,ce,Xe){this._ngEl=J,this._differs=ce,this._renderer=Xe,this._ngStyle=null,this._differ=null}set ngStyle(J){this._ngStyle=J,!this._differ&&J&&(this._differ=this._differs.find(J).create())}ngDoCheck(){if(this._differ){const J=this._differ.diff(this._ngStyle);J&&this._applyChanges(J)}}_setStyle(J,ce){const[Xe,Et]=J.split("."),Lt=-1===Xe.indexOf("-")?void 0:l.czy.DashCase;null!=ce?this._renderer.setStyle(this._ngEl.nativeElement,Xe,Et?`${ce}${Et}`:ce,Lt):this._renderer.removeStyle(this._ngEl.nativeElement,Xe,Lt)}_applyChanges(J){J.forEachRemovedItem(ce=>this._setStyle(ce.key,null)),J.forEachAddedItem(ce=>this._setStyle(ce.key,ce.currentValue)),J.forEachChangedItem(ce=>this._setStyle(ce.key,ce.currentValue))}static{this.\u0275fac=function(ce){return new(ce||F)(l.rXU(l.aKT),l.rXU(l.MKu),l.rXU(l.sFG))}}static{this.\u0275dir=l.FsC({type:F,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}}return F})(),Xn=(()=>
1{class F{constructor(J){this._viewContainerRef=J,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(J){if(this._shouldRecreateView(J)){const ce=this._viewContainerRef;if(this._viewRef&&ce.remove(ce.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const Xe=this._createContextForwardProxy();this._viewRef=ce.createEmbeddedView(this.ngTemplateOutlet,Xe,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(J){return!!J.ngTemplateOutlet||!!J.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(J,ce,Xe)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,ce,Xe),get:(J,ce,Xe)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,ce,Xe)}})}static{this.\u0275fac=function(ce){return new(ce||F)(l.rXU(l.c1b))}}static{this.\u0275dir=l.FsC({type:F,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[l.OA$]})}}return F})();function Zs(F,be){return new l.wOt(2100,!1)}class To{createSubscription(be,J){return(0,l.O8t)(()=>be.subscribe({next:J,error:ce=>{throw ce}}))}dispose(be){(0,l.O8t)(()=>be.unsubscribe())}}class Io{createSubscription(be,J){return be.then(J,ce=>{throw ce})}dispose(be){}}const Ea=new Io,Do=new To;let oi=(()=>{class F{constructor(J){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=J}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(J){if(!this._obj){if(J)try{this.markForCheckOnValueUpdate=!1,this._subscribe(J)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return J!==this._obj?(this._dispose(),this.transform(J)):this._latestValue}_subscribe(J){this._obj=J,this._strategy=this._selectStrategy(J),this._subscription=this._strategy.createSubscription(J,ce=>this._updateLatestValue(J,ce))}_selectStrategy(J){if((0,l.jNT)(J))return Ea;if((0,l.zjR)(J))return Do;throw Zs()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(J,ce){J===this._obj&&(this._latestValue=ce,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static{this.\u0275fac=function(ce){return new(ce||F)(l.rXU(l.gRc,16))}}static{this.\u0275pipe=l.EJ8({name:"async",type:F,pure:!1,standalone:!0})}}return F})();const Yo=new l.nKC(""),gr=new l.nKC("");let Co=(()=>{class F{constructor(J,ce,Xe){this.locale=J,this.defaultTimezone=ce,this.defaultOptions=Xe}transform(J,ce,Xe,Et){if(null==J||""===J||J!=J)return null;try{return fi(J,ce??this.defaultOptions?.dateFormat??"mediumDate",Et||this.locale,Xe??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Lt){throw Zs()}}static{this.\u0275fac=function(ce){return new(ce||F)(l.rXU(l.xe9,16),l.rXU(Yo,24),l.rXU(gr,24))}}static{this.\u0275pipe=l.EJ8({name:"date",type:F,pure:!0,standalone:!0})}}return F})(),ms=(()=>{class F{constructor(J){this.differs=J,this.keyValues=[],this.compareFn=Ur}transform(J,ce=Ur){if(!J||!(J instanceof Map)&&"object"!=typeof J)return null;this.differ??=this.differs.find(J).create();const Xe=this.differ.diff(J),Et=ce!==this.compareFn;return Xe&&(this.keyValues=[],Xe.forEachItem(Lt=>{this.keyValues.push(function $o(F,be){return{key:F,value:be}}(Lt.key,Lt.currentValue))})),(Xe||Et)&&(this.keyValues.sort(ce),this.compareFn=ce),this.keyValues}static{this.\u0275fac=function(ce){return new(ce||F)(l.rXU(l.MKu,16))}}static{this.\u0275pipe=l.EJ8({name:"keyvalue",type:F,pure:!1,standalone:!0})}}return F})();function Ur(F,be){const J=F.key,ce=be.key;if(J===ce)return 0;if(void 0===J)return 1;if(void 0===ce)return-1;if(null===J)return 1;if(null===ce)return-1;if("string"==typeof J&&"string"==typeof ce)return J<ce?-1:1;if("number"==typeof J&&"number"==typeof ce)return J-ce;if("boolean"==typeof J&&"boolean"==typeof ce)return J<ce?-1:1;const Xe=String(J),Et=String(ce);return Xe==Et?0:Xe<Et?-1:1}let os=(()=>{class F{constructor(J,ce="USD"){this._locale=J,this._defaultCurrencyCode=ce}transform(J,ce=this._defaultCurrencyCode,Xe="symbol",Et,Lt){if(!function Ks(F){return!(null==F||""===F||F!=F)}(J))return null;Lt||=this._locale,"boolean"==typeof Xe&&(Xe=Xe?"symbol":"code");let vn=ce||this._defaultCurrencyCode;"code"!==Xe&&(vn="symbol"===Xe||"symbol-narrow"===Xe?function Je(F,be,J="en"){const ce=function Ln(F){return(0,l.H5H)(F)[l.KH2.Currencies]}(J)[F]||Te[F]||[],Xe=ce[1];return"narrow"===be&&"string"==typeof Xe?Xe:ce[0]||F}(vn,"symbol"===Xe?"wide":"narrow",Lt):Xe);try{return ss(function Vn(F){if("string"==typeof F&&!isNaN(Number(F)-parseFloat(F)))return Number(F);if("number"!=typeof F)throw new Error(`${F} is not a number`);return F}(J),Lt,vn,ce,Et)}catch(di){throw Zs()}}static{this.\u0275fac=function(ce){return new(ce||F)(l.rXU(l.xe9,16),l.rXU(l.Ocv,16))}}static{this.\u0275pipe=l.EJ8({name:"currency",type:F,pure:!0,standalone:!0})}}return F})();let $s=(()=>{class F{static{this.\u0275fac=function(ce){return new(ce||F)}}static{this.\u0275mod=l.$C({type:F})}static{this.\u0275inj=l.G2t({})}}return F})();const io="browser",Or="server";function _i(F){return F===io}function Mr(F){return F===Or}let ro=(()=>{class F{static{this.\u0275prov=(0,l.jDH)({token:F,providedIn:"root",factory:()=>_i((0,l.WQX)(l.Agw))?new Cs((0,l.WQX)(p),window):new Vr})}}return F})();class Cs{constructor(be,J){this.document=be,this.window=J,this.offset=()=>[0,0]}setOffset(be){this.offset=Array.isArray(be)?()=>be:be}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(be){this.window.scrollTo(be[0],be[1])}scrollToAnchor(be){const J=function As(F,be){const J=F.getElementById(be)||F.getElementsByName(be)[0];if(J)return J;if("function"==typeof F.createTreeWalker&&F.body&&"function"==typeof F.body.attachShadow){const ce=F.createTreeWalker(F.body,NodeFilter.SHOW_ELEMENT);let Xe=ce.currentNode;for(;Xe;){const Et=Xe.shadowRoot;if(Et){const Lt=Et.getElementById(be)||Et.querySelector(`[name="${be}"]`);if(Lt)return Lt}Xe=ce.nextNode()}}return null}(this.document,be);J&&(this.scrollToElement(J),J.focus())}setHistoryScrollRestoration(be){this.window.history.scrollRestoration=be}scrollToElement(be){const J=be.getBoundingClientRect(),ce=J.left+this.window.pageXOffset,Xe=J.top+this.window.pageYOffset,Et=this.offset();this.window.scrollTo(ce-Et[0],Xe-Et[1])}}class Vr{setOffset(be){}getScrollPosition(){return[0,0]}scrollToPosition(be){}scrollToAnchor(be){}setHistoryScrollRestoration(be){}}
vendor: 13,445 bytes, line 1
1class Ls{}},1626:(We,Q,I)=>{"use strict";I.d(Q,{Lr:()=>ee,Nl:()=>_e,Qq:()=>je,a7:()=>Ke,cS:()=>et,kG:()=>ot,q1:()=>Vt,yz:()=>Ie}),I(4523);var e=I(4438),m=I(7673),b=I(1985),y=I(6648),S=I(274),p=I(5964),M=I(6354),$=I(980),B=I(5558),G=I(177);class Y{}class q{}class ee{constructor(Qe){this.normalizedNames=new Map,this.lazyUpdate=null,Qe?"string"==typeof Qe?this.lazyInit=()=>{this.headers=new Map,Qe.split("\n").forEach(tt=>{const Nt=tt.indexOf(":");if(Nt>0){const Mt=tt.slice(0,Nt),nn=Mt.toLowerCase(),sn=tt.slice(Nt+1).trim();this.maybeSetNormalizedName(Mt,nn),this.headers.has(nn)?this.headers.get(nn).push(sn):this.headers.set(nn,[sn])}})}:typeof Headers<"u"&&Qe instanceof Headers?(this.headers=new Map,Qe.forEach((tt,Nt)=>{this.setHeaderEntries(Nt,tt)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(Qe).forEach(([tt,Nt])=>{this.setHeaderEntries(tt,Nt)})}:this.headers=new Map}has(Qe){return this.init(),this.headers.has(Qe.toLowerCase())}get(Qe){this.init();const tt=this.headers.get(Qe.toLowerCase());return tt&&tt.length>0?tt[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Qe){return this.init(),this.headers.get(Qe.toLowerCase())||null}append(Qe,tt){return this.clone({name:Qe,value:tt,op:"a"})}set(Qe,tt){return this.clone({name:Qe,value:tt,op:"s"})}delete(Qe,tt){return this.clone({name:Qe,value:tt,op:"d"})}maybeSetNormalizedName(Qe,tt){this.normalizedNames.has(tt)||this.normalizedNames.set(tt,Qe)}init(){this.lazyInit&&(this.lazyInit instanceof ee?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Qe=>this.applyUpdate(Qe)),this.lazyUpdate=null))}copyFrom(Qe){Qe.init(),Array.from(Qe.headers.keys()).forEach(tt=>{this.headers.set(tt,Qe.headers.get(tt)),this.normalizedNames.set(tt,Qe.normalizedNames.get(tt))})}clone(Qe){const tt=new ee;return tt.lazyInit=this.lazyInit&&this.lazyInit instanceof ee?this.lazyInit:this,tt.lazyUpdate=(this.lazyUpdate||[]).concat([Qe]),tt}applyUpdate(Qe){const tt=Qe.name.toLowerCase();switch(Qe.op){case"a":case"s":let Nt=Qe.value;if("string"==typeof Nt&&(Nt=[Nt]),0===Nt.length)return;this.maybeSetNormalizedName(Qe.name,tt);const Mt=("a"===Qe.op?this.headers.get(tt):void 0)||[];Mt.push(...Nt),this.headers.set(tt,Mt);break;case"d":const nn=Qe.value;if(nn){let sn=this.headers.get(tt);if(!sn)return;sn=sn.filter(Wn=>-1===nn.indexOf(Wn)),0===sn.length?(this.headers.delete(tt),this.normalizedNames.delete(tt)):this.headers.set(tt,sn)}else this.headers.delete(tt),this.normalizedNames.delete(tt)}}setHeaderEntries(Qe,tt){const Nt=(Array.isArray(tt)?tt:[tt]).map(nn=>nn.toString()),Mt=Qe.toLowerCase();this.headers.set(Mt,Nt),this.maybeSetNormalizedName(Qe,Mt)}forEach(Qe){this.init(),Array.from(this.normalizedNames.keys()).forEach(tt=>Qe(this.normalizedNames.get(tt),this.headers.get(tt)))}}class se{encodeKey(Qe){return L(Qe)}encodeValue(Qe){return L(Qe)}decodeKey(Qe){return decodeURIComponent(Qe)}decodeValue(Qe){return decodeURIComponent(Qe)}}const Le=/%(\d[a-f0-9])/gi,ie={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function L(Be){return encodeURIComponent(Be).replace(Le,(Qe,tt)=>ie[tt]??Qe)}function K(Be){return`${Be}`}class _e{constructor(Qe={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Qe.encoder||new se,Qe.fromString){if(Qe.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function xe(Be,Qe){const tt=new Map;return Be.length>0&&Be.replace(/^\?/,"").split("&").forEach(Mt=>{const nn=Mt.indexOf("="),[sn,Wn]=-1==nn?[Qe.decodeKey(Mt),""]:[Qe.decodeKey(Mt.slice(0,nn)),Qe.decodeValue(Mt.slice(nn+1))],Cn=tt.get(sn)||[];Cn.push(Wn),tt.set(sn,Cn)}),tt}(Qe.fromString,this.encoder)}else Qe.fromObject?(this.map=new Map,Object.keys(Qe.fromObject).forEach(tt=>{const Nt=Qe.fromObject[tt],Mt=Array.isArray(Nt)?Nt.map(K):[K(Nt)];this.map.set(tt,Mt)})):this.map=null}has(Qe){return this.init(),this.map.has(Qe)}get(Qe){this.init();const tt=this.map.get(Qe);return tt?tt[0]:null}getAll(Qe){return this.init(),this.map.get(Qe)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Qe,tt){return this.clone({param:Qe,value:tt,op:"a"})}appendAll(Qe){const tt=[];return Object.keys(Qe).forEach(Nt=>{const Mt=Qe[Nt];Array.isArray(Mt)?Mt.forEach(nn=>{tt.push({param:Nt,value:nn,op:"a"})}):tt.push({param:Nt,value:Mt,op:"a"})}),this.clone(tt)}set(Qe,tt){return this.clone({param:Qe,value:tt,op:"s"})}delete(Qe,tt){return this.clone({param:Qe,value:tt,op:"d"})}toString(){return this.init(),this.keys().map(Qe=>{const tt=this.encoder.encodeKey(Qe);return this.map.get(Qe).map(Nt=>tt+"="+this.encoder.encodeValue(Nt)).join("&")}).filter(Qe=>""!==Qe).join("&")}clone(Qe){const tt=new _e({encoder:this.encoder});return tt.cloneFrom=this.cloneFrom||this,tt.updates=(this.updates||[]).concat(Qe),tt}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Qe=>this.map.set(Qe,this.cloneFrom.map.get(Qe))),this.updates.forEach(Qe=>{switch(Qe.op){case"a":case"s":const tt=("a"===Qe.op?this.map.get(Qe.param):void 0)||[];tt.push(K(Qe.value)),this.map.set(Qe.param,tt);break;case"d":if(void 0===Qe.value){this.map.delete(Qe.param);break}{let Nt=this.map.get(Qe.param)||[];const Mt=Nt.indexOf(K(Qe.value));-1!==Mt&&Nt.splice(Mt,1),Nt.length>0?this.map.set(Qe.param,Nt):this.map.delete(Qe.param)}}}),this.cloneFrom=this.updates=null)}}class ct{constructor(){this.map=new Map}set(Qe,tt){return this.map.set(Qe,tt),this}get(Qe){return this.map.has(Qe)||this.map.set(Qe,Qe.defaultValue()),this.map.get(Qe)}delete(Qe){return this.map.delete(Qe),this}has(Qe){return this.map.has(Qe)}keys(){return this.map.keys()}}function Se(Be){return typeof ArrayBuffer<"u"&&Be instanceof ArrayBuffer}function X(Be){return typeof Blob<"u"&&Be instanceof Blob}function Ne(Be){return typeof FormData<"u"&&Be instanceof FormData}class _t{constructor(Qe,tt,Nt,Mt){let nn;if(this.url=tt,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Qe.toUpperCase(),function ye(Be){switch(Be){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Mt?(this.body=void 0!==Nt?Nt:null,nn=Mt):nn=Nt,nn&&(this.reportProgress=!!nn.reportProgress,this.withCredentials=!!nn.withCredentials,nn.responseType&&(this.responseType=nn.responseType),nn.headers&&(this.headers=nn.headers),nn.context&&(this.context=nn.context),nn.params&&(this.params=nn.params),this.transferCache=nn.transferCache),this.headers??=new ee,this.context??=new ct,this.params){const sn=this.params.toString();if(0===sn.length)this.urlWithParams=tt;else{const Wn=tt.indexOf("?");this.urlWithParams=tt+(-1===Wn?"?":Wn<tt.length-1?"&":"")+sn}}else this.params=new _e,this.urlWithParams=tt}serializeBody(){return null===this.body?null:"string"==typeof this.body||Se(this.body)||X(this.body)||Ne(this.body)||function ft(Be){return typeof URLSearchParams<"u"&&Be instanceof URLSearchParams}(this.body)?this.body:this.body instanceof _e?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||Ne(this.body)?null:X(this.body)?this.body.type||null:Se(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof _e?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(Qe={}){const tt=Qe.method||this.method,Nt=Qe.url||this.url,Mt=Qe.responseType||this.responseType,nn=Qe.transferCache??this.transferCache,sn=void 0!==Qe.body?Qe.body:this.body,Wn=Qe.withCredentials??this.withCredentials,Cn=Qe.reportProgress??this.reportProgress;let mi=Qe.headers||this.headers,Es=Qe.params||this.params;const bi=Qe.context??this.context;return void 0!==Qe.setHeaders&&(mi=Object.keys(Qe.setHeaders).reduce((rs,zs)=>rs.set(zs,Qe.setHeaders[zs]),mi)),Qe.setParams&&(Es=Object.keys(Qe.setParams).reduce((rs,zs)=>rs.set(zs,Qe.setParams[zs]),Es)),new _t(tt,Nt,sn,{params:Es,headers:mi,context:bi,reportProgress:Cn,responseType:Mt,withCredentials:Wn,transferCache:nn})}}var Gt=function(Be){return Be[Be.Sent=0]="Sent",Be[Be.UploadProgress=1]="UploadProgress",Be[Be.ResponseHeader=2]="ResponseHeader",Be[Be.DownloadProgress=3]="DownloadProgress",Be[Be.Response=4]="Response",Be[Be.User=5]="User",Be}(Gt||{});class Rt{constructor(Qe,tt=ot.Ok,Nt="OK"){this.headers=Qe.headers||new ee,this.status=void 0!==Qe.status?Qe.status:tt,this.statusText=Qe.statusText||Nt,this.url=Qe.url||null,this.ok=this.status>=200&&this.status<300}}class dt extends Rt{constructor(Qe={}){super(Qe),this.type=Gt.ResponseHeader}clone(Qe={}){return new dt({headers:Qe.headers||this.headers,status:void 0!==Qe.status?Qe.status:this.status,statusText:Qe.statusText||this.statusText,url:Qe.url||this.url||void 0})}}class et extends Rt{constructor(Qe={}){super(Qe),this.type=Gt.Response,this.body=void 0!==Qe.body?Qe.body:null}clone(Qe={}){return new et({body:void 0!==Qe.body?Qe.body:this.body,headers:Qe.headers||this.headers,status:void 0!==Qe.status?Qe.status:this.status,statusText:Qe.statusText||this.statusText,url:Qe.url||this.url||void 0})}}class Ie extends Rt{constructor(Qe){super(Qe,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Qe.url||"(unknown url)"}`:`Http failure response for ${Qe.url||"(unknown url)"}: ${Qe.status} ${Qe.statusText}`,this.error=Qe.error||null}}var ot=function(Be){return Be[Be.Continue=100]="Continue",Be[Be.SwitchingProtocols=101]="SwitchingProtocols",Be[Be.Processing=102]="Processing",Be[Be.EarlyHints=103]="EarlyHints",Be[Be.Ok=200]="Ok",Be[Be.Created=201]="Created",Be[Be.Accepted=202]="Accepted",Be[Be.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",Be[Be.NoContent=204]="NoContent",Be[Be.ResetContent=205]="ResetContent",Be[Be.PartialContent=206]="PartialContent",Be[Be.MultiStatus=207]="MultiStatus",Be[Be.AlreadyReported=208]="AlreadyReported",Be[Be.ImUsed=226]="ImUsed",Be[Be.MultipleChoices=300]="MultipleChoices",Be[Be.MovedPermanently=301]="MovedPermanently",Be[Be.Found=302]="Found",Be[Be.SeeOther=303]="SeeOther",Be[Be.NotModified=304]="NotModified",Be[Be.UseProxy=305]="UseProxy",Be[Be.Unused=306]="Unused",Be[Be.TemporaryRedirect=307]="TemporaryRedirect",Be[Be.PermanentRedirect=308]="PermanentRedirect",Be[Be.BadRequest=400]="BadRequest",Be[Be.Unauthorized=401]="Unauthorized",Be[Be.PaymentRequired=402]="PaymentRequired",Be[Be.Forbidden=403]="Forbidden",Be[Be.NotFound=404]="NotFound",Be[Be.MethodNotAllowed=405]="MethodNotAllowed",Be[Be.NotAcceptable=406]="NotAcceptable",Be[Be.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",Be[Be.RequestTimeout=408]="RequestTimeout",Be[Be.Conflict=409]="Conflict",Be[Be.Gone=410]="Gone",Be[Be.LengthRequired=411]="LengthRequired",Be[Be.PreconditionFailed=412]="PreconditionFailed",Be[Be.PayloadTooLarge=413]="PayloadTooLarge",Be[Be.UriTooLong=414]="UriTooLong",Be[Be.UnsupportedMediaType=415]="UnsupportedMediaType",Be[Be.RangeNotSatisfiable=416]="RangeNotSatisfiable",Be[Be.ExpectationFailed=417]="ExpectationFailed",Be[Be.ImATeapot=418]="ImATeapot",Be[Be.MisdirectedRequest=421]="MisdirectedRequest",Be[Be.UnprocessableEntity=422]="UnprocessableEntity",Be[Be.Locked=423]="Locked",Be[Be.FailedDependency=424]="FailedDependency",Be[Be.TooEarly=425]="TooEarly",Be[Be.UpgradeRequired=426]="UpgradeRequired",Be[Be.PreconditionRequired=428]="PreconditionRequired",Be[Be.TooManyRequests=429]="TooManyRequests",Be[Be.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",Be[Be.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",Be[Be.InternalServerError=500]="InternalServerError",Be[Be.NotImplemented=501]="NotImplemented",Be[Be.BadGateway=502]="BadGateway",Be[Be.ServiceUnavailable=503]="ServiceUnavailable",Be[Be.GatewayTimeout=504]="GatewayTimeout",Be[Be.HttpVersionNotSupported=505]="HttpVersionNotSupported",Be[Be.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",Be[Be.InsufficientStorage=507]="InsufficientStorage",Be[Be.LoopDetected=508]="LoopDetected",Be[Be.NotExtended=510]="NotExtended",Be[Be.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",Be}(ot||{});function vt(Be,Qe){return{body:Qe,headers:Be.headers,context:Be.context,observe:Be.observe,params:Be.params,reportProgress:Be.reportProgress,responseType:Be.responseType,withCredentials:Be.withCredentials,transferCache:Be.transferCache}}let je=(()=>{class Be{constructor(tt){this.handler=tt}request(tt,Nt,Mt={}){let nn;if(tt instanceof _t)nn=tt;else{let Cn,mi;Cn=Mt.headers instanceof ee?Mt.headers:new ee(Mt.headers),Mt.params&&(mi=Mt.params instanceof _e?Mt.params:new _e({fromObject:Mt.params})),nn=new _t(tt,Nt,void 0!==Mt.body?Mt.body:null,{headers:Cn,context:Mt.context,params:mi,reportProgress:Mt.reportProgress,responseType:Mt.responseType||"json",withCredentials:Mt.withCredentials,transferCache:Mt.transferCache})}const sn=(0,m.of)(nn).pipe((0,S.H)(Cn=>this.handler.handle(Cn)));if(tt instanceof _t||"events"===Mt.observe)return sn;const Wn=sn.pipe((0,p.p)(Cn=>Cn instanceof et));switch(Mt.observe||"body"){case"body":switch(nn.responseType){case"arraybuffer":return Wn.pipe((0,M.T)(Cn=>{if(null!==Cn.body&&!(Cn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Cn.body}
1));case"blob":return Wn.pipe((0,M.T)(Cn=>{if(null!==Cn.body&&!(Cn.body instanceof Blob))throw new Error("Response is not a Blob.");return Cn.body}));case"text":return Wn.pipe((0,M.T)(Cn=>{if(null!==Cn.body&&"string"!=typeof Cn.body)throw new Error("Response is not a string.");return Cn.body}));default:return Wn.pipe((0,M.T)(Cn=>Cn.body))}case"response":return Wn;default:throw new Error(`Unreachable: unhandled observe type ${Mt.observe}}`)}}delete(tt,Nt={}){return this.request("DELETE",tt,Nt)}get(tt,Nt={}){return this.request("GET",tt,Nt)}head(tt,Nt={}){return this.request("HEAD",tt,Nt)}jsonp(tt,Nt){return this.request("JSONP",tt,{params:(new _e).append(Nt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(tt,Nt={}){return this.request("OPTIONS",tt,Nt)}patch(tt,Nt,Mt={}){return this.request("PATCH",tt,vt(Mt,Nt))}post(tt,Nt,Mt={}){return this.request("POST",tt,vt(Mt,Nt))}put(tt,Nt,Mt={}){return this.request("PUT",tt,vt(Mt,Nt))}static{this.\u0275fac=function(Nt){return new(Nt||Be)(e.KVO(Y))}}static{this.\u0275prov=e.jDH({token:Be,factory:Be.\u0275fac})}}return Be})();function Ln(Be,Qe){return Qe(Be)}function re(Be,Qe){return(tt,Nt)=>Qe.intercept(tt,{handle:Mt=>Be(Mt,Nt)})}const Ke=new e.nKC(""),Ge=new e.nKC(""),Ee=new e.nKC(""),qe=new e.nKC("");function bt(){let Be=null;return(Qe,tt)=>{null===Be&&(Be=((0,e.WQX)(Ke,{optional:!0})??[]).reduceRight(re,Ln));const Nt=(0,e.WQX)(e.TgB),Mt=Nt.add();return Be(Qe,tt).pipe((0,$.j)(()=>Nt.remove(Mt)))}}let Ft=(()=>{class Be extends Y{constructor(tt,Nt){super(),this.backend=tt,this.injector=Nt,this.chain=null,this.pendingTasks=(0,e.WQX)(e.TgB);const Mt=(0,e.WQX)(qe,{optional:!0});this.backend=Mt??tt}handle(tt){if(null===this.chain){const Mt=Array.from(new Set([...this.injector.get(Ge),...this.injector.get(Ee,[])]));this.chain=Mt.reduceRight((nn,sn)=>function mt(Be,Qe,tt){return(Nt,Mt)=>(0,e.N4e)(tt,()=>Qe(Nt,nn=>Be(nn,Mt)))}(nn,sn,this.injector),Ln)}const Nt=this.pendingTasks.add();return this.chain(tt,Mt=>this.backend.handle(Mt)).pipe((0,$.j)(()=>this.pendingTasks.remove(Nt)))}static{this.\u0275fac=function(Nt){return new(Nt||Be)(e.KVO(q),e.KVO(e.uvJ))}}static{this.\u0275prov=e.jDH({token:Be,factory:Be.\u0275fac})}}return Be})();const yi=/^\)\]\}',?\n/;let hs=(()=>{class Be{constructor(tt){this.xhrFactory=tt}handle(tt){if("JSONP"===tt.method)throw new e.wOt(-2800,!1);const Nt=this.xhrFactory;return(Nt.\u0275loadImpl?(0,y.H)(Nt.\u0275loadImpl()):(0,m.of)(null)).pipe((0,B.n)(()=>new b.c(nn=>{const sn=Nt.build();if(sn.open(tt.method,tt.urlWithParams),tt.withCredentials&&(sn.withCredentials=!0),tt.headers.forEach((Hn,gn)=>sn.setRequestHeader(Hn,gn.join(","))),tt.headers.has("Accept")||sn.setRequestHeader("Accept","application/json, text/plain, */*"),!tt.headers.has("Content-Type")){const Hn=tt.detectContentTypeHeader();null!==Hn&&sn.setRequestHeader("Content-Type",Hn)}if(tt.responseType){const Hn=tt.responseType.toLowerCase();sn.responseType="json"!==Hn?Hn:"text"}const Wn=tt.serializeBody();let Cn=null;const mi=()=>
1{if(null!==Cn)return Cn;const Hn=sn.statusText||"OK",gn=new ee(sn.getAllResponseHeaders()),xi=function Dn(Be){return"responseURL"in Be&&Be.responseURL?Be.responseURL:/^X-Request-URL:/m.test(Be.getAllResponseHeaders())?Be.getResponseHeader("X-Request-URL"):null}(sn)||tt.url;return Cn=new dt({headers:gn,status:sn.status,statusText:Hn,url:xi}),Cn},Es=()=>{let{headers:Hn,status:gn,statusText:xi,url:ps}=mi(),Mi=null;gn!==ot.NoContent&&(Mi=typeof sn.response>"u"?sn.responseText:sn.response),0===gn&&(gn=Mi?ot.Ok:0);let Ni=gn>=200&&gn<300;if("json"===tt.responseType&&"string"==typeof Mi){const Ds=Mi;Mi=Mi.replace(yi,"");try{Mi=""!==Mi?JSON.parse(Mi):null}catch(Gi){Mi=Ds,Ni&&(Ni=!1,Mi={error:Gi,text:Mi})}}Ni?(nn.next(new et({body:Mi,headers:Hn,status:gn,statusText:xi,url:ps||void 0})),nn.complete()):nn.error(new Ie({error:Mi,headers:Hn,status:gn,statusText:xi,url:ps||void 0}))},bi=Hn=>{const{url:gn}=mi(),xi=new Ie({error:Hn,status:sn.status||0,statusText:sn.statusText||"Unknown Error",url:gn||void 0});nn.error(xi)};let rs=!1;const zs=Hn=>{rs||(nn.next(mi()),rs=!0);let gn={type:Gt.DownloadProgress,loaded:Hn.loaded};Hn.lengthComputable&&(gn.total=Hn.total),"text"===tt.responseType&&sn.responseText&&(gn.partialText=sn.responseText),nn.next(gn)},us=Hn=>{let gn={type:Gt.UploadProgress,loaded:Hn.loaded};Hn.lengthComputable&&(gn.total=Hn.total),nn.next(gn)};return sn.addEventListener("load",Es),sn.addEventListener("error",bi),sn.addEventListener("timeout",bi),sn.addEventListener("abort",bi),tt.reportProgress&&(sn.addEventListener("progress",zs),null!==Wn&&sn.upload&&sn.upload.addEventListener("progress",us)),sn.send(Wn),nn.next({type:Gt.Sent}),()=>{sn.removeEventListener("error",bi),sn.removeEventListener("abort",bi),sn.removeEventListener("load",Es),sn.removeEventListener("timeout",bi),tt.reportProgress&&(sn.removeEventListener("progress",zs),null!==Wn&&sn.upload&&sn.upload.removeEventListener("progress",us)),sn.readyState!==sn.DONE&&sn.abort()}})))}static{this.\u0275fac=function(Nt){return new(Nt||Be)(e.KVO(G.N0))}}static{this.\u0275prov=e.jDH({token:Be,factory:Be.\u0275fac})}}return Be})();const Pn=new e.nKC(""),ji=new e.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),_n=new e.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Bi{}let Ai=(()=>{class Be{constructor(tt,Nt,Mt){this.doc=tt,this.platform=Nt,this.cookieName=Mt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const tt=this.doc.cookie||"";return tt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,G._b)(tt,this.cookieName),this.lastCookieString=tt),this.lastToken}static{this.\u0275fac=function(Nt){return new(Nt||Be)(e.KVO(G.qQ),e.KVO(e.Agw),e.KVO(ji))}}static{this.\u0275prov=e.jDH({token:Be,factory:Be.\u0275fac})}}return Be})();function Yi(Be,Qe){const tt=Be.url.toLowerCase();if(!(0,e.WQX)(Pn)||"GET"===Be.method||"HEAD"===Be.method||tt.startsWith("http://")||tt.startsWith("https://"))return Qe(Be);const Nt=(0,e.WQX)(Bi).getToken(),Mt=(0,e.WQX)(_n);return null!=Nt&&!Be.headers.has(Mt)&&(Be=Be.clone({headers:Be.headers.set(Mt,Nt)})),Qe(Be)}var Fe=function(Be){return Be[Be.Interceptors=0]="Interceptors",Be[Be.LegacyInterceptors=1]="LegacyInterceptors",Be[Be.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Be[Be.NoXsrfProtection=3]="NoXsrfProtection",Be[Be.JsonpSupport=4]="JsonpSupport",Be[Be.RequestsMadeViaParent=5]="RequestsMadeViaParent",Be[Be.Fetch=6]="Fetch",Be}(Fe||{});function C(Be,Qe){return{\u0275kind:Be,\u0275providers:Qe}}function U(...Be){const Qe=[je,hs,Ft,{provide:Y,useExisting:Ft},{provide:q,useExisting:hs},{provide:Ge,useValue:Yi,multi:!0},{provide:Pn,useValue:!0},{provide:Bi,useClass:Ai}];for(const tt of Be)Qe.push(...tt.\u0275providers);return(0,e.EmA)(Qe)}const Ue=new e.nKC("");let Vt=(()=>{class Be{static{this.\u0275fac=function(Nt){return new(Nt||Be)}}static{this.\u0275mod=e.$C({type:Be})}static{this.\u0275inj=e.G2t({providers:[U(C(Fe.LegacyInterceptors,[{provide:Ue,useFactory:bt},{provide:Ge,useExisting:Ue,multi:!0}]))]})}}return Be})()},4438:(We,Q,I)=>{"use strict";I.d(Q,{bc$:()=>mc,iLQ:()=>kg,sZ2:()=>wr,hnV:()=>pE,Hbi:()=>Nw,o8S:()=>Sc,BIS:()=>fc,gRc:()=>CE,Ql9:()=>aw,Ocv:()=>Lm,abz:()=>pc,Z63:()=>oo,aKT:()=>Pu,uvJ:()=>ir,zcH:()=>Ml,bkB:()=>Wa,$GK:()=>oi,nKC:()=>Mt,zZn:()=>da,_q3:()=>jg,MKu:()=>Bg,xe9:()=>Fm,Co$:()=>dv,Vns:()=>Zc,SKi:()=>Br,Xx1:()=>_i,Agw:()=>pa,PLl:()=>fr,rOR:()=>hh,sFG:()=>RD,_9s:()=>Mb,czy:()=>kh,WPN:()=>Xc,kdw:()=>ur,C4Q:()=>dp,NYb:()=>ew,giA:()=>dE,RxE:()=>tE,c1b:()=>Kh,gXe:()=>qr,mal:()=>Kr,Af3:()=>Rn,L39:()=>d2,a0P:()=>g2,Ol2:()=>C_,w6W:()=>yC,oH4:()=>EE,QZP:()=>tT,SmG:()=>yw,Rfq:()=>Yi,WQX:()=>Vn,naY:()=>vw,Hps:()=>b_,QuC:()=>hr,EmA:()=>te,fpN:()=>xw,HJs:()=>b2,N4e:()=>bn,vPA:()=>v_,O8t:()=>p2,An2:()=>Hh,H3F:()=>nE,H8p:()=>Ki,KH2:()=>_u,TgB:()=>eu,wOt:()=>Je,WHO:()=>lE,e01:()=>cE,lNU:()=>bt,h9k:()=>VT,$MX:()=>Mf,ZF7:()=>$d,Kcf:()=>O2,e5t:()=>LT,UyX:()=>L2,cWb:()=>F2,osQ:()=>P2,H5H:()=>Z_,Zy3:()=>pt,mq5:()=>eg,JZv:()=>Dn,LfX:()=>Eo,plB:()=>Ja,jNT:()=>Rg,zjR:()=>uE,XSP:()=>KM,TL$:()=>qs,Tbb:()=>ti,rcV:()=>Hl,nM4:()=>rv,Vt3:()=>T_,Mj6:()=>ao,GFd:()=>cv,OA$:()=>an,Jv_:()=>E0,aNF:()=>T0,R7$:()=>Uf,BMQ:()=>Dc,HbH:()=>Jv,AVh:()=>G_,vxM:()=>oy,wni:()=>Zy,VBU:()=>Hi,FsC:()=>ja,jDH:()=>$n,G2t:()=>ar,$C:()=>Pr,EJ8:()=>Ra,rXU:()=>ql,nrm:()=>z_,eu8:()=>K_,bVm:()=>gm,qex:()=>_m,k0s:()=>fm,j41:()=>mm,RV6:()=>py,xGo:()=>Fu,Mr5:()=>J_,pXf:()=>By,KVO:()=>os,kS0:()=>Fa,QTQ:()=>Q1,bIt:()=>
1og,lsd:()=>n0,joV:()=>Qm,qSk:()=>Md,XpG:()=>Vy,nI1:()=>O0,bMT:()=>F0,i5U:()=>L0,ii3:()=>P0,SdG:()=>Wy,NAR:()=>Hy,Y8G:()=>Y_,FS9:()=>lg,Mz_:()=>Dm,FCK:()=>cg,yjJ:()=>dg,lJ4:()=>M0,eq3:()=>S0,l_i:()=>R0,sMw:()=>Rm,ziG:()=>wm,s1E:()=>km,mGM:()=>t0,sdS:()=>s0,Dyx:()=>cy,Z7z:()=>ly,fX1:()=>ay,Njj:()=>Hm,EBC:()=>O1,tSv:()=>Qu,eBV:()=>Ed,npT:()=>zc,f$h:()=>Af,B4B:()=>kf,n$t:()=>R1,wjB:()=>I0,Aen:()=>hl,xc7:()=>U_,DNE:()=>tu,C5r:()=>j0,EFF:()=>p0,JRh:()=>pg,SpI:()=>Cm,Lme:()=>hg,E5c:()=>mg,LHq:()=>fg,DH7:()=>v0,mxI:()=>_g,R50:()=>Mm,GBs:()=>e0}),I(4523);let m=null,b=!1,y=1;const S=Symbol("SIGNAL");function p(s){const o=m;return m=s,o}const G={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Y(s){if(b)throw new Error("");if(null===m)return;m.consumerOnSignalRead(s);const o=m.nextProducerIndex++;ye(m),o<m.producerNode.length&&m.producerNode[o]!==s&&ct(m)&&Te(m.producerNode[o],m.producerIndexOfThis[o]),m.producerNode[o]!==s&&(m.producerNode[o]=s,m.producerIndexOfThis[o]=ct(m)?_e(s,m,o):0),m.producerLastReadVersion[o]=s.version}function ee(s){if((!ct(s)||s.dirty)&&(s.dirty||s.lastCleanEpoch!==y)){if(!s.producerMustRecompute(s)&&!L(s))return s.dirty=!1,void(s.lastCleanEpoch=y);s.producerRecomputeValue(s),s.dirty=!1,s.lastCleanEpoch=y}}function oe(s){if(void 0===s.liveConsumerNode)return;const o=b;b=!0;try{for(const a of s.liveConsumerNode)a.dirty||xe(a)}finally{b=o}}function se(){return!1!==m?.consumerAllowSignalWrites}function xe(s){s.dirty=!0,oe(s),s.consumerMarkedDirty?.(s)}function Le(s){return s&&(s.nextProducerIndex=0),p(s)}function ie(s,o){if(p(o),s&&void 0!==s.producerNode&&void 0!==s.producerIndexOfThis&&void 0!==s.producerLastReadVersion){if(ct(s))for(let a=s.nextProducerIndex;a<s.producerNode.length;a++)Te(s.producerNode[a],s.producerIndexOfThis[a]);for(;s.producerNode.length>s.nextProducerIndex;)s.producerNode.pop(),s.producerLastReadVersion.pop(),s.producerIndexOfThis.pop()}}function L(s){ye(s);for(let o=0;o<s.producerNode.length;o++){const a=s.producerNode[o],c=s.producerLastReadVersion[o];if(c!==a.version||(ee(a),c!==a.version))return!0}return!1}function K(s){if(ye(s),ct(s))for(let o=0;o<s.producerNode.length;o++)Te(s.producerNode[o],s.producerIndexOfThis[o]);s.producerNode.length=s.producerLastReadVersion.length=s.producerIndexOfThis.length=0,s.liveConsumerNode&&(s.liveConsumerNode.length=s.liveConsumerIndexOfThis.length=0)}function _e(s,o,a){if(Se(s),ye(s),0===s.liveConsumerNode.length)for(let c=0;c<s.producerNode.length;c++)s.producerIndexOfThis[c]=_e(s.producerNode[c],s,c);return s.liveConsumerIndexOfThis.push(a),s.liveConsumerNode.push(o)-1}function Te(s,o){if(Se(s),ye(s),1===s.liveConsumerNode.length)for(let c=0;c<s.producerNode.length;c++)Te(s.producerNode[c],s.producerIndexOfThis[c]);const a=s.liveConsumerNode.length-1;if(s.liveConsumerNode[o]=s.liveConsumerNode[a],s.liveConsumerIndexOfThis[o]=s.liveConsumerIndexOfThis[a],s.liveConsumerNode.length--,s.liveConsumerIndexOfThis.length--,o<s.liveConsumerNode.length){const c=s.liveConsumerIndexOfThis[o],h=s.liveConsumerNode[o];ye(h),h.producerIndexOfThis[c]=o}}function ct(s){return s.consumerIsAlwaysLive||(s?.liveConsumerNode?.length??0)>0}function ye(s){s.producerNode??=[],s.producerIndexOfThis??=[],s.producerLastReadVersion??=[]}function Se(s){s.liveConsumerNode??=[],s.liveConsumerIndexOfThis??=[]}let dt=function Rt(){throw new Error};function et(){dt()}let ot=null;function Ve(s,o){se()||et(),s.equal(s.value,o)||(s.value=o,function wt(s){s.version++,function q(){y++}(),oe(s),ot?.()}(s))}const Tt={...G,equal:function e(s,o){return Object.is(s,o)},value:void 0};const Tn=()=>{},Ln={...G,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:s=>{null!==s.schedule&&s.schedule(s.ref)},hasRun:!1,cleanupFn:Tn};var mt=I(1413),Ke=I(8359),Ge=I(4412),Ee=I(6354);const bt="https://g.co/ng/security#xss";
1class Je extends Error{constructor(o,a){super(pt(o,a)),this.code=o}}function pt(s,o){return`NG0${Math.abs(s)}${o?": "+o:""}`}function Zt(s){return{toString:s}.toString()}const fi="__parameters__";function vi(s,o,a){return Zt(()=>{const c=function Yn(s){return function(...a){if(s){const c=s(...a);for(const h in c)this[h]=c[h]}}}(o);function h(..._){if(this instanceof h)return c.apply(this,_),this;const D=new h(..._);return R.annotation=D,R;function R(P,ne,ve){const Pe=P.hasOwnProperty(fi)?P[fi]:Object.defineProperty(P,fi,{value:[]})[fi];for(;Pe.length<=ve;)Pe.push(null);return(Pe[ve]=Pe[ve]||[]).push(D),P}}return a&&(h.prototype=Object.create(a.prototype)),h.prototype.ngMetadataName=s,h.annotationCls=h,h})}const Dn=globalThis;function mn(s){for(let o in s)if(s[o]===mn)return o;throw Error("Could not find renamed property on target object.")}function ji(s,o){for(const a in o)o.hasOwnProperty(a)&&!s.hasOwnProperty(a)&&(s[a]=o[a])}function ti(s){if("string"==typeof s)return s;if(Array.isArray(s))return"["+s.map(ti).join(", ")+"]";if(null==s)return""+s;if(s.overriddenName)return`${s.overriddenName}`;if(s.name)return`${s.name}`;const o=s.toString();if(null==o)return""+o;const a=o.indexOf("\n");return-1===a?o:o.substring(0,a)}function _n(s,o){return null==s||""===s?null===o?"":o:null==o||""===o?s:s+" "+o}const Ai=mn({__forward_ref__:mn});function Yi(s){return s.__forward_ref__=Yi,s.toString=function(){return ti(this())},s}function Me(s){return Fe(s)?s():s}function Fe(s){return"function"==typeof s&&s.hasOwnProperty(Ai)&&s.__forward_ref__===Yi}function ht(s,o,a){s!=o&&function zt(s,o,a,c){throw new Error(`ASSERTION ERROR: ${s}`+(null==c?"":` [Expected=> ${a} ${c} ${o} <=Actual]`))}(a,s,o,"==")}function $n(s){return{token:s.token,providedIn:s.providedIn||null,factory:s.factory,value:void 0}}function ar(s){return{providers:s.providers||[],imports:s.imports||[]}}function to(s){return Ci(s,Be)||Ci(s,tt)}function Eo(s){return null!==to(s)}function Ci(s,o){return s.hasOwnProperty(o)?s[o]:null}function Cr(s){return s&&(s.hasOwnProperty(Qe)||s.hasOwnProperty(Nt))?s[Qe]:null}const Be=mn({\u0275prov:mn}),Qe=mn({\u0275inj:mn}),tt=mn({ngInjectableDef:mn}),Nt=mn({ngInjectorDef:mn});class Mt{constructor(o,a){this._desc=o,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof a?this.__NG_ELEMENT_ID__=a:void 0!==a&&(this.\u0275prov=$n({token:this,providedIn:a.providedIn||"root",factory:a.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Hn(s){return s&&!!s.\u0275providers}const gn=mn({\u0275cmp:mn}),xi=mn({\u0275dir:mn}),ps=mn({\u0275pipe:mn}),Mi=mn({\u0275mod:mn}),Ni=mn({\u0275fac:mn}),Ds=mn({__NG_ELEMENT_ID__:mn}),Gi=mn({__NG_ENV_ID__:mn});function On(s){return"string"==typeof s?s:null==s?"":String(s)}function Do(s,o){throw new Je(-201,!1)}var oi=function(s){return s[s.Default=0]="Default",s[s.Host=1]="Host",s[s.Self=2]="Self",s[s.SkipSelf=4]="SkipSelf",s[s.Optional=8]="Optional",s}(oi||{});let Yr;function $r(){return Yr}function ks(s){const o=Yr;return Yr=s,o}function Ta(s,o,a){const c=to(s);return c&&"root"==c.providedIn?void 0===c.value?c.value=c.factory():c.value:a&oi.Optional?null:void 0!==o?o:void Do()}const gr={},Co="__NG_DI_FLAG__",Nr="ngTempTokenPath",no=/\n/gm,$o="__source";let ms;function lr(s){const o=ms;return ms=s,o}function Uo(s,o=oi.Default){if(void 0===ms)throw new Je(-203,!1);return null===ms?Ta(s,void 0,o):ms.get(s,o&oi.Optional?null:void 0,o)}function os(s,o=oi.Default){return($r()||Uo)(Me(s),o)}function Vn(s,o=oi.Default){return os(s,Gr(o))}function Gr(s){return typeof s>"u"||"number"==typeof s?s:(s.optional&&8)|(s.host&&1)|(s.self&&2)|(s.skipSelf&&4)}function So(s){const o=[];for(let a=0;a<s.length;a++){const c=Me(s[a]);if(Array.isArray(c)){if(0===c.length)throw new Je(900,!1);let h,_=oi.Default;for(let D=0;D<c.length;D++){const R=c[D],P=io(R);"number"==typeof P?-1===P?h=R.token:_|=P:h=R}o.push(os(h,_))}else o.push(os(c))}return o}function $s(s,o){return s[Co]=o,s.prototype[Co]=o,s}function io(s){return s[Co]}const _i=$s(vi("Optional"),8),ur=$s(vi("SkipSelf"),4);function er(s,o){return s.hasOwnProperty(Ni)?s[Ni]:null}
vendor: 4,148 bytes, line 1
1function As(s,o){s.forEach(a=>Array.isArray(a)?As(a,o):o(a))}function Vr(s,o,a){o>=s.length?s.push(a):s.splice(o,0,a)}function Ls(s,o){return o>=s.length-1?s.pop():s.splice(o,1)[0]}function tr(s,o,a){let c=vr(s,o);return c>=0?s[1|c]=a:(c=~c,function Go(s,o,a,c){let h=s.length;if(h==o)s.push(a,c);else if(1===h)s.push(c,s[0]),s[0]=a;else{for(h--,s.push(s[h-1],s[h]);h>o;)s[h]=s[h-2],h--;s[o]=a,s[o+1]=c}}(s,c,o,a)),c}function br(s,o){const a=vr(s,o);if(a>=0)return s[1|a]}function vr(s,o){return function ta(s,o,a){let c=0,h=s.length>>a;for(;h!==c;){const _=c+(h-c>>1),D=s[_<<a];if(o===D)return _<<a;D>o?h=_:c=_+1}return~(h<<a)}(s,o,1)}const pr={},ii=[],oo=new Mt(""),Da=new Mt("",-1),cr=new Mt("");class Wr{get(o,a=gr){if(a===gr){const c=new Error(`NullInjectorError: No provider for ${ti(o)}!`);throw c.name="NullInjectorError",c}return a}}var Fr=function(s){return s[s.OnPush=0]="OnPush",s[s.Default=1]="Default",s}(Fr||{}),qr=function(s){return s[s.Emulated=0]="Emulated",s[s.None=2]="None",s[s.ShadowDom=3]="ShadowDom",s}(qr||{}),ao=function(s){return s[s.None=0]="None",s[s.SignalBased=1]="SignalBased",s[s.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",s}(ao||{});function lo(s,o,a){let c=s.length;for(;;){const h=s.indexOf(o,a);if(-1===h)return h;if(0===h||s.charCodeAt(h-1)<=32){const _=o.length;if(h+_===c||s.charCodeAt(h+_)<=32)return h}a=h+1}}function ko(s,o,a){let c=0;for(;c<a.length;){const h=a[c];if("number"==typeof h){if(0!==h)break;c++;const _=a[c++],D=a[c++],R=a[c++];s.setAttribute(o,D,R,_)}else{const _=h,D=a[++c];fe(_)?s.setProperty(o,_,D):s.setAttribute(o,_,D),c++}}return c}function de(s){return 3===s||4===s||6===s}function fe(s){return 64===s.charCodeAt(0)}function z(s,o){if(null!==o&&0!==o.length)if(null===s||0===s.length)s=o.slice();else{let a=-1;for(let c=0;c<o.length;c++){const h=o[c];"number"==typeof h?a=h:0===a||Ae(s,a,h,null,-1===a||2===a?o[++c]:null)}}return s}function Ae(s,o,a,c,h){let _=0,D=s.length;if(-1===o)D=-1;else for(;_<s.length;){const R=s[_++];if("number"==typeof R){if(R===o){D=-1;break}if(R>o){D=_-1;break}}}for(;_<s.length;){const R=s[_];if("number"==typeof R)break;if(R===a){if(null===c)return void(null!==h&&(s[_+1]=h));if(c===s[_+1])return void(s[_+2]=h)}_++,null!==c&&_++,null!==h&&_++}-1!==D&&(s.splice(D,0,o),_=D+1),s.splice(_++,0,a),null!==c&&s.splice(_++,0,c),null!==h&&s.splice(_++,0,h)}const Ze="ng-template";function In(s,o,a,c){let h=0;if(c){for(;h<o.length&&"string"==typeof o[h];h+=2)if("class"===o[h]&&-1!==lo(o[h+1].toLowerCase(),a,0))return!0}else if(Jn(s))return!1;if(h=o.indexOf(1,h),h>-1){let _;for(;++h<o.length&&"string"==typeof(_=o[h]);)if(_.toLowerCase()===a)return!0}return!1}function Jn(s){return 4===s.type&&s.value!==Ze}function Ms(s,o,a){return o===(4!==s.type||a?s.value:Ze)}function Lr(s,o,a){let c=4;const h=s.attrs,_=null!==h?function na(s){for(let o=0;o<s.length;o++)if(de(s[o]))return o;return s.length}(h):0;let D=!1;for(let R=0;R<o.length;R++){const P=o[R];if("number"!=typeof P){if(!D)if(4&c){if(c=2|1&c,""!==P&&!Ms(s,P,a)||""===P&&1===o.length){if(nr(c))return!1;D=!0}}else if(8&c){if(null===h||!In(s,h,P,a)){if(nr(c))return!1;D=!0}}else{const ne=o[++R],ve=ls(P,h,Jn(s),a);if(-1===ve){if(nr(c))return!1;D=!0;continue}if(""!==ne){let Pe;if(Pe=ve>_?"":h[ve+1].toLowerCase(),2&c&&ne!==Pe){if(nr(c))return!1;D=!0}}}}else{if(!D&&!nr(c)&&!nr(P))return!1;if(D&&nr(P))continue;D=!1,c=P|1&c}}return nr(c)||D}function nr(s){return!(1&s)}function ls(s,o,a,c){if(null===o)return-1;let h=0;if(c||!a){let _=!1;for(;h<o.length;){const D=o[h];if(D===s)return h;if(3===D||6===D)_=!0;else{if(1===D||2===D){let R=o[++h];for(;"string"==typeof R;)R=o[++h];continue}if(4===D)break;if(0===D){h+=4;continue}}h+=_?1:2}return-1}return function Vi(s,o){let a=s.indexOf(4);if(a>-1)for(a++;a<s.length;){const c=s[a];if("number"==typeof c)return-1;if(c===o)return a;a++}return-1}(o,s)}function gl(s,o,a=!1){for(let c=0;c<o.length;c++)if(Lr(s,o[c],a))return!0;return!1}function el(s,o){e:for(let a=0;a<o.length;a++){const c=o[a];if(s.length===c.length){for(let h=0;h<s.length;h++)if(s[h]!==c[h])continue e;return!0}}return!1}function ia(s,o){return s?":not("+o.trim()+")":o}
vendor: 5,476 bytes, line 1
1function Xr(s){let o=s[0],a=1,c=2,h="",_=!1;for(;a<s.length;){let D=s[a];if("string"==typeof D)if(2&c){const R=s[++a];h+="["+D+(R.length>0?'="'+R+'"':"")+"]"}else 8&c?h+="."+D:4&c&&(h+=" "+D);else""!==h&&!nr(D)&&(o+=ia(_,h),h=""),c=D,_=_||!nr(c);a++}return""!==h&&(o+=ia(_,h)),o}function Hi(s){return Zt(()=>{const o=Nl(s),a={...o,decls:s.decls,vars:s.vars,template:s.template,consts:s.consts||null,ngContentSelectors:s.ngContentSelectors,onPush:s.changeDetection===Fr.OnPush,directiveDefs:null,pipeDefs:null,dependencies:o.standalone&&s.dependencies||null,getStandaloneInjector:null,signals:s.signals??!1,data:s.data||{},encapsulation:s.encapsulation||qr.Emulated,styles:s.styles||ii,_:null,schemas:s.schemas||null,tView:null,id:""};Ba(a);const c=s.dependencies;return a.directiveDefs=we(c,!1),a.pipeDefs=we(c,!0),a.id=function j(s){let o=0;const a=[s.selectors,s.ngContentSelectors,s.hostVars,s.hostAttrs,s.consts,s.vars,s.decls,s.encapsulation,s.standalone,s.signals,s.exportAs,JSON.stringify(s.inputs),JSON.stringify(s.outputs),Object.getOwnPropertyNames(s.type.prototype),!!s.contentQueries,!!s.viewQuery].join("|");for(const h of a)o=Math.imul(31,o)+h.charCodeAt(0)|0;return o+=2147483648,"c"+o}(a),a})}function Sa(s){return ai(s)||xs(s)}function sa(s){return null!==s}function Pr(s){return Zt(()=>({type:s.type,bootstrap:s.bootstrap||ii,declarations:s.declarations||ii,imports:s.imports||ii,exports:s.exports||ii,transitiveCompileScopes:null,schemas:s.schemas||null,id:s.id||null}))}function tl(s,o){if(null==s)return pr;const a={};for(const c in s)if(s.hasOwnProperty(c)){const h=s[c];let _,D,R=ao.None;Array.isArray(h)?(R=h[0],_=h[1],D=h[2]??_):(_=h,D=h),o?(a[_]=R!==ao.None?[c,R]:c,o[_]=D):a[_]=c}return a}function ja(s){return Zt(()=>{const o=Nl(s);return Ba(o),o})}function Ra(s){return{type:s.type,name:s.name,factory:null,pure:!1!==s.pure,standalone:!0===s.standalone,onDestroy:s.type.prototype.ngOnDestroy||null}}function ai(s){return s[gn]||null}function xs(s){return s[xi]||null}function fs(s){return s[ps]||null}function hr(s){const o=ai(s)||xs(s)||fs(s);return null!==o&&o.standalone}function Ss(s,o){const a=s[Mi]||null;if(!a&&!0===o)throw new Error(`Type ${ti(s)} does not have '\u0275mod' property.`);return a}function Nl(s){const o={};return{type:s.type,providersResolver:null,factory:null,hostBindings:s.hostBindings||null,hostVars:s.hostVars||0,hostAttrs:s.hostAttrs||null,contentQueries:s.contentQueries||null,declaredInputs:o,inputTransforms:null,inputConfig:s.inputs||pr,exportAs:s.exportAs||null,standalone:!0===s.standalone,signals:!0===s.signals,selectors:s.selectors||ii,viewQuery:s.viewQuery||null,features:s.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:tl(s.inputs,o),outputs:tl(s.outputs),debugInfo:null}}function Ba(s){s.features?.forEach(o=>o(s))}function we(s,o){if(!s)return null;const a=o?fs:Sa;return()=>("function"==typeof s?s():s).map(c=>a(c)).filter(sa)}function te(s){return{\u0275providers:s}}function De(...s){return{\u0275providers:$e(0,s),\u0275fromNgModule:!0}}function $e(s,...o){const a=[],c=new Set;let h;const _=D=>{a.push(D)};return As(o,D=>{const R=D;rt(R,_,[],c)&&(h||=[],h.push(R))}),void 0!==h&&nt(h,_),a}function nt(s,o){for(let a=0;a<s.length;a++){const{ngModule:c,providers:h}=s[a];kt(h,_=>{o(_,c)})}}function rt(s,o,a,c){if(!(s=Me(s)))return!1;let h=null,_=Cr(s);const D=!_&&ai(s);if(_||D){if(D&&!D.standalone)return!1;h=s}else{const P=s.ngModule;if(_=Cr(P),!_)return!1;h=P}const R=c.has(h);if(D){if(R)return!1;if(c.add(h),D.dependencies){const P="function"==typeof D.dependencies?D.dependencies():D.dependencies;for(const ne of P)rt(ne,o,a,c)}}else{if(!_)return!1;{if(null!=_.imports&&!R){let ne;c.add(h);try{As(_.imports,ve=>{rt(ve,o,a,c)&&(ne||=[],ne.push(ve))})}finally{}void 0!==ne&&nt(ne,o)}if(!R){const ne=er(h)||(()=>new h);o({provide:h,useFactory:ne,deps:ii},h),o({provide:cr,useValue:h,multi:!0},h),o({provide:oo,useValue:()=>os(h),multi:!0},h)}const P=_.providers;if(null!=P&&!R){const ne=s;kt(P,ve=>{o(ve,ne)})}}}return h!==s&&void 0!==s.providers}function kt(s,o){for(let a of s)Hn(a)&&(a=a.\u0275providers),Array.isArray(a)?kt(a,o):o(a)}const dn=mn({provide:String,useValue:mn});function pn(s){return null!==s&&"object"==typeof s&&dn in s}function xn(s){return"function"==typeof s}const Ki=new Mt(""),_s={},Us={};let Gs;function Ji(){return void 0===Gs&&(Gs=new Wr),Gs}class ir{}class dr extends ir{get destroyed(){return this._destroyed}constructor(o,a,c,h){super(),this.parent=a,this.source=c,this.scopes=h,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Ho(o,D=>this.processProvider(D)),this.records.set(Da,gs(void 0,this)),h.has("environment")&&this.records.set(ir,gs(void 0,this));const _=this.records.get(Ki);null!=_&&"string"==typeof _.value&&this.scopes.add(_.value),this.injectorDefTypes=new Set(this.get(cr,ii,oi.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const o=p(null);try{for(const c of this._ngOnDestroyHooks)c.ngOnDestroy();const a=this._onDestroyHooks;this._onDestroyHooks=[];for(const c of a)c()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),p(o)}}onDestroy(o){return this.assertNotDestroyed(),this._onDestroyHooks.push(o),()=>this.removeOnDestroy(o)}runInContext(o){this.assertNotDestroyed();const a=lr(this),c=ks(void 0);try{return o()}finally{lr(a),ks(c)}}get(o,a=gr,c=oi.Default){if(this.assertNotDestroyed(),o.hasOwnProperty(Gi)
1)return o[Gi](this);c=Gr(c);const _=lr(this),D=ks(void 0);try{if(!(c&oi.SkipSelf)){let P=this.records.get(o);if(void 0===P){const ne=function ra(s){return"function"==typeof s||"object"==typeof s&&s instanceof Mt}(o)&&to(o);P=ne&&this.injectableDefInScope(ne)?gs(Fi(o),_s):null,this.records.set(o,P)}if(null!=P)return this.hydrate(o,P)}return(c&oi.Self?Ji():this.parent).get(o,a=c&oi.Optional&&a===gr?null:a)}catch(R){if("NullInjectorError"===R.name){if((R[Nr]=R[Nr]||[]).unshift(ti(o)),_)throw R;return function Or(s,o,a,c){const h=s[Nr];throw o[$o]&&h.unshift(o[$o]),s.message=function so(s,o,a,c=null){s=s&&"\n"===s.charAt(0)&&"\u0275"==s.charAt(1)?s.slice(2):s;let h=ti(o);if(Array.isArray(o))h=o.map(ti).join(" -> ");else if("object"==typeof o){let _=[];for(let D in o)if(o.hasOwnProperty(D)){let R=o[D];_.push(D+":"+("string"==typeof R?JSON.stringify(R):ti(R)))}h=`{${_.join(", ")}}`}return`${a}${c?"("+c+")":""}[${h}]: ${s.replace(no,"\n  ")}`}("\n"+s.message,h,a,c),s.ngTokenPath=h,s[Nr]=null,s}(R,o,"R3InjectorError",this.source)}throw R}finally{ks(D),lr(_)}}resolveInjectorInitializers(){const o=p(null),a=lr(this),c=ks(void 0);try{const _=this.get(oo,ii,oi.Self);for(const D of _)D()}finally{lr(a),ks(c),p(o)}}toString(){const o=[],a=this.records;for(const c of a.keys())o.push(ti(c));return`R3Injector[${o.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Je(205,!1)}processProvider(o){let a=xn(o=Me(o))?o:Me(o&&o.provide);const c=function Ao(s){return pn(s)?gs(void 0,s.useValue):gs(mr(s),_s)}(o);if(!xn(o)&&!0===o.multi){let h=this.records.get(a);h||(h=gs(void 0,_s,!0),h.factory=()=>So(h.multi),this.records.set(a,h)),a=o,h.multi.push(o)}this.records.set(a,c)}hydrate(o,a){const c=p(null);try{return a.value===_s&&(a.value=Us,a.value=a.factory()),"object"==typeof a.value&&a.value&&function co(s){return null!==s&&"object"==typeof s&&"function"==typeof s.ngOnDestroy}(a.value)&&this._ngOnDestroyHooks.add(a.value),a.value}finally{p(c)}}injectableDefInScope(o){if(!o.providedIn)return!1;const a=Me(o.providedIn);return"string"==typeof a?"any"===a||this.scopes.has(a):this.injectorDefTypes.has(a)}removeOnDestroy(o){const a=this._onDestroyHooks.indexOf(o);-1!==a&&this._onDestroyHooks.splice(a,1)}}function Fi(s){const o=to(s),a=null!==o?o.factory:er(s);if(null!==a)return a;if(s instanceof Mt)throw new Je(204,!1);if(s instanceof Function)return function yr(s){if(s.length>0)throw new Je(204,!1);const a=function Fs(s){return s&&(s[Be]||s[tt])||null}(s);return null!==a?()=>a.factory(s):()=>new s}(s);throw new Je(204,!1)}function mr(s,o,a){let c;if(xn(s)){const h=Me(s);return er(h)||Fi(h)}if(pn(s))c=()=>Me(s.useValue);else if(function si(s){return!(!s||!s.useFactory)}(s))c=()=>s.useFactory(...So(s.deps||[]));else if(function Ei(s){return!(!s||!s.useExisting)}(s))c=()=>os(Me(s.useExisting));else{const h=Me(s&&(s.useClass||s.provide));if(!function Ns(s){return!!s.deps}(s))return er(h)||Fi(h);c=()=>new h(...So(s.deps))}return c}function gs(s,o,a=!1){return{factory:s,value:o,multi:a?[]:void 0}}function Ho(s,o){for(const a of s)Array.isArray(a)?Ho(a,o):a&&Hn(a)?Ho(a.\u0275providers,o):o(a)}function bn(s,o){s instanceof dr&&s.assertNotDestroyed();const c=lr(s),h=ks(void 0);try{return o()}finally{lr(c),ks(h)}}function Fn(){return void 0!==$r()||null!=function Ur(){return ms}()}function Rn(s){if(!Fn())throw new Je(-203,!1)}const wi=0,Qt=1,Mn=2,Si=3,Vs=4,Rs=5,Hs=6,Js=7,Ts=8,sr=9,Sr=10,Qn=11,Ya=12,vl=13,Wo=14,Is=15,yl=16,wa=17,qo=18,Ol=19,Jl=20,Er=21,El=22,Xo=23,li=25,Ps=1,Tr=7,xo=9,Os=10;var oa=function(s){return s[s.None=0]="None",s[s.HasTransplantedViews=2]="HasTransplantedViews",s}(oa||{});function vs(s){return Array.isArray(s)&&"object"==typeof s[Ps]}function ci(s){return Array.isArray(s)&&!0===s[Ps]}function Ql(s){return!!(4&s.flags)}function No(s){return s.componentOffset>-1}function nl(s){return!(1&~s.flags)}function _o(s){return!!s.template}function Tl(s){return!!(512&s[Mn])}class Ct{constructor(o,a,c){this.previousValue=o,this.currentValue=a,this.firstChange=c}isFirstChange(){return this.firstChange}}function It(s,o,a,c){null!==o?o.applyValueToInputSignal(o,c):s[a]=c}function an(){return Zn}function Zn(s){return s.type.prototype.ngOnChanges&&(s.setInput=js),hi}function hi(){const s=Ua(this),o=s?.current;if(o){const a=s.previous;if(a===pr)s.previous=o;else for(let c in o)a[c]=o[c];s.current=null,this.ngOnChanges(o)}}function js(s,o,a,c,h){const _=this.declaredInputs[c],D=Ua(s)||function zr(s,o){return s[$a]=o}(s,{previous:pr,current:null}),R=D.current||(D.current={}),P=D.previous,ne=P[_];R[_]=new Ct(ne&&ne.currentValue,a,P===pr),It(s,o,h,a)}an.ngInherit=!0;const $a="__ngSimpleChanges__";function Ua(s){return s[$a]||null}const aa=function(s,o,a){},md="svg";let fd=!1;function $i(s){for(;Array.isArray(s);)s=s[wi];return s}function sl(s,o){return $i(o[s])}function rr(s,o){return $i(o[s.index])}function rl(s,o){return s.data[o]}function ol(s,o){return s[o]}function Fo(s,o){const a=o[s];return vs(a)?a:a[wi]}function Oc(s){return!(128&~s[Mn])}function Lo(s,o){return null==o?null:s[o]}function xa(s){s[wa]=0}function Pl(s){1024&s[Mn]||(s[Mn]|=1024,Oc(s)&&nc(s))}function vd(s){return!!(9216&s[Mn]||s[Xo]?.dirty)}function yd(s){s[Sr].changeDetectionScheduler?.notify(1),vd(s)?nc(s):64&s[Mn]&&(function _d(){return fd}()?(s[Mn]|=1024,nc(s)):s[Sr].changeDetectionScheduler?.notify())}function nc(s){s[Sr].changeDetectionScheduler?.notify();let o=Po(s);for(;null!==o&&!(8192&o[Mn])&&(o[Mn]|=8192,Oc(o));)o=Po(o)}function Fc(s,o){if(!(256&~s[Mn]))throw new Je(911,!1);null===s[Er]&&(s[Er]=[]),s[Er].push(o)}function Po(s){const o=s[Si];return ci(o)?o[Si]:o}const ei={lFrame:zm(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Oe(){return ei.bindingsEnabled}function ut(){return null!==ei.skipHydrationRootTNode}function Pt(){return ei.lFrame.lView}function gi(){return ei.lFrame.tView}function Ed(s){return ei.lFrame.contextLView=s,s[Ts]}
vendor: 4,617 bytes, line 1
1function Hm(s){return ei.lFrame.contextLView=null,s}function Qi(){let s=Lc();for(;null!==s&&64===s.type;)s=s.parent;return s}function Lc(){return ei.lFrame.currentTNode}function sc(){const s=ei.lFrame,o=s.currentTNode;return s.isParent?o:o.parent}function Na(s,o){const a=ei.lFrame;a.currentTNode=s,a.isParent=o}function Td(){return ei.lFrame.isParent}function Id(){ei.lFrame.isParent=!1}function Ir(){const s=ei.lFrame;let o=s.bindingRootIndex;return-1===o&&(o=s.bindingRootIndex=s.tView.bindingStartIndex),o}function la(){return ei.lFrame.bindingIndex}function jo(){return ei.lFrame.bindingIndex++}function go(s){const o=ei.lFrame,a=o.bindingIndex;return o.bindingIndex=o.bindingIndex+s,a}function Wm(s){ei.lFrame.inI18n=s}function Jp(s,o){const a=ei.lFrame;a.bindingIndex=a.bindingRootIndex=s,Cd(o)}function Cd(s){ei.lFrame.currentDirectiveIndex=s}function Zp(){return ei.lFrame.currentQueryIndex}function Mu(s){ei.lFrame.currentQueryIndex=s}function Hg(s){const o=s[Qt];return 2===o.type?o.declTNode:1===o.type?s[Rs]:null}function qm(s,o,a){if(a&oi.SkipSelf){let h=o,_=s;for(;!(h=h.parent,null!==h||a&oi.Host||(h=Hg(_),null===h||(_=_[Wo],10&h.type))););if(null===h)return!1;o=h,s=_}const c=ei.lFrame=Xm();return c.currentTNode=o,c.lView=s,!0}function eh(s){const o=Xm(),a=s[Qt];ei.lFrame=o,o.currentTNode=a.firstChild,o.lView=s,o.tView=a,o.contextLView=s,o.bindingIndex=a.bindingStartIndex,o.inI18n=!1}function Xm(){const s=ei.lFrame,o=null===s?null:s.child;return null===o?zm(s):o}function zm(s){const o={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:s,child:null,inI18n:!1};return null!==s&&(s.child=o),o}function Km(){const s=ei.lFrame;return ei.lFrame=s.parent,s.currentTNode=null,s.lView=null,s}const Su=Km;function Ru(){const s=Km();s.isParent=!0,s.tView=null,s.selectedIndex=-1,s.contextLView=null,s.elementDepthCount=0,s.currentDirectiveIndex=-1,s.currentNamespace=null,s.bindingRootIndex=-1,s.bindingIndex=-1,s.currentQueryIndex=0}function bo(){return ei.lFrame.selectedIndex}function Dl(s){ei.lFrame.selectedIndex=s}function Ws(){const s=ei.lFrame;return rl(s.tView,s.selectedIndex)}function Md(){ei.lFrame.currentNamespace=md}function Qm(){!function th(){ei.lFrame.currentNamespace=null}()}let ih=!0;function Pc(){return ih}function al(s){ih=s}function wu(s,o){for(let a=o.directiveStart,c=o.directiveEnd;a<c;a++){const _=s.data[a].type.prototype,{ngAfterContentInit:D,ngAfterContentChecked:R,ngAfterViewInit:P,ngAfterViewChecked:ne,ngOnDestroy:ve}=_;D&&(s.contentHooks??=[]).push(-a,D),R&&((s.contentHooks??=[]).push(a,R),(s.contentCheckHooks??=[]).push(a,R)),P&&(s.viewHooks??=[]).push(-a,P),ne&&((s.viewHooks??=[]).push(a,ne),(s.viewCheckHooks??=[]).push(a,ne)),null!=ve&&(s.destroyHooks??=[]).push(a,ve)}}function ku(s,o,a){Zm(s,o,3,a)}function Au(s,o,a,c){(3&s[Mn])===a&&Zm(s,o,a,c)}function sh(s,o){let a=s[Mn];(3&a)===o&&(a&=16383,a+=1,s[Mn]=a)}function Zm(s,o,a,c){const _=c??-1,D=o.length-1;let R=0;for(let P=void 0!==c?65535&s[wa]:0;P<D;P++)if("number"==typeof o[P+1]){if(R=o[P],null!=c&&R>=c)break}else o[P]<0&&(s[wa]+=65536),(R<_||-1==_)&&(ef(s,a,o,P),s[wa]=(4294901760&s[wa])+P+2),P++}function Sd(s,o){aa(4,s,o);const a=p(null);try{o.call(s)}finally{p(a),aa(5,s,o)}}function ef(s,o,a,c){const h=a[c]<0,_=a[c+1],R=s[h?-a[c]:a[c]];h?s[Mn]>>14<s[wa]>>16&&(3&s[Mn])===o&&(s[Mn]+=16384,Sd(R,_)):Sd(R,_)}const Cl=-1;class jc{constructor(o,a,c){this.factory=o,this.resolving=!1,this.canSeeViewProviders=a,this.injectImpl=c}}function ll(s){return s!==Cl}function Bc(s){return 32767&s}function Yc(s,o){let a=function sf(s){return s>>16}(s),c=o;for(;a>0;)c=c[Wo],a--;return c}let $c=!0;function Rd(s){const o=$c;return $c=s,o}const oh=255,wd=5;let rf=0;const Va={};function ac(s,o){const a=Nu(s,o);if(-1!==a)return a;const c=o[Qt];c.firstCreatePass&&(s.injectorIndex=o.length,kd(c.data,s),kd(o,null),kd(c.blueprint,null));const h=Ou(s,o),_=s.injectorIndex;if(ll(h)){const D=Bc(h),R=Yc(h,o),P=R[Qt].data;for(let ne=0;ne<8;ne++)o[_+ne]=R[D+ne]|P[D+ne]}return o[_+8]=h,_}function kd(s,o){s.push(0,0,0,0,0,0,0,0,o)}function Nu(s,o){return-1===s.injectorIndex||s.parent&&s.parent.injectorIndex===s.injectorIndex||null===o[s.injectorIndex+8]?-1:s.injectorIndex}function Ou(s,o){if(s.parent&&-1!==s.parent.injectorIndex)return s.parent.injectorIndex;let a=0,c=null,h=o;for(;null!==h;){if(c=uc(h),null===c)return Cl;if(a++,h=h[Wo],-1!==c.injectorIndex)return c.injectorIndex|a<<16}return Cl}function Oa(s,o,a){!function ah(s,o,a){let c;
1"string"==typeof a?c=a.charCodeAt(0)||0:a.hasOwnProperty(Ds)&&(c=a[Ds]),null==c&&(c=a[Ds]=rf++);const h=c&oh;o.data[s+(h>>wd)]|=1<<h}(s,o,a)}function lc(s,o,a){if(a&oi.Optional||void 0!==s)return s;Do()}function jl(s,o,a,c){if(a&oi.Optional&&void 0===c&&(c=null),!(a&(oi.Self|oi.Host))){const h=s[sr],_=ks(void 0);try{return h?h.get(o,c,a&oi.Optional):Ta(o,c,a&oi.Optional)}finally{ks(_)}}return lc(c,0,a)}function Bl(s,o,a,c=oi.Default,h){if(null!==s){if(2048&o[Mn]&&!(c&oi.Self)){const D=function dc(s,o,a,c,h){let _=s,D=o;for(;null!==_&&null!==D&&2048&D[Mn]&&!(512&D[Mn]);){const R=lh(_,D,a,c|oi.Self,Va);if(R!==Va)return R;let P=_.parent;if(!P){const ne=D[Jl];if(ne){const ve=ne.get(a,Va,c);if(ve!==Va)return ve}P=uc(D),D=D[Wo]}_=P}return h}(s,o,a,c,Va);if(D!==Va)return D}const _=lh(s,o,a,c,Va);if(_!==Va)return _}return jl(o,a,c,h)}function lh(s,o,a,c,h){const _=function Uc(s){if("string"==typeof s)return s.charCodeAt(0)||0;const o=s.hasOwnProperty(Ds)?s[Ds]:void 0;return"number"==typeof o?o>=0?o&oh:cc:o}(a);if("function"==typeof _){if(!qm(o,s,c))return c&oi.Host?lc(h,0,c):jl(o,a,c,h);try{let D;if(D=_(c),null!=D||c&oi.Optional)return D;Do()}finally{Su()}}else if("number"==typeof _){let D=null,R=Nu(s,o),P=Cl,ne=c&oi.Host?o[Is][Rs]:null;for((-1===R||c&oi.SkipSelf)&&(P=-1===R?Ou(s,o):o[R+8],P!==Cl&&Jg(c,!1)?(D=o[Qt],R=Bc(P),o=Yc(P,o)):R=-1);-1!==R;){const ve=o[Qt];if(dh(_,R,ve.data)){const Pe=ch(R,o,a,D,c,ne);if(Pe!==Va)return Pe}P=o[R+8],P!==Cl&&Jg(c,o[Qt].data[R+8]===ne)&&dh(_,R,o)?(D=ve,R=Bc(P),o=Yc(P,o)):R=-1}}return h}function ch(s,o,a,c,h,_){const D=o[Qt],R=D.data[s+8],ve=Ha(R,D,a,null==c?No(R)&&$c:c!=D&&!!(3&R.type),h&oi.Host&&_===R);return null!==ve?Yl(o,D,ve,R):Va}function Ha(s,o,a,c,h){const _=s.providerIndexes,D=o.data,R=1048575&_,P=s.directiveStart,ve=_>>20,st=h?R+ve:s.directiveEnd;for(let gt=c?R:R+ve;gt<st;gt++){const Dt=D[gt];if(gt<P&&a===Dt||gt>=P&&Dt.type===a)return gt}if(h){const gt=D[P];if(gt&&_o(gt)&&gt.type===a)return P}return null}function Yl(s,o,a,c){let h=s[a];const _=o.data;if(function rh(s){return s instanceof jc}(h)){const D=h;D.resolving&&function To(s,o){throw o&&o.join(" > "),new Je(-200,s)}(function Xn(s){return"function"==typeof s?s.name||s.toString():"object"==typeof s&&null!=s&&"function"==typeof s.type?s.type.name||s.type.toString():On(s)}(_[a]));const R=Rd(D.canSeeViewProviders);D.resolving=!0;const ne=D.injectImpl?ks(D.injectImpl):null;qm(s,c,oi.Default);try{h=s[a]=D.factory(void 0,_,s,c),o.firstCreatePass&&a>=c.directiveStart&&function qg(s,o,a){const{ngOnChanges:c,ngOnInit:h,ngDoCheck:_}=o.type.prototype;if(c){const D=Zn(o);(a.preOrderHooks??=[]).push(s,D),(a.preOrderCheckHooks??=[]).push(s,D)}h&&(a.preOrderHooks??=[]).push(0-s,h),_&&((a.preOrderHooks??=[]).push(s,_),(a.preOrderCheckHooks??=[]).push(s,_))}(a,_[a],o)}finally{null!==ne&&ks(ne),Rd(R),D.resolving=!1,Su()}}return h}function dh(s,o,a){return!!(a[o+(s>>wd)]&1<<s)}function Jg(s,o){return!(s&oi.Self||s&oi.Host&&o)}class Rr{constructor(o,a){this._tNode=o,this._lView=a}get(o,a,c){return Bl(this._tNode,this._lView,o,Gr(c),a)}}function cc(){return new Rr(Qi(),Pt())}function Fu(s){return Zt(()=>{const o=s.prototype.constructor,a=o[Ni]||Gc(o),c=Object.prototype;let h=Object.getPrototypeOf(s.prototype).constructor;for(;h&&h!==c;){const _=h[Ni]||Gc(h);if(_&&_!==a)return _;h=Object.getPrototypeOf(h)}return _=>new _})}function Gc(s){return Fe(s)?()=>{const o=Gc(Me(s));return o&&o()}:er(s)}function uc(s){const o=s[Qt],a=o.type;return 2===a?o.declTNode:1===a?s[Rs]:null}function Fa(s){return function Ad(s,o){if("class"===o)return s.classes;if("style"===o)return s.styles;const a=s.attrs;if(a){const c=a.length;let h=0;for(;h<c;){const _=a[h];if(de(_))break;if(0===_)h+=2;else if("number"==typeof _)for(h++;h<c&&"string"==typeof a[h];)h++;else{if(_===o)return a[h+1];h+=2}}}return null}(Qi(),s)}function Lu(s,o=null,a=null,c){const h=lf(s,o,a,c);return h.resolveInjectorInitializers(),h}function lf(s,o=null,a=null,c,h=new Set){const _=[a||ii,De(s)];return c=c||("object"==typeof s?void 0:ti(s)),new dr(_,o||Ji(),c||null,h)}let da=(()=>{class s{static{this.THROW_IF_NOT_FOUND=gr}static{this.NULL=new Wr}static create(a,c){if(Array.isArray(a))return Lu({name:""},c,a,"");{const h=a.name??"";return Lu({name:h},a.parent,a.providers,h)}}static{this.\u0275prov=$n({token:s,providedIn:"any",factory:()=>os(Da)})}static{this.__NG_ELEMENT_ID__=-1}}return s})();function df(s){return s.ngOriginalError}class Ml{constructor(){this._console=console}handleError(o){const a=this._findOriginalError(o);this._console.error("ERROR",o),a&&this._console.error("ORIGINAL ERROR",a)}_findOriginalError(o){let a=o&&df(o);for(;a&&df(a);)a=df(a);return a||null}}const uf=new Mt("",{providedIn:"root",factory:()=>Vn(Ml).handleError.bind(void 0)});let pc=(()=>{class s{static{this.__NG_ELEMENT_ID__=s1}static{this.__NG_ENV_ID__=a=>
1a}}return s})();class n1 extends pc{constructor(o){super(),this._lView=o}onDestroy(o){return Fc(this._lView,o),()=>function ic(s,o){if(null===s[Er])return;const a=s[Er].indexOf(o);-1!==a&&s[Er].splice(a,1)}(this._lView,o)}}function s1(){return new n1(Pt())}function bT(){return hc(Qi(),Pt())}function hc(s,o){return new Pu(rr(s,o))}let Pu=(()=>{class s{constructor(a){this.nativeElement=a}static{this.__NG_ELEMENT_ID__=bT}}return s})();function r1(s){return s instanceof Pu?s.nativeElement:s}function mf(s){return o=>{setTimeout(s,void 0,o)}}const Wa=class vT extends mt.B{constructor(o=!1){super(),this.destroyRef=void 0,this.__isAsync=o,Fn()&&(this.destroyRef=Vn(pc,{optional:!0})??void 0)}emit(o){const a=p(null);try{super.next(o)}finally{p(a)}}subscribe(o,a,c){let h=o,_=a||(()=>null),D=c;if(o&&"object"==typeof o){const P=o;h=P.next?.bind(P),_=P.error?.bind(P),D=P.complete?.bind(P)}this.__isAsync&&(_=mf(_),h&&(h=mf(h)),D&&(D=mf(D)));const R=super.subscribe({next:h,error:_,complete:D});return o instanceof Ke.yU&&o.add(R),R}};function yT(){return this._results[Symbol.iterator]()}class hh{get changes(){return this._changes??=new Wa}constructor(o=!1){this._emitDistinctChangesOnly=o,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const a=hh.prototype;a[Symbol.iterator]||(a[Symbol.iterator]=yT)}get(o){return this._results[o]}map(o){return this._results.map(o)}filter(o){return this._results.filter(o)}find(o){return this._results.find(o)}reduce(o,a){return this._results.reduce(o,a)}forEach(o){this._results.forEach(o)}some(o){return this._results.some(o)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(o,a){this.dirty=!1;const c=function Cs(s){return s.flat(Number.POSITIVE_INFINITY)}(o);(this._changesDetected=!function ro(s,o,a){if(s.length!==o.length)return!1;for(let c=0;c<s.length;c++){let h=s[c],_=o[c];if(a&&(h=a(h),_=a(_)),_!==h)return!1}return!0}(this._results,c,a))&&(this._results=c,this.length=c.length,this.last=c[this.length-1],this.first=c[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(o){this._onDirty=o}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}function Bu(s){return!(128&~s.flags)}const $u=new Map;let l1=0;const _f="__ngContext__";function po(s,o){vs(o)?(s[_f]=o[Ol],function ET(s){$u.set(s[Ol],s)}(o)):s[_f]=o}function f(s){return k(s[Ya])}function T(s){return k(s[Vs])}function k(s){for(;null!==s&&!ci(s);)s=s[Vs];return s}let Xi;function qs(s){Xi=s}function zi(){if(void 0!==Xi)return Xi;if(typeof document<"u")return document;throw new Je(210,!1)}const wr=new Mt("",{providedIn:"root",factory:()=>jr}),jr="ng",fr=new Mt(""),pa=new Mt("",{providedIn:"platform",factory:()=>"unknown"}),mc=new Mt(""),fc=new Mt("",{providedIn:"root",factory:()=>zi().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Eh=()=>null;function Sl(s,o,a=!1){return Eh(s,o,a)}const RT=new Mt("",{providedIn:"root",factory:()=>!1});let Tf,Df;function qu(s){return function If(){if(void 0===Tf&&(Tf=null,Dn.trustedTypes))try{Tf=Dn.trustedTypes.createPolicy("angular",{createHTML:s=>s,createScript:s=>s,createScriptURL:s=>s})}catch{}return Tf}()?.createHTML(s)||s}function Cf(){if(void 0===Df&&(Df=null,Dn.trustedTypes))try{Df=Dn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:s=>s,createScript:s=>s,createScriptURL:s=>s})}catch{}return Df}function kT(s){return Cf()?.createHTML(s)||s}function xT(s){return Cf()?.createScriptURL(s)||s}class Yd{constructor(o){this.changingThisBreaksApplicationSecurity=o}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${bt})`}}class x2 extends Yd{getTypeName(){return"HTML"}}class N2 extends Yd{getTypeName(){return"Style"}}class NT extends Yd{getTypeName(){return"Script"}}class OT extends Yd{getTypeName(){return"URL"}}class FT extends Yd{getTypeName(){return"ResourceURL"}}function Hl(s){return s instanceof Yd?s.changingThisBreaksApplicationSecurity:s}function $d(s,o){const a=function T1(s){return s instanceof Yd&&s.getTypeName()||null}(s);if(null!=a&&a!==o){if("ResourceURL"===a&&"URL"===o)return!0;throw new Error(`Required a safe ${o}, got a ${a} (see ${bt})`)}return a===o}function O2(s){return new x2(s)}function F2(s){return new N2(s)}function L2(s){return new NT(s)}function P2(s){return new OT(s)}function LT(s){return new FT(s)}function PT(s){const o=new B2(s);return function Y2(){try{return!!(new window.DOMParser).parseFromString(qu(""),"text/html")}catch{return!1}}()?new j2(o):o}class j2{constructor(o){this.inertDocumentHelper=o}getInertBodyElement(o){o="<body><remove></remove>"+o;try{const a=(new window.DOMParser).parseFromString(qu(o),"text/html").body;return null===a?this.inertDocumentHelper.getInertBodyElement(o):(a.removeChild(a.firstChild),a)}catch{return null}}}
vendor: 4,799 bytes, line 1
1class B2{constructor(o){this.defaultDoc=o,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(o){const a=this.inertDocument.createElement("template");return a.innerHTML=qu(o),a}}const $2=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Mf(s){return(s=String(s)).match($2)?s:"unsafe:"+s}function yc(s){const o={};for(const a of s.split(","))o[a]=!0;return o}function Xu(...s){const o={};for(const a of s)for(const c in a)a.hasOwnProperty(c)&&(o[c]=!0);return o}const I1=yc("area,br,col,hr,img,wbr"),D1=yc("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),C1=yc("rp,rt"),M1=Xu(I1,Xu(D1,yc("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Xu(C1,yc("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Xu(C1,D1)),Sf=yc("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),BT=Xu(Sf,yc("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),yc("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),G2=yc("script,style,template");class Ih{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(o){let a=o.firstChild,c=!0,h=[];for(;a;)if(a.nodeType===Node.ELEMENT_NODE?c=this.startElement(a):a.nodeType===Node.TEXT_NODE?this.chars(a.nodeValue):this.sanitizedSomething=!0,c&&a.firstChild)h.push(a),a=$T(a);else for(;a;){a.nodeType===Node.ELEMENT_NODE&&this.endElement(a);let _=Dh(a);if(_){a=_;break}a=h.pop()}return this.buf.join("")}startElement(o){const a=UT(o).toLowerCase();if(!M1.hasOwnProperty(a))return this.sanitizedSomething=!0,!G2.hasOwnProperty(a);this.buf.push("<"),this.buf.push(a);const c=o.attributes;for(let h=0;h<c.length;h++){const _=c.item(h),D=_.name,R=D.toLowerCase();if(!BT.hasOwnProperty(R)){this.sanitizedSomething=!0;continue}let P=_.value;Sf[R]&&(P=Mf(P)),this.buf.push(" ",D,'="',GT(P),'"')}return this.buf.push(">"),!0}endElement(o){const a=UT(o).toLowerCase();M1.hasOwnProperty(a)&&!I1.hasOwnProperty(a)&&(this.buf.push("</"),this.buf.push(a),this.buf.push(">"))}chars(o){this.buf.push(GT(o))}}function Dh(s){const o=s.nextSibling;if(o&&s!==o.previousSibling)throw S1(o);return o}function $T(s){const o=s.firstChild;if(o&&function YT(s,o){return(s.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(s,o))throw S1(o);return o}function UT(s){const o=s.nodeName;return"string"==typeof o?o:"FORM"}function S1(s){return new Error(`Failed to sanitize html because the element is clobbered: ${s.outerHTML}`)}const V2=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,H2=/([^\#-~ |!])/g;function GT(s){return s.replace(/&/g,"&amp;").replace(V2,function(o){return"&#"+(1024*(o.charCodeAt(0)-55296)+(o.charCodeAt(1)-56320)+65536)+";"}).replace(H2,function(o){return"&#"+o.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Rf;function VT(s,o){let a=null;try{Rf=Rf||PT(s);let c=o?String(o):"";a=Rf.getInertBodyElement(c);let h=5,_=c;do{if(0===h)throw new Error("Failed to sanitize html because the input is unstable");h--,c=_,_=a.innerHTML,a=Rf.getInertBodyElement(c)}while(c!==_);return qu((new Ih).sanitizeChildren(wf(a)||a))}finally{if(a){const c=wf(a)||a;for(;c.firstChild;)c.removeChild(c.firstChild)}}}function wf(s){return"content"in s&&function HT(s){return s.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===s.nodeName}(s)?s.content:null}var Xc=function(s){return s[s.NONE=0]="NONE",s[s.HTML=1]="HTML",s[s.STYLE=2]="STYLE",s[s.SCRIPT=3]="SCRIPT",s[s.URL=4]="URL",s[s.RESOURCE_URL=5]="RESOURCE_URL",
1s}(Xc||{});function zc(s){const o=Ku();return o?kT(o.sanitize(Xc.HTML,s)||""):$d(s,"HTML")?kT(Hl(s)):VT(zi(),On(s))}function kf(s){const o=Ku();return o?o.sanitize(Xc.URL,s)||"":$d(s,"URL")?Hl(s):Mf(On(s))}function Af(s){const o=Ku();if(o)return xT(o.sanitize(Xc.RESOURCE_URL,s)||"");if($d(s,"ResourceURL"))return xT(Hl(s));throw new Je(904,!1)}function R1(s,o,a){return function KT(s,o){return"src"===o&&("embed"===s||"frame"===s||"iframe"===s||"media"===s||"script"===s)||"href"===o&&("base"===s||"link"===s)?Af:kf}(o,a)(s)}function Ku(){const s=Pt();return s&&s[Sr].sanitizer}const JT=/^>|^->|<!--|-->|--!>|<!-$/g,QT=/(<|>)/g,ZT="\u200b$1\u200b";function Qu(s){return s.ownerDocument.defaultView}function O1(s){return s.ownerDocument}function za(s){return s instanceof Function?s():s}var kh=function(s){return s[s.Important=1]="Important",s[s.DashCase=2]="DashCase",s}(kh||{});let Nf;function Of(s,o){return Nf(s,o)}function Vd(s,o,a,c,h){if(null!=c){let _,D=!1;ci(c)?_=c:vs(c)&&(D=!0,c=c[wi]);const R=$i(c);0===s&&null!==a?null==h?$1(o,a,R):Kc(o,a,R,h||null,!0):1===s&&null!==a?Kc(o,a,R,h||null,!0):2===s?function tp(s,o,a){const c=Nh(s,o);c&&function mI(s,o,a,c){s.removeChild(o,a,c)}(s,c,o,a)}(o,R,D):3===s&&o.destroyNode(R),null!=_&&function gI(s,o,a,c,h){const _=a[Tr];_!==$i(a)&&Vd(o,s,c,_,h);for(let R=Os;R<a.length;R++){const P=a[R];Oh(P[Qt],P,s,o,c,_)}}(o,s,_,a,h)}}function Ff(s,o){return s.createText(o)}function Lf(s,o){return s.createComment(function w1(s){return s.replace(JT,o=>o.replace(QT,ZT))}(o))}function Ah(s,o,a){return s.createElement(o,a)}function j1(s,o){o[Sr].changeDetectionScheduler?.notify(1),Oh(s,o,o[Qn],2,null,null)}function B1(s,o){const a=s[xo],c=a.indexOf(o);a.splice(c,1)}function ep(s,o){if(s.length<=Os)return;const a=Os+o,c=s[a];if(c){const h=c[yl];null!==h&&h!==s&&B1(h,c),o>0&&(s[a-1][Vs]=c[Vs]);const _=Ls(s,Os+o);!function aI(s,o){j1(s,o),o[wi]=null,o[Rs]=null}(c[Qt],c);const D=_[qo];null!==D&&D.detachView(_[Qt]),c[Si]=null,c[Vs]=null,c[Mn]&=-129}return c}function xh(s,o){if(!(256&o[Mn])){const a=o[Qn];a.destroyNode&&Oh(s,o,a,3,null,null),function cI(s){let o=s[Ya];if(!o)return Pf(s[Qt],s);for(;o;){let a=null;if(vs(o))a=o[Ya];else{const c=o[Os];c&&(a=c)}if(!a){for(;o&&!o[Vs]&&o!==s;)vs(o)&&Pf(o[Qt],o),o=o[Si];null===o&&(o=s),vs(o)&&Pf(o[Qt],o),a=o&&o[Vs]}o=a}}(o)}}function Pf(s,o){if(256&o[Mn])return;const a=p(null);try{o[Mn]&=-129,o[Mn]|=256,o[Xo]&&K(o[Xo]),function hI(s,o){let a;if(null!=s&&null!=(a=s.destroyHooks))for(let c=0;c<a.length;c+=2){const h=o[a[c]];if(!(h instanceof jc)){const _=a[c+1];if(Array.isArray(_))for(let D=0;D<_.length;D+=2){const R=h[_[D]],P=_[D+1];aa(4,R,P);try{P.call(R)}finally{aa(5,R,P)}}else{aa(4,h,_);try{_.call(h)}finally{aa(5,h,_)}}}}}(s,o),function pI(s,o){const a=s.cleanup,c=o[Js];if(null!==a)for(let _=0;_<a.length-1;_+=2)if("string"==typeof a[_]){const D=a[_+3];D>=0?c[D]():c[-D].unsubscribe(),_+=2}else a[_].call(c[a[_+1]]);null!==c&&(o[Js]=null);const h=o[Er];if(null!==h){o[Er]=null;for(let _=0;_<h.length;_++)(0,h[_])()}}(s,o),1===o[Qt].type&&o[Qn].destroy();const c=o[yl];if(null!==c&&ci(o[Si])){c!==o[Si]&&B1(c,o);const h=o[qo];null!==h&&h.detachView(s)}!function TT(s){$u.delete(s[Ol])}(o)}finally{p(a)}}function jf(s,o,a){return Y1(s,o.parent,a)}function Y1(s,o,a){let c=o;for(;null!==c&&40&c.type;)c=(o=c).parent;if(null===c)return a[wi];{const{componentOffset:h}=c;if(h>-1){const{encapsulation:_}=s.data[c.directiveStart+h];if(_===qr.None||_===qr.Emulated)return null}return rr(c,a)}}function Kc(s,o,a,c,h){s.insertBefore(o,a,c,h)}function $1(s,o,a){s.appendChild(o,a)}function U1(s,o,a,c,h){null!==c?Kc(s,o,a,c,h):$1(s,o,a)}function Nh(s,o){return s.parentNode(o)}function G1(s,o,a){return V1(s,o,a)}function Bf(s,o,a){return 40&s.type?rr(s,a):null}let Yf,V1=Bf;function H1(s,o){V1=s,Yf=o}function Qs(s,o,a,c){const h=jf(s,c,o),_=o[Qn],R=G1(c.parent||o[Rs],c,o);if(null!=h)if(Array.isArray(a))for(let P=0;P<a.length;P++)U1(_,h,a[P],R,!1);else U1(_,h,a,R,!1);void 0!==Yf&&Yf(_,c,o,a,h)}function Wl(s,o){if(null!==o){const a=o.type;if(3&a)return rr(o,s);if(4&a)return Hd(-1,s[o.index]);if(8&a){const c=o.child;if(null!==c)return Wl(s,c);{const h=s[o.index];return ci(h)?Hd(-1,h):$i(h)}}if(32&a)return Of(o,s)()||$i(s[o.index]);{const c=W1(s,o);return null!==c?Array.isArray(c)?c[0]:Wl(Po(s[Is]),c):Wl(s,o.next)}}return null}function W1(s,o){return null!==o?s[Is][Rs].projection[o.projection]:null}function Hd(s,o){const a=Os+s+1;if(a<o.length){const c=o[a],h=c[Qt].firstChild;if(null!==h)return Wl(c,h)}return o[Tr]}function $f(s,o,a,c,h,_,D){for(;null!=a;){const R=c[a.index],P=a.type;if(D&&0===o&&(R&&po($i(R),c),a.flags|=2),32&~a.flags)if(8&P)$f(s,o,a.child,c,h,_,!1),Vd(o,s,h,R,_);else if(32&P){const ne=Of(a,c);let ve;
1for(;ve=ne();)Vd(o,s,h,ve,_);Vd(o,s,h,R,_)}else 16&P?X1(s,o,c,a,h,_):Vd(o,s,h,R,_);a=D?a.projectionNext:a.next}}function Oh(s,o,a,c,h,_){$f(a,c,s.firstChild,o,h,_,!1)}function X1(s,o,a,c,h,_){const D=a[Is],P=D[Rs].projection[c.projection];if(Array.isArray(P))for(let ne=0;ne<P.length;ne++)Vd(o,s,h,P[ne],_);else{let ne=P;const ve=D[Si];Bu(c)&&(ne.flags|=128),$f(s,o,ne,ve,h,_,!0)}}function z1(s,o,a){""===a?s.removeAttribute(o,"class"):s.setAttribute(o,"class",a)}function K1(s,o,a){const{mergedAttrs:c,classes:h,styles:_}=a;null!==c&&ko(s,o,c),null!==h&&z1(s,o,h),null!==_&&function vI(s,o,a){s.setAttribute(o,"style",a)}(s,o,_)}const Di={};function Uf(s=1){J1(gi(),Pt(),bo()+s,!1)}function J1(s,o,a,c){if(!c)if(3&~o[Mn]){const _=s.preOrderHooks;null!==_&&Au(o,_,0,a)}else{const _=s.preOrderCheckHooks;null!==_&&ku(o,_,a)}Dl(a)}function ql(s,o=oi.Default){const a=Pt();return null===a?os(s,o):Bl(Qi(),a,Me(s),o)}function Q1(){throw new Error("invalid")}function pl(s,o,a,c,h,_){const D=p(null);try{let R=null;h&ao.SignalBased&&(R=o[c][S]),null!==R&&void 0!==R.transformFn&&(_=R.transformFn(_)),h&ao.HasDecoratorInputTransform&&(_=s.inputTransforms[c].call(o,_)),null!==s.setInput?s.setInput(o,R,_,a,c):It(o,R,c,_)}finally{p(D)}}function np(s,o,a,c,h,_,D,R,P,ne,ve){const Pe=o.blueprint.slice();return Pe[wi]=h,Pe[Mn]=204|c,(null!==ne||s&&2048&s[Mn])&&(Pe[Mn]|=2048),xa(Pe),Pe[Si]=Pe[Wo]=s,Pe[Ts]=a,Pe[Sr]=D||s&&s[Sr],Pe[Qn]=R||s&&s[Qn],Pe[sr]=P||s&&s[sr]||null,Pe[Rs]=_,Pe[Ol]=function fh(){return l1++}(),Pe[Hs]=ve,Pe[Jl]=ne,Pe[Is]=2==o.type?s[Is]:Pe,Pe}function Wd(s,o,a,c,h){let _=s.data[o];if(null===_)_=Fh(s,o,a,c,h),function Kp(){return ei.lFrame.inI18n}()&&(_.flags|=32);else if(64&_.type){_.type=a,_.value=c,_.attrs=h;const D=sc();_.injectorIndex=null===D?-1:D.injectorIndex}return Na(_,!0),_}function Fh(s,o,a,c,h){const _=Lc(),D=Td(),P=s.data[o]=function CI(s,o,a,c,h,_){let D=o?o.injectorIndex:-1,R=0;return ut()&&(R|=128),{type:a,index:c,insertBeforeIndex:null,injectorIndex:D,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:R,providerIndexes:0,value:h,attrs:_,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:o,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,D?_:_&&_.parent,a,o,c,h);return null===s.firstChild&&(s.firstChild=P),null!==_&&(D?null==_.child&&null!==P.parent&&(_.child=P):null===_.next&&(_.next=P,P.prev=_)),P}function ip(s,o,a,c){if(0===a)return-1;const h=o.length;for(let _=0;_<a;_++)o.push(c),s.blueprint.push(c),s.data.push(null);return h}function eb(s,o,a,c,h){const _=bo(),D=2&c;try{Dl(-1),D&&o.length>li&&J1(s,o,li,!1),aa(D?2:0,h),a(c,h)}finally{Dl(_),aa(D?3:1,h)}}function Gf(s,o,a){if(Ql(o)){const c=p(null);try{const _=o.directiveEnd;for(let D=o.directiveStart;D<_;D++){const R=s.data[D];
1R.contentQueries&&R.contentQueries(1,a[D],D)}}finally{p(c)}}}function Lh(s,o,a){Oe()&&(function xI(s,o,a,c){const h=a.directiveStart,_=a.directiveEnd;No(a)&&function jI(s,o,a){const c=rr(o,s),h=tb(a);let D=16;a.signals?D=4096:a.onPush&&(D=64);const R=Ph(s,np(s,h,null,D,c,o,null,s[Sr].rendererFactory.createRenderer(c,a),null,null,null));s[o.index]=R}(o,a,s.data[h+a.componentOffset]),s.firstCreatePass||ac(a,o),po(c,o);const D=a.initialInputs;for(let R=h;R<_;R++){const P=s.data[R],ne=Yl(o,s,R,a);po(ne,o),null!==D&&BI(0,R-h,ne,P,0,D),_o(P)&&(Fo(a.index,o)[Ts]=Yl(o,s,R,a))}}(s,o,a,rr(a,o)),!(64&~a.flags)&&ob(s,o,a))}function Vf(s,o,a=rr){const c=o.localNames;if(null!==c){let h=o.index+1;for(let _=0;_<c.length;_+=2){const D=c[_+1],R=-1===D?a(o,s):s[D];s[h++]=R}}}function tb(s){const o=s.tView;return null===o||o.incompleteFirstPass?s.tView=Hf(1,null,s.template,s.decls,s.vars,s.directiveDefs,s.pipeDefs,s.viewQuery,s.schemas,s.consts,s.id):o}function Hf(s,o,a,c,h,_,D,R,P,ne,ve){const Pe=li+c,st=Pe+h,gt=function yI(s,o){const a=[];for(let c=0;c<o;c++)a.push(c<s?null:Di);return a}(Pe,st),Dt="function"==typeof ne?ne():ne;return gt[Qt]={type:s,blueprint:gt,template:a,queries:null,viewQuery:R,declTNode:o,data:gt.slice().fill(null,Pe),bindingStartIndex:Pe,expandoStartIndex:st,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof _?_():_,pipeRegistry:"function"==typeof D?D():D,firstChild:null,schemas:P,consts:Dt,incompleteFirstPass:!1,ssrId:ve}}let nb=()=>null;function ib(s,o,a,c,h){for(let _ in o){if(!o.hasOwnProperty(_))continue;const D=o[_];if(void 0===D)continue;c??={};let R,P=ao.None;Array.isArray(D)?(R=D[0],P=D[1]):R=D;let ne=_;if(null!==h){if(!h.hasOwnProperty(_))continue;ne=h[_]}0===s?sb(c,a,ne,R,P):sb(c,a,ne,R)}return c}function sb(s,o,a,c,h){let _;s.hasOwnProperty(a)?(_=s[a]).push(o,c):_=s[a]=[o,c],void 0!==h&&_.push(h)}function fa(s,o,a,c,h,_,D,R){const P=rr(o,a);let ve,ne=o.inputs;!R&&null!=ne&&(ve=ne[c])?(Jf(s,a,ve,c,h),No(o)&&function RI(s,o){const a=Fo(o,s);16&a[Mn]||(a[Mn]|=64)}(a,o.index)):3&o.type&&(c=function SI(s){return"class"===s?"className":"for"===s?"htmlFor":"formaction"===s?"formAction":"innerHtml"===s?"innerHTML":"readonly"===s?"readOnly":"tabindex"===s?"tabIndex":s}(c),h=null!=D?D(h,o.value||"",c):h,_.setProperty(P,c,h))}function qf(s,o,a,c){if(Oe()){const h=null===c?null:{"":-1},_=function OI(s,o){const a=s.directiveRegistry;let c=null,h=null;if(a)for(let _=0;_<a.length;_++){const D=a[_];if(gl(o,D.selectors,!1))if(c||(c=[]),_o(D))if(null!==D.findHostDirectiveDefs){const R=[];h=h||new Map,D.findHostDirectiveDefs(D,R,h),c.unshift(...R,D),Xf(s,o,R.length)}else c.unshift(D),Xf(s,o,0);else h=h||new Map,D.findHostDirectiveDefs?.(D,c,h),c.push(D)}return null===c?null:[c,h]}(s,a);let D,R;null===_?D=R=null:[D,R]=_,null!==D&&rb(s,o,a,D,h,R),h&&function FI(s,o,a){if(o){const c=s.localNames=[];for(let h=0;h<o.length;h+=2){const _=a[o[h+1]];if(null==_)throw new Je(-301,!1);c.push(o[h],_)}}}(a,c,h)}a.mergedAttrs=z(a.mergedAttrs,a.attrs)}function rb(s,o,a,c,h,_){for(let ne=0;ne<c.length;ne++)Oa(ac(a,o),s,c[ne].type);!function PI(s,o,a){s.flags|=1,s.directiveStart=o,s.directiveEnd=o+a,s.providerIndexes=o}(a,s.data.length,c.length);for(let ne=0;ne<c.length;ne++){const ve=c[ne];ve.providersResolver&&ve.providersResolver(ve)}let D=!1,R=!1,P=ip(s,o,c.length,null);for(let ne=0;ne<c.length;ne++){const ve=c[ne];a.mergedAttrs=z(a.mergedAttrs,ve.hostAttrs),sp(s,a,o,P,ve),LI(P,ve,h),null!==ve.contentQueries&&(a.flags|=4),(null!==ve.hostBindings||null!==ve.hostAttrs||0!==ve.hostVars)&&(a.flags|=64);const Pe=ve.type.prototype;!D&&(Pe.ngOnChanges||Pe.ngOnInit||Pe.ngDoCheck)&&((s.preOrderHooks??=[]).push(a.index),D=!0),!R&&(Pe.ngOnChanges||Pe.ngDoCheck)&&((s.preOrderCheckHooks??=[]).push(a.index),R=!0),P++}!function MI(s,o,a){const h=o.directiveEnd,_=s.data,D=o.attrs,R=[];let P=null,ne=null;for(let ve=o.directiveStart;ve<h;ve++){const Pe=_[ve],st=a?a.get(Pe):null,Dt=st?st.outputs:null;P=ib(0,Pe.inputs,ve,P,st?st.inputs:null),ne=ib(1,Pe.outputs,ve,ne,Dt);const Ht=null===P||null===D||Jn(o)?null:YI(P,ve,D);R.push(Ht)}null!==P&&(P.hasOwnProperty("class")&&(o.flags|=8),P.hasOwnProperty("style")&&(o.flags|=16)),o.initialInputs=R,o.inputs=P,o.outputs=ne}(s,a,_)}function ob(s,o,a){const c=a.directiveStart,h=a.directiveEnd,_=a.index,D=function Vg(){return ei.lFrame.currentDirectiveIndex}();try{Dl(_);for(let R=c;R<h;
1R++){const P=s.data[R],ne=o[R];Cd(R),(null!==P.hostBindings||0!==P.hostVars||null!==P.hostAttrs)&&NI(P,ne)}}finally{Dl(-1),Cd(D)}}function NI(s,o){null!==s.hostBindings&&s.hostBindings(1,o)}function Xf(s,o,a){o.componentOffset=a,(s.components??=[]).push(o.index)}function LI(s,o,a){if(a){if(o.exportAs)for(let c=0;c<o.exportAs.length;c++)a[o.exportAs[c]]=s;_o(o)&&(a[""]=s)}}function sp(s,o,a,c,h){s.data[c]=h;const _=h.factory||(h.factory=er(h.type)),D=new jc(_,_o(h),ql);s.blueprint[c]=D,a[c]=D,function kI(s,o,a,c,h){const _=h.hostBindings;if(_){let D=s.hostBindingOpCodes;null===D&&(D=s.hostBindingOpCodes=[]);const R=~o.index;(function AI(s){let o=s.length;for(;o>0;){const a=s[--o];if("number"==typeof a&&a<0)return a}return 0})(D)!=R&&D.push(R),D.push(a,c,_)}}(s,o,c,ip(s,a,h.hostVars,Di),h)}function Rl(s,o,a,c,h,_){const D=rr(s,o);!function zf(s,o,a,c,h,_,D){if(null==_)s.removeAttribute(o,h,a);else{const R=null==D?On(_):D(_,c||"",h);s.setAttribute(o,h,R,a)}}(o[Qn],D,_,s.value,a,c,h)}function BI(s,o,a,c,h,_){const D=_[o];if(null!==D)for(let R=0;R<D.length;)pl(c,a,D[R++],D[R++],D[R++],D[R++])}function YI(s,o,a){let c=null,h=0;for(;h<a.length;){const _=a[h];if(0!==_)if(5!==_){if("number"==typeof _)break;if(s.hasOwnProperty(_)){null===c&&(c=[]);const D=s[_];for(let R=0;R<D.length;R+=3)if(D[R]===o){c.push(_,D[R+1],D[R+2],a[h+1]);break}}h+=2}else h+=2;else h+=4}return c}function ab(s,o,a,c){return[s,!0,0,o,null,c,null,a,null,null]}function lb(s,o){const a=s.contentQueries;if(null!==a){const c=p(null);try{for(let h=0;h<a.length;h+=2){const D=a[h+1];if(-1!==D){const R=s.data[D];Mu(a[h]),R.contentQueries(2,o[D],D)}}}finally{p(c)}}}function Ph(s,o){return s[Ya]?s[vl][Vs]=o:s[Ya]=o,s[vl]=o,o}function Kf(s,o,a){Mu(0);const c=p(null);try{o(s,a)}finally{p(c)}}function cb(s){return s[Js]||(s[Js]=[])}function db(s){return s.cleanup||(s.cleanup=[])}function jh(s,o){const a=s[sr],c=a?a.get(Ml,null):null;c&&c.handleError(o)}function Jf(s,o,a,c,h){for(let _=0;_<a.length;){const D=a[_++],R=a[_++],P=a[_++];pl(s.data[D],o[D],c,R,P,h)}}function Xl(s,o,a){const c=sl(o,s);!function P1(s,o,a){s.setValue(o,a)}(s[Qn],c,a)}function $I(s,o){const a=Fo(o,s),c=a[Qt];!function UI(s,o){for(let a=o.length;a<s.blueprint.length;a++)o.push(s.blueprint[a])}(c,a);const h=a[wi];null!==h&&null===a[Hs]&&(a[Hs]=Sl(h,a[sr])),Qf(c,a,a[Ts])}function Qf(s,o,a){eh(o);try{const c=s.viewQuery;null!==c&&Kf(1,c,a);const h=s.template;null!==h&&eb(s,o,h,1,a),s.firstCreatePass&&(s.firstCreatePass=!1),o[qo]?.finishViewCreation(s),s.staticContentQueries&&lb(s,o),s.staticViewQueries&&Kf(2,s.viewQuery,a);const _=s.components;null!==_&&function GI(s,o){for(let a=0;a<o.length;a++)$I(s,o[a])}(o,_)}catch(c){throw s.firstCreatePass&&(s.incompleteFirstPass=!0,s.firstCreatePass=!1),c}finally{o[Mn]&=-5,Ru()}}function rp(s,o,a,c){const h=p(null);try{const _=o.tView,P=np(s,_,a,4096&s[Mn]?4096:16,null,o,null,null,c?.injector??null,c?.embeddedViewInjector??null,c?.dehydratedView??null);P[yl]=s[o.index];const ve=s[qo];return null!==ve&&(P[qo]=ve.createEmbeddedView(_)),Qf(_,P,a),P}finally{p(h)}}function pb(s,o){const a=Os+o;if(a<s.length)return s[a]}function qd(s,o){return!o||null===o.firstChild||Bu(s)}function op(s,o,a,c=!0){const h=o[Qt];if(function dI(s,o,a,c){const h=Os+c,_=a.length;c>0&&(a[h-1][Vs]=o),c<_-Os?(o[Vs]=a[h],Vr(a,Os+c,o)):(a.push(o),o[Vs]=null),o[Si]=a;const D=o[yl];null!==D&&a!==D&&function uI(s,o){const a=s[xo];o[Is]!==o[Si][Si][Is]&&(s[Mn]|=oa.HasTransplantedViews),null===a?s[xo]=[o]:a.push(o)}(D,o);const R=o[qo];null!==R&&R.insertView(s),yd(o),o[Mn]|=128}(h,o,s,a),c){const D=Hd(a,s),R=o[Qn],P=Nh(R,s[Tr]);null!==P&&function lI(s,o,a,c,h,_){c[wi]=h,c[Rs]=o,Oh(s,c,a,1,h,_)}(h,s[Rs],R,o,P,D)}const _=o[Hs];null!==_&&null!==_.firstChild&&(_.firstChild=null)}function Zf(s,o){const a=ep(s,o);return void 0!==a&&xh(a[Qt],a),a}function ap(s,o,a,c,h=!1){for(;null!==a;){const _=o[a.index];null!==_&&c.push($i(_)),ci(_)&&hb(_,c);const D=a.type;if(8&D)ap(s,o,a.child,c);else if(32&D){const R=Of(a,o);let P;for(;P=R();)c.push(P)}else if(16&D){const R=W1(o,a);if(Array.isArray(R))c.push(...R);else{const P=Po(o[Is]);ap(P[Qt],P,R,c,!0)}}a=h?a.projectionNext:a.next}return c}function hb(s,o){for(let a=Os;a<s.length;a++){const c=s[a],h=c[Qt].firstChild;null!==h&&ap(c[Qt],c,h,o)}s[Tr]!==s[wi]&&o.push(s[Tr])}let mb=[];const qI={...G,consumerIsAlwaysLive:!0,consumerMarkedDirty:s=>{nc(s.lView)},consumerOnSignalRead(){this.lView[Xo]=this}},fb=100;function Bh(s,o=!0,a=0){const c=s[Sr],h=c.rendererFactory;h.begin?.();try{!function XI(s,o){e_(s,o);let a=0;for(;vd(s);){if(a===fb)throw new Je(103,!1);a++,e_(s,1)}}(s,a)}catch(D){throw o&&jh(s,D),D}finally{h.end?.(),c.inlineEffectRunner?.flush()}}function zI(s,o,a,c){const h=o[Mn];if(!(256&~h))return;o[Sr].inlineEffectRunner?.flush(),eh(o);let D=null,R=null;(function KI(s){return 2!==s.type})(s)&&(R=function VI(s){return s[Xo]??function HI(s){const o=mb.pop()??Object.create(qI);return o.lView=s,o}(s)}(o),D=Le(R));try{xa(o),function Dd(s){return ei.lFrame.bindingIndex=s}(s.bindingStartIndex),null!==a&&eb(s,o,a,2,c);const P=!(3&~h);if(P){const Pe=s.preOrderCheckHooks;null!==Pe&&ku(o,Pe,null)}else{const Pe=s.preOrderHooks;null!==Pe&&Au(o,Pe,0,null),sh(o,0)}if(function JI(s){for(let o=f(s);null!==o;o=T(o)){if(!(o[Mn]&oa.HasTransplantedViews))continue;const a=o[xo];for(let c=0;c<a.length;c++){Pl(a[c])}}}(o),_b(o,0),null!==s.contentQueries&&lb(s,o),P){const Pe=s.contentCheckHooks;null!==Pe&&ku(o,Pe)}else{const Pe=s.contentHooks;null!==Pe&&Au(o,Pe,1),sh(o,1)}!function Z1(s,o){const a=s.hostBindingOpCodes;if(null!==a)try{for(let c=0;c<a.length;c++){const h=a[c];if(h<0)Dl(~h);else{const _=h,D=a[++c],R=a[++c];Jp(D,_),R(2,o[_])}}}finally{Dl(-1)}}(s,o);const ne=s.components;null!==ne&&bb(o,ne,0);const ve=s.viewQuery;if(null!==ve&&Kf(2,ve,c),P){const Pe=s.viewCheckHooks;null!==Pe&&ku(o,Pe)}else{const Pe=s.viewHooks;null!==Pe&&Au(o,Pe,2),sh(o,2)}if(!0===s.firstUpdatePass&&(s.firstUpdatePass=!1),o[El]){for(const Pe of o[El])Pe();o[El]=null}o[Mn]&=-73}catch(P){throw nc(o),P}finally{null!==R&&(ie(R,D),function WI(s){s.lView[Xo]!==s&&(s.lView=null,mb.push(s))}(R)),Ru()}}function _b(s,o){for(let a=f(s);null!==a;a=T(a))for(let c=Os;c<a.length;
1c++)gb(a[c],o)}function QI(s,o,a){gb(Fo(o,s),a)}function gb(s,o){Oc(s)&&e_(s,o)}function e_(s,o){const c=s[Qt],h=s[Mn],_=s[Xo];let D=!!(0===o&&16&h);if(D||=!!(64&h&&0===o),D||=!!(1024&h),D||=!(!_?.dirty||!L(_)),_&&(_.dirty=!1),s[Mn]&=-9217,D)zI(c,s,c.template,s[Ts]);else if(8192&h){_b(s,1);const R=c.components;null!==R&&bb(s,R,1)}}function bb(s,o,a){for(let c=0;c<o.length;c++)QI(s,o[c],a)}function lp(s){for(s[Sr].changeDetectionScheduler?.notify();s;){s[Mn]|=64;const o=Po(s);if(Tl(s)&&!o)return s;s=o}return null}class cp{get rootNodes(){const o=this._lView,a=o[Qt];return ap(a,o,a.firstChild,[])}constructor(o,a,c=!0){this._lView=o,this._cdRefInjectingView=a,this.notifyErrorHandler=c,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Ts]}set context(o){this._lView[Ts]=o}get destroyed(){return!(256&~this._lView[Mn])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const o=this._lView[Si];if(ci(o)){const a=o[8],c=a?a.indexOf(this):-1;c>-1&&(ep(o,c),Ls(a,c))}this._attachedToViewContainer=!1}xh(this._lView[Qt],this._lView)}onDestroy(o){Fc(this._lView,o)}markForCheck(){lp(this._cdRefInjectingView||this._lView)}detach(){this._lView[Mn]&=-129}reattach(){yd(this._lView),this._lView[Mn]|=128}detectChanges(){this._lView[Mn]|=1024,Bh(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Je(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,j1(this._lView[Qt],this._lView)}attachToAppRef(o){if(this._attachedToViewContainer)throw new Je(902,!1);this._appRef=o,yd(this._lView)}}let dp=(()=>{class s{static{this.__NG_ELEMENT_ID__=tD}}return s})();const ZI=dp,eD=class extends ZI{constructor(o,a,c){super(),this._declarationLView=o,this._declarationTContainer=a,this.elementRef=c}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(o,a){return this.createEmbeddedViewImpl(o,a)}createEmbeddedViewImpl(o,a,c){const h=rp(this._declarationLView,this._declarationTContainer,o,{embeddedViewInjector:a,dehydratedView:c});return new cp(h)}};function tD(){return Yh(Qi(),Pt())}function Yh(s,o){return 4&s.type?new eD(o,s,hc(s,o)):null}let Ib=()=>null;function zd(s,o){return Ib(s,o)}class Hh{}class CD{}class Db{}class SD{resolveComponentFactory(o){throw function MD(s){const o=Error(`No component factory found for ${ti(s)}.`);return o.ngComponent=s,o}(o)}}let Wh=(()=>{class s{static{this.NULL=new SD}}return s})();class Mb{}let RD=(()=>{class s{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>function wD(){const s=Pt(),a=Fo(Qi().index,s);return(vs(a)?a:s)[Qn]}()}}return s})(),kD=(()=>{class s{static{this.\u0275prov=$n({token:s,providedIn:"root",factory:()=>null})}}return s})();const o_={},Sb=new Set;function wl(s){Sb.has(s)||(Sb.add(s),performance?.mark?.("mark_feature_usage",{detail:{feature:s}}))}function Rb(...s){}class Br{constructor({enableLongStackTrace:o=!1,shouldCoalesceEventChangeDetection:a=!1,shouldCoalesceRunChangeDetection:c=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Wa(!1),this.onMicrotaskEmpty=new Wa(!1),this.onStable=new Wa(!1),this.onError=new Wa(!1),typeof Zone>"u")throw new Je(908,!1);Zone.assertZonePatched();const h=this;h._nesting=0,h._outer=h._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(h._inner=h._inner.fork(new Zone.TaskTrackingZoneSpec)),o&&Zone.longStackTraceZoneSpec&&(h._inner=h._inner.fork(Zone.longStackTraceZoneSpec)),h.shouldCoalesceEventChangeDetection=!c&&a,h.shouldCoalesceRunChangeDetection=c,h.lastRequestAnimationFrameId=-1,h.nativeRequestAnimationFrame=function AD(){const s="function"==typeof Dn.requestAnimationFrame;let o=Dn[s?"requestAnimationFrame":"setTimeout"],a=Dn[s?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&o&&a){const c=o[Zone.__symbol__("OriginalDelegate")];c&&(o=c);const h=a[Zone.__symbol__("OriginalDelegate")];h&&(a=h)}return{nativeRequestAnimationFrame:o,nativeCancelAnimationFrame:a}}().nativeRequestAnimationFrame,function OD(s){const o=()=>{!function ND(s){s.isCheckStableRunning||-1!==s.lastRequestAnimationFrameId||(s.lastRequestAnimationFrameId=s.nativeRequestAnimationFrame.call(Dn,()=>{s.fakeTopEventTask||(s.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{s.lastRequestAnimationFrameId=-1,l_(s),s.isCheckStableRunning=!0,a_(s),s.isCheckStableRunning=!1},void 0,()=>{},()=>{})),s.fakeTopEventTask.invoke()}),l_(s))}(s)};s._inner=s._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(a,c,h,_,D,R)=>
1{if(function FD(s){return!(!Array.isArray(s)||1!==s.length)&&!0===s[0].data?.__ignore_ng_zone__}(R))return a.invokeTask(h,_,D,R);try{return wb(s),a.invokeTask(h,_,D,R)}finally{(s.shouldCoalesceEventChangeDetection&&"eventTask"===_.type||s.shouldCoalesceRunChangeDetection)&&o(),kb(s)}},onInvoke:(a,c,h,_,D,R,P)=>{try{return wb(s),a.invoke(h,_,D,R,P)}finally{s.shouldCoalesceRunChangeDetection&&o(),kb(s)}},onHasTask:(a,c,h,_)=>{a.hasTask(h,_),c===h&&("microTask"==_.change?(s._hasPendingMicrotasks=_.microTask,l_(s),a_(s)):"macroTask"==_.change&&(s.hasPendingMacrotasks=_.macroTask))},onHandleError:(a,c,h,_)=>(a.handleError(h,_),s.runOutsideAngular(()=>s.onError.emit(_)),!1)})}(h)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Br.isInAngularZone())throw new Je(909,!1)}static assertNotInAngularZone(){if(Br.isInAngularZone())throw new Je(909,!1)}run(o,a,c){return this._inner.run(o,a,c)}runTask(o,a,c,h){const _=this._inner,D=_.scheduleEventTask("NgZoneEvent: "+h,o,xD,Rb,Rb);try{return _.runTask(D,a,c)}finally{_.cancelTask(D)}}runGuarded(o,a,c){return this._inner.runGuarded(o,a,c)}runOutsideAngular(o){return this._outer.run(o)}}const xD={};function a_(s){if(0==s._nesting&&!s.hasPendingMicrotasks&&!s.isStable)try{s._nesting++,s.onMicrotaskEmpty.emit(null)}finally{if(s._nesting--,!s.hasPendingMicrotasks)try{s.runOutsideAngular(()=>s.onStable.emit(null))}finally{s.isStable=!0}}}function l_(s){s.hasPendingMicrotasks=!!(s._hasPendingMicrotasks||(s.shouldCoalesceEventChangeDetection||s.shouldCoalesceRunChangeDetection)&&-1!==s.lastRequestAnimationFrameId)}function wb(s){s._nesting++,s.isStable&&(s.isStable=!1,s.onUnstable.emit(null))}function kb(s){s._nesting--,a_(s)}class Ab{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Wa,this.onMicrotaskEmpty=new Wa,this.onStable=new Wa,this.onError=new Wa}run(o,a,c){return o.apply(a,c)}runGuarded(o,a,c){return o.apply(a,c)}runOutsideAngular(o){return o()}runTask(o,a,c,h){return o.apply(a,c)}}var Jc=function(s){return s[s.EarlyRead=0]="EarlyRead",s[s.Write=1]="Write",s[s.MixedReadWrite=2]="MixedReadWrite",s[s.Read=3]="Read",s}(Jc||{});const xb={destroy(){}};function Kr(s,o){!o&&Rn();const a=o?.injector??Vn(da);if(!function ma(s){return"browser"===(s??Vn(da)).get(pa)}(a))return xb;wl("NgAfterNextRender");const c=a.get(Qc),h=c.handler??=new Ka,_=o?.phase??Jc.MixedReadWrite,D=()=>{h.unregister(P),R()},R=a.get(pc).onDestroy(D),P=bn(a,()=>new c_(_,()=>{D(),s()}));return h.register(P),{destroy:D}}class c_{constructor(o,a){this.phase=o,this.callbackFn=a,this.zone=Vn(Br),this.errorHandler=Vn(Ml,{optional:!0}),Vn(Hh,{optional:!0})?.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(o){this.errorHandler?.handleError(o)}}}class Ka{constructor(){this.executingCallbacks=!1,this.buckets={[Jc.EarlyRead]:new Set,[Jc.Write]:new Set,[Jc.MixedReadWrite]:new Set,[Jc.Read]:new Set},this.deferredCallbacks=new Set}register(o){(this.executingCallbacks?this.deferredCallbacks:this.buckets[o.phase]).add(o)}unregister(o){this.buckets[o.phase].delete(o),this.deferredCallbacks.delete(o)}execute(){this.executingCallbacks=!0;for(const o of Object.values(this.buckets))for(const a of o)a.invoke();this.executingCallbacks=!1;for(const o of this.deferredCallbacks)this.buckets[o.phase].add(o);this.deferredCallbacks.clear()}destroy(){for(const o of Object.values(this.buckets))o.clear();this.deferredCallbacks.clear()}}let Qc=(()=>{class s{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const a=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const c of a)c()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static{this.\u0275prov=$n({token:s,providedIn:"root",factory:()=>new s})}}return s})();function Ja(s){return!!Ss(s)}function Xh(s,o,a){let c=a?s.styles:null,h=a?s.classes:null,_=0;if(null!==o)for(let D=0;D<o.length;D++){const R=o[D];"number"==typeof R?_=R:1==_?h=_n(h,R):2==_&&(c=_n(c,R+": "+o[++D]+";"))}a?s.styles=c:s.stylesWithoutHost=c,a?s.classes=h:s.classesWithoutHost=h}class Fb extends Wh{constructor(o){super(),this.ngModule=o}resolveComponentFactory(o){const a=ai(o);return new vp(a,this.ngModule)}}
1function Lb(s){const o=[];for(const a in s){if(!s.hasOwnProperty(a))continue;const c=s[a];void 0!==c&&o.push({propName:Array.isArray(c)?c[0]:c,templateName:a})}return o}class zh{constructor(o,a){this.injector=o,this.parentInjector=a}get(o,a,c){c=Gr(c);const h=this.injector.get(o,o_,c);return h!==o_||a===o_?h:this.parentInjector.get(o,a,c)}}class vp extends Db{get inputs(){const o=this.componentDef,a=o.inputTransforms,c=Lb(o.inputs);if(null!==a)for(const h of c)a.hasOwnProperty(h.propName)&&(h.transform=a[h.propName]);return c}get outputs(){return Lb(this.componentDef.outputs)}constructor(o,a){super(),this.componentDef=o,this.ngModule=a,this.componentType=o.type,this.selector=function bl(s){return s.map(Xr).join(",")}(o.selectors),this.ngContentSelectors=o.ngContentSelectors?o.ngContentSelectors:[],this.isBoundToModule=!!a}create(o,a,c,h){const _=p(null);try{let D=(h=h||this.ngModule)instanceof ir?h:h?.injector;D&&null!==this.componentDef.getStandaloneInjector&&(D=this.componentDef.getStandaloneInjector(D)||D);const R=D?new zh(o,D):o,P=R.get(Mb,null);if(null===P)throw new Je(407,!1);const ne=R.get(kD,null),st={rendererFactory:P,sanitizer:ne,inlineEffectRunner:null,afterRenderEventManager:R.get(Qc,null),changeDetectionScheduler:R.get(Hh,null)},gt=P.createRenderer(null,this.componentDef),Dt=this.componentDef.selectors[0][0]||"div",Ht=c?function EI(s,o,a,c){const _=c.get(RT,!1)||a===qr.ShadowDom,D=s.selectRootElement(o,_);return function TI(s){nb(s)}(D),D}(gt,c,this.componentDef.encapsulation,R):Ah(gt,Dt,function BD(s){const o=s.toLowerCase();return"svg"===o?md:"math"===o?"math":null}(Dt));let tn=512;this.componentDef.signals?tn|=4096:this.componentDef.onPush||(tn|=16);let cn=null;null!==Ht&&(cn=Sl(Ht,R,!0));const Kt=Hf(0,null,null,1,0,null,null,null,null,null,null),pi=np(null,Kt,null,tn,null,null,st,gt,R,null,cn);let ds,Bs;eh(pi);try{const Zr=this.componentDef;let va,Tu=null;Zr.findHostDirectiveDefs?(va=[],Tu=new Map,Zr.findHostDirectiveDefs(Zr,va,Tu),va.push(Zr)):va=[Zr];const nT=function $D(s,o){const a=s[Qt],c=li;return s[c]=o,Wd(a,c,2,"#host",null)}(pi,Ht),v2=function UD(s,o,a,c,h,_,D){const R=h[Qt];!function GD(s,o,a,c){for(const h of s)o.mergedAttrs=z(o.mergedAttrs,h.hostAttrs);null!==o.mergedAttrs&&(Xh(o,o.mergedAttrs,!0),null!==a&&K1(c,a,o))}(c,s,o,D);let P=null;null!==o&&(P=Sl(o,h[sr]));const ne=_.rendererFactory.createRenderer(o,a);let ve=16;a.signals?ve=4096:a.onPush&&(ve=64);const Pe=np(h,tb(a),null,ve,h[s.index],s,_,ne,null,null,P);return R.firstCreatePass&&Xf(R,s,c.length-1),Ph(h,Pe),h[s.index]=Pe}(nT,Ht,Zr,va,pi,st,gt);Bs=rl(Kt,li),Ht&&function HD(s,o,a,c){if(c)ko(s,a,["ng-version","17.3.9"]);else{const{attrs:h,classes:_}=function Ma(s){const o=[],a=[];let c=1,h=2;for(;c<s.length;){let _=s[c];
1if("string"==typeof _)2===h?""!==_&&o.push(_,s[++c]):8===h&&a.push(_);else{if(!nr(h))break;h=_}c++}return{attrs:o,classes:a}}(o.selectors[0]);h&&ko(s,a,h),_&&_.length>0&&z1(s,a,_.join(" "))}}(gt,Zr,Ht,c),void 0!==a&&function WD(s,o,a){const c=s.projection=[];for(let h=0;h<o.length;h++){const _=a[h];c.push(null!=_?Array.from(_):null)}}(Bs,this.ngContentSelectors,a),ds=function VD(s,o,a,c,h,_){const D=Qi(),R=h[Qt],P=rr(D,h);rb(R,h,D,a,null,c);for(let ve=0;ve<a.length;ve++)po(Yl(h,R,D.directiveStart+ve,D),h);ob(R,h,D),P&&po(P,h);const ne=Yl(h,R,D.directiveStart+D.componentOffset,D);if(s[Ts]=h[Ts]=ne,null!==_)for(const ve of _)ve(ne,o);return Gf(R,D,h),ne}(v2,Zr,va,Tu,pi,[qD]),Qf(Kt,pi,null)}finally{Ru()}return new YD(this.componentType,ds,hc(Bs,pi),pi,Bs)}finally{p(_)}}}class YD extends CD{constructor(o,a,c,h,_){super(),this.location=c,this._rootLView=h,this._tNode=_,this.previousInputValues=null,this.instance=a,this.hostView=this.changeDetectorRef=new cp(h,void 0,!1),this.componentType=o}setInput(o,a){const c=this._tNode.inputs;let h;if(null!==c&&(h=c[o])){if(this.previousInputValues??=new Map,this.previousInputValues.has(o)&&Object.is(this.previousInputValues.get(o),a))return;const _=this._rootLView;Jf(_[Qt],_,h,o,a),this.previousInputValues.set(o,a),lp(Fo(this._tNode.index,_))}}get injector(){return new Rr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(o){this.hostView.onDestroy(o)}}function qD(){const s=Qi();wu(Pt()[Qt],s)}let Kh=(()=>{class s{static{this.__NG_ELEMENT_ID__=XD}}return s})();
1function XD(){return Pb(Qi(),Pt())}const zD=Kh,u_=class extends zD{constructor(o,a,c){super(),this._lContainer=o,this._hostTNode=a,this._hostLView=c}get element(){return hc(this._hostTNode,this._hostLView)}get injector(){return new Rr(this._hostTNode,this._hostLView)}get parentInjector(){const o=Ou(this._hostTNode,this._hostLView);if(ll(o)){const a=Yc(o,this._hostLView),c=Bc(o);return new Rr(a[Qt].data[c+8],a)}return new Rr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(o){const a=yp(this._lContainer);return null!==a&&a[o]||null}get length(){return this._lContainer.length-Os}createEmbeddedView(o,a,c){let h,_;"number"==typeof c?h=c:null!=c&&(h=c.index,_=c.injector);const D=zd(this._lContainer,o.ssrId),R=o.createEmbeddedViewImpl(a||{},_,D);return this.insertImpl(R,h,qd(this._hostTNode,D)),R}createComponent(o,a,c,h,_){const D=o&&!function Lt(s){return"function"==typeof s}(o);let R;if(D)R=a;else{const Dt=a||{};R=Dt.index,c=Dt.injector,h=Dt.projectableNodes,_=Dt.environmentInjector||Dt.ngModuleRef}const P=D?o:new vp(ai(o)),ne=c||this.parentInjector;if(!_&&null==P.ngModule){const Ht=(D?ne:this.parentInjector).get(ir,null);Ht&&(_=Ht)}const ve=ai(P.componentType??{}),Pe=zd(this._lContainer,ve?.id??null),gt=P.create(ne,h,Pe?.firstChild??null,_);return this.insertImpl(gt.hostView,R,qd(this._hostTNode,Pe)),gt}insert(o,a){return this.insertImpl(o,a,!0)}insertImpl(o,a,c){const h=o._lView;if(function Du(s){return ci(s[Si])}(h)){const R=this.indexOf(o);if(-1!==R)this.detach(R);else{const P=h[Si],ne=new u_(P,P[Rs],P[Si]);ne.detach(ne.indexOf(o))}}const _=this._adjustIndex(a),D=this._lContainer;return op(D,h,_,c),o.attachToViewContainerRef(),Vr(Jd(D),_,o),o}move(o,a){return this.insert(o,a)}indexOf(o){const a=yp(this._lContainer);return null!==a?a.indexOf(o):-1}remove(o){const a=this._adjustIndex(o,-1),c=ep(this._lContainer,a);c&&(Ls(Jd(this._lContainer),a),xh(c[Qt],c))}detach(o){const a=this._adjustIndex(o,-1),c=ep(this._lContainer,a);return c&&null!=Ls(Jd(this._lContainer),a)?new cp(c):null}_adjustIndex(o,a=0){return o??this.length+a}};function yp(s){return s[8]}function Jd(s){return s[8]||(s[8]=[])}function Pb(s,o){let a;const c=o[s.index];return ci(c)?a=c:(a=ab(c,o,null,s),o[s.index]=a,Ph(o,a)),p_(a,o,s,c),new u_(a,s,o)}let p_=function jb(s,o,a,c){if(s[Tr])return;let h;h=8&a.type?$i(c):function Qd(s,o){const a=s[Qn],c=a.createComment(""),h=rr(o,s);return Kc(a,Nh(a,h),c,function fI(s,o){return s.nextSibling(o)}(a,h),!1),c}(o,a),s[Tr]=h},h_=()=>!1;class Yb{constructor(o){this.queryList=o,this.matches=null}clone(){return new Yb(this.queryList)}setDirty(){this.queryList.setDirty()}}class Jh{constructor(o=[]){this.queries=o}createEmbeddedView(o){const a=o.queries;if(null!==a){const c=null!==o.contentQueries?o.contentQueries[0]:a.length,h=[];for(let _=0;_<c;_++){const D=a.getByIndex(_);h.push(this.queries[D.indexInDeclarationView].clone())}return new Jh(h)}return null}insertView(o){this.dirtyQueriesWithMatches(o)}detachView(o){this.dirtyQueriesWithMatches(o)}finishViewCreation(o){this.dirtyQueriesWithMatches(o)}dirtyQueriesWithMatches(o){for(let a=0;a<this.queries.length;a++)null!==Ep(o,a).matches&&this.queries[a].setDirty()}}class La{constructor(o,a,c=null){this.flags=a,this.read=c,this.predicate="string"==typeof o?function tC(s){return s.split(",").map(o=>o.trim())}(o):o}}class Qh{constructor(o=[]){this.queries=o}elementStart(o,a){for(let c=0;c<this.queries.length;c++)this.queries[c].elementStart(o,a)}elementEnd(o){for(let a=0;a<this.queries.length;a++)this.queries[a].elementEnd(o)}embeddedTView(o){let a=null;for(let c=0;c<this.length;c++){const h=null!==a?a.length:0,_=this.getByIndex(c).embeddedTView(o,h);_&&(_.indexInDeclarationView=c,null!==a?a.push(_):a=[_])}return null!==a?new Qh(a):null}template(o,a){for(let c=0;c<this.queries.length;c++)this.queries[c].template(o,a)}getByIndex(o){return this.queries[o]}get length(){return this.queries.length}track(o){this.queries.push(o)}}class Zh{constructor(o,a=-1){this.metadata=o,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=a}elementStart(o,a){this.isApplyingToNode(a)&&this.matchTNode(o,a)}elementEnd(o){this._declarationNodeIndex===o.index&&(this._appliesToNextNode=!1)}template(o,a){this.elementStart(o,a)}embeddedTView(o,a){return this.isApplyingToNode(o)?(this.crossesNgTemplate=!0,this.addMatch(-o.index,a),new Zh(this.metadata)):null}isApplyingToNode(o){if(this._appliesToNextNode&&1&~this.metadata.flags){const a=this._declarationNodeIndex;let c=o.parent;for(;null!==c&&8&c.type&&c.index!==a;)c=c.parent;return a===(null!==c?c.index:-1)}return this._appliesToNextNode}
1matchTNode(o,a){const c=this.metadata.predicate;if(Array.isArray(c))for(let h=0;h<c.length;h++){const _=c[h];this.matchTNodeWithReadOption(o,a,$b(a,_)),this.matchTNodeWithReadOption(o,a,Ha(a,o,_,!1,!1))}else c===dp?4&a.type&&this.matchTNodeWithReadOption(o,a,-1):this.matchTNodeWithReadOption(o,a,Ha(a,o,c,!1,!1))}matchTNodeWithReadOption(o,a,c){if(null!==c){const h=this.metadata.read;if(null!==h)if(h===Pu||h===Kh||h===dp&&4&a.type)this.addMatch(a.index,-2);else{const _=Ha(a,o,h,!1,!1);null!==_&&this.addMatch(a.index,_)}else this.addMatch(a.index,c)}}addMatch(o,a){null===this.matches?this.matches=[o,a]:this.matches.push(o,a)}}function $b(s,o){const a=s.localNames;if(null!==a)for(let c=0;c<a.length;c+=2)if(a[c]===o)return a[c+1];return null}function eC(s,o,a,c){return-1===a?function ZD(s,o){return 11&s.type?hc(s,o):4&s.type?Yh(s,o):null}(o,s):-2===a?function Ub(s,o,a){return a===Pu?hc(o,s):a===dp?Yh(o,s):a===Kh?Pb(o,s):void 0}(s,o,c):Yl(s,s[Qt],a,o)}function m_(s,o,a,c){const h=o[qo].queries[c];if(null===h.matches){const _=s.data,D=a.matches,R=[];for(let P=0;null!==D&&P<D.length;P+=2){const ne=D[P];R.push(ne<0?null:eC(o,_[ne],D[P+1],a.metadata.read))}h.matches=R}return h.matches}function em(s,o,a,c){const h=s.queries.getByIndex(a),_=h.matches;if(null!==_){const D=m_(s,o,h,a);for(let R=0;R<_.length;R+=2){const P=_[R];if(P>0)c.push(D[R/2]);else{const ne=_[R+1],ve=o[-P];for(let Pe=Os;Pe<ve.length;Pe++){const st=ve[Pe];st[yl]===st[Si]&&em(st[Qt],st,ne,c)}if(null!==ve[xo]){const Pe=ve[xo];for(let st=0;st<Pe.length;st++){const gt=Pe[st];em(gt[Qt],gt,ne,c)}}}}}return c}function Gb(s,o,a){const c=new hh(!(4&~a));return function Wf(s,o,a,c){const h=cb(o);h.push(a),s.firstCreatePass&&db(s).push(c,h.length-1)}(s,o,c,c.destroy),(o[qo]??=new Jh).queries.push(new Yb(c))-1}function __(s,o,a){null===s.queries&&(s.queries=new Qh),s.queries.track(new Zh(o,a))}function Ep(s,o){return s.queries.getByIndex(o)}function g_(s,o){const a=s[Qt],c=Ep(a,o);return c.crossesNgTemplate?em(a,s,o,[]):m_(a,s,c,o)}function b_(s){return"function"==typeof s&&void 0!==s[S]}function v_(s,o){wl("NgSignals");const a=function vt(s){const o=Object.create(Tt);o.value=s;const a=()=>(Y(o),o.value);return a[S]=o,a}(s),c=a[S];return o?.equal&&(c.equal=o.equal),a.set=h=>Ve(c,h),a.update=h=>function at(s,o){se()||et(),Ve(s,o(s.value))}(c,h),a.asReadonly=y_.bind(a),a}function y_(){const s=this[S];if(void 0===s.readonlyFn){const o=()=>this();o[S]=s,s.readonlyFn=o}return s.readonlyFn}function qb(s){return b_(s)&&"function"==typeof s.set}function T_(s){let o=function sv(s){return Object.getPrototypeOf(s.prototype).constructor}(s.type),a=!0;const c=[s];for(;o;){let h;if(_o(s))h=o.\u0275cmp||o.\u0275dir;else{if(o.\u0275cmp)throw new Je(903,!1);h=o.\u0275dir}if(h){if(a){c.push(h);const D=s;D.inputs=nm(s.inputs),D.inputTransforms=nm(s.inputTransforms),D.declaredInputs=nm(s.declaredInputs),D.outputs=nm(s.outputs);const R=h.hostBindings;R&&fC(s,R);const P=h.viewQuery,ne=h.contentQueries;if(P&&hC(s,P),ne&&mC(s,ne),uC(s,h),ji(s.outputs,h.outputs),_o(h)&&h.data.animation){const ve=s.data;ve.animation=(ve.animation||[]).concat(h.data.animation)}}const _=h.features;if(_)for(let D=0;D<_.length;D++){const R=_[D];R&&R.ngInherit&&R(s),R===T_&&(a=!1)}}o=Object.getPrototypeOf(o)}!function pC(s){let o=0,a=null;for(let c=s.length-1;c>=0;c--){const h=s[c];h.hostVars=o+=h.hostVars,h.hostAttrs=z(h.hostAttrs,a=z(a,h.hostAttrs))}}(c)}function uC(s,o){for(const a in o.inputs){if(!o.inputs.hasOwnProperty(a)||s.inputs.hasOwnProperty(a))continue;const c=o.inputs[a];if(void 0!==c&&(s.inputs[a]=c,s.declaredInputs[a]=o.declaredInputs[a],null!==o.inputTransforms)){const h=Array.isArray(c)?c[0]:c;if(!o.inputTransforms.hasOwnProperty(h))continue;s.inputTransforms??={},s.inputTransforms[h]=o.inputTransforms[h]}}}function nm(s){return s===pr?{}:s===ii?[]:s}function hC(s,o){const a=s.viewQuery;s.viewQuery=a?(c,h)=>{o(c,h),a(c,h)}:o}function mC(s,o){const a=s.contentQueries;s.contentQueries=a?(c,h,_)=>{o(c,h,_),a(c,h,_)}:o}function fC(s,o){const a=s.hostBindings;s.hostBindings=a?(c,h)=>{o(c,h),a(c,h)}:o}function rv(s){const o=a=>{const c=(Array.isArray(s)?s:s()).map(h=>"function"==typeof h?{directive:Me(h),inputs:pr,outputs:pr}:{directive:Me(h.directive),inputs:av(h.inputs),outputs:av(h.outputs)});null===a.hostDirectives?(a.findHostDirectiveDefs=ov,a.hostDirectives=c):a.hostDirectives.unshift(...c)};return o.ngInherit=!0,o}function ov(s,o,a){if(null!==s.hostDirectives)for(const c of s.hostDirectives){const h=xs(c.directive);vC(h.declaredInputs,c.inputs),ov(h,o,a),a.set(h,c),o.push(h)}}function av(s){if(void 0===s||0===s.length)return pr;const o={};for(let a=0;a<s.length;a+=2)o[s[a]]=s[a+1];return o}function vC(s,o){for(const a in o)o.hasOwnProperty(a)&&(s[o[a]]=s[a])}function cv(s){const o=s.inputConfig,a={};for(const c in o)if(o.hasOwnProperty(c)){const h=o[c];Array.isArray(h)&&h[3]&&(a[c]=h[3])}s.inputTransforms=a}class Zc{}class dv{}function yC(s,o){return new I_(s,o??null,[])}class I_ extends Zc{constructor(o,a,c){super(),this._parent=a,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Fb(this);const h=Ss(o);this._bootstrapComponents=za(h.bootstrap),this._r3Injector=lf(o,a,[{provide:Zc,useValue:this},{provide:Wh,useValue:this.componentFactoryResolver},...c],ti(o),new Set(["environment"])),this._r3Injector.resolveInjectorInitializer
1s(),this.instance=this._r3Injector.get(o)}get injector(){return this._r3Injector}destroy(){const o=this._r3Injector;!o.destroyed&&o.destroy(),this.destroyCbs.forEach(a=>a()),this.destroyCbs=null}onDestroy(o){this.destroyCbs.push(o)}}class D_ extends dv{constructor(o){super(),this.moduleType=o}create(o){return new I_(this.moduleType,o,[])}}class uv extends Zc{constructor(o){super(),this.componentFactoryResolver=new Fb(this),this.instance=null;const a=new dr([...o.providers,{provide:Zc,useValue:this},{provide:Wh,useValue:this.componentFactoryResolver}],o.parent||Ji(),o.debugName,new Set(["environment"]));this.injector=a,o.runEnvironmentInitializers&&a.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(o){this.injector.onDestroy(o)}}function C_(s,o,a=null){return new uv({providers:s,parent:o,debugName:a,runEnvironmentInitializers:!0}).injector}let eu=(()=>{class s{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ge.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const a=this.taskId++;return this.pendingTasks.add(a),a}remove(a){this.pendingTasks.delete(a),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275fac=function(c){return new(c||s)}}static{this.\u0275prov=$n({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})();function sm(s){return!!M_(s)&&(Array.isArray(s)||!(s instanceof Map)&&Symbol.iterator in s)}function M_(s){return null!==s&&("function"==typeof s||"object"==typeof s)}function kl(s,o,a){return s[o]=a}function Ip(s,o){return s[o]}function kr(s,o,a){return!Object.is(s[o],a)&&(s[o]=a,!0)}function ed(s,o,a,c){const h=kr(s,o,a);return kr(s,o+1,c)||h}function rm(s,o,a,c,h){const _=ed(s,o,a,c);return kr(s,o+2,h)||_}function Qa(s,o,a,c,h,_){const D=ed(s,o,a,c);return ed(s,o+2,h,_)||D}function tu(s,o,a,c,h,_,D,R){const P=Pt(),ne=gi(),ve=s+li,Pe=ne.firstCreatePass?function SC(s,o,a,c,h,_,D,R,P){const ne=o.consts,ve=Wd(o,s,4,D||null,Lo(ne,R));qf(o,a,ve,Lo(ne,P)),wu(o,ve);const Pe=ve.tView=Hf(2,ve,c,h,_,o.directiveRegistry,o.pipeRegistry,null,o.schemas,ne,null);return null!==o.queries&&(o.queries.template(o,ve),Pe.queries=o.queries.embeddedTView(ve)),ve}(ve,ne,P,o,a,c,h,_,D):ne.data[ve];Na(Pe,!1);const st=pv(ne,P,Pe,s);Pc()&&Qs(ne,P,st,Pe),po(st,P);const gt=ab(st,P,st,Pe);return P[ve]=gt,Ph(P,gt),function KD(s,o,a){return h_(s,o,a)}(gt,Pe,P),nl(Pe)&&Lh(ne,P,Pe),null!=D&&Vf(P,Pe,R),tu}let pv=function hv(s,o,a,c){return al(!0),o[Qn].createComment("")};function Dc(s,o,a,c){const h=Pt();return kr(h,jo(),o)&&(gi(),Rl(Ws(),h,s,o,a,c)),Dc}function Kl(s,o,a,c){return kr(s,jo(),a)?o+On(a)+c:Di}function id(s,o,a,c,h,_){const R=ed(s,la(),a,h);return go(2),R?o+On(a)+c+On(h)+_:Di}function lu(s,o,a,c,h,_,D,R){const ne=rm(s,la(),a,h,D);return go(3),ne?o+On(a)+c+On(h)+_+On(D)+R:Di}function pm(s,o){return s<<17|o<<2}function Cc(s){return s>>17&32767}function P_(s){return 2|s}function sd(s){return(131068&s)>>2}function j_(s,o){return-131069&s|o<<2}function B_(s){return 1|s}function Vv(s,o,a,c){const h=s[a+1],_=null===o;let D=c?Cc(h):sd(h),R=!1;for(;0!==D&&(!1===R||_);){const ne=s[D+1];cM(s[D],o)&&(R=!0,s[D+1]=c?B_(ne):P_(ne)),D=c?Cc(ne):sd(ne)}R&&(s[a+1]=c?P_(h):B_(h))}function cM(s,o){return null===s||null==o||(Array.isArray(s)?s[1]:s)===o||!(!Array.isArray(s)||"string"!=typeof o)&&vr(s,o)>=0}const Jr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Hv(s){return s.substring(Jr.key,Jr.keyEnd)}function dM(s){return s.substring(Jr.value,Jr.valueEnd)}function Wv(s,o){const a=Jr.textEnd;return a===o?-1:(o=Jr.keyEnd=function hM(s,o,a){for(;o<a&&s.charCodeAt(o)>32;)o++;return o}(s,Jr.key=o,a),mu(s,o,a))}function qv(s,o){const a=Jr.textEnd;let c=Jr.key=mu(s,o,a);return a===c?-1:(c=Jr.keyEnd=function mM(s,o,a){let c;for(;o<a&&(45===(c=s.charCodeAt(o))||95===c||(-33&c)>=65&&(-33&c)<=90||c>=48&&c<=57);)o++;return o}(s,c,a),c=zv(s,c,a),c=Jr.value=mu(s,c,a),c=Jr.valueEnd=function fM(s,o,a){let c=-1,h=-1,_=-1,D=o,R=D;for(;D<a;){const P=s.charCodeAt(D++);if(59===P)return R;34===P||39===P?R=D=Kv(s,P,D,a):o===D-4&&85===_&&82===h&&76===c&&40===P?R=D=Kv(s,41,D,a):P>32&&(R=D),_=h,h=c,c=-33&P}return R}(s,c,a),zv(s,c,a))}function Xv(s){Jr.key=0,Jr.keyEnd=0,Jr.value=0,Jr.valueEnd=0,Jr.textEnd=s.length}function mu(s,o,a){for(;
vendor: 4,941 bytes, line 1
1o<a&&s.charCodeAt(o)<=32;)o++;return o}function zv(s,o,a,c){return(o=mu(s,o,a))<a&&o++,o}function Kv(s,o,a,c){let h=-1,_=a;for(;_<c;){const D=s.charCodeAt(_++);if(D==o&&92!==h)return _;h=92==D&&92===h?0:D}throw new Error}function Y_(s,o,a){const c=Pt();return kr(c,jo(),o)&&fa(gi(),Ws(),c,s,o,c[Qn],a,!1),Y_}function $_(s,o,a,c,h){const D=h?"class":"style";Jf(s,a,o.inputs[D],D,c)}function U_(s,o,a){return ml(s,o,a,!1),U_}function G_(s,o){return ml(s,o,null,!0),G_}function hl(s){fl(ey,_M,s,!1)}function _M(s,o){for(let a=function pM(s){return Xv(s),qv(s,mu(s,0,Jr.textEnd))}(o);a>=0;a=qv(o,a))ey(s,Hv(o),dM(o))}function Jv(s){fl(TM,xl,s,!0)}function xl(s,o){for(let a=function uM(s){return Xv(s),Wv(s,mu(s,0,Jr.textEnd))}(o);a>=0;a=Wv(o,a))tr(s,Hv(o),!0)}function ml(s,o,a,c){const h=Pt(),_=gi(),D=go(2);_.firstUpdatePass&&Zv(_,s,D,c),o!==Di&&kr(h,D,o)&&ty(_,_.data[bo()],h,h[Qn],s,h[D+1]=function DM(s,o){return null==s||""===s||("string"==typeof o?s+=o:"object"==typeof s&&(s=ti(Hl(s)))),s}(o,a),c,D)}function fl(s,o,a,c){const h=gi(),_=go(2);h.firstUpdatePass&&Zv(h,null,_,c);const D=Pt();if(a!==Di&&kr(D,_,a)){const R=h.data[bo()];if(iy(R,c)&&!Qv(h,_)){let P=c?R.classesWithoutHost:R.stylesWithoutHost;null!==P&&(a=_n(P,a||"")),$_(h,R,D,a,c)}else!function IM(s,o,a,c,h,_,D,R){h===Di&&(h=ii);let P=0,ne=0,ve=0<h.length?h[0]:null,Pe=0<_.length?_[0]:null;for(;null!==ve||null!==Pe;){const st=P<h.length?h[P+1]:void 0,gt=ne<_.length?_[ne+1]:void 0;let Ht,Dt=null;ve===Pe?(P+=2,ne+=2,st!==gt&&(Dt=Pe,Ht=gt)):null===Pe||null!==ve&&ve<Pe?(P+=2,Dt=ve):(ne+=2,Dt=Pe,Ht=gt),null!==Dt&&ty(s,o,a,c,Dt,Ht,D,R),ve=P<h.length?h[P]:null,Pe=ne<_.length?_[ne]:null}}(h,R,D,D[Qn],D[_+1],D[_+1]=function EM(s,o,a){if(null==a||""===a)return ii;const c=[],h=Hl(a);if(Array.isArray(h))for(let _=0;_<h.length;_++)s(c,h[_],!0);else if("object"==typeof h)for(const _ in h)h.hasOwnProperty(_)&&s(c,_,h[_]);else"string"==typeof h&&o(c,h);return c}(s,o,a),c,_)}}function Qv(s,o){return o>=s.expandoStartIndex}function Zv(s,o,a,c){const h=s.data;if(null===h[a+1]){const _=h[bo()],D=Qv(s,a);iy(_,c)&&null===o&&!D&&(o=!1),o=function gM(s,o,a,c){const h=function Qp(s){const o=ei.lFrame.currentDirectiveIndex;return-1===o?null:s[o]}(s);let _=c?o.residualClasses:o.residualStyles;if(null===h)0===(c?o.classBindings:o.styleBindings)&&(a=Rp(a=V_(null,s,o,a,c),o.attrs,c),_=null);else{const D=o.directiveStylingLast;if(-1===D||s[D]!==h)if(a=V_(h,s,o,a,c),null===_){let P=function bM(s,o,a){const c=a?o.classBindings:o.styleBindings;if(0!==sd(c))return s[Cc(c)]}(s,o,c);void 0!==P&&Array.isArray(P)&&(P=V_(null,s,o,P[1],c),P=Rp(P,o.attrs,c),function vM(s,o,a,c){s[Cc(a?o.classBindings:o.styleBindings)]=c}(s,o,c,P))}else _=function yM(s,o,a){let c;const h=o.directiveEnd;for(let _=1+o.directiveStylingLast;_<h;_++)c=Rp(c,s[_].hostAttrs,a);return Rp(c,o.attrs,a)}(s,o,c)}return void 0!==_&&(c?o.residualClasses=_:o.residualStyles=_),a}(h,_,o,c),function aM(s,o,a,c,h,_){let D=_?o.classBindings:o.styleBindings,R=Cc(D),P=sd(D);s[c]=a;let ve,ne=!1;if(Array.isArray(a)?(ve=a[1],(null===ve||vr(a,ve)>0)&&(ne=!0)):ve=a,h)if(0!==P){const st=Cc(s[R+1]);s[c+1]=pm(st,R),0!==st&&(s[st+1]=j_(s[st+1],c)),s[R+1]=function rM(s,o){return 131071&s|o<<17}(s[R+1],c)}else s[c+1]=pm(R,0),0!==R&&(s[R+1]=j_(s[R+1],c)),R=c;else s[c+1]=pm(P,0),0===R?R=c:s[P+1]=j_(s[P+1],c),P=c;ne&&(s[c+1]=P_(s[c+1])),Vv(s,ve,c,!0),Vv(s,ve,c,!1),function lM(s,o,a,c,h){const _=h?s.residualClasses:s.residualStyles;null!=_&&"string"==typeof o&&vr(_,o)>=0&&(a[c+1]=B_(a[c+1]))}(o,ve,s,c,_),D=pm(R,P),_?o.classBindings=D:o.styleBindings=D}(h,_,o,a,D,c)}}function V_(s,o,a,c,h){let _=null;const D=a.directiveEnd;let R=a.directiveStylingLast;for(-1===R?R=a.directiveStart:R++;R<D&&(_=o[R],c=Rp(c,_.hostAttrs,h),_!==s);)R++;return null!==s&&(a.directiveStylingLast=R),c}function Rp(s,o,a){const c=a?1:2;let h=-1;if(null!==o)for(let _=0;_<o.length;_++){const D=o[_];"number"==typeof D?h=D:h===c&&(Array.isArray(s)||(s=void 0===s?[]:["",s]),tr(s,D,!!a||o[++_]))}return void 0===s?null:s}function ey(s,o,a){tr(s,o,Hl(a))}function TM(s,o,a){const c=String(o);""!==c&&!c.includes(" ")&&tr(s,c,a)}function ty(s,o,a,c,h,_,D,R){if(!(3&o.type))return;const P=s.data,ne=P[R+1],ve=function oM(s){return!(1&~s)}(ne)?ny(P,o,a,h,sd(ne),D):void 0;hm(ve)||(hm(_)||function sM(s){return!(2&~s)}(ne)&&(_=ny(P,null,a,h,R,D)),function bI(s,o,a,c,h){if(o)h?s.addClass(a,c):s.removeClass(a,c);else{let _=-1===c.indexOf("-")?void 0:kh.DashCase;null==h?s.removeStyle(a,c,_):("string"==typeof h&&h.endsWith("!important")&&(h=h.slice(0,-10),_|=kh.Important),s.setStyle(a,c,h,_))}}(c,D,sl(bo(),a),h,_))}function ny(s,o,a,c,h,_){const D=null===o;let R;for(;h>0;){const P=s[h],ne=Array.isArray(P),ve=ne?P[1]:P,Pe=null===ve;let st=a[h+1];st===Di&&(st=Pe?ii:void 0);let gt=Pe?br(st,c):ve===c?st:void 0;if(ne&&!hm(gt)&&(gt=br(P,c)),hm(gt)&&(R=gt,D))return R;const Dt=s[h+1];h=D?Cc(Dt):sd(Dt)}if(null!==o){let P=_?o.residualClasses:o.residualStyles;
1null!=P&&(R=br(P,c))}return R}function hm(s){return void 0!==s}function iy(s,o){return!!(s.flags&(o?8:16))}class FM{destroy(o){}updateValue(o,a){}swap(o,a){const c=Math.min(o,a),h=Math.max(o,a),_=this.detach(h);if(h-c>1){const D=this.detach(c);this.attach(c,_),this.attach(h,D)}else this.attach(c,_)}move(o,a){this.attach(a,this.detach(o))}}function H_(s,o,a,c,h){return s===a&&Object.is(o,c)?1:Object.is(h(s,o),h(a,c))?-1:0}function W_(s,o,a,c){return!(void 0===o||!o.has(c)||(s.attach(a,o.get(c)),o.delete(c),0))}function rd(s,o,a,c,h){if(W_(s,o,c,a(c,h)))s.updateValue(c,h);else{const _=s.create(c,h);s.attach(c,_)}}function sy(s,o,a,c){const h=new Set;for(let _=o;_<=a;_++)h.add(c(_,s.at(_)));return h}class ry{constructor(){this.kvMap=new Map,this._vMap=void 0}has(o){return this.kvMap.has(o)}delete(o){if(!this.has(o))return!1;const a=this.kvMap.get(o);return void 0!==this._vMap&&this._vMap.has(a)?(this.kvMap.set(o,this._vMap.get(a)),this._vMap.delete(a)):this.kvMap.delete(o),!0}get(o){return this.kvMap.get(o)}set(o,a){if(this.kvMap.has(o)){let c=this.kvMap.get(o);void 0===this._vMap&&(this._vMap=new Map);const h=this._vMap;for(;h.has(c);)c=h.get(c);h.set(c,a)}else this.kvMap.set(o,a)}forEach(o){for(let[a,c]of this.kvMap)if(o(c,a),void 0!==this._vMap){const h=this._vMap;for(;h.has(c);)c=h.get(c),o(c,a)}}}function oy(s,o,a){wl("NgControlFlow");const c=Pt(),h=jo(),_=q_(c,li+s);if(kr(c,h,o)){const R=p(null);try{if(Zf(_,0),-1!==o){const P=X_(c[Qt],li+o),ne=zd(_,P.tView.ssrId);op(_,rp(c,P,a,{dehydratedView:ne}),0,qd(P,ne))}}finally{p(R)}}else{const R=pb(_,0);void 0!==R&&(R[Ts]=a)}}class PM{constructor(o,a,c){this.lContainer=o,this.$implicit=a,this.$index=c}get $count(){return this.lContainer.length-Os}}function ay(s,o){return o}class BM{constructor(o,a,c){this.hasEmptyBlock=o,this.trackByFn=a,this.liveCollection=c}}function ly(s,o,a,c,h,_,D,R,P,ne,ve,Pe,st){wl("NgControlFlow");const gt=void 0!==P,Dt=Pt(),Ht=R?D.bind(Dt[Is][Ts]):D,tn=new BM(gt,Ht);Dt[li+s]=tn,tu(s+1,o,a,c,h,_),gt&&tu(s+2,P,ne,ve,Pe,st)}class YM extends FM{constructor(o,a,c){super(),this.lContainer=o,this.hostLView=a,this.templateTNode=c,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Os}at(o){return this.getLView(o)[Ts].$implicit}attach(o,a){const c=a[Hs];this.needsIndexUpdate||=o!==this.length,op(this.lContainer,a,o,qd(this.templateTNode,c))}detach(o){return this.needsIndexUpdate||=o!==this.length-1,function $M(s,o){return ep(s,o)}(this.lContainer,o)}create(o,a){const c=zd(this.lContainer,this.templateTNode.tView.ssrId);return rp(this.hostLView,this.templateTNode,new PM(this.lContainer,a,o),{dehydratedView:c})}destroy(o){xh(o[Qt],o)}updateValue(o,a){this.getLView(o)[Ts].$implicit=a}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let o=0;o<this.length;o++)this.getLView(o)[Ts].$index=o}getLView(o){return function UM(s,o){return pb(s,o)}(this.lContainer,o)}}function cy(s){const o=p(null),a=bo();try{const c=Pt(),h=c[Qt],_=c[a];if(void 0===_.liveCollection){const R=a+1,P=q_(c,R),ne=X_(h,R);_.liveCollection=new YM(P,c,ne)}else _.liveCollection.reset();const D=_.liveCollection;if(function LM(s,o,a){let c,h,_=0,D=s.length-1;if(Array.isArray(o)){let R=o.length-1;for(;_<=D&&_<=R;){const P=s.at(_),ne=o[_],ve=H_(_,P,_,ne,a);if(0!==ve){ve<0&&s.updateValue(_,ne),_++;continue}const Pe=s.at(D),st=o[R],gt=H_(D,Pe,R,st,a);if(0!==gt){gt<0&&s.updateValue(D,st),D--,R--;continue}const Dt=a(_,P),Ht=a(D,Pe),tn=a(_,ne);if(Object.is(tn,Ht)){const cn=a(R,st);Object.is(cn,Dt)?(s.swap(_,D),s.updateValue(D,st),R--,D--):s.move(D,_),s.updateValue(_,ne),_++}else if(c??=new ry,h??=sy(s,_,D,a),W_(s,c,_,tn))s.updateValue(_,ne),_++,D++;else if(h.has(tn))c.set(Dt,s.detach(_)),D--;else{const cn=s.create(_,o[_]);s.attach(_,cn),_++,D++}}for(;_<=R;)rd(s,c,a,_,o[_]),_++}else if(null!=o){const R=o[Symbol.iterator]();let P=R.next();for(;!P.done&&_<=D;){const ne=s.at(_),ve=P.value,Pe=H_(_,ne,_,ve,a);if(0!==Pe)Pe<0&&s.updateValue(_,ve),_++,P=R.next();else{c??=new ry,h??=sy(s,_,D,a);const st=a(_,ve);if(W_(s,c,_,st))s.updateValue(_,ve),_++,D++,P=R.next();else if(h.has(st)){const gt=a(_,ne);c.set(gt,s.detach(_)),D--}else s.attach(_,s.create(_,ve)),_++,D++,P=R.next()}}for(;!P.done;)rd(s,c,a,s.length,P.value),P=R.next()}for(;_<=D;)s.destroy(s.detach(D--));c?.forEach(R=>{s.destroy(R)})}(D,s,_.trackByFn),D.updateIndexes(),_.hasEmptyBlock){const R=jo(),P=0===D.length;if(kr(c,R,P)){const ne=a+2,ve=q_(c,ne);if(P){const Pe=X_(h,ne),st=zd(ve,Pe.tView.ssrId);op(ve,rp(c,Pe,void 0,{dehydratedView:st}),0,qd(Pe,st))}else Zf(ve,0)}}}finally{p(o)}}function q_(s,o){return s[o]}function X_(s,o){return rl(s,o)}function mm(s,o,a,c){const h=Pt(),_=gi(),D=li+s,R=h[Qn],P=_.firstCreatePass?function GM(s,o,a,c,h,_){const D=o.consts,P=Wd(o,s,2,c,Lo(D,h));return qf(o,a,P,Lo(D,_)),null!==P.attrs&&Xh(P,P.attrs,!1),null!==P.mergedAttrs&&Xh(P,P.mergedAttrs,!0),null!==o.queries&&o.queries.elementStart(o,P),P}(D,_,h,o,a,c):_.data[D],ne=dy(_,h,P,R,o,s);h[D]=ne;const ve=nl(P);return Na(P,!0),K1(R,ne,P),!function Dp(s){return!(32&~s.flags)}(P)&&Pc()&&Qs(_,h,ne,P),0===function x(){return ei.lFrame.elementDepthCount}()&&po(ne,h),function Z(){ei.lFrame.elementDepthCount++}(),ve&&(Lh(_,h,P),Gf(_,P,h)),null!==c&&Vf(h,P),mm}function fm(){let s=Qi();Td()?Id():(s=s.parent,Na(s,!1));const o=s;(function Bt(s){return ei.skipHydrationRootTNode===s})(o)&&function uo(){ei.skipHydrationRootTNode=null}(),function ue(){ei.lFrame.elementDepthCount--}();const a=gi();return a.firstCreatePass&&(wu(a,s),Ql(s)&&a.queries.elementEnd(s)),null!=o.classesWithoutHost&&function xu(s){return!!(8&s.flags)}(o)&&$_(a,o,Pt(),o.classesWithoutHost,!0),null!=o.stylesWithoutHost&&function Xg(s){return!!(16&s.flags)}(o)&&$_(a,o,Pt(),o.stylesWithoutHost,!1),fm}function z_(s,o,a,c){return mm(s,o,a,c),fm(),z_}let dy=(s,o,a,c,h,_)=>(al(!0),Ah(c,h,function nh(){return ei.lFrame.currentNamespace}()));function _m(s,o,a){const c=Pt(),h=gi(),_=s+li,D=h.firstCreatePass?function WM(s,o,a,c,h){const _=o.consts,D=Lo(_,c),R=Wd(o,s,8,"ng-container",D);return null!==D&&Xh(R,D,!0),qf(o,a,R,Lo(_,h)),null!==o.queries&&o.queries.elementStart(o,R),R}(_,h,c,o,a):h.data[_];Na(D,!0);const R=uy(h,c,D,s);
1return c[_]=R,Pc()&&Qs(h,c,R,D),po(R,c),nl(D)&&(Lh(h,c,D),Gf(h,D,c)),null!=a&&Vf(c,D),_m}function gm(){let s=Qi();const o=gi();return Td()?Id():(s=s.parent,Na(s,!1)),o.firstCreatePass&&(wu(o,s),Ql(s)&&o.queries.elementEnd(s)),gm}function K_(s,o,a){return _m(s,o,a),gm(),K_}let uy=(s,o,a,c)=>(al(!0),Lf(o[Qn],""));function py(){return Pt()}function J_(s,o,a){const c=Pt();return kr(c,jo(),o)&&fa(gi(),Ws(),c,s,o,c[Qn],a,!0),J_}const od=void 0;var zM=["en",[["a","p"],["AM","PM"],od],[["AM","PM"],od,od],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],od,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],od,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",od,"{1} 'at' {0}",od],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function XM(s){const a=Math.floor(Math.abs(s)),c=s.toString().replace(/^[^.]*\.?/,"").length;return 1===a&&0===c?1:5}];let fu={};function KM(s,o,a){"string"!=typeof o&&(a=o,o=s[_u.LocaleId]),o=o.toLowerCase().replace(/_/g,"-"),fu[o]=s,a&&(fu[o
1][_u.ExtraData]=a)}function Z_(s){const o=function JM(s){return s.toLowerCase().replace(/_/g,"-")}(s);let a=hy(o);if(a)return a;const c=o.split("-")[0];if(a=hy(c),a)return a;if("en"===c)return zM;throw new Je(701,!1)}function eg(s){return Z_(s)[_u.PluralCase]}function hy(s){return s in fu||(fu[s]=Dn.ng&&Dn.ng.common&&Dn.ng.common.locales&&Dn.ng.common.locales[s]),fu[s]}var _u=function(s){return s[s.LocaleId=0]="LocaleId",s[s.DayPeriodsFormat=1]="DayPeriodsFormat",s[s.DayPeriodsStandalone=2]="DayPeriodsStandalone",s[s.DaysFormat=3]="DaysFormat",s[s.DaysStandalone=4]="DaysStandalone",s[s.MonthsFormat=5]="MonthsFormat",s[s.MonthsStandalone=6]="MonthsStandalone",s[s.Eras=7]="Eras",s[s.FirstDayOfWeek=8]="FirstDayOfWeek",s[s.WeekendRange=9]="WeekendRange",s[s.DateFormat=10]="DateFormat",s[s.TimeFormat=11]="TimeFormat",s[s.DateTimeFormat=12]="DateTimeFormat",s[s.NumberSymbols=13]="NumberSymbols",s[s.NumberFormats=14]="NumberFormats",s[s.CurrencyCode=15]="CurrencyCode",s[s.CurrencySymbol=16]="CurrencySymbol",s[s.CurrencyName=17]="CurrencyName",s[s.Currencies=18]="Currencies",s[s.Directionality=19]="Directionality",s[s.PluralCase=20]="PluralCase",s[s.ExtraData=21]="ExtraData",s}(_u||{});const gu="en-US",vm={marker:"element"},ym={marker:"ICU"};var _a=function(s){return s[s.SHIFT=2]="SHIFT",s[s.APPEND_EAGERLY=1]="APPEND_EAGERLY",s[s.COMMENT=2]="COMMENT",s}(_a||{});let my=gu;function _y(s,o,a){const c=o.insertBeforeIndex,h=Array.isArray(c)?c[0]:c;return null===h?Bf(s,0,a):$i(a[h])}function gy(s,o,a,c,h){const _=o.insertBeforeIndex;if(Array.isArray(_)){let D=c,R=null;if(3&o.type||(R=D,D=h),null!==D&&-1===o.componentOffset)for(let P=1;P<_.length;P++)Kc(s,D,a[_[P]],R,!1)}}function by(s,o){if(s.push(o),s.length>1)for(let a=s.length-2;a>=0;a--){const c=s[a];vy(c)||nS(c,o)&&null===iS(c)&&sS(c,o.index)}}function vy(s){return!(64&s.type)}function nS(s,o){return vy(o)||s.index>o.index}function iS(s){const o=s.insertBeforeIndex;return Array.isArray(o)?o[0]:o}function sS(s,o){const a=s.insertBeforeIndex;Array.isArray(a)?a[0]=o:(H1(_y,gy),s.insertBeforeIndex=o)}function oS(s,o,a){const c=Fh(s,a,64,null,null);return by(o,c),c}let Np=(s,o,a,c)=>(al(!0),function Dy(s,o,a){const c=s[Qn];switch(a){case Node.COMMENT_NODE:return Lf(c,o);case Node.TEXT_NODE:return Ff(c,o);case Node.ELEMENT_NODE:return Ah(c,o,null)}}(s,a,c));function fS(){const s=[];let a,c,o=-1;function _(R,P){o=0;const ne=function kp(s,o){const a=o[s.currentCaseLViewIndex];return null===a?a:a<0?~a:a}(R,P);c=null!==ne?R.remove[ne]:ii}function D(){if(o<c.length){const R=c[o++];return R>0?a[R]:(s.push(o,c),_(a[Qt].data[~R],a),D())}return 0===s.length?null:(c=s.pop(),o=s.pop(),D())}return function h(R,P){for(a=P;s.length;)s.pop();
vendor: 4,479 bytes, line 1
1return _(R.value,P),D}}const Em=/\ufffd(\d+):?\d*\ufffd/gi,gS=/\ufffd(\d+)\ufffd/,wy=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,Mc="\ufffd",ad=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,bS=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,vS=/\uE500/g;function ky(s,o,a,c,h,_,D){const R=ip(s,c,1,null);let P=R<<_a.SHIFT,ne=sc();o===ne&&(ne=null),null===ne&&(P|=_a.APPEND_EAGERLY),D&&(P|=_a.COMMENT,function oI(s){void 0===Nf&&(Nf=s())}(fS)),h.push(P,null===_?"":_);const ve=Fh(s,R,D?32:1,null===_?"":_,null);by(a,ve);const Pe=ve.index;return Na(ve,!1),null!==ne&&o!==ne&&function yy(s,o){let a=s.insertBeforeIndex;null===a?(H1(_y,gy),a=s.insertBeforeIndex=[null,o]):(ht(Array.isArray(a),!0,"Expecting array here"),a.push(o))}(ne,Pe),ve}function Ay(s,o,a,c,h,_,D,R){const P=R.match(Em),ve=ky(o,a,c,D,h,P?null:R,!1).index;P&&Op(_,R,ve,null,0,null),s.push({kind:0,index:ve})}function Op(s,o,a,c,h,_){const D=s.length,R=D+1;s.push(null,null);const P=D+2,ne=o.split(Em);let ve=0;for(let Pe=0;Pe<ne.length;Pe++){const st=ne[Pe];if(1&Pe){const gt=h+parseInt(st,10);s.push(-1-gt),ve|=xy(gt)}else""!==st&&s.push(st)}return s.push(a<<2|(c?1:0)),c&&s.push(c,_),s[D]=ve,s[R]=s.length-P,ve}function xy(s){return 1<<Math.min(s,31)}function Ny(s){let o,_,a="",c=0,h=!1;for(;null!==(o=ad.exec(s));)h?o[0]===`${Mc}/*${_}${Mc}`&&(c=o.index,h=!1):(a+=s.substring(c,o.index+o[0].length),_=o[1],h=!0);return a+=s.slice(c),a}function Im(s,o,a,c,h,_,D){let R=0;const P={type:_.type,currentCaseLViewIndex:ip(o,a,1,null),anchorIdx:D,cases:[],create:[],remove:[],update:[]};(function MS(s,o,a){s.push(xy(o.mainBinding),2,-1-o.mainBinding,a<<2|2)})(c,_,D),function rS(s,o,a){const c=s.data[o];null===c?s.data[o]=a:c.value=a}(o,D,P);const ne=_.values,ve=[];for(let Pe=0;Pe<ne.length;Pe++){const st=ne[Pe],gt=[];for(let Ht=0;Ht<st.length;Ht++){const tn=st[Ht];if("string"!=typeof tn){const cn=gt.push(tn)-1;st[Ht]=`\x3c!--\ufffd${cn}\ufffd--\x3e`}}const Dt=[];ve.push(Dt),R=CS(Dt,o,P,a,c,h,_.cases[Pe],st.join(""),gt)|R}R&&function SS(s,o,a){s.push(o,1,a<<2|3)}(c,R,D),s.push({kind:3,index:D,cases:ve,currentCaseLViewIndex:P.currentCaseLViewIndex})}function DS(s){const o=[],a=[];let c=1,h=0;const _=ig(s=s.replace(wy,function(D,R,P){return c="select"===P?0:1,h=parseInt(R.slice(1),10),""}));for(let D=0;D<_.length;){let R=_[D++].trim();1===c&&(R=R.replace(/\s*(?:=)?(\w+)\s*/,"$1")),R.length&&o.push(R);const P=ig(_[D++]);o.length>a.length&&a.push(P)}return{type:c,mainBinding:h,cases:o,values:a}}function ig(s){if(!s)return[];let o=0;const a=[],c=[],h=/[{}]/g;let _;for(h.lastIndex=0;_=h.exec(s);){const R=_.index;if("}"==_[0]){if(a.pop(),0==a.length){const P=s.substring(o,R);wy.test(P)?c.push(DS(P)):c.push(P),o=R+1}}else{if(0==a.length){const P=s.substring(o,R);c.push(P),o=R+1}a.push("{")}}const D=s.substring(o);return c.push(D),c}function CS(s,o,a,c,h,_,D,R,P){const ne=[],ve=[],Pe=[];a.cases.push(D),a.create.push(ne),a.remove.push(ve),a.update.push(Pe);const gt=PT(zi()).getInertBodyElement(R),Dt=wf(gt)||gt;return Dt?Fp(s,o,a,c,h,ne,ve,Pe,Dt,_,P,0):0}function Fp(s,o,a,c,h,_,D,R,P,ne,ve,Pe){let st=0,gt=P.firstChild;for(;gt;){const Dt=ip(o,c,1,null);switch(gt.nodeType){case Node.ELEMENT_NODE:const Ht=gt,tn=Ht.tagName.toLowerCase();if(M1.hasOwnProperty(tn)){rg(_,vm,tn,ne,Dt),o.data[Dt]=tn;const ds=Ht.attributes;for(let Zr=0;Zr<ds.length;Zr++){const va=ds.item(Zr),Tu=va.name.toLowerCase();va.value.match(Em)?BT.hasOwnProperty(Tu)&&Op(R,va.value,Dt,va.name,0,Sf[Tu]?Mf:null):Oy(_,Dt,va)}const Bs={kind:1,index:Dt,children:[]};s.push(Bs),st=Fp(Bs.children,o,a,c,h,_,D,R,gt,Dt,ve,Pe+1)|st,bu(D,Dt,Pe)}break;case Node.TEXT_NODE:const cn=gt.textContent||"",Kt=cn.match(Em);rg(_,null,Kt?"":cn,ne,Dt),bu(D,Dt,Pe),Kt&&(st=Op(R,cn,Dt,null,0,null)|st),s.push({kind:0,index:Dt});break;case Node.COMMENT_NODE:const pi=gS.exec(gt.textContent||"");if(pi){const Bs=ve[parseInt(pi[1],10)];rg(_,ym,"",ne,Dt),Im(s,o,c,h,ne,Bs,Dt),sg(D,Dt,Pe)}}gt=gt.nextSibling}return st}function bu(s,o,a){0===a&&s.push(o)}function sg(s,o,a){0===a&&(s.push(~o),s.push(o))}function rg(s,o,a,c,h){null!==o&&s.push(o),s.push(a,h,function aS(s,o,a){return s|o<<17|a<<1}(0,c,h))}function Oy(s,o,a){s.push(o<<1|1,a.name,a.value)}function Py(s,o,a=-1){const c=gi(),h=Pt(),_=li+s,D=Lo(c.consts,o),R=sc();c.firstCreatePass&&function ES(s,o,a,c,h,_){const D=sc(),R=[],P=[],ne=[[]],ve=[[]];h=function vo(s,o){if(function IS(s){return-1===s}(o))return Ny(s);{const a=s.indexOf(`:${o}${Mc}`)+2+o.toString().length,c=s.search(new RegExp(`${Mc}\\/\\*\\d+:${o}
1${Mc}`));return Ny(s.substring(a,c))}}(h,_);const Pe=function yS(s){return s.replace(vS," ")}(h).split(bS);for(let st=0;st<Pe.length;st++){let gt=Pe[st];if(1&st){const Dt=47===gt.charCodeAt(0),Ht=gt.charCodeAt(Dt?1:0),tn=li+Number.parseInt(gt.substring(Dt?2:1));if(Dt)ne.shift(),ve.shift(),Na(sc(),!1);else{const cn=oS(s,ne[0],tn);ne.unshift([]),Na(cn,!0);const Kt={kind:2,index:tn,children:[],type:35===Ht?0:1};ve[0].push(Kt),ve.unshift(Kt.children)}}else{const Dt=ig(gt);for(let Ht=0;Ht<Dt.length;Ht++){let tn=Dt[Ht];if(1&Ht){const cn=tn;if("object"!=typeof cn)throw new Error(`Unable to parse ICU expression in "${h}" message.`);const pi=ky(s,D,ne[0],a,R,"",!0).index;Im(ve[0],s,a,P,o,cn,pi)}else""!==tn&&Ay(ve[0],s,D,ne[0],R,P,a,tn)}}}s.data[c]={create:R,update:P,ast:ve[0]}}(c,null===R?0:R.index,h,_,D,a),2===c.type?h[Is][Mn]|=32:h[Mn]|=32;const P=c.data[_],ve=Y1(c,R===h[Rs]?null:R,h);(function pS(s,o,a,c){const h=s[Qn];for(let _=0;_<o.length;_++){const D=o[_++],ne=(D&_a.APPEND_EAGERLY)===_a.APPEND_EAGERLY,ve=D>>>_a.SHIFT;let Pe=s[ve],st=!1;null===Pe&&(Pe=s[ve]=Np(s,ve,o[_],(D&_a.COMMENT)===_a.COMMENT?Node.COMMENT_NODE:Node.TEXT_NODE),st=Pc()),ne&&null!==a&&st&&Kc(h,a,Pe,c,!1)}})(h,P.create,ve,R&&8&R.type?h[R.index]:null),Wm(!0)}function By(s,o,a){Py(s,o,a),function jy(){Wm(!1)}()}function og(s,o,a,c){const h=Pt(),_=gi(),D=Qi();return ag(_,h,h[Qn],D,s,o,c),og}function ag(s,o,a,c,h,_,D){const R=nl(c),ne=s.firstCreatePass&&db(s),ve=o[Ts],Pe=cb(o);let st=!0;if(3&c.type||D){const Ht=rr(c,o),tn=D?D(Ht):Ht,cn=Pe.length,Kt=D?ds=>D($i(ds[c.index])):c.index;let pi=null;if(!D&&R&&(pi=function jS(s,o,a,c){const h=s.cleanup;if(null!=h)for(let _=0;_<h.length-1;_+=2){const D=h[_];if(D===a&&h[_+1]===c){const R=o[Js],P=h[_+2];return R.length>P?R[P]:null}"string"==typeof D&&(_+=2)}return null}(s,o,h,c.index)),null!==pi)(pi.__ngLastListenerFn__||pi).__ngNextListenerFn__=_,pi.__ngLastListenerFn__=_,st=!1;else{_=Gy(c,o,ve,_,!1);const ds=a.listen(tn,h,_);Pe.push(_,ds),ne&&ne.push(h,Kt,cn,cn+1)}}else _=Gy(c,o,ve,_,!1);const gt=c.outputs;let Dt;if(st&&null!==gt&&(Dt=gt[h])){const Ht=Dt.length;if(Ht)for(let tn=0;tn<Ht;tn+=2){const Bs=o[Dt[tn]][Dt[tn+1]].subscribe(_),Zr=Pe.length;Pe.push(_,Bs),ne&&ne.push(h,c.index,Zr,-(Zr+1))}}}function Uy(s,o,a,c){const h=p(null);try{return aa(6,o,a),!1!==a(c)}catch(_){return jh(s,_),!1}finally{aa(7,o,a),p(h)}}function Gy(s,o,a,c,h){return function _(D){if(D===Function)return c;lp(s.componentOffset>-1?Fo(s.index,o):o);let P=Uy(o,a,c,D),ne=_.__ngNextListenerFn__;for(;ne;)P=Uy(o,a,ne,D)&&P,ne=ne.__ngNextListenerFn__;return h&&!1===P&&D.preventDefault(),P}}function Vy(s=1){return function Jm(s){return(ei.lFrame.contextLView=function Cu(s,o){for(;s>0;)o=o[Wo],s--;return o}(s,ei.lFrame.contextLView))[Ts]}(s)}function BS(s,o){let a=null;const c=function Ca(s){const o=s.attrs;if(null!=o){const a=o.indexOf(5);if(!(1&a))return o[a+1]}return null}(s);for(let h=0;h<o.length;h++){const _=o[h];if("*"!==_){if(null===c?gl(s,_,!0):el(c,_))return h}else a=h}return a}function Hy(s){const o=Pt()[Is][Rs];if(!o.projection){const c=o.projection=function as(s,o){const a=[];for(let c=0;c<s;c++)a.push(o);return a}(s?s.length:1,null),h=c.slice();let _=o.child;for(;null!==_;){const D=s?BS(_,s):0;null!==D&&(h[D]?h[D].projectionNext=_:c[D]=_,h[D]=_),_=_.next}}}function Wy(s,o=0,a){const c=Pt(),h=gi(),_=Wd(h,li+s,16,null,a||null);null===_.projection&&(_.projection=o),Id(),(!c[Hs]||ut())&&32&~_.flags&&function _I(s,o,a){X1(o[Qn],0,o,a,jf(s,a,o),G1(a.parent||o[Rs],a,o))}(h,c,_)}function lg(s,o,a){return Dm(s,"",o,"",a),lg}function Dm(s,o,a,c,h){const _=Pt(),D=Kl(_,o,a,c);return D!==Di&&fa(gi(),Ws(),_,s,D,_[Qn],h,!1),Dm}function cg(s,o,a,c,h,_,D){const R=Pt(),P=id(R,o,a,c,h,_);return P!==Di&&fa(gi(),Ws(),R,s,P,R[Qn],D,!1),cg}function dg(s,o,a,c,h,_,D,R,P){const ne=Pt(),ve=lu(ne,o,a,c,h,_,D,R);return ve!==Di&&fa(gi(),Ws(),ne,s,ve,ne[Qn],P,!1),dg}function Zy(s,o,a,c){!function Hb(s,o,a,c){const h=gi();if(h.firstCreatePass){const _=Qi();__(h,new La(o,a,c),_.index),function Wb(s,o){const a=s.contentQueries||(s.contentQueries=[]);o!==(a.length?a[a.length-1]:-1)&&a.push(s.queries.length-1,o)}(h,s),!(2&~a)&&(h.staticContentQueries=!0)}return Gb(h,Pt(),a)}(s,o,a,c)}function e0(s,o,a){!function Vb(s,o,a){const c=gi();return c.firstCreatePass&&(__(c,new La(s,o,a),-1),!(2&~o)&&(c.staticViewQueries=!0)),Gb(c,Pt(),o)}(s,o,a)}function t0(s){const o=Pt(),a=gi(),c=Zp();Mu(c+1);const h=Ep(a,c);if(s.dirty&&function Xp(s){return!(4&~s[Mn])}(o)===!(2&~h.metadata.flags)){if(null===h.matches)s.reset([]);else{const _=g_(o,c);s.reset(_,r1),s.notifyOnChanges()}return!0}return!1}function n0(){return function f_(s,o){return s[qo].queries[o].queryList}(Pt(),Zp())}function s0(s){return ol(function zp(){return ei.lFrame.contextLView}(),li+s)}function p0(s,o=""){const a=Pt(),c=gi(),h=s+li,_=c.firstCreatePass?Wd(c,h,1,o,null):c.data[h],D=h0(c,a,_,o,s);a[h]=D,Pc()&&Qs(c,a,D,_),Na(_,!1)}let h0=(s,o,a,c,h)=>(al(!0),Ff(o[Qn],c));function pg(s){return Cm("",s,""),pg}function Cm(s,o,a){const c=Pt(),h=Kl(c,s,o,a);return h!==Di&&Xl(c,bo(),h),Cm}function hg(s,o,a,c,h){const _=Pt(),D=id(_,s,o,a,c,h);return D!==Di&&Xl(_,bo(),D),hg}function mg(s,o,a,c,h,_,D){const R=Pt(),P=lu(R,s,o,a,c,h,_,D);return P!==Di&&Xl(R,bo(),P),mg}function fg(s,o,a,c,h,_,D,R,P){const ne=Pt(),ve=function cu(s,o,a,c,h,_,D,R,P,ne){const Pe=Qa(s,la(),a,h,D,P);return go(4),Pe?o+On(a)+c+On(h)+_+On(D)+R+On(P)+ne:Di}(ne,s,o,a,c,h,_,D,R,P);return ve!==Di&&Xl(ne,bo(),ve),fg}function Mm(s,o,a){qb(o)&&(o=o());const c=Pt();return kr(c,jo(),o)&&fa(gi(),Ws(),c,s,o,c[Qn],a,!1),Mm}function v0(s,o){const a=qb(s);return a&&s.set(o),a}function _g(s,o){const a=Pt(),c=gi(),h=Qi();return ag(c,a,a[Qn],h,s,o),_g}function gg(s,o,a,c,h){if(s=Me(s),Array.isArray(s))for(let _=0;_<s.length;_++)gg(s[_],o,a,c,h);else{const _=gi(),D=Pt(),R=Qi();let P=xn(s)?s:Me(s.provide);const ne=mr(s),ve=1048575&R.providerIndexes,Pe=R.directiveStart,st=R.providerIndexes>>20;if(xn(s)||!s.multi){const gt=new jc(ne,h,ql),Dt=yg(P,o,h?ve:ve+st,Pe);-1===Dt?(Oa(ac(R,D),_,P),bg(_,s,o.length),o.push(P),R.directiveStart++,R.directiveEnd++,h&&(R.providerIndexes+=1048576),a.push(gt),D.push(gt)):(a[Dt]=gt,D[Dt]=gt)}else{const gt=yg(P,o,ve+st,Pe),Dt=yg(P,o,ve,ve+st),tn=Dt>=0&&a[Dt];if(h&&!tn||!h&&!(gt>=0&&a[gt])){Oa(ac(R,D),_,P);const cn=function nR(s,o,a,c,h){const _=new jc(s,a,ql);return _.multi=[],_.index=o,_.componentProviders=0,vg(_,h,c&&!a),_}(h?tR:eR,a.length,h,c,ne);!h&&tn&&(a[Dt].providerFactory=cn),bg(_,s,o.length,0),o.push(P),R.directiveStart++,R.directiveEnd++,h&&(R.providerIndexes+=1048576),a.push(cn),D.push(cn)}else bg(_,s,gt>-1?gt:Dt,vg(a[h?Dt:gt],ne,!h&&c));!h&&c&&tn&&a[Dt].componentProviders++}}}function bg(s,o,a,c){const h=xn(o),_=function zn(s){return!!s.useClass}(o);if(h||_){const P=(_?Me(o.useClass):o).prototype.ngOnDestroy;if(P){const ne=s.destroyHooks||(s.destroyHooks=[]);if(!h&&o.multi){const ve=ne.indexOf(a);-1===ve?ne.push(a,[c,P]):ne[ve+1].push(c,P)}else ne.push(a,P)}}}function vg(s,o,a){return a&&s.componentProviders++,s.multi.push(o)-1}function yg(s,o,a,c){for(let h=a;h<c;h++)if(o[h]===s)return h;return-1}function eR(s,o,a,c){return Eg(this.multi,[])}function tR(s,o,a,c){const h=this.multi;let _;if(this.providerFactory){const D=this.providerFactory.componentProviders,R=Yl(a,a[Qt],this.providerFactory.index,c);_=R.slice(0,D),Eg(h,_);for(let P=D;P<R.length;P++)_.push(R[P])}else _=[],Eg(h,_);return _}function Eg(s,o){for(let a=0;a<s.length;a++)o.push((0,s[a])());return o}function E0(s,o=[]){return a=>{a.providersResolver=(c,h)=>function y0(s,o,a){const c=gi();if(c.firstCreatePass){const h=_o(s);gg(a,c.data,c.blueprint,h,!0),gg(o,c.data,c.blueprint,h,!1)}}(c,h?h(s):s,o)}}let iR=(()=>{class s{constructor(a){this._injector=a,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(a){if(!a.standalone)return null;if(!this.cachedInjectors.has(a)){const c=$e(0,a.type),h=c.length>0?C_([c],this._injector,`Standalone[${a.type.name}]`):null;this.cachedInjectors.set(a,h)}return this.cachedInjectors.get(a)}ngOnDestroy(){try{for(const a of this.cachedInjectors.values())null!==a&&a.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=$n({token:s,providedIn:"environment",factory:()=>new s(os(ir))})}}return s})();function T0(s){wl("NgStandalone"),s.getStandaloneInjector=o=>o.get(iR).getOrCreateStandaloneInjector(s)}function I0(s,o,a){const c=s.\u0275cmp;c.directiveDefs=we(o,!1),c.pipeDefs=we(a,!0)}function M0(s,o,a){const c=Ir()+s,h=Pt();return h[c]===Di?kl(h,c,a?o.call(a):o()):Ip(h,c)}function S0(s,o,a,c){return w0(Pt(),Ir(),s,o,a,c)}function R0(s,o,a,c,h){return k0(Pt(),Ir(),s,o,a,c,h)}function Rm(s,o,a,c,h,_){return function A0(s,o,a,c,h,_,D,R){const P=o+a;return rm(s,P,h,_,D)?kl(s,P+3,R?c.call(R,h,_,D):c(h,_,D)):Pp(s,P+3)}(Pt(),Ir(),s,o,a,c,h,_)}function wm(s,o,a,c,h,_,D){return x0(Pt(),Ir(),s,o,a,c,h,_,D)}function km(s,o,a,c,h,_,D,R){const P=Ir()+s,ne=Pt(),ve=Qa(ne,P,a,c,h,_);
1return kr(ne,P+4,D)||ve?kl(ne,P+5,R?o.call(R,a,c,h,_,D):o(a,c,h,_,D)):Ip(ne,P+5)}function Pp(s,o){const a=s[o];return a===Di?void 0:a}function w0(s,o,a,c,h,_){const D=o+a;return kr(s,D,h)?kl(s,D+1,_?c.call(_,h):c(h)):Pp(s,D+1)}function k0(s,o,a,c,h,_,D){const R=o+a;return ed(s,R,h,_)?kl(s,R+2,D?c.call(D,h,_):c(h,_)):Pp(s,R+2)}function x0(s,o,a,c,h,_,D,R,P){const ne=o+a;return Qa(s,ne,h,_,D,R)?kl(s,ne+4,P?c.call(P,h,_,D,R):c(h,_,D,R)):Pp(s,ne+4)}function O0(s,o){const a=gi();let c;const h=s+li;a.firstCreatePass?(c=function lR(s,o){if(o)for(let a=o.length-1;a>=0;a--){const c=o[a];if(s===c.name)return c}}(o,a.pipeRegistry),a.data[h]=c,c.onDestroy&&(a.destroyHooks??=[]).push(h,c.onDestroy)):c=a.data[h];const _=c.factory||(c.factory=er(c.type)),R=ks(ql);try{const P=Rd(!1),ne=_();return Rd(P),function US(s,o,a,c){a>=s.data.length&&(s.data[a]=null,s.blueprint[a]=null),o[a]=c}(a,Pt(),h,ne),ne}finally{ks(R)}}function F0(s,o,a){const c=s+li,h=Pt(),_=ol(h,c);return jp(h,c)?w0(h,Ir(),o,_.transform,a,_):_.transform(a)}function L0(s,o,a,c){const h=s+li,_=Pt(),D=ol(_,h);return jp(_,h)?k0(_,Ir(),o,D.transform,a,c,D):D.transform(a,c)}function P0(s,o,a,c,h,_){const D=s+li,R=Pt(),P=ol(R,D);return jp(R,D)?x0(R,Ir(),o,P.transform,a,c,h,_,P):P.transform(a,c,h,_)}function jp(s,o){return s[Qt].data[o].pure}function j0(s,o){return Yh(s,o)}class tE{constructor(o){this.full=o;const a=o.split(".");this.major=a[0],this.minor=a[1],this.patch=a.slice(2).join(".")}}let nE=(()=>{class s{log(a){console.log(a)}warn(a){console.warn(a)}static{this.\u0275fac=function(c){return new(c||s)}}static{this.\u0275prov=$n({token:s,factory:s.\u0275fac,providedIn:"platform"})}}return s})();const lE=new Mt(""),cE=new Mt("");let Sg,ew=(()=>{class s{constructor(a,c,h){this._ngZone=a,this.registry=c,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Sg||(function tw(s){Sg=s}(h),h.addToWindow(c)),this._watchAngularEvents(),a.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Br.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let a=this._callbacks.pop();clearTimeout(a.timeoutId),a.doneCb()}});else{let a=this.getPendingTasks();this._callbacks=this._callbacks.filter(c=>!c.updateCb||!c.updateCb(a)||(clearTimeout(c.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(a=>({source:a.source,creationLocation:a.creationLocation,data:a.data})):[]}addCallback(a,c,h){let _=-1;c&&c>0&&(_=setTimeout(()=>{this._callbacks=this._callbacks.filter(D=>D.timeoutId!==_),a()},c)),this._callbacks.push({doneCb:a,timeoutId:_,updateCb:h})}whenStable(a,c,h){if(h&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(a,c,h),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(a){this.registry.registerApplication(a,this)}unregisterApplication(a){this.registry.unregisterApplication(a)}findProviders(a,c,h){return[]}static{this.\u0275fac=function(c){return new(c||s)(os(Br),os(dE),os(cE))}}static{this.\u0275prov=$n({token:s,factory:s.\u0275fac})}}return s})(),dE=(()=>{class s{constructor(){this._applications=new Map}registerApplication(a,c){this._applications.set(a,c)}unregisterApplication(a){this._applications.delete(a)}unregisterAllApplications(){this._applications.clear()}getTestability(a){return this._applications.get(a)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}
1findTestabilityInTree(a,c=!0){return Sg?.findTestabilityInTree(this,a,c)??null}static{this.\u0275fac=function(c){return new(c||s)}}static{this.\u0275prov=$n({token:s,factory:s.\u0275fac,providedIn:"platform"})}}return s})();function Rg(s){return!!s&&"function"==typeof s.then}function uE(s){return!!s&&"function"==typeof s.subscribe}const pE=new Mt("");let wg=(()=>{class s{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((a,c)=>{this.resolve=a,this.reject=c}),this.appInits=Vn(pE,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const a=[];for(const h of this.appInits){const _=h();if(Rg(_))a.push(_);else if(uE(_)){const D=new Promise((R,P)=>{_.subscribe({complete:R,error:P})});a.push(D)}}const c=()=>{this.done=!0,this.resolve()};Promise.all(a).then(()=>{c()}).catch(h=>{this.reject(h)}),0===a.length&&c(),this.initialized=!0}static{this.\u0275fac=function(c){return new(c||s)}}static{this.\u0275prov=$n({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})();const kg=new Mt("");function fE(s,o){return Array.isArray(o)?o.reduce(fE,s):{...s,...o}}let Sc=(()=>{class s{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Vn(uf),this.afterRenderEffectManager=Vn(Qc),this.externalTestViews=new Set,this.beforeRender=new mt.B,this.afterTick=new mt.B,this.componentTypes=[],this.components=[],this.isStable=Vn(eu).hasPendingTasks.pipe((0,Ee.T)(a=>!a)),this._injector=Vn(ir)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(a,c){const h=a instanceof Db;if(!this._injector.get(wg).done)throw!h&&hr(a),new Je(405,!1);let D;D=h?a:this._injector.get(Wh).resolveComponentFactory(a),this.componentTypes.push(D.componentType);const R=function nw(s){return s.isBoundToModule}(D)?void 0:this._injector.get(Zc),ne=D.create(da.NULL,[],c||D.selector,R),ve=ne.location.nativeElement,Pe=ne.injector.get(lE,null);return Pe?.registerApplication(ve),ne.onDestroy(()=>{this.detachView(ne.hostView),Nm(this.components,ne),Pe?.unregisterApplication(ve)}),this._loadComponent(ne),ne}tick(){this._tick(!0)}_tick(a){if(this._runningTick)throw new Je(101,!1);const c=p(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(a)}catch(h){this.internalErrorHandler(h)}finally{this.afterTick.next(),this._runningTick=!1,p(c)}}detectChangesInAttachedViews(a){let c=0;const h=this.afterRenderEffectManager;for(;;){if(c===fb)throw new Je(103,!1);if(a){const _=0===c;this.beforeRender.next(_);for(let{_lView:D,notifyErrorHandler:R}of this._views)sw(D,_,R)}if(c++,h.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:_})=>Ag(_))&&(h.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:_})=>Ag(_))))break}}attachView(a){const c=a;this._views.push(c),c.attachToAppRef(this)}detachView(a){const c=a;Nm(this._views,c),c.detachFromAppRef()}_loadComponent(a){this.attachView(a.hostView),this.tick(),this.components.push(a);const c=this._injector.get(kg,[]);[...this._bootstrapListeners,...c].forEach(h=>h(a))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(a=>a()),this._views.slice().forEach(a=>a.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(a){return this._destroyListeners.push(a),()=>Nm(this._destroyListeners,a)}destroy(){if(this._destroyed)throw new Je(406,!1);const a=this._injector;a.destroy&&!a.destroyed&&a.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(c){return new(c||s)}}static{this.\u0275prov=$n({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})();function Nm(s,o){const a=s.indexOf(o);a>-1&&s.splice(a,1)}function sw(s,o,a){!o&&!Ag(s)||function rw(s,o,a){let c;a?(c=0,s[Mn]|=1024):c=64&s[Mn]?0:1,Bh(s,o,c)}(s,a,o)}function Ag(s){return vd(s)}class ow{constructor(o,a){this.ngModuleFactory=o,this.componentFactories=a}}let aw=(()=>{class s{compileModuleSync(a){return new D_(a)}compileModuleAsync(a){return Promise.resolve(this.compileModuleSync(a))}compileModuleAndAllComponentsSync(a){const c=this.compileModuleSync(a),_=za(Ss(a).declarations).reduce((D,R)=>{const P=ai(R);return P&&D.push(new vp(P)),D},[]);return new ow(c,_)}compileModuleAndAllComponentsAsync(a){return Promise.resolve(this.compileModuleAndAllComponentsSync(a))}clearCache(){}clearCacheFor(a){}getModuleId(a){}static{this.\u0275fac=function(c){return new(c||s)}}static{this.\u0275prov=$n({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})(),dw=(()=>{class s{constructor(){this.zone=Vn(Br),this.applicationRef=Vn(Sc)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(c){return new(c||s)}}static{this.\u0275prov=$n({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})();function uw(){const s=Vn(Br),o=Vn(Ml);return a=>s.runOutsideAngular(()=>o.handleError(a))}let hw=(()=>{class s{constructor(){this.subscription=new Ke.yU,this.initialized=!1,this.zone=Vn(Br),this.pendingTasks=Vn(eu)}initialize(){if(this.initialized)return;this.initialized=!0;let a=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(a=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Br.assertNotInAngularZone(),queueMicrotask(()=>{null!==a&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(a),a=null)})}
1))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Br.assertInAngularZone(),a??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(c){return new(c||s)}}static{this.\u0275prov=$n({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})();const Fm=new Mt("",{providedIn:"root",factory:()=>Vn(Fm,oi.Optional|oi.SkipSelf)||function mw(){return typeof $localize<"u"&&$localize.locale||gu}()}),Lm=new Mt("",{providedIn:"root",factory:()=>"USD"}),xg=new Mt("");let vE=(()=>{class s{constructor(a){this._injector=a,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(a,c){const h=function LD(s="zone.js",o){return"noop"===s?new Ab:"zone.js"===s?new Br(o):s}(c?.ngZone,function bE(s){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:s?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:s?.runCoalescing??!1}}({eventCoalescing:c?.ngZoneEventCoalescing,runCoalescing:c?.ngZoneRunCoalescing}));return h.run(()=>{const _=function EC(s,o,a){return new I_(s,o,a)}(a.moduleType,this.injector,function gE(s){return[{provide:Br,useFactory:s},{provide:oo,multi:!0,useFactory:()=>{const o=Vn(dw,{optional:!0});return()=>o.initialize()}},{provide:oo,multi:!0,useFactory:()=>{const o=Vn(hw);return()=>{o.initialize()}}},{provide:uf,useFactory:uw}]}(()=>h)),D=_.injector.get(Ml,null);return h.runOutsideAngular(()=>{const R=h.onError.subscribe({next:P=>{D.handleError(P)}});_.onDestroy(()=>{Nm(this._modules,_),R.unsubscribe()})}),function mE(s,o,a){try{const c=a();return Rg(c)?c.catch(h=>{throw o.runOutsideAngular(()=>s.handleError(h)),h}):c}catch(c){throw o.runOutsideAngular(()=>s.handleError(c)),c}}(D,h,()=>{const R=_.injector.get(wg);return R.runInitializers(),R.donePromise.then(()=>(function fy(s){"string"==typeof s&&(my=s.toLowerCase().replace(/_/g,"-"))}(_.injector.get(Fm,gu)||gu),this._moduleDoBootstrap(_),_))})})}bootstrapModule(a,c=[]){const h=fE({},c);return function cw(s,o,a){const c=new D_(a);return Promise.resolve(c)}(0,0,a).then(_=>this.bootstrapModuleFactory(_,h))}_moduleDoBootstrap(a){const c=a.injector.get(Sc);if(a._bootstrapComponents.length>0)a._bootstrapComponents.forEach(h=>c.bootstrap(h));else{if(!a.instance.ngDoBootstrap)throw new Je(-403,!1);a.instance.ngDoBootstrap(c)}this._modules.push(a)}onDestroy(a){this._destroyListeners.push(a)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Je(404,!1);this._modules.slice().forEach(c=>c.destroy()),this._destroyListeners.forEach(c=>c());const a=this._injector.get(xg,null);a&&(a.forEach(c=>c()),a.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static{this.\u0275fac=function(c){return new(c||s)(os(da))}}static{this.\u0275prov=$n({token:s,factory:s.\u0275fac,providedIn:"platform"})}}return s})(),Rc=null;const yE=new Mt("");function EE(s,o,a=[]){const c=`Platform: ${o}`,h=new Mt(c);return(_=[])=>{let D=Ng();if(!D||D.injector.get(yE,!1)){const R=[...a,..._,{provide:h,useValue:!0}];s?s(R):function _w(s){if(Rc&&!Rc.get(yE,!1))throw new Je(400,!1);(function hE(){!function Ie(s){dt=s}(()=>{throw new Je(600,!1)})})(),Rc=s;const o=s.get(vE);(function IE(s){s.get(fr,null)?.forEach(a=>a())})(s)}(function TE(s=[],o){return da.create({name:o,providers:[{provide:Ki,useValue:"platform"},{provide:xg,useValue:new Set([()=>Rc=null])},...s]})}(R,c))}return function gw(s){const o=Ng();if(!o)throw new Je(401,!1);return o}()}}function Ng(){return Rc?.get(vE)??null}function vw(){return!1}function yw(){}let CE=(()=>{class s{static{this.__NG_ELEMENT_ID__=Ew}}return s})();function Ew(s){return function Pm(s,o,a){if(No(s)&&!a){const c=Fo(s.index,o);return new cp(c,c)}return 47&s.type?new cp(o[Is],o):null}(Qi(),Pt(),!(16&~s))}class wE{constructor(){}supports(o){return sm(o)}create(o){return new Cw(o)}}const Dw=(s,o)=>o;class Cw{constructor(o){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=o||Dw}forEachItem(o){let a;for(a=this._itHead;null!==a;a=a._next)o(a)}forEachOperation(o){let a=this._itHead,c=this._removalsHead,h=0,_=null;for(;a||c;){const D=!c||a&&a.currentIndex<AE(c,h,_)?a:c,R=AE(D,h,_),P=D.currentIndex;if(D===c)h--,c=c._nextRemoved;else if(a=a._next,null==D.previousIndex)h++;else{_||(_=[]);const ne=R-h,ve=P-h;if(ne!=ve){for(let st=0;st<ne;st++){const gt=st<_.length?_[st]:_[st]=0,Dt=gt+st;ve<=Dt&&Dt<ne&&(_[st]=gt+1)}_[D.previousIndex]=ve-ne}}R!==P&&o(D,R,P)}}forEachPreviousItem(o){let a;for(a=this._previousItHead;null!==a;a=a._nextPrevious)o(a)}forEachAddedItem(o){let a;for(a=this._additionsHead;null!==a;a=a._nextAdded)o(a)}forEachMovedItem(o){let a;for(a=this._movesHead;null!==a;a=a._nextMoved)o(a)}forEachRemovedItem(o){let a;for(a=this._removalsHead;null!==a;a=a._nextRemoved)o(a)}forEachIdentityChange(o){let a;for(a=this._identityChangesHead;null!==a;a=a._nextIdentityChange)o(a)}diff(o){if(null==o&&(o=[]),!sm(o))throw new Je(900,!1);return this.check(o)?this:null}onDestroy(){}check(o){this._reset();let h,_,D,a=this._itHead,c=!1;if(Array.isArray(o)){this.length=o.length;for(let R=0;R<this.length;R++)_=o[R],D=this._trackByFn(R,_),null!==a&&Object.is(a.trackById,D)?(c&&(a=this._verifyReinsertion(a,_,D,R)),Object.is(a.item,_)||this._addIdentityChange(a,_)):(a=this._mismatch(a,_,D,R),c=!0),a=a._next}else h=0,function CC(s,o){if(Array.isArray(s))for(let a=0;a<s.length;a++)o(s[a]);else{const a=s[Symbol.iterator]();let c;for(;!(c=a.next()).done;)o(c.value)}}(o,R=>{D=this._trackByFn(h,R),null!==a&&Object.is(a.trackById,D)?(c&&(a=this._verifyReinsertion(a,R,D,h)),Object.is(a.item,R)||this._addIdentityChange(a,R)):(a=this._mismatch(a,R,D,h),c=!0),a=a._next,h++}),this.length=h;return this._truncate(a),this.collection=o,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let o;for(o=this._previousItHead=this._itHead;null!==o;o=o._next)o._nextPrevious=o._next;for(o=this._additionsHead;null!==o;o=o._nextAdded)o.previousIndex=o.currentIndex;for(this._additionsHead=this._additionsTail=null,o=this._movesHead;null!==o;o=o._nextMoved)o.previousIndex=o.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(o,a,c,h){let _;return null===o?_=this._itTail:(_=o._prev,this._remove(o)),null!==(o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(c,null))?(Object.is(o.item,a)||this._addIdentityChange(o,a),this._reinsertAfter(o,_,h)):null!==(o=null===this._linkedRecords?null:this._linkedRecords.get(c,h))?(Object.is(o.item,a)||this._addIdentityChange(o,a),this._moveAfter(o,_,h)):o=this._addAfter(new Mw(a,c),_,h),o}_verifyReinsertion(o,a,c,h){let _=null===this._unlinkedRecords?null:this._unlinkedRecords.get(c,null);return null!==_?o=this._reinsertAfter(_,o._prev,h):o.currentIndex!=h&&
vendor: 4,259 bytes, line 1
1(o.currentIndex=h,this._addToMoves(o,h)),o}_truncate(o){for(;null!==o;){const a=o._next;this._addToRemovals(this._unlink(o)),o=a}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(o,a,c){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(o);const h=o._prevRemoved,_=o._nextRemoved;return null===h?this._removalsHead=_:h._nextRemoved=_,null===_?this._removalsTail=h:_._prevRemoved=h,this._insertAfter(o,a,c),this._addToMoves(o,c),o}_moveAfter(o,a,c){return this._unlink(o),this._insertAfter(o,a,c),this._addToMoves(o,c),o}_addAfter(o,a,c){return this._insertAfter(o,a,c),this._additionsTail=null===this._additionsTail?this._additionsHead=o:this._additionsTail._nextAdded=o,o}_insertAfter(o,a,c){const h=null===a?this._itHead:a._next;return o._next=h,o._prev=a,null===h?this._itTail=o:h._prev=o,null===a?this._itHead=o:a._next=o,null===this._linkedRecords&&(this._linkedRecords=new kE),this._linkedRecords.put(o),o.currentIndex=c,o}_remove(o){return this._addToRemovals(this._unlink(o))}_unlink(o){null!==this._linkedRecords&&this._linkedRecords.remove(o);const a=o._prev,c=o._next;return null===a?this._itHead=c:a._next=c,null===c?this._itTail=a:c._prev=a,o}_addToMoves(o,a){return o.previousIndex===a||(this._movesTail=null===this._movesTail?this._movesHead=o:this._movesTail._nextMoved=o),o}_addToRemovals(o){return null===this._unlinkedRecords&&(this._unlinkedRecords=new kE),this._unlinkedRecords.put(o),o.currentIndex=null,o._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=o,o._prevRemoved=null):(o._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=o),o}_addIdentityChange(o,a){return o.item=a,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=o:this._identityChangesTail._nextIdentityChange=o,o}}class Mw{constructor(o,a){this.item=o,this.trackById=a,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Sw{constructor(){this._head=null,this._tail=null}add(o){null===this._head?(this._head=this._tail=o,o._nextDup=null,o._prevDup=null):(this._tail._nextDup=o,o._prevDup=this._tail,o._nextDup=null,this._tail=o)}get(o,a){let c;for(c=this._head;null!==c;c=c._nextDup)if((null===a||a<=c.currentIndex)&&Object.is(c.trackById,o))return c;return null}remove(o){const a=o._prevDup,c=o._nextDup;return null===a?this._head=c:a._nextDup=c,null===c?this._tail=a:c._prevDup=a,null===this._head}}class kE{constructor(){this.map=new Map}put(o){const a=o.trackById;let c=this.map.get(a);c||(c=new Sw,this.map.set(a,c)),c.add(o)}get(o,a){const h=this.map.get(o);return h?h.get(o,a):null}remove(o){const a=o.trackById;return this.map.get(a).remove(o)&&this.map.delete(a),o}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function AE(s,o,a){const c=s.previousIndex;if(null===c)return c;let h=0;return a&&c<a.length&&(h=a[c]),c+o+h}class xE{constructor(){}supports(o){return o instanceof Map||M_(o)}create(){return new Rw}}class Rw{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(o){let a;for(a=this._mapHead;null!==a;a=a._next)o(a)}forEachPreviousItem(o){let a;for(a=this._previousMapHead;null!==a;a=a._nextPrevious)o(a)}forEachChangedItem(o){let a;for(a=this._changesHead;null!==a;a=a._nextChanged)o(a)}forEachAddedItem(o){let a;for(a=this._additionsHead;null!==a;a=a._nextAdded)o(a)}forEachRemovedItem(o){let a;for(a=this._removalsHead;null!==a;a=a._nextRemoved)o(a)}
1diff(o){if(o){if(!(o instanceof Map||M_(o)))throw new Je(900,!1)}else o=new Map;return this.check(o)?this:null}onDestroy(){}check(o){this._reset();let a=this._mapHead;if(this._appendAfter=null,this._forEach(o,(c,h)=>{if(a&&a.key===h)this._maybeAddToChanges(a,c),this._appendAfter=a,a=a._next;else{const _=this._getOrCreateRecordForKey(h,c);a=this._insertBeforeOrAppend(a,_)}}),a){a._prev&&(a._prev._next=null),this._removalsHead=a;for(let c=a;null!==c;c=c._nextRemoved)c===this._mapHead&&(this._mapHead=null),this._records.delete(c.key),c._nextRemoved=c._next,c.previousValue=c.currentValue,c.currentValue=null,c._prev=null,c._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(o,a){if(o){const c=o._prev;return a._next=o,a._prev=c,o._prev=a,c&&(c._next=a),o===this._mapHead&&(this._mapHead=a),this._appendAfter=o,o}return this._appendAfter?(this._appendAfter._next=a,a._prev=this._appendAfter):this._mapHead=a,this._appendAfter=a,null}_getOrCreateRecordForKey(o,a){if(this._records.has(o)){const h=this._records.get(o);this._maybeAddToChanges(h,a);const _=h._prev,D=h._next;return _&&(_._next=D),D&&(D._prev=_),h._next=null,h._prev=null,h}const c=new ww(o);return this._records.set(o,c),c.currentValue=a,this._addToAdditions(c),c}_reset(){if(this.isDirty){let o;for(this._previousMapHead=this._mapHead,o=this._previousMapHead;null!==o;o=o._next)o._nextPrevious=o._next;for(o=this._changesHead;null!==o;o=o._nextChanged)o.previousValue=o.currentValue;for(o=this._additionsHead;null!=o;o=o._nextAdded)o.previousValue=o.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(o,a){Object.is(a,o.currentValue)||(o.previousValue=o.currentValue,o.currentValue=a,this._addToChanges(o))}_addToAdditions(o){null===this._additionsHead?this._additionsHead=this._additionsTail=o:(this._additionsTail._nextAdded=o,this._additionsTail=o)}_addToChanges(o){null===this._changesHead?this._changesHead=this._changesTail=o:(this._changesTail._nextChanged=o,this._changesTail=o)}_forEach(o,a){o instanceof Map?o.forEach(a):Object.keys(o).forEach(c=>a(o[c],c))}}class ww{constructor(o){this.key=o,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function NE(){return new jg([new wE])}let jg=(()=>{class s{static{this.\u0275prov=$n({token:s,providedIn:"root",factory:NE})}constructor(a){this.factories=a}static create(a,c){if(null!=c){const h=c.factories.slice();a=a.concat(h)}return new s(a)}static extend(a){return{provide:s,useFactory:c=>s.create(a,c||NE()),deps:[[s,new ur,new _i]]}}find(a){const c=this.factories.find(h=>h.supports(a));if(null!=c)return c;throw new Je(901,!1)}}return s})();function OE(){return new Bg([new xE])}let Bg=(()=>{class s{static{this.\u0275prov=$n({token:s,providedIn:"root",factory:OE})}constructor(a){this.factories=a}static create(a,c){if(c){const h=c.factories.slice();a=a.concat(h)}return new s(a)}static extend(a){return{provide:s,useFactory:c=>s.create(a,c||OE()),deps:[[s,new ur,new _i]]}}find(a){const c=this.factories.find(h=>h.supports(a));if(c)return c;throw new Je(901,!1)}}return s})();const xw=EE(null,"core",[]);let Nw=(()=>{class s{constructor(a){}static{this.\u0275fac=function(c){return new(c||s)(os(Sc))}}static{this.\u0275mod=Pr({type:s})}static{this.\u0275inj=ar({})}}return s})();function d2(s){return"boolean"==typeof s?s:null!=s&&"false"!==s}function p2(s){const o=p(null);try{return s()}finally{p(o)}}const h2=new Mt("",{providedIn:"root",factory:()=>Vn(m2)});let m2=(()=>{class s{static{this.\u0275prov=$n({token:s,providedIn:"root",factory:()=>new f2})}}return s})();class f2{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=Vn(eu),this.taskId=null}scheduleEffect(o){if(this.enqueue(o),null===this.taskId){const a=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(a),this.taskId=null})}}enqueue(o){const a=o.creationZone;this.queues.has(a)||this.queues.set(a,new Set);const c=this.queues.get(a);
1c.has(o)||(this.queuedEffectCount++,c.add(o))}flush(){for(;this.queuedEffectCount>0;)for(const[o,a]of this.queues)null===o?this.flushQueue(a):o.run(()=>this.flushQueue(a))}flushQueue(o){for(const a of o)o.delete(a),this.queuedEffectCount--,a.run()}}class _2{constructor(o,a,c,h,_,D){this.scheduler=o,this.effectFn=a,this.creationZone=c,this.injector=_,this.watcher=function jt(s,o,a){const c=Object.create(Ln);a&&(c.consumerAllowSignalWrites=!0),c.fn=s,c.schedule=o;const h=P=>{c.cleanupFn=P};return c.ref={notify:()=>xe(c),run:()=>{if(null===c.fn)return;if(function $(){return b}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(c.dirty=!1,c.hasRun&&!L(c))return;c.hasRun=!0;const P=Le(c);try{c.cleanupFn(),c.cleanupFn=Tn,c.fn(h)}finally{ie(c,P)}},cleanup:()=>c.cleanupFn(),destroy:()=>function D(P){(function _(P){return null===P.fn&&null===P.schedule})(P)||(K(P),P.cleanupFn(),P.fn=null,P.schedule=null,P.cleanupFn=Tn)}(c),[S]:c},c.ref}(R=>this.runEffect(R),()=>this.schedule(),D),this.unregisterOnDestroy=h?.onDestroy(()=>this.destroy())}runEffect(o){try{this.effectFn(o)}catch(a){this.injector.get(Ml,null,{optional:!0})?.handleError(a)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function tT(s,o){wl("NgSignals"),!o?.injector&&Rn();const a=o?.injector??Vn(da),c=!0!==o?.manualCleanup?a.get(pc):null,h=new _2(a.get(h2),s,typeof Zone>"u"?null:Zone.current,c,a,o?.allowSignalWrites??!1),_=a.get(CE,null,{optional:!0});return _&&8&_._lView[Mn]?(_._lView[El]??=[]).push(h.watcher.notify):h.watcher.notify(),h}function g2(s,o){const a=ai(s),c=o.elementInjector||Ji();return new vp(a).create(c,o.projectableNodes,o.hostElement,o.environmentInjector)}function b2(s){const o=ai(s);if(!o)return null;const a=new vp(o);return{get selector(){return a.selector},get type(){return a.componentType},get inputs(){return a.inputs},get outputs(){return a.outputs},get ngContentSelectors(){return a.ngContentSelectors},get isStandalone(){return o.standalone},get isSignal(){return o.signals}}}},1798:(We,Q,I)=>{"use strict";I.d(Q,{$R:()=>Nr,BC:()=>bt,Fm:()=>oi,JD:()=>ms,MJ:()=>rs,MR:()=>$r,Q0:()=>To,VZ:()=>er,X1:()=>ko,YN:()=>lo,YS:()=>As,Yp:()=>ii,Zm:()=>B,cV:()=>mi,cb:()=>Je,cz:()=>xe,gE:()=>Ue,j4:()=>gr,k0:()=>L,kq:()=>M,l_:()=>Bo,me:()=>ee,ok:()=>Wr,qT:()=>ya,tU:()=>Vo,v8:()=>no,vS:()=>Xn,wz:()=>os,xH:()=>Ks,y7:()=>Or});var l=I(4438),e=I(177),m=I(6648),b=I(7468),y=I(6354);let S=(()=>{class de{constructor(z,Ae){this._renderer=z,this._elementRef=Ae,this.onChange=Ze=>{},this.onTouched=()=>{}}setProperty(z,Ae){this._renderer.setProperty(this._elementRef.nativeElement,z,Ae)}registerOnTouched(z){this.onTouched=z}registerOnChange(z){this.onChange=z}setDisabledState(z){this.setProperty("disabled",z)}static{this.\u0275fac=function(Ae){return new(Ae||de)(l.rXU(l.sFG),l.rXU(l.aKT))}}static{this.\u0275dir=l.FsC({type:de})}}return de})(),p=(()=>{class de extends S{static{this.\u0275fac=(()=>{let z;return function(Ze){return(z||(z=l.xGo(de)))(Ze||de)}})()}static{this.\u0275dir=l.FsC({type:de,features:[l.Vt3]})}}return de})();const M=new l.nKC(""),$={provide:M,useExisting:(0,l.Rfq)(()=>B),multi:!0};let B=(()=>{class de extends p{writeValue(z){this.setProperty("checked",z)}static{this.\u0275fac=(()=>{let z;return function(Ze){return(z||(z=l.xGo(de)))(Ze||de)}})()}static{this.\u0275dir=l.FsC({type:de,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(Ae,Ze){1&Ae&&l.bIt("change",function(Jn){return Ze.onChange(Jn.target.checked)})("blur",function(){return Ze.onTouched()})},features:[l.Jv_([$]),l.Vt3]})}}return de})();const G={provide:M,useExisting:(0,l.Rfq)(()=>ee),multi:!0},q=new l.nKC("");let ee=(()=>{class de extends S{constructor(z,Ae,Ze){super(z,Ae),this._compositionMode=Ze,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Y(){const de=(0,e.QT)()?(0,e.QT)().getUserAgent():"";return/android (\d+)/.test(de.toLowerCase())}())}writeValue(z){this.setProperty("value",z??"")}_handleInput(z){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(z)}_compositionStart(){this._composing=!0}_compositionEnd(z){this._composing=!1,this._compositionMode&&this.onChange(z)}static{this.\u0275fac=function(Ae){return new(Ae||de)(l.rXU(l.sFG),l.rXU(l.aKT),l.rXU(q,8))}}static{this.\u0275dir=l.FsC({type:de,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(Ae,Ze){1&Ae&&l.bIt("input",function(Jn){return Ze._handleInput(Jn.target.value)})("blur",function(){return Ze.onTouched()})("compositionstart",function(){return Ze._compositionStart()})("compositionend",function(Jn){return Ze._compositionEnd(Jn.target.value)})},features:[l.Jv_([G]),l.Vt3]})}}return de})();function oe(de){return null==de||("string"==typeof de||Array.isArray(de))&&0===de.length}function se(de){return null!=de&&"number"==typeof de.length}const xe=new l.nKC(""),Le=new l.nKC(""),ie=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class L{static min(fe){return K(fe)}static max(fe){return function _e(de){return fe=>{if(oe(fe.value)||oe(de))return null;const z=parseFloat(fe.value);return!isNaN(z)&&z>de?{max:{max:de,actual:fe.value}}:null}}(fe)}static required(fe){return Te(fe)}static requiredTrue(fe){return function ct(de){return!0===de.value?null:{required:!0}}(fe)}static email(fe){return function ye(de){return oe(de.value)||ie.test(de.value)?null:{email:!0}}(fe)}static minLength(fe){return function Se(de){return fe=>oe(fe.value)||!se(fe.value)?null:fe.value.length<de?{minlength:{requiredLength:de,actualLength:fe.value.length}}:null}(fe)}static maxLength(fe){return X(fe)}static pattern(fe){return function Ne(de){if(!de)return ft;let fe,z;return"string"==typeof de?(z="","^"!==de.charAt(0)&&(z+="^"),z+=de,"$"!==de.charAt(de.length-1)&&(z+="$"),fe=new RegExp(z)):(z=de.toString(),fe=de),Ae=>{if(oe(Ae.value))return null;const Ze=Ae.value;return fe.test(Ze)?null:{pattern:{requiredPattern:z,actualValue:Ze}}}}(fe)}static nullValidator(fe){return null}static compose(fe){return ot(fe)}static composeAsync(fe){return je(fe)}}function K(de){return fe=>{if(oe(fe.value)||oe(de))return null;const z=parseFloat(fe.value);return!isNaN(z)&&z<de?{min:{min:de,actual:fe.value}}:null}}function Te(de){return oe(de.value)?{required:!0}:null}function X(de){return fe=>se(fe.value)&&fe.value.length>de?{maxlength:{requiredLength:de,actualLength:fe.value.length}}:null}function ft(de){return null}function _t(de){return null!=de}function Gt(de){return(0,l.jNT)(de)?(0,m.H)(de):de}function Rt(de){let fe={};return de.forEach(z=>{fe=null!=z?{...fe,...z}:fe}),0===Object.keys(fe).length?null:fe}function dt(de,fe){return fe.map(z=>z(de))}function Ie(de){return de.map(fe=>function et(de){return!de.validate}(fe)?fe:z=>fe.validate(z))}function ot(de){if(!de)return null;const fe=de.filter(_t);return 0==fe.length?null:function(z){return Rt(dt(z,fe))}}function vt(de){return null!=de?ot(Ie(de)):null}function je(de){if(!de)return null;const fe=de.filter(_t);return 0==fe.length?null:function(z){const Ae=dt(z,fe).map(Gt);return(0,b.p)(Ae).pipe((0,y.T)(Rt))}}function He(de){return null!=de?je(Ie(de)):null}function Ve(de,fe){return null===de?[fe]:Array.isArray(de)?[...de,fe]:[de,fe]}function at(de){return de._rawValidators}function Tt(de){return de._rawAsyncValidators}function wt(de){return de?Array.isArray(de)?de:[de]:[]}
1function jt(de,fe){return Array.isArray(de)?de.includes(fe):de===fe}function Tn(de,fe){const z=wt(fe);return wt(de).forEach(Ze=>{jt(z,Ze)||z.push(Ze)}),z}function Ln(de,fe){return wt(fe).filter(z=>!jt(de,z))}class re{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(fe){this._rawValidators=fe||[],this._composedValidatorFn=vt(this._rawValidators)}_setAsyncValidators(fe){this._rawAsyncValidators=fe||[],this._composedAsyncValidatorFn=He(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(fe){this._onDestroyCallbacks.push(fe)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(fe=>fe()),this._onDestroyCallbacks=[]}reset(fe=void 0){this.control&&this.control.reset(fe)}hasError(fe,z){return!!this.control&&this.control.hasError(fe,z)}getError(fe,z){return this.control?this.control.getError(fe,z):null}}class mt extends re{get formDirective(){return null}get path(){return null}}class Ke extends re{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ge{constructor(fe){this._cd=fe}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let bt=(()=>{class de extends Ge{constructor(z){super(z)}static{this.\u0275fac=function(Ae){return new(Ae||de)(l.rXU(Ke,2))}}static{this.\u0275dir=l.FsC({type:de,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Ae,Ze){2&Ae&&l.AVh("ng-untouched",Ze.isUntouched)("ng-touched",Ze.isTouched)("ng-pristine",Ze.isPristine)("ng-dirty",Ze.isDirty)("ng-valid",Ze.isValid)("ng-invalid",Ze.isInvalid)("ng-pending",Ze.isPending)},features:[l.Vt3]})}}return de})(),Je=(()=>{class de extends Ge{constructor(z){super(z)}static{this.\u0275fac=function(Ae){return new(Ae||de)(l.rXU(mt,10))}}static{this.\u0275dir=l.FsC({type:de,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Ae,Ze){2&Ae&&l.AVh("ng-untouched",Ze.isUntouched)("ng-touched",Ze.isTouched)("ng-pristine",Ze.isPristine)("ng-dirty",Ze.isDirty)("ng-valid",Ze.isValid)("ng-invalid",Ze.isInvalid)("ng-pending",Ze.isPending)("ng-submitted",Ze.isSubmitted)},features:[l.Vt3]})}}return de})();const mn="VALID",ji="INVALID",ti="PENDING",_n="DISABLED";function Bi(de){return(Fe(de)?de.validators:de)||null}function Yi(de,fe){return(Fe(fe)?fe.asyncValidators:de)||null}function Fe(de){return null!=de&&!Array.isArray(de)&&"object"==typeof de}function C(de,fe,z){const Ae=de.controls;if(!(fe?Object.keys(Ae):Ae).length)throw new l.wOt(1e3,"");if(!Ae[z])throw new l.wOt(1001,"")}function U(de,fe,z){de._forEachChild((Ae,Ze)=>{if(void 0===z[Ze])throw new l.wOt(1002,"")})}class he{constructor(fe,z){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(fe),this._assignAsyncValidators(z)}get validator(){return this._composedValidatorFn}set validator(fe){this._rawValidators=this._composedValidatorFn=fe}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(fe){this._rawAsyncValidators=this._composedAsyncValidatorFn=fe}get parent(){return this._parent}get valid(){return this.status===mn}get invalid(){return this.status===ji}get pending(){return this.status==ti}get disabled(){return this.status===_n}get enabled(){return this.status!==_n}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(fe){this._assignValidators(fe)}setAsyncValidators(fe){this._assignAsyncValidators(fe)}
vendor: 4,801 bytes, line 1
1addValidators(fe){this.setValidators(Tn(fe,this._rawValidators))}addAsyncValidators(fe){this.setAsyncValidators(Tn(fe,this._rawAsyncValidators))}removeValidators(fe){this.setValidators(Ln(fe,this._rawValidators))}removeAsyncValidators(fe){this.setAsyncValidators(Ln(fe,this._rawAsyncValidators))}hasValidator(fe){return jt(this._rawValidators,fe)}hasAsyncValidator(fe){return jt(this._rawAsyncValidators,fe)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(fe={}){this.touched=!0,this._parent&&!fe.onlySelf&&this._parent.markAsTouched(fe)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(fe=>fe.markAllAsTouched())}markAsUntouched(fe={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(z=>{z.markAsUntouched({onlySelf:!0})}),this._parent&&!fe.onlySelf&&this._parent._updateTouched(fe)}markAsDirty(fe={}){this.pristine=!1,this._parent&&!fe.onlySelf&&this._parent.markAsDirty(fe)}markAsPristine(fe={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(z=>{z.markAsPristine({onlySelf:!0})}),this._parent&&!fe.onlySelf&&this._parent._updatePristine(fe)}markAsPending(fe={}){this.status=ti,!1!==fe.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!fe.onlySelf&&this._parent.markAsPending(fe)}disable(fe={}){const z=this._parentMarkedDirty(fe.onlySelf);this.status=_n,this.errors=null,this._forEachChild(Ae=>{Ae.disable({...fe,onlySelf:!0})}),this._updateValue(),!1!==fe.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...fe,skipPristineCheck:z}),this._onDisabledChange.forEach(Ae=>Ae(!0))}enable(fe={}){const z=this._parentMarkedDirty(fe.onlySelf);this.status=mn,this._forEachChild(Ae=>{Ae.enable({...fe,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:fe.emitEvent}),this._updateAncestors({...fe,skipPristineCheck:z}),this._onDisabledChange.forEach(Ae=>Ae(!1))}_updateAncestors(fe){this._parent&&!fe.onlySelf&&(this._parent.updateValueAndValidity(fe),fe.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(fe){this._parent=fe}getRawValue(){return this.value}updateValueAndValidity(fe={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===mn||this.status===ti)&&this._runAsyncValidator(fe.emitEvent)),!1!==fe.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!fe.onlySelf&&this._parent.updateValueAndValidity(fe)}_updateTreeValidity(fe={emitEvent:!0}){this._forEachChild(z=>z._updateTreeValidity(fe)),this.updateValueAndValidity({onlySelf:!0,emitEvent:fe.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?_n:mn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(fe){if(this.asyncValidator){this.status=ti,this._hasOwnPendingAsyncValidator=!0;const z=Gt(this.asyncValidator(this));this._asyncValidationSubscription=z.subscribe(Ae=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(Ae,{emitEvent:fe})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(fe,z={}){this.errors=fe,this._updateControlsErrors(!1!==z.emitEvent)}get(fe){let z=fe;return null==z||(Array.isArray(z)||(z=z.split(".")),0===z.length)?null:z.reduce((Ae,Ze)=>Ae&&Ae._find(Ze),this)}getError(fe,z){const Ae=z?this.get(z):this;return Ae&&Ae.errors?Ae.errors[fe]:null}hasError(fe,z){return!!this.getError(fe,z)}get root(){let fe=this;for(;fe._parent;)fe=fe._parent;return fe}_updateControlsErrors(fe){this.status=this._calculateStatus(),fe&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(fe)}_initObservables(){this.valueChanges=new l.bkB,this.statusChanges=new l.bkB}_calculateStatus(){return this._allControlsDisabled()?_n:this.errors?ji:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ti)?ti:this._anyControlsHaveStatus(ji)?ji:mn}_anyControlsHaveStatus(fe){return this._anyControls(z=>z.status===fe)}_anyControlsDirty(){return this._anyControls(fe=>fe.dirty)}_anyControlsTouched(){return this._anyControls(fe=>fe.touched)}_updatePristine(fe={}){this.pristine=!this._anyControlsDirty(),this._parent&&!fe.onlySelf&&this._parent._updatePristine(fe)}_updateTouched(fe={}){this.touched=this._anyControlsTouched(),this._parent&&!fe.onlySelf&&this._parent._updateTouched(fe)}_registerOnCollectionChange(fe){this._onCollectionChange=fe}_setUpdateStrategy(fe){Fe(fe)&&null!=fe.updateOn&&(this._updateOn=fe.updateOn)}_parentMarkedDirty(fe){return!fe&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}
vendor: 3,968 bytes, line 1
1_find(fe){return null}_assignValidators(fe){this._rawValidators=Array.isArray(fe)?fe.slice():fe,this._composedValidatorFn=function Ai(de){return Array.isArray(de)?vt(de):de||null}(this._rawValidators)}_assignAsyncValidators(fe){this._rawAsyncValidators=Array.isArray(fe)?fe.slice():fe,this._composedAsyncValidatorFn=function Me(de){return Array.isArray(de)?He(de):de||null}(this._rawAsyncValidators)}}class Ue extends he{constructor(fe,z,Ae){super(Bi(z),Yi(Ae,z)),this.controls=fe,this._initObservables(),this._setUpdateStrategy(z),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(fe,z){return this.controls[fe]?this.controls[fe]:(this.controls[fe]=z,z.setParent(this),z._registerOnCollectionChange(this._onCollectionChange),z)}addControl(fe,z,Ae={}){this.registerControl(fe,z),this.updateValueAndValidity({emitEvent:Ae.emitEvent}),this._onCollectionChange()}removeControl(fe,z={}){this.controls[fe]&&this.controls[fe]._registerOnCollectionChange(()=>{}),delete this.controls[fe],this.updateValueAndValidity({emitEvent:z.emitEvent}),this._onCollectionChange()}setControl(fe,z,Ae={}){this.controls[fe]&&this.controls[fe]._registerOnCollectionChange(()=>{}),delete this.controls[fe],z&&this.registerControl(fe,z),this.updateValueAndValidity({emitEvent:Ae.emitEvent}),this._onCollectionChange()}contains(fe){return this.controls.hasOwnProperty(fe)&&this.controls[fe].enabled}setValue(fe,z={}){U(this,0,fe),Object.keys(fe).forEach(Ae=>{C(this,!0,Ae),this.controls[Ae].setValue(fe[Ae],{onlySelf:!0,emitEvent:z.emitEvent})}),this.updateValueAndValidity(z)}patchValue(fe,z={}){null!=fe&&(Object.keys(fe).forEach(Ae=>{const Ze=this.controls[Ae];Ze&&Ze.patchValue(fe[Ae],{onlySelf:!0,emitEvent:z.emitEvent})}),this.updateValueAndValidity(z))}reset(fe={},z={}){this._forEachChild((Ae,Ze)=>{Ae.reset(fe?fe[Ze]:null,{onlySelf:!0,emitEvent:z.emitEvent})}),this._updatePristine(z),this._updateTouched(z),this.updateValueAndValidity(z)}getRawValue(){return this._reduceChildren({},(fe,z,Ae)=>(fe[Ae]=z.getRawValue(),fe))}_syncPendingControls(){let fe=this._reduceChildren(!1,(z,Ae)=>!!Ae._syncPendingControls()||z);return fe&&this.updateValueAndValidity({onlySelf:!0}),fe}_forEachChild(fe){Object.keys(this.controls).forEach(z=>{const Ae=this.controls[z];Ae&&fe(Ae,z)})}_setUpControls(){this._forEachChild(fe=>{fe.setParent(this),fe._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(fe){for(const[z,Ae]of Object.entries(this.controls))if(this.contains(z)&&fe(Ae))return!0;return!1}_reduceValue(){return this._reduceChildren({},(z,Ae,Ze)=>((Ae.enabled||this.disabled)&&(z[Ze]=Ae.value),z))}_reduceChildren(fe,z){let Ae=fe;return this._forEachChild((Ze,In)=>{Ae=z(Ae,Ze,In)}),Ae}_allControlsDisabled(){for(const fe of Object.keys(this.controls))if(this.controls[fe].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(fe){return this.controls.hasOwnProperty(fe)?this.controls[fe]:null}}class me extends Ue{}const pe=new l.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>Ye}),Ye="always";function Vt(de,fe){return[...fe.path,de]}function Xt(de,fe,z=Ye){ni(de,fe),fe.valueAccessor.writeValue(de.value),(de.disabled||"always"===z)&&fe.valueAccessor.setDisabledState?.(de.disabled),function on(de,fe){fe.valueAccessor.registerOnChange(z=>{de._pendingValue=z,de._pendingChange=!0,de._pendingDirty=!0,"change"===de.updateOn&&$n(de,fe)})}(de,fe),function Dr(de,fe){const z=(Ae,Ze)=>{fe.valueAccessor.writeValue(Ae),Ze&&fe.viewToModelUpdate(Ae)};de.registerOnChange(z),fe._registerOnDestroy(()=>{de._unregisterOnChange(z)})}(de,fe),function ge(de,fe){fe.valueAccessor.registerOnTouched(()=>{de._pendingTouched=!0,"blur"===de.updateOn&&de._pendingChange&&$n(de,fe),"submit"!==de.updateOn&&de.markAsTouched()})}(de,fe),function rn(de,fe){if(fe.valueAccessor.setDisabledState){const z=Ae=>{fe.valueAccessor.setDisabledState(Ae)}
1;de.registerOnDisabledChange(z),fe._registerOnDestroy(()=>{de._unregisterOnDisabledChange(z)})}}(de,fe)}function Nn(de,fe,z=!0){const Ae=()=>{};fe.valueAccessor&&(fe.valueAccessor.registerOnChange(Ae),fe.valueAccessor.registerOnTouched(Ae)),ss(de,fe),de&&(fe._invokeOnDestroyCallbacks(),de._registerOnCollectionChange(()=>{}))}function zt(de,fe){de.forEach(z=>{z.registerOnValidatorChange&&z.registerOnValidatorChange(fe)})}function ni(de,fe){const z=at(de);null!==fe.validator?de.setValidators(Ve(z,fe.validator)):"function"==typeof z&&de.setValidators([z]);const Ae=Tt(de);null!==fe.asyncValidator?de.setAsyncValidators(Ve(Ae,fe.asyncValidator)):"function"==typeof Ae&&de.setAsyncValidators([Ae]);const Ze=()=>de.updateValueAndValidity();zt(fe._rawValidators,Ze),zt(fe._rawAsyncValidators,Ze)}function ss(de,fe){let z=!1;if(null!==de){if(null!==fe.validator){const Ze=at(de);if(Array.isArray(Ze)&&Ze.length>0){const In=Ze.filter(Jn=>Jn!==fe.validator);In.length!==Ze.length&&(z=!0,de.setValidators(In))}}if(null!==fe.asyncValidator){const Ze=Tt(de);if(Array.isArray(Ze)&&Ze.length>0){const In=Ze.filter(Jn=>Jn!==fe.asyncValidator);In.length!==Ze.length&&(z=!0,de.setAsyncValidators(In))}}}const Ae=()=>{};return zt(fe._rawValidators,Ae),zt(fe._rawAsyncValidators,Ae),z}function $n(de,fe){de._pendingDirty&&de.markAsDirty(),de.setValue(de._pendingValue,{emitModelToViewChange:!1}),fe.viewToModelUpdate(de._pendingValue),de._pendingChange=!1}function ar(de,fe){ni(de,fe)}function Qe(de,fe){if(!de.hasOwnProperty("model"))return!1;const z=de.model;return!!z.isFirstChange()||!Object.is(fe,z.currentValue)}function Nt(de,fe){de._syncPendingControls(),fe.forEach(z=>{const Ae=z.control;"submit"===Ae.updateOn&&Ae._pendingChange&&(z.viewToModelUpdate(Ae._pendingValue),Ae._pendingChange=!1)})}function Mt(de,fe){if(!fe)return null;let z,Ae,Ze;return Array.isArray(fe),fe.forEach(In=>{In.constructor===ee?z=In:function tt(de){return Object.getPrototypeOf(de.constructor)===p}(In)?Ae=In:Ze=In}),Ze||Ae||z||null}const Wn={provide:mt,useExisting:(0,l.Rfq)(()=>mi)},Cn=Promise.resolve();let mi=(()=>{class de extends mt{constructor(z,Ae,Ze){super(),this.callSetDisabledState=Ze,this.submitted=!1,this._directives=new Set,this.ngSubmit=new l.bkB,this.form=new Ue({},vt(z),He(Ae))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(z){Cn.then(()=>{const Ae=this._findContainer(z.path);z.control=Ae.registerControl(z.name,z.control),Xt(z.control,z,this.callSetDisabledState),z.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(z)})}getControl(z){return this.form.get(z.path)}
1removeControl(z){Cn.then(()=>{const Ae=this._findContainer(z.path);Ae&&Ae.removeControl(z.name),this._directives.delete(z)})}addFormGroup(z){Cn.then(()=>{const Ae=this._findContainer(z.path),Ze=new Ue({});ar(Ze,z),Ae.registerControl(z.name,Ze),Ze.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(z){Cn.then(()=>{const Ae=this._findContainer(z.path);Ae&&Ae.removeControl(z.name)})}getFormGroup(z){return this.form.get(z.path)}updateModel(z,Ae){Cn.then(()=>{this.form.get(z.path).setValue(Ae)})}setValue(z){this.control.setValue(z)}onSubmit(z){return this.submitted=!0,Nt(this.form,this._directives),this.ngSubmit.emit(z),"dialog"===z?.target?.method}onReset(){this.resetForm()}resetForm(z=void 0){this.form.reset(z),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(z){return z.pop(),z.length?this.form.get(z):this.form}static{this.\u0275fac=function(Ae){return new(Ae||de)(l.rXU(xe,10),l.rXU(Le,10),l.rXU(pe,8))}}static{this.\u0275dir=l.FsC({type:de,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(Ae,Ze){1&Ae&&l.bIt("submit",function(Jn){return Ze.onSubmit(Jn)})("reset",function(){return Ze.onReset()})},inputs:{options:[l.Mj6.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[l.Jv_([Wn]),l.Vt3]})}}return de})();function Es(de,fe){const z=de.indexOf(fe);z>-1&&de.splice(z,1)}function bi(de){return"object"==typeof de&&null!==de&&2===Object.keys(de).length&&"value"in de&&"disabled"in de}const rs=class extends he{constructor(fe=null,z,Ae){super(Bi(z),Yi(Ae,z)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(fe),this._setUpdateStrategy(z),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Fe(z)&&(z.nonNullable||z.initialValueIsDefault)&&(this.defaultValue=bi(fe)?fe.value:fe)}setValue(fe,z={}){this.value=this._pendingValue=fe,this._onChange.length&&!1!==z.emitModelToViewChange&&this._onChange.forEach(Ae=>Ae(this.value,!1!==z.emitViewToModelChange)),this.updateValueAndValidity(z)}patchValue(fe,z={}){this.setValue(fe,z)}reset(fe=this.defaultValue,z={}){this._applyFormState(fe),this.markAsPristine(z),this.markAsUntouched(z),this.setValue(this.value,z),this._pendingChange=!1}_updateValue(){}_anyControls(fe){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(fe){this._onChange.push(fe)}_unregisterOnChange(fe){Es(this._onChange,fe)}registerOnDisabledChange(fe){this._onDisabledChange.push(fe)}_unregisterOnDisabledChange(fe){Es(this._onDisabledChange,fe)}_forEachChild(fe){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(fe){bi(fe)?(this.value=this._pendingValue=fe.value,fe.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=fe}};let Hn=(()=>{class de extends mt{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Vt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static{this.\u0275fac=(()=>{let z;return function(Ze){return(z||(z=l.xGo(de)))(Ze||de)}})()}static{this.\u0275dir=l.FsC({type:de,features:[l.Vt3]})}}return de})();const Gi={provide:Ke,useExisting:(0,l.Rfq)(()=>Xn)},On=Promise.resolve();let Xn=(()=>{class de extends Ke{constructor(z,Ae,Ze,In,Jn,Ms){super(),this._changeDetectorRef=Jn,this.callSetDisabledState=Ms,this.control=new rs,this._registered=!1,this.name="",this.update=new l.bkB,this._parent=z,this._setValidators(Ae),this._setAsyncValidators(Ze),this.valueAccessor=Mt(0,In)}ngOnChanges(z){if(this._checkForErrors(),!this._registered||"name"in z){if(this._registered&&(this._checkName(),this.formDirective)){const Ae=z.name.previousValue;this.formDirective.removeControl({name:Ae,path:this._getPath(Ae)})}this._setUpControl()}"isDisabled"in z&&this._updateDisabled(z),Qe(z,this.viewModel)&&(this._updateV
1alue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(z){this.viewModel=z,this.update.emit(z)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Xt(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(z){On.then(()=>{this.control.setValue(z,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(z){const Ae=z.isDisabled.currentValue,Ze=0!==Ae&&(0,l.L39)(Ae);On.then(()=>{Ze&&!this.control.disabled?this.control.disable():!Ze&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(z){return this._parent?Vt(z,this._parent):[z]}static{this.\u0275fac=function(Ae){return new(Ae||de)(l.rXU(mt,9),l.rXU(xe,10),l.rXU(Le,10),l.rXU(M,10),l.rXU(l.gRc,8),l.rXU(pe,8))}}static{this.\u0275dir=l.FsC({type:de,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[l.Mj6.None,"disabled","isDisabled"],model:[l.Mj6.None,"ngModel","model"],options:[l.Mj6.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[l.Jv_([Gi]),l.Vt3,l.OA$]})}}return de})(),ya=(()=>{class de{static{this.\u0275fac=function(Ae){return new(Ae||de)}}static{this.\u0275dir=l.FsC({type:de,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}}return de})();const Zs={provide:M,useExisting:(0,l.Rfq)(()=>To),multi:!0};let To=(()=>{class de extends p{writeValue(z){this.setProperty("value",z??"")}registerOnChange(z){this.onChange=Ae=>{z(""==Ae?null:parseFloat(Ae))}}static{this.\u0275fac=(()=>{let z;return function(Ze){return(z||(z=l.xGo(de)))(Ze||de)}})()}static{this.\u0275dir=l.FsC({type:de,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(Ae,Ze){1&Ae&&l.bIt("input",function(Jn){return Ze.onChange(Jn.target.value)})("blur",function(){return Ze.onTouched()})},features:[l.Jv_([Zs]),l.Vt3]})}}return de})();const Io={provide:M,useExisting:(0,l.Rfq)(()=>oi),multi:!0};let Do=(()=>{class de{constructor(){this._accessors=[]}add(z,Ae){this._accessors.push([z,Ae])}remove(z){for(let Ae=this._accessors.length-1;Ae>=0;--Ae)if(this._accessors[Ae][1]===z)return void this._accessors.splice(Ae,1)}select(z){this._accessors.forEach(Ae=>{this._isSameGroup(Ae,z)&&Ae[1]!==z&&Ae[1].fireUncheck(z.value)})}_isSameGroup(z,Ae){return!!z[0].control&&z[0]._parent===Ae._control._parent&&z[1].name===Ae.name}static{this.\u0275fac=function(Ae){return new(Ae||de)}}static{this.\u0275prov=l.jDH({token:de,factory:de.\u0275fac,providedIn:"root"})}}return de})(),oi=(()=>{class de extends p{constructor(z,Ae,Ze,In){super(z,Ae),this._registry=Ze,this._injector=In,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,l.WQX)(pe,{optional:!0})??Ye}ngOnInit(){this._control=this._injector.get(Ke),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(z){this._state=z===this.value,this.setProperty("checked",this._state)}registerOnChange(z){this._fn=z,this.onChange=()=>{z(this.value),this._registry.select(this)}}setDisabledState(z){(this.setDisabledStateFired||z||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",z),this.setDisabledStateFired=!0}fireUncheck(z){this.writeValue(z)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static{this.\u0275fac=function(Ae){return new(Ae||de)(l.rXU(l.sFG),l.rXU(l.aKT),l.rXU(Do),l.rXU(l.zZn))}}static{this.\u0275dir=l.FsC({type:de,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(Ae,Ze){1&Ae&&l.bIt("change",function(){return Ze.onCh
1ange()})("blur",function(){return Ze.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[l.Jv_([Io]),l.Vt3]})}}return de})();const Yr={provide:M,useExisting:(0,l.Rfq)(()=>$r),multi:!0};let $r=(()=>{class de extends p{writeValue(z){this.setProperty("value",parseFloat(z))}registerOnChange(z){this.onChange=Ae=>{z(""==Ae?null:parseFloat(Ae))}}static{this.\u0275fac=(()=>{let z;return function(Ze){return(z||(z=l.xGo(de)))(Ze||de)}})()}static{this.\u0275dir=l.FsC({type:de,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(Ae,Ze){1&Ae&&l.bIt("change",function(Jn){return Ze.onChange(Jn.target.value)})("input",function(Jn){return Ze.onChange(Jn.target.value)})("blur",function(){return Ze.onTouched()})},features:[l.Jv_([Yr]),l.Vt3]})}}return de})();const ks=new l.nKC(""),Ta={provide:Ke,useExisting:(0,l.Rfq)(()=>Bo)};let Bo=(()=>{class de extends Ke{set isDisabled(z){}static{this._ngModelWarningSentOnce=!1}constructor(z,Ae,Ze,In,Jn){super(),this._ngModelWarningConfig=In,this.callSetDisabledState=Jn,this.update=new l.bkB,this._ngModelWarningSent=!1,this._setValidators(z),this._setAsyncValidators(Ae),this.valueAccessor=Mt(0,Ze)}ngOnChanges(z){if(this._isControlChanged(z)){const Ae=z.form.previousValue;Ae&&Nn(Ae,this,!1),Xt(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Qe(z,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Nn(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(z){this.viewModel=z,this.update.emit(z)}_isControlChanged(z){return z.hasOwnProperty("form")}static{this.\u0275fac=function(Ae){return new(Ae||de)(l.rXU(xe,10),l.rXU(Le,10),l.rXU(M,10),l.rXU(ks,8),l.rXU(pe,8))}}static{this.\u0275dir=l.FsC({type:de,selectors:[["","formControl",""]],inputs:{form:[l.Mj6.None,"formControl","form"],isDisabled:[l.Mj6.None,"disabled","isDisabled"],model:[l.Mj6.None,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[l.Jv_([Ta]),l.Vt3,l.OA$]})}}return de})();const Yo={provide:mt,useExisting:(0,l.Rfq)(()=>gr)};let gr=(()=>{class de extends mt{constructor(z,Ae,Ze){super(),this.callSetDisabledState=Ze,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new l.bkB,this._setValidators(z),this._setAsyncValidators(Ae)}ngOnChanges(z){this._checkFormPresent(),z.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ss(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(z){const Ae=this.form.get(z.path);return Xt(Ae,z,this.callSetDisabledState),Ae.updateValueAndValidity({emitEvent:!1}),this.directives.push(z),Ae}getControl(z){return this.form.get(z.path)}
1removeControl(z){Nn(z.control||null,z,!1),function nn(de,fe){const z=de.indexOf(fe);z>-1&&de.splice(z,1)}(this.directives,z)}addFormGroup(z){this._setUpFormContainer(z)}removeFormGroup(z){this._cleanUpFormContainer(z)}getFormGroup(z){return this.form.get(z.path)}addFormArray(z){this._setUpFormContainer(z)}removeFormArray(z){this._cleanUpFormContainer(z)}getFormArray(z){return this.form.get(z.path)}updateModel(z,Ae){this.form.get(z.path).setValue(Ae)}onSubmit(z){return this.submitted=!0,Nt(this.form,this.directives),this.ngSubmit.emit(z),"dialog"===z?.target?.method}onReset(){this.resetForm()}resetForm(z=void 0){this.form.reset(z),this.submitted=!1}_updateDomValue(){this.directives.forEach(z=>{const Ae=z.control,Ze=this.form.get(z.path);Ae!==Ze&&(Nn(Ae||null,z),(de=>de instanceof rs)(Ze)&&(Xt(Ze,z,this.callSetDisabledState),z.control=Ze))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(z){const Ae=this.form.get(z.path);ar(Ae,z),Ae.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(z){if(this.form){const Ae=this.form.get(z.path);Ae&&function to(de,fe){return ss(de,fe)}(Ae,z)&&Ae.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ni(this.form,this),this._oldForm&&ss(this._oldForm,this)}_checkFormPresent(){}static{this.\u0275fac=function(Ae){return new(Ae||de)(l.rXU(xe,10),l.rXU(Le,10),l.rXU(pe,8))}}static{this.\u0275dir=l.FsC({type:de,selectors:[["","formGroup",""]],hostBindings:function(Ae,Ze){1&Ae&&l.bIt("submit",function(Jn){return Ze.onSubmit(Jn)})("reset",function(){return Ze.onReset()})},inputs:{form:[l.Mj6.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[l.Jv_([Yo]),l.Vt3,l.OA$]})}}return de})();const Co={provide:mt,useExisting:(0,l.Rfq)(()=>Nr)};let Nr=(()=>{class de extends Hn{constructor(z,Ae,Ze){super(),this.name=null,this._parent=z,this._setValidators(Ae),this._setAsyncValidators(Ze)}_checkParentType(){Mo(this._parent)}static{this.\u0275fac=function(Ae){return new(Ae||de)(l.rXU(mt,13),l.rXU(xe,10),l.rXU(Le,10))}}static{this.\u0275dir=l.FsC({type:de,selectors:[["","formGroupName",""]],inputs:{name:[l.Mj6.None,"formGroupName","name"]},features:[l.Jv_([Co]),l.Vt3]})}}return de})();const fo={provide:mt,useExisting:(0,l.Rfq)(()=>no)};let no=(()=>{class de extends mt{constructor(z,Ae,Ze){super(),this.name=null,this._parent=z,this._setValidators(Ae),this._setAsyncValidators(Ze)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Vt(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Mo(this._parent)}static{this.\u0275fac=function(Ae){return new(Ae||de)(l.rXU(mt,13),l.rXU(xe,10),l.rXU(Le,10))}}static{this.\u0275dir=l.FsC({type:de,selectors:[["","formArrayName",""]],inputs:{name:[l.Mj6.None,"formArrayName","name"]},features:[l.Jv_([fo]),l.Vt3]})}}return de})();function Mo(de){return!(de instanceof Nr||de instanceof gr||de instanceof no)}const $o={provide:Ke,useExisting:(0,l.Rfq)(()=>ms)};let ms=(()=>{class de extends Ke{set isDisabled(z){}static{this._ngModelWarningSentOnce=!1}constructor(z,Ae,Ze,In,Jn){super(),this._ngModelWarningConfig=Jn,this._added=!1,this.name=null,this.update=new l.bkB,this._ngModelWarningSent=!1,this._parent=z,this._setValidators(Ae),this._setAsyncValidators(Ze),this.valueAccessor=Mt(0,In)}ngOnChanges(z){this._added||this._setUpControl(),Qe(z,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(z){this.viewModel=z,this.update.emit(z)}get path(){return Vt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static{this.\u0275fac=function(Ae){return new(Ae||de)(l.rXU(mt,13),l.rXU(xe,10),l.rXU(Le,10),l.rXU(M,10),l.rXU(ks,8))}}static{this.\u0275dir=l.FsC({type:de,selectors:[["","formControlName",""]],inputs:{name:[l.Mj6.None,"formControlName","name"],isDisabled:[l.Mj6.None,"disabled","isDisabled"],model:[l.Mj6.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[l.Jv_([$o]),l.Vt3,l.OA$]})}}return de})();const Ur={provide:M,useExisting:(0,l.Rfq)(()=>os),multi:!0};function lr(de,fe){return null==de?`${fe}`:(fe&&"object"==typeof fe&&(fe="Object"),`${de}: ${fe}`.slice(0,50))}let os=(()=>{class de extends p{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(z){this._compareWith=z}writeValue(z){this.value=z;const Ze=lr(this._getOptionId(z),z);this.setProperty("value",Ze)}registerOnChange(z){this.onChange=Ae=>{this.value=this._getOptionValue(Ae),z(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(z){for(const Ae of this._optionMap.keys())if(this._compareWith(this._optionMap.get(Ae),z))return Ae;return null}_getOptionValue(z){const Ae=function Uo(de){return de.split(":")[0]}(z);return this._optionMap.has(Ae)?this._optionMap.get(Ae):z}static{this.\u0275fac=(()=>{let z;return function(Ze){return(z||(z=l.xGo(de)))(Ze||de)}})()}static{this.\u0275dir=l.FsC({type:de,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(Ae,Ze){1&Ae&&l.bIt("change",function(Jn){return Ze.onCh
1ange(Jn.target.value)})("blur",function(){return Ze.onTouched()})},inputs:{compareWith:"compareWith"},features:[l.Jv_([Ur]),l.Vt3]})}}return de})(),Ks=(()=>{class de{constructor(z,Ae,Ze){this._element=z,this._renderer=Ae,this._select=Ze,this._select&&(this.id=this._select._registerOption())}set ngValue(z){null!=this._select&&(this._select._optionMap.set(this.id,z),this._setElementValue(lr(this.id,z)),this._select.writeValue(this._select.value))}set value(z){this._setElementValue(z),this._select&&this._select.writeValue(this._select.value)}_setElementValue(z){this._renderer.setProperty(this._element.nativeElement,"value",z)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static{this.\u0275fac=function(Ae){return new(Ae||de)(l.rXU(l.aKT),l.rXU(l.sFG),l.rXU(os,9))}}static{this.\u0275dir=l.FsC({type:de,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}return de})();const Vn={provide:M,useExisting:(0,l.Rfq)(()=>io),multi:!0};function Gr(de,fe){return null==de?`${fe}`:("string"==typeof fe&&(fe=`'${fe}'`),fe&&"object"==typeof fe&&(fe="Object"),`${de}: ${fe}`.slice(0,50))}let io=(()=>{class de extends p{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(z){this._compareWith=z}writeValue(z){let Ae;if(this.value=z,Array.isArray(z)){const Ze=z.map(In=>this._getOptionId(In));Ae=(In,Jn)=>{In._setSelected(Ze.indexOf(Jn.toString())>-1)}}else Ae=(Ze,In)=>{Ze._setSelected(!1)};this._optionMap.forEach(Ae)}registerOnChange(z){this.onChange=Ae=>{const Ze=[],In=Ae.selectedOptions;if(void 0!==In){const Jn=In;for(let Ms=0;Ms<Jn.length;Ms++){const nr=this._getOptionValue(Jn[Ms].value);Ze.push(nr)}}else{const Jn=Ae.options;for(let Ms=0;Ms<Jn.length;Ms++){const Lr=Jn[Ms];if(Lr.selected){const nr=this._getOptionValue(Lr.value);Ze.push(nr)}}}this.value=Ze,z(Ze)}}_registerOption(z){const Ae=(this._idCounter++).toString();return this._optionMap.set(Ae,z),Ae}_getOptionId(z){for(const Ae of this._optionMap.keys())if(this._compareWith(this._optionMap.get(Ae)._value,z))return Ae;return null}_getOptionValue(z){const Ae=function So(de){return de.split(":")[0]}(z);return this._optionMap.has(Ae)?this._optionMap.get(Ae)._value:z}static{this.\u0275fac=(()=>{let z;return function(Ze){return(z||(z=l.xGo(de)))(Ze||de)}})()}static{this.\u0275dir=l.FsC({type:de,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(Ae,Ze){1&Ae&&l.bIt("change",function(Jn){return Ze.onChange(Jn.target)})("blur",function(){return Ze.onTouched()})},inputs:{compareWith:"compareWith"},features:[l.Jv_([Vn]),l.Vt3]})}}return de})(),Or=(()=>{class de{constructor(z,Ae,Ze){this._element=z,this._renderer=Ae,this._select=Ze,this._select&&(this.id=this._select._registerOption(this))}set ngValue(z){null!=this._select&&(this._value=z,this._setElementValue(Gr(this.id,z)),this._select.writeValue(this._select.value))}set value(z){this._select?(this._value=z,this._setElementValue(Gr(this.id,z)),this._select.writeValue(this._select.value)):this._setElementValue(z)}_setElementValue(z){this._renderer.setProperty(this._element.nativeElement,"value",z)}_setSelected(z){this._renderer.setProperty(this._element.nativeElement,"selected",z)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static{this.\u0275fac=function(Ae){return new(Ae||de)(l.rXU(l.aKT),l.rXU(l.sFG),l.rXU(io,9))}}static{this.\u0275dir=l.FsC({type:de,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}return de})();let _i=(()=>{class de{constructor(){this._validator=ft}ngOnChanges(z){if(this.inputName in z){const Ae=this.normalizeInput(z[this.inputName].currentValue);this._enabled=this.enabled(Ae),this._validator=this._enabled?this.createValidator(Ae):ft,this._onChange&&this._onChange()}}validate(z){return this._validator(z)}registerOnValidatorChange(z){this._onChange=z}enabled(z){return null!=z}static{this.\u0275fac=function(Ae){return new(Ae||de)}}static{this.\u0275dir=l.FsC({type:de,features:[l.OA$]})}}return de})();const Ia={provide:xe,useExisting:(0,l.Rfq)(()=>er),multi:!0};let er=(()=>{class de extends _i{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=z=>function Ro(de){return"number"==typeof de?de:parseFloat(de)}(z),this.createValidator=z=>K(z)}static{this.\u0275fac=(()=>{let z;return function(Ze){return(z||(z=l.xGo(de)))(Ze||de)}})()}static{this.\u0275dir=l.FsC({type:de,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(Ae,Ze){2&Ae&&l.BMQ("min",Ze._enabled?Ze.min:null)},inputs:{min:"min"},features:[l.Jv_([Ia]),l.Vt3]})}}return de})();const ro={provide:xe,useExisting:(0,l.Rfq)(()=>As),multi:!0};let As=(()=>{class de extends _i{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=l.L39,this.createValidator=z=>Te}enabled(z){return z}static{this.\u0275fac=(()=>{let z;return function(Ze){return(z||(z=l.xGo(de)))(Ze||de)}})()}static{this.\u0275dir=l.FsC({type:de,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(Ae,Ze){2&Ae&&l.BMQ("required",Ze._enabled?"":null)},inputs:{required:"required"},features:[l.Jv_([ro]),l.Vt3]})}}return de})();const Go={provide:xe,useExisting:(0,l.Rfq)(()=>Vo),multi:!0};let Vo=(()=>{class de extends _i{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=z=>function so(de){return"number"==typeof de?de:parseInt(de,10)}(z),this.createValidator=z=>X(z)}static{this.\u0275fac=(()=>{let z;return function(Ze){return(z||(z=l.xGo(de)))(Ze||de)}})()}static{this.\u0275dir=l.FsC({type:de,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(Ae,Ze){2&Ae&&l.BMQ("maxlength",Ze._enabled?Ze.maxlength:null)},inputs:{maxlength:"maxlength"},features:[l.Jv_([Go]),l.Vt3]})}}return de})(),pr=(()=>{class de{static{this.\u0275fac=function(Ae){return new(Ae||de)}}static{this.\u0275mod=l.$C({type:de})}static{this.\u0275inj=l.G2t({})}}return de})();class ii extends he{constructor(fe,z,Ae){super(Bi(z),Yi(Ae,z)),this.controls=fe,this._initOb
1servables(),this._setUpdateStrategy(z),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(fe){return this.controls[this._adjustIndex(fe)]}push(fe,z={}){this.controls.push(fe),this._registerControl(fe),this.updateValueAndValidity({emitEvent:z.emitEvent}),this._onCollectionChange()}insert(fe,z,Ae={}){this.controls.splice(fe,0,z),this._registerControl(z),this.updateValueAndValidity({emitEvent:Ae.emitEvent})}removeAt(fe,z={}){let Ae=this._adjustIndex(fe);Ae<0&&(Ae=0),this.controls[Ae]&&this.controls[Ae]._registerOnCollectionChange(()=>{}),this.controls.splice(Ae,1),this.updateValueAndValidity({emitEvent:z.emitEvent})}setControl(fe,z,Ae={}){let Ze=this._adjustIndex(fe);Ze<0&&(Ze=0),this.controls[Ze]&&this.controls[Ze]._registerOnCollectionChange(()=>{}),this.controls.splice(Ze,1),z&&(this.controls.splice(Ze,0,z),this._registerControl(z)),this.updateValueAndValidity({emitEvent:Ae.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(fe,z={}){U(this,0,fe),fe.forEach((Ae,Ze)=>{C(this,!1,Ze),this.at(Ze).setValue(Ae,{onlySelf:!0,emitEvent:z.emitEvent})}),this.updateValueAndValidity(z)}patchValue(fe,z={}){null!=fe&&(fe.forEach((Ae,Ze)=>{this.at(Ze)&&this.at(Ze).patchValue(Ae,{onlySelf:!0,emitEvent:z.emitEvent})}),this.updateValueAndValidity(z))}reset(fe=[],z={}){this._forEachChild((Ae,Ze)=>{Ae.reset(fe[Ze],{onlySelf:!0,emitEvent:z.emitEvent})}),this._updatePristine(z),this._updateTouched(z),this.updateValueAndValidity(z)}getRawValue(){return this.controls.map(fe=>fe.getRawValue())}clear(fe={}){this.controls.length<1||(this._forEachChild(z=>z._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:fe.emitEvent}))}_adjustIndex(fe){return fe<0?fe+this.length:fe}_syncPendingControls(){let fe=this.controls.reduce((z,Ae)=>!!Ae._syncPendingControls()||z,!1);return fe&&this.updateValueAndValidity({onlySelf:!0}),fe}_forEachChild(fe){this.controls.forEach((z,Ae)=>{fe(z,Ae)})}_updateValue(){this.value=this.controls.filter(fe=>fe.enabled||this.disabled).map(fe=>fe.value)}_anyControls(fe){return this.controls.some(z=>z.enabled&&fe(z))}_setUpControls(){this._forEachChild(fe=>this._registerControl(fe))}_allControlsDisabled(){for(const fe of this.controls)if(fe.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(fe){fe.setParent(this),fe._registerOnCollectionChange(this._onCollectionChange)}_find(fe){return this.at(fe)??null}}function cr(de){return!!de&&(void 0!==de.asyncValidators||void 0!==de.validators||void 0!==de.updateOn)}let Wr=(()=>{class de{constructor(){this.useNonNullable=!1}get nonNullable(){const z=new de;return z.useNonNullable=!0,z}group(z,Ae=null){const Ze=this._reduceControls(z);let In={};return cr(Ae)?In=Ae:null!==Ae&&(In.validators=Ae.validator,In.asyncValidators=Ae.asyncValidator),new Ue(Ze,In)}record(z,Ae=null){const Ze=this._reduceControls(z);return new me(Ze,Ae)}control(z,Ae,Ze){let In={};return this.useNonNullable?(cr(Ae)?In=Ae:(In.validators=Ae,In.asyncValidators=Ze),new rs(z,{...In,nonNullable:!0})):new rs(z,Ae,Ze)}array(z,Ae,Ze){const In=z.map(Jn=>this._createControl(Jn));return new ii(In,Ae,Ze)}_reduceControls(z){const Ae={};return Object.keys(z).forEach(Ze=>{Ae[Ze]=this._createControl(z[Ze])}),Ae}_createControl(z){return z instanceof rs||z instanceof he?z:Array.isArray(z)?this.control(z[0],z.length>1?z[1]:null,z.length>2?z[2]:null):this.control(z)}static{this.\u0275fac=function(Ae){return new(Ae||de)}}static{this.\u0275prov=l.jDH({token:de,factory:de.\u0275fac,providedIn:"root"})}}return de})(),lo=(()=>{class de{static withConfig(z){return{ngModule:de,providers:[{provide:pe,useValue:z.callSetDisabledState??Ye}]}}static{this.\u0275fac=function(Ae){return new(Ae||de)}}static{this.\u0275mod=l.$C({type:de})}static{this.\u0275inj=l.G2t({imports:[pr]})}}return de})(),ko=(()=>{class de{static withConfig(z){return{ngModule:de,providers:[{provide:ks,useValue:z.warnOnNgModelWithFormControl??"always"},{provide:pe,useValue:z.callSetDisabledState??Ye}]}}static{this.\u0275fac=function(Ae){return new(Ae||de)}}static{this.\u0275mod=l.$C({type:de})}static{this.\u0275inj=l.G2t({imports:[pr]})}}return de})()},345:(We,Q,I)=>{"use strict";I.d(Q,{B7:()=>ye,Bb:()=>Ge,hE:()=>bt,sG:()=>Ln,up:()=>yi});var l=I(4438),e=I(177);class m extends e.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class b extends m{static makeCurrent(){(0,e.ZD)(new b)}onAndCancel(Fe,C,U){return Fe.addEventListener(C,U),()=>{Fe.removeEventListener(C,U)}}dispatchEvent(Fe,C){Fe.dispatchEvent(C)}remove(Fe){Fe.parentNode&&Fe.parentNode.removeChild(Fe)}createElement(Fe,C){return(C=C||this.getDefaultDocument()).createElement(Fe)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Fe){return Fe.nodeType===Node.ELEMENT_NODE}isShadowRoot(Fe){return Fe instanceof DocumentFragment}getGlobalEventTarget(Fe,C){return"window"===C?window:"document"===C?Fe:"body"===C?Fe.body:null}getBaseHref(Fe){const C=function S(){return y=y||document.querySelector("base"),y?y.getAttribute("href"):null}();return null==C?null:function p(Me){return new URL(Me,document.baseURI).pathname}(C)}resetBaseElement(){y=null}getUserAgent(){return window.navigator.userAgent}getCookie(Fe){return(0,e._b)(document.cookie,Fe)}}let y=null,$=(()=>{class Me{build(){return new XMLHttpRequest}static{this.\u0275fac=function(U){return new(U||Me)}}static{this.\u0275prov=l.jDH({token:Me,factory:Me.\u0275fac})}}return Me})();const B=new l.nKC("");let G=(()=>{class Me{constructor(C,U){this._zone=U,this._eventNameToPlugin=new Map,C.forEac
1h(he=>{he.manager=this}),this._plugins=C.slice().reverse()}addEventListener(C,U,he){return this._findPluginFor(U).addEventListener(C,U,he)}getZone(){return this._zone}_findPluginFor(C){let U=this._eventNameToPlugin.get(C);if(U)return U;if(U=this._plugins.find(Ue=>Ue.supports(C)),!U)throw new l.wOt(5101,!1);return this._eventNameToPlugin.set(C,U),U}static{this.\u0275fac=function(U){return new(U||Me)(l.KVO(B),l.KVO(l.SKi))}}static{this.\u0275prov=l.jDH({token:Me,factory:Me.\u0275fac})}}return Me})();class Y{constructor(Fe){this._doc=Fe}}const q="ng-app-id";let ee=(()=>{class Me{constructor(C,U,he,Ue={}){this.doc=C,this.appId=U,this.nonce=he,this.platformId=Ue,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,e.Vy)(Ue),this.resetHostNodes()}addStyles(C){for(const U of C)1===this.changeUsageCount(U,1)&&this.onStyleAdded(U)}removeStyles(C){for(const U of C)this.changeUsageCount(U,-1)<=0&&this.onStyleRemoved(U)}ngOnDestroy(){const C=this.styleNodesInDOM;C&&(C.forEach(U=>U.remove()),C.clear());for(const U of this.getAllStyles())this.onStyleRemoved(U);this.resetHostNodes()}addHost(C){this.hostNodes.add(C);for(const U of this.getAllStyles())this.addStyleToHost(C,U)}removeHost(C){this.hostNodes.delete(C)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(C){for(const U of this.hostNodes)this.addStyleToHost(U,C)}onStyleRemoved(C){const U=this.styleRef;U.get(C)?.elements?.forEach(he=>he.remove()),U.delete(C)}collectServerRenderedStyles(){const C=this.doc.head?.querySelectorAll(`style[${q}="${this.appId}"]`);if(C?.length){const U=new Map;
1return C.forEach(he=>{null!=he.textContent&&U.set(he.textContent,he)}),U}return null}changeUsageCount(C,U){const he=this.styleRef;if(he.has(C)){const Ue=he.get(C);return Ue.usage+=U,Ue.usage}return he.set(C,{usage:U,elements:[]}),U}getStyleElement(C,U){const he=this.styleNodesInDOM,Ue=he?.get(U);if(Ue?.parentNode===C)return he.delete(U),Ue.removeAttribute(q),Ue;{const ht=this.doc.createElement("style");return this.nonce&&ht.setAttribute("nonce",this.nonce),ht.textContent=U,this.platformIsServer&&ht.setAttribute(q,this.appId),C.appendChild(ht),ht}}addStyleToHost(C,U){const he=this.getStyleElement(C,U),Ue=this.styleRef,ht=Ue.get(U)?.elements;ht?ht.push(he):Ue.set(U,{elements:[he],usage:1})}resetHostNodes(){const C=this.hostNodes;C.clear(),C.add(this.doc.head)}static{this.\u0275fac=function(U){return new(U||Me)(l.KVO(e.qQ),l.KVO(l.sZ2),l.KVO(l.BIS,8),l.KVO(l.Agw))}}static{this.\u0275prov=l.jDH({token:Me,factory:Me.\u0275fac})}}return Me})();const oe={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},se=/%COMP%/g,K=new l.nKC("",{providedIn:"root",factory:()=>!0});function ct(Me,Fe){return Fe.map(C=>C.replace(se,Me))}let ye=(()=>{class Me{constructor(C,U,he,Ue,ht,$t,un,me=null){this.eventManager=C,this.sharedStylesHost=U,this.appId=he,this.removeStylesOnCompDestroy=Ue,this.doc=ht,this.platformId=$t,this.ngZone=un,this.nonce=me,this.rendererByCompId=new Map,this.platformIsServer=(0,e.Vy)($t),this.defaultRenderer=new Se(C,ht,un,this.platformIsServer)}createRenderer(C,U){if(!C||!U)return this.defaultRenderer;this.platformIsServer&&U.encapsulation===l.gXe.ShadowDom&&(U={...U,encapsulation:l.gXe.Emulated});const he=this.getOrCreateRenderer(C,U);return he instanceof Rt?he.applyToHost(C):he instanceof Gt&&he.applyStyles(),he}getOrCreateRenderer(C,U){const he=this.rendererByCompId;let Ue=he.get(U.id);if(!Ue){const ht=this.doc,$t=this.ngZone,un=this.eventManager,me=this.sharedStylesHost,jn=this.removeStylesOnCompDestroy,pe=this.platformIsServer;switch(U.encapsulation){case l.gXe.Emulated:Ue=new Rt(un,me,U,this.appId,jn,ht,$t,pe);break;case l.gXe.ShadowDom:return new _t(un,me,C,U,ht,$t,this.nonce,pe);default:Ue=new Gt(un,me,U,jn,ht,$t,pe)}he.set(U.id,Ue)}return Ue}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(U){return new(U||Me)(l.KVO(G),l.KVO(ee),l.KVO(l.sZ2),l.KVO(K),l.KVO(e.qQ),l.KVO(l.Agw),l.KVO(l.SKi),l.KVO(l.BIS))}}static{this.\u0275prov=l.jDH({token:Me,factory:Me.\u0275fac})}}return Me})();class Se{constructor(Fe,C,U,he){this.eventManager=Fe,this.doc=C,this.ngZone=U,this.platformIsServer=he,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(Fe,C){return C?this.doc.createElementNS(oe[C]||C,Fe):this.doc.createElement(Fe)}createComment(Fe){return this.doc.createComment(Fe)}createText(Fe){return this.doc.createTextNode(Fe)}appendChild(Fe,C){(ft(Fe)?Fe.content:Fe).appendChild(C)}insertBefore(Fe,C,U){Fe&&(ft(Fe)?Fe.content:Fe).insertBefore(C,U)}removeChild(Fe,C){Fe&&Fe.removeChild(C)}selectRootElement(Fe,C){let U="string"==typeof Fe?this.doc.querySelector(Fe):Fe;if(!U)throw new l.wOt(-5104,!1);return C||(U.textContent=""),U}parentNode(Fe){return Fe.parentNode}nextSibling(Fe){return Fe.nextSibling}setAttribute(Fe,C,U,he){if(he){C=he+":"+C;const Ue=oe[he];Ue?Fe.setAttributeNS(Ue,C,U):Fe.setAttribute(C,U)}else Fe.setAttribute(C,U)}removeAttribute(Fe,C,U){if(U){const he=oe[U];he?Fe.removeAttributeNS(he,C):Fe.removeAttribute(`${U}:${C}`)}else Fe.removeAttribute(C)}addClass(Fe,C){Fe.classList.add(C)}removeClass(Fe,C){Fe.classList.remove(C)}setStyle(Fe,C,U,he){he&(l.czy.DashCase|l.czy.Important)?Fe.style.setProperty(C,U,he&l.czy.Important?"important":""):Fe.style[C]=U}removeStyle(Fe,C,U){U&l.czy.DashCase?Fe.style.removeProperty(C):Fe.style[C]=""}setProperty(Fe,C,U){null!=Fe&&(Fe[C]=U)}setValue(Fe,C){Fe.nodeValue=C}listen(Fe,C,U){if("string"==typeof Fe&&!(Fe=(0,e.QT)().getGlobalEventTarget(this.doc,Fe)))throw new Error(`Unsupported event target ${Fe} for event ${C}`);return this.eventManager.addEventListener(Fe,C,this.decoratePreventDefault(U))}decoratePreventDefault(Fe){return C=>{if("__ngUnwrap__"===C)return Fe;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>Fe(C)):Fe(C))&&C.preventDefault()}}}
1function ft(Me){return"TEMPLATE"===Me.tagName&&void 0!==Me.content}class _t extends Se{constructor(Fe,C,U,he,Ue,ht,$t,un){super(Fe,Ue,ht,un),this.sharedStylesHost=C,this.hostEl=U,this.shadowRoot=U.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const me=ct(he.id,he.styles);for(const jn of me){const pe=document.createElement("style");$t&&pe.setAttribute("nonce",$t),pe.textContent=jn,this.shadowRoot.appendChild(pe)}}nodeOrShadowRoot(Fe){return Fe===this.hostEl?this.shadowRoot:Fe}appendChild(Fe,C){return super.appendChild(this.nodeOrShadowRoot(Fe),C)}insertBefore(Fe,C,U){return super.insertBefore(this.nodeOrShadowRoot(Fe),C,U)}removeChild(Fe,C){return super.removeChild(this.nodeOrShadowRoot(Fe),C)}parentNode(Fe){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Fe)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Gt extends Se{constructor(Fe,C,U,he,Ue,ht,$t,un){super(Fe,Ue,ht,$t),this.sharedStylesHost=C,this.removeStylesOnCompDestroy=he,this.styles=un?ct(un,U.styles):U.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Rt extends Gt{constructor(Fe,C,U,he,Ue,ht,$t,un){const me=he+"-"+U.id;super(Fe,C,U,Ue,ht,$t,un,me),this.contentAttr=function _e(Me){return"_ngcontent-%COMP%".replace(se,Me)}(me),this.hostAttr=function Te(Me){return"_nghost-%COMP%".replace(se,Me)}(me)}applyToHost(Fe){this.applyStyles(),this.setAttribute(Fe,this.hostAttr,"")}createElement(Fe,C){const U=super.createElement(Fe,C);return super.setAttribute(U,this.contentAttr,""),U}}let dt=(()=>{class Me extends Y{constructor(C){super(C)}supports(C){return!0}addEventListener(C,U,he){return C.addEventListener(U,he,!1),()=>this.removeEventListener(C,U,he)}removeEventListener(C,U,he){return C.removeEventListener(U,he)}static{this.\u0275fac=function(U){return new(U||Me)(l.KVO(e.qQ))}}static{this.\u0275prov=l.jDH({token:Me,factory:Me.\u0275fac})}}return Me})();const et=["alt","control","meta","shift"],Ie={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ot={alt:Me=>Me.altKey,control:Me=>Me.ctrlKey,meta:Me=>Me.metaKey,shift:Me=>Me.shiftKey};let vt=(()=>{class Me extends Y{constructor(C){super(C)}supports(C){return null!=Me.parseEventName(C)}addEventListener(C,U,he){const Ue=Me.parseEventName(U),ht=Me.eventCallback(Ue.fullKey,he,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,e.QT)().onAndCancel(C,Ue.domEventName,ht))}static parseEventName(C){const U=C.toLowerCase().split("."),he=U.shift();if(0===U.length||"keydown"!==he&&"keyup"!==he)return null;const Ue=Me._normalizeKey(U.pop());let ht="",$t=U.indexOf("code");if($t>-1&&(U.splice($t,1),ht="code."),et.forEach(me=>{const jn=U.indexOf(me);jn>-1&&(U.splice(jn,1),ht+=me+".")}),ht+=Ue,0!=U.length||0===Ue.length)return null;const un={};return un.domEventName=he,un.fullKey=ht,un}static matchEventFullKeyCode(C,U){let he=Ie[C.key]||C.key,Ue="";return U.indexOf("code.")>-1&&(he=C.code,Ue="code."),!(null==he||!he)&&(he=he.toLowerCase()," "===he?he="space":"."===he&&(he="dot"),et.forEach(ht=>{ht!==he&&(0,ot[ht])(C)&&(Ue+=ht+".")}),Ue+=he,Ue===U)}static eventCallback(C,U,he){return Ue=>{Me.matchEventFullKeyCode(Ue,C)&&he.runGuarded(()=>U(Ue))}}static _normalizeKey(C){return"esc"===C?"escape":C}static{this.\u0275fac=function(U){return new(U||Me)(l.KVO(e.qQ))}}static{this.\u0275prov=l.jDH({token:Me,factory:Me.\u0275fac})}}return Me})();const Ln=(0,l.oH4)(l.fpN,"browser",[{provide:l.Agw,useValue:e.AJ},{provide:l.PLl,useValue:function Tt(){b.makeCurrent()},multi:!0},{provide:e.qQ,useFactory:function jt(){return(0,l.TL$)(document),document},deps:[]}]),re=new l.nKC(""),mt=[{provide:l.e01,useClass:class M{addToWindow(Fe){l.JZv.getAngularTestability=(U,he=!0)=>{const Ue=Fe.findTestabilityInTree(U,he);if(null==Ue)throw new l.wOt(5103,!1);return Ue},l.JZv.getAllAngularTestabilities=()=>Fe.getAllTestabilities(),l.JZv.getAllAngularRootElements=()=>Fe.getAllRootElements(),l.JZv.frameworkStabilizers||(l.JZv.frameworkStabilizers=[]),l.JZv.frameworkStabilizers.push(U=>{const he=l.JZv.getAllAngularTestabilities();let Ue=he.length;const ht=function(){Ue--,0==Ue&&U()};he.forEach($t=>{$t.whenStable(ht)})})}findTestabilityInTree(Fe,C,U){return null==C?null:Fe.getTestability(C)??(U?(0,e.QT)().isShadowRoot(C)?this.findTestabilityInTree(Fe,C.host,!0):this.findTestabilityInTree(Fe,C.parentElement,!0):null)}},deps:[]},{provide:l.WHO,useClass:l.NYb,deps:[l.SKi,l.giA,l.e01]},{provide:l.NYb,useClass:l.NYb,deps:[l.SKi,l.giA,l.e01]}],Ke=[{provide:l.H8p,useValue:"root"},{provide:l.zcH,useFactory:function wt(){return new l.zcH},deps:[]},{provide:B,useClass:dt,multi:!0,deps:[e.qQ,l.SKi,l.Agw]},{provide:B,useClass:vt,multi:!0,deps:[e.qQ]},ye,ee,G,{provide:l._9s,useExisting:ye},{provide:e.N0,useClass:$,deps:[]},[]];let Ge=(()=>{class Me{constructor(C){}static withServerTransition(C){return{ngModule:Me,providers:[{provide:l.sZ2,useValue:C.appId}]}}static{this.\u0275fac=function(U){return new(U||Me)(l.KVO(re,12))}}static{this.\u0275mod=l.$C({type:Me})}static{this.\u0275inj=l.G2t({providers:[...Ke,...mt],imports:[e.MD,l.Hbi]})}}return Me})(),bt=(()=>{class Me{constructor(C){this._doc=C}getTitle(){return this._doc.title}setTitle(C){this._doc.title=C||""}static{this.\u0275fac=function(U){return new(U||Me)(l.KVO(e.qQ))}}static{this.\u0275prov=l.jDH({token:Me,factory:Me.\u0275fac,providedIn:"root"})}}return Me})(),yi=(()=>{class Me{static{this.\u0275fac=function(U){return new(U||Me)}}static{this.\u0275prov=l.jDH({token:Me,factory:function(U){let he=null;return he=U?new(U||Me):l.KVO(Dn),he},providedIn:"root"})}}return Me})(),Dn=(()=>{class Me extends yi{constructor(C){super(),this._doc=C}sanitize(C,U){if(null==U)return null;switch(C){case l.WPN.NONE:return U;case l.WPN.HTML:return(0,l.ZF7)(U,"HTML")?(0,l.rcV)(U):(0,l.h9k)(this._doc,String(U)).toString();case l.WPN.STYLE:return(0,l.ZF7)(U,"Style")?(0,l.rcV)(U):U;case l.WPN.SCRIPT:if((0,l.ZF7)(U,"Script"))return(0,l.rcV)(U);throw new l.wOt(5200,!1);case l.WPN.URL:return(0,l.ZF7)(U,"URL")?(0,l.rcV)(U):(0,l.$MX)(String(U));case l.WPN.RESOURCE_URL:if((0,l.ZF7)(U,"ResourceURL"))return(0,l.rcV)(U);throw new l.wOt(5201,!1);default:throw new l.wOt(5202,!1)}}bypassSecurityTrustHtml(C){return(0,l.Kcf)(C)}bypassSecurityTrustStyle(C){return(0,l.cWb)(C)}bypassSecurityTrustScript(C){return(0,l.UyX)(C)}bypassSecurityTrustUrl(C){return(0,l.osQ)(C)}bypassSecurityTrustResourceUrl(C){return(0,l.e5t)(C)}static{this.\u0275fac=function(U){return new(U||Me)(l.KVO(e.qQ))}}static{this.\u0275prov=l.jDH({token:Me,factory:Me.\u0275fac,providedIn:"root"})}}return Me})()},4550:(We,Q,I)=>{"use strict";I.d(Q,{nX:()=>Ks,j5:()=>Gi,wF:()=>Mi,L6:()=>Xn,Z:()=>ps,Ix:()=>Js,Wk:()=>Sr,wQ:()=>Qn,iI:()=>Ko,n3:()=>_i});var l=I(4523),e=I(4438),m=I(4402),b=I(6648),y=I(7673),S=I(4412),p=I(1985),M=I(3073),$=I(3669),B=I(6450),G=I(9326),Y=I(8496),q=I(4360),ee=I(5225);function oe(...w){const H=(0,G.lI)(w),O=(0,G.ms)(w),{args:W,keys:ae}=(0,M.D)(w);if(0===W.length)return(0,b.H)([],H);const ke=new p.c(function se(w,H,O=$.D){return W=>{xe(H,()=>{const{length:ae}=w,ke=new Array(ae);let ze=ae,Ct=ae;for(let It=0;It<ae;It++)xe(H,()=>{const an=(0,b.H)(w[It],H);let Zn=!1;an.subscribe(new q.H(W,hi=>{ke[It]=hi,Zn||(Zn=!0,Ct--),Ct||W.next(O(ke.slice()))},()=>{--ze||W.complete()}
1))},W)},W)}}(W,H,ae?ze=>(0,Y.e)(ae,ze):$.D));return O?ke.pipe((0,B.I)(O)):ke}function xe(w,H,O){w?(0,ee.N)(O,w,H):H()}var Le=I(9350),ie=I(8793),L=I(9030),K=I(1203),_e=I(8810),Te=I(983),ct=I(8359),ye=I(9974);function Se(){return(0,ye.N)((w,H)=>{let O=null;w._refCount++;const W=new q.H(H,void 0,void 0,void 0,()=>{if(!w||w._refCount<=0||0<--w._refCount)return void(O=null);const ae=w._connection,ke=O;O=null,ae&&(!ke||ae===ke)&&ae.unsubscribe(),H.unsubscribe()});w.subscribe(W),W.closed||(O=w.connect())})}class X extends p.c{constructor(H,O){super(),this.source=H,this.subjectFactory=O,this._subject=null,this._refCount=0,this._connection=null,(0,ye.S)(H)&&(this.lift=H.lift)}_subscribe(H){return this.getSubject().subscribe(H)}getSubject(){const H=this._subject;return(!H||H.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:H}=this;this._subject=this._connection=null,H?.unsubscribe()}connect(){let H=this._connection;if(!H){H=this._connection=new ct.yU;const O=this.getSubject();H.add(this.source.subscribe(new q.H(O,void 0,()=>{this._teardown(),O.complete()},W=>{this._teardown(),O.error(W)},()=>this._teardown()))),H.closed&&(this._connection=null,H=ct.yU.EMPTY)}return H}refCount(){return Se()(this)}}var Ne=I(1413),ft=I(177),_t=I(6354),Gt=I(5558),Rt=I(6697),dt=I(9172),et=I(5964),Ie=I(1397),ot=I(1594),vt=I(274),je=I(8141),He=I(9437);var Tt=I(9901);function wt(w){return w<=0?()=>Te.w:(0,ye.N)((H,O)=>{let W=[];H.subscribe(new q.H(O,ae=>{W.push(ae),w<W.length&&W.shift()},()=>{for(const ae of W)O.next(ae);O.complete()},void 0,()=>{W=null}))})}var jt=I(3774),Ln=I(3703),re=I(980),mt=I(6977),Ke=I(6365),Ge=I(345);const Ee="primary",qe=Symbol("RouteTitle");class bt{constructor(H){this.params=H||{}}has(H){return Object.prototype.hasOwnProperty.call(this.params,H)}get(H){if(this.has(H)){const O=this.params[H];return Array.isArray(O)?O[0]:O}return null}getAll(H){if(this.has(H)){const O=this.params[H];return Array.isArray(O)?O:[O]}return[]}get keys(){return Object.keys(this.params)}}function Je(w){return new bt(w)}function pt(w,H,O){const W=O.path.split("/");if(W.length>w.length||"full"===O.pathMatch&&(H.hasChildren()||W.length<w.length))return null;const ae={};for(let ke=0;ke<W.length;ke++){const ze=W[ke],Ct=w[ke];if(ze.startsWith(":"))ae[ze.substring(1)]=Ct;else if(ze!==Ct.path)return null}return{consumed:w.slice(0,W.length),posParams:ae}}function qt(w,H){const O=w?Wt(w):void 0,W=H?Wt(H):void 0;if(!O||!W||O.length!=W.length)return!1;let ae;for(let ke=0;ke<O.length;ke++)if(ae=O[ke],!En(w[ae],H[ae]))return!1;return!0}function Wt(w){return[...Object.keys(w),...Object.getOwnPropertySymbols(w)]}function En(w,H){if(Array.isArray(w)&&Array.isArray(H)){if(w.length!==H.length)return!1;const O=[...w].sort(),W=[...H].sort();return O.every((ae,ke)=>W[ke]===ae)}return w===H}function Sn(w){return w.length>0?w[w.length-1]:null}function Zt(w){return(0,m.A)(w)?w:(0,e.jNT)(w)?(0,b.H)(Promise.resolve(w)):(0,y.of)(w)}const An={exact:function Yn(w,H,O){if(!_n(w.segments,H.segments)||!hs(w.segments,H.segments,O)||w.numberOfChildren!==H.numberOfChildren)return!1;for(const W in H.children)if(!w.children[W]||!Yn(w.children[W],H.children[W],O))return!1;return!0},subset:yi},fi={exact:function Oi(w,H){return qt(w,H)},subset:function vi(w,H){return Object.keys(H).length<=Object.keys(w).length&&Object.keys(H).every(O=>En(w[O],H[O]))},ignored:()=>!0};function Yt(w,H,O){return An[O.paths](w.root,H.root,O.matrixParams)&&fi[O.queryParams](w.queryParams,H.queryParams)&&!("exact"===O.fragment&&w.fragment!==H.fragment)}function yi(w,H,O){return Dn(w,H,H.segments,O)}function Dn(w,H,O,W){if(w.segments.length>O.length){const ae=w.segments.slice(0,O.length);return!(!_n(ae,O)||H.hasChildren()||!hs(ae,O,W))}if(w.segments.length===O.length){if(!_n(w.segments,O)||!hs(w.segments,O,W))return!1;for(const ae in H.children)if(!w.children[ae]||!yi(w.children[ae],H.children[ae],W))return!1;return!0}{const ae=O.slice(0,w.segments.length),ke=O.slice(w.segments.length);return!!(_n(w.segments,ae)&&hs(w.segments,ae,W)&&w.children[Ee])&&Dn(w.children[Ee],H,ke,W)}}function hs(w,H,O){return H.every((W,ae)=>fi[O](w[ae].parameters,W.parameters))}class Pn{constructor(H=new mn([],{}),O={},W=null){this.root=H,this.queryParams=O,this.fragment=W}get queryParamMap(){return this._queryParamMap??=Je(this.queryParams),this._queryParamMap}toString(){return Me.serialize(this)}}class mn{constructor(H,O){this.segments=H,this.children=O,this.parent=null,Object.values(O).forEach(W=>W.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Fe(this)}}class ji{constructor(H,O){this.path=H,this.parameters=O}get parameterMap(){return this._parameterMap??=Je(this.parameters),this._parameterMap}toString(){return me(this)}}function _n(w,H){return w.length===H.length&&w.every((O,W)=>O.path===H[W].path)}let Ai=(()=>{class w{static{this.\u0275fac=function(W){return new(W||w)}}static{this.\u0275prov=e.jDH({token:w,factory:()=>new Yi,providedIn:"root"})}}return w})();
1class Yi{parse(H){const O=new on(H);return new Pn(O.parseRootSegment(),O.parseQueryParams(),O.parseFragment())}serialize(H){const O=`/${C(H.root,!0)}`,W=function pe(w){const H=Object.entries(w).map(([O,W])=>Array.isArray(W)?W.map(ae=>`${he(O)}=${he(ae)}`).join("&"):`${he(O)}=${he(W)}`).filter(O=>O);return H.length?`?${H.join("&")}`:""}(H.queryParams);return`${O}${W}${"string"==typeof H.fragment?`#${function Ue(w){return encodeURI(w)}(H.fragment)}`:""}`}}const Me=new Yi;function Fe(w){return w.segments.map(H=>me(H)).join("/")}function C(w,H){if(!w.hasChildren())return Fe(w);if(H){const O=w.children[Ee]?C(w.children[Ee],!1):"",W=[];return Object.entries(w.children).forEach(([ae,ke])=>{ae!==Ee&&W.push(`${ae}:${C(ke,!1)}`)}),W.length>0?`${O}(${W.join("//")})`:O}{const O=function Bi(w,H){let O=[];return Object.entries(w.children).forEach(([W,ae])=>{W===Ee&&(O=O.concat(H(ae,W)))}),Object.entries(w.children).forEach(([W,ae])=>{W!==Ee&&(O=O.concat(H(ae,W)))}),O}(w,(W,ae)=>ae===Ee?[C(w.children[Ee],!1)]:[`${ae}:${C(W,!1)}`]);return 1===Object.keys(w.children).length&&null!=w.children[Ee]?`${Fe(w)}/${O[0]}`:`${Fe(w)}/(${O.join("//")})`}}function U(w){return encodeURIComponent(w).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function he(w){return U(w).replace(/%3B/gi,";")}function ht(w){return U(w).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function $t(w){return decodeURIComponent(w)}function un(w){return $t(w.replace(/\+/g,"%20"))}function me(w){return`${ht(w.path)}${function jn(w){return Object.entries(w).map(([H,O])=>`;${ht(H)}=${ht(O)}`).join("")}(w.parameters)}`}const Ye=/^[^\/()?;#]+/;function Vt(w){const H=w.match(Ye);return H?H[0]:""}const Xt=/^[^\/()?;=#]+/,zt=/^[^=?&#]+/,ni=/^[^&#]+/;class on{constructor(H){this.url=H,this.remaining=H}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new mn([],{}):new mn([],this.parseChildren())}parseQueryParams(){const H={};if(this.consumeOptional("?"))do{this.parseQueryParam(H)}while(this.consumeOptional("&"));return H}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const H=[];for(this.peekStartsWith("(")||H.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),H.push(this.parseSegment());let O={};this.peekStartsWith("/(")&&(this.capture("/"),O=this.parseParens(!0));let W={};return this.peekStartsWith("(")&&(W=this.parseParens(!1)),(H.length>0||Object.keys(O).length>0)&&(W[Ee]=new mn(H,O)),W}parseSegment(){const H=Vt(this.remaining);if(""===H&&this.peekStartsWith(";"))throw new e.wOt(4009,!1);return this.capture(H),new ji($t(H),this.parseMatrixParams())}parseMatrixParams(){const H={};for(;this.consumeOptional(";");)this.parseParam(H);return H}parseParam(H){const O=function Nn(w){const H=w.match(Xt);return H?H[0]:""}(this.remaining);if(!O)return;this.capture(O);let W="";if(this.consumeOptional("=")){const ae=Vt(this.remaining);ae&&(W=ae,this.capture(W))}H[$t(O)]=$t(W)}parseQueryParam(H){const O=function rn(w){const H=w.match(zt);return H?H[0]:""}(this.remaining);if(!O)return;this.capture(O);let W="";if(this.consumeOptional("=")){const ze=function ss(w){const H=w.match(ni);return H?H[0]:""}(this.remaining);ze&&(W=ze,this.capture(W))}const ae=un(O),ke=un(W);if(H.hasOwnProperty(ae)){let ze=H[ae];Array.isArray(ze)||(ze=[ze],H[ae]=ze),ze.push(ke)}else H[ae]=ke}parseParens(H){const O={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const W=Vt(this.remaining),ae=this.remaining[W.length];if("/"!==ae&&")"!==ae&&";"!==ae)throw new e.wOt(4010,!1);let ke;W.indexOf(":")>
1-1?(ke=W.slice(0,W.indexOf(":")),this.capture(ke),this.capture(":")):H&&(ke=Ee);const ze=this.parseChildren();O[ke]=1===Object.keys(ze).length?ze[Ee]:new mn([],ze),this.consumeOptional("//")}return O}peekStartsWith(H){return this.remaining.startsWith(H)}consumeOptional(H){return!!this.peekStartsWith(H)&&(this.remaining=this.remaining.substring(H.length),!0)}capture(H){if(!this.consumeOptional(H))throw new e.wOt(4011,!1)}}function ge(w){return w.segments.length>0?new mn([],{[Ee]:w}):w}function $n(w){const H={};for(const[W,ae]of Object.entries(w.children)){const ke=$n(ae);if(W===Ee&&0===ke.segments.length&&ke.hasChildren())for(const[ze,Ct]of Object.entries(ke.children))H[ze]=Ct;else(ke.segments.length>0||ke.hasChildren())&&(H[W]=ke)}return function Dr(w){if(1===w.numberOfChildren&&w.children[Ee]){const H=w.children[Ee];return new mn(w.segments.concat(H.segments),H.children)}return w}(new mn(w.segments,H))}function ar(w){return w instanceof Pn}function Eo(w){let H;const ae=ge(function O(ke){const ze={};for(const It of ke.children){const an=O(It);ze[It.outlet]=an}const Ct=new mn(ke.url,ze);return ke===w&&(H=Ct),Ct}(w.root));return H??ae}function Ci(w,H,O,W){let ae=w;for(;ae.parent;)ae=ae.parent;if(0===H.length)return Be(ae,ae,ae,O,W);const ke=function Nt(w){if("string"==typeof w[0]&&1===w.length&&"/"===w[0])return new tt(!0,0,w);let H=0,O=!1;const W=w.reduce((ae,ke,ze)=>{if("object"==typeof ke&&null!=ke){if(ke.outlets){const Ct={};return Object.entries(ke.outlets).forEach(([It,an])=>{Ct[It]="string"==typeof an?an.split("/"):an}),[...ae,{outlets:Ct}]}if(ke.segmentPath)return[...ae,ke.segmentPath]}return"string"!=typeof ke?[...ae,ke]:0===ze?(ke.split("/").forEach((Ct,It)=>{0==It&&"."===Ct||(0==It&&""===Ct?O=!0:".."===Ct?H++:""!=Ct&&ae.push(Ct))}),ae):[...ae,ke]},[]);return new tt(O,H,W)}(H);if(ke.toRoot())return Be(ae,ae,new mn([],{}),O,W);const ze=function nn(w,H,O){if(w.isAbsolute)return new Mt(H,!0,0);if(!O)return new Mt(H,!1,NaN);if(null===O.parent)return new Mt(O,!0,0);const W=Fs(w.commands[0])?0:1;return function sn(w,H,O){let W=w,ae=H,ke=O;for(;ke>ae;){if(ke-=ae,W=W.parent,!W)throw new e.wOt(4005,!1);ae=W.segments.length}return new Mt(W,!1,ae-ke)}(O,O.segments.length-1+W,w.numberOfDoubleDots)}(ke,ae,w),Ct=ze.processChildren?mi(ze.segmentGroup,ze.index,ke.commands):Cn(ze.segmentGroup,ze.index,ke.commands);return Be(ae,ze.segmentGroup,Ct,O,W)}function Fs(w){return"object"==typeof w&&null!=w&&!w.outlets&&!w.segmentPath}function Cr(w){return"object"==typeof w&&null!=w&&w.outlets}function Be(w,H,O,W,ae){let ze,ke={};W&&Object.entries(W).forEach(([It,an])=>{ke[It]=Array.isArray(an)?an.map(Zn=>`${Zn}`):`${an}`}),ze=w===H?O:Qe(w,H,O);const Ct=ge($n(ze));return new Pn(Ct,ke,ae)}function Qe(w,H,O){const W={};return Object.entries(w.children).forEach(([ae,ke])=>{W[ae]=ke===H?O:Qe(ke,H,O)}),new mn(w.segments,W)}class tt{constructor(H,O,W){if(this.isAbsolute=H,this.numberOfDoubleDots=O,this.commands=W,H&&W.length>0&&Fs(W[0]))throw new e.wOt(4003,!1);const ae=W.find(Cr);if(ae&&ae!==Sn(W))throw new e.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Mt{constructor(H,O,W){this.segmentGroup=H,this.processChildren=O,this.index=W}}function Cn(w,H,O){if(w??=new mn([],{}),0===w.segments.length&&w.hasChildren())return mi(w,H,O);const W=function Es(w,H,O){let W=0,ae=H;const ke={match:!1,pathIndex:0,commandIndex:0};for(;ae<w.segments.length;){if(W>=O.length)return ke;const ze=w.segments[ae],Ct=O[W];if(Cr(Ct))break;const It=`${Ct}`,an=W<O.length-1?O[W+1]:null;if(ae>0&&void 0===It)break;if(It&&an&&"object"==typeof an&&void 0===an.outlets){if(!us(It,an,ze))return ke;W+=2}else{if(!us(It,{},ze))return ke;W++}ae++}return{match:!0,pathIndex:ae,commandIndex:W}}(w,H,O),ae=O.slice(W.commandIndex);if(W.match&&W.pathIndex<w.segments.length){const ke=new mn(w.segments.slice(0,W.pathIndex),{});return ke.children[Ee]=new mn(w.segments.slice(W.pathIndex),w.children),mi(ke,0,ae)}return W.match&&0===ae.length?new mn(w.segments,{}):W.match&&!w.hasChildren()?bi(w,H,O):W.match?mi(w,0,ae):bi(w,H,O)}function mi(w,H,O){if(0===O.length)return new mn(w.segments,{});{const W=function Wn(w){return Cr(w[0])?w[0].outlets:{[Ee]:w}}(O),ae={};if(Object.keys(W).some(ke=>ke!==Ee)&&w.children[Ee]&&1===w.numberOfChildren&&0===w.children[Ee].segments.length){const ke=mi(w.children[Ee],H,O);return new mn(w.segments,ke.children)}return Object.entries(W).forEach(([ke,ze])=>{"string"==typeof ze&&(ze=[ze]),null!==ze&&(ae[ke]=Cn(w.children[ke],H,ze))}
1),Object.entries(w.children).forEach(([ke,ze])=>{void 0===W[ke]&&(ae[ke]=ze)}),new mn(w.segments,ae)}}function bi(w,H,O){const W=w.segments.slice(0,H);let ae=0;for(;ae<O.length;){const ke=O[ae];if(Cr(ke)){const It=rs(ke.outlets);return new mn(W,It)}if(0===ae&&Fs(O[0])){W.push(new ji(w.segments[H].path,zs(O[0]))),ae++;continue}const ze=Cr(ke)?ke.outlets[Ee]:`${ke}`,Ct=ae<O.length-1?O[ae+1]:null;ze&&Ct&&Fs(Ct)?(W.push(new ji(ze,zs(Ct))),ae+=2):(W.push(new ji(ze,{})),ae++)}return new mn(W,{})}function rs(w){const H={};return Object.entries(w).forEach(([O,W])=>{"string"==typeof W&&(W=[W]),null!==W&&(H[O]=bi(new mn([],{}),0,W))}),H}function zs(w){const H={};return Object.entries(w).forEach(([O,W])=>H[O]=`${W}`),H}function us(w,H,O){return w==O.path&&qt(H,O.parameters)}const Hn="imperative";var gn=function(w){return w[w.NavigationStart=0]="NavigationStart",w[w.NavigationEnd=1]="NavigationEnd",w[w.NavigationCancel=2]="NavigationCancel",w[w.NavigationError=3]="NavigationError",w[w.RoutesRecognized=4]="RoutesRecognized",w[w.ResolveStart=5]="ResolveStart",w[w.ResolveEnd=6]="ResolveEnd",w[w.GuardsCheckStart=7]="GuardsCheckStart",w[w.GuardsCheckEnd=8]="GuardsCheckEnd",w[w.RouteConfigLoadStart=9]="RouteConfigLoadStart",w[w.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",w[w.ChildActivationStart=11]="ChildActivationStart",w[w.ChildActivationEnd=12]="ChildActivationEnd",w[w.ActivationStart=13]="ActivationStart",w[w.ActivationEnd=14]="ActivationEnd",w[w.Scroll=15]="Scroll",w[w.NavigationSkipped=16]="NavigationSkipped",w}(gn||{});class xi{constructor(H,O){this.id=H,this.url=O}}class ps extends xi{constructor(H,O,W="imperative",ae=null){super(H,O),this.type=gn.NavigationStart,this.navigationTrigger=W,this.restoredState=ae}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Mi extends xi{constructor(H,O,W){super(H,O),this.urlAfterRedirects=W,this.type=gn.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Ni=function(w){return w[w.Redirect=0]="Redirect",w[w.SupersededByNewNavigation=1]="SupersededByNewNavigation",w[w.NoDataFromResolver=2]="NoDataFromResolver",w[w.GuardRejected=3]="GuardRejected",w}(Ni||{}),Ds=function(w){return w[w.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",w[w.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",w}(Ds||{});class Gi extends xi{constructor(H,O,W,ae){super(H,O),this.reason=W,this.code=ae,this.type=gn.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class On extends xi{constructor(H,O,W,ae){super(H,O),this.reason=W,this.code=ae,this.type=gn.NavigationSkipped}}class Xn extends xi{constructor(H,O,W,ae){super(H,O),this.error=W,this.target=ae,this.type=gn.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ya extends xi{constructor(H,O,W,ae){super(H,O),this.urlAfterRedirects=W,this.state=ae,this.type=gn.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Zs extends xi{constructor(H,O,W,ae){super(H,O),this.urlAfterRedirects=W,this.state=ae,this.type=gn.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class To extends xi{constructor(H,O,W,ae,ke){super(H,O),this.urlAfterRedirects=W,this.state=ae,this.shouldActivate=ke,this.type=gn.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Io extends xi{constructor(H,O,W,ae){super(H,O),this.urlAfterRedirects=W,this.state=ae,this.type=gn.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ea extends xi{constructor(H,O,W,ae){super(H,O),this.urlAfterRedirects=W,this.state=ae,this.type=gn.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Do{constructor(H){this.route=H,this.type=gn.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class oi{constructor(H){this.route=H,this.type=gn.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Yr{constructor(H){this.snapshot=H,this.type=gn.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class $r{constructor(H){this.snapshot=H,this.type=gn.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ks{constructor(H){this.snapshot=H,this.type=gn.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ta{constructor(H){this.snapshot=H,this.type=gn.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Bo{constructor(H,O,W){this.routerEvent=H,this.position=O,this.anchor=W,this.type=gn.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Yo{}class gr{constructor(H){this.url=H}}class Nr{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new fo,this.attachRef=null}}let fo=(()=>{class w{constructor(){this.contexts=new Map}onChildOutletCreated(O,W){const ae=this.getOrCreateContext(O);ae.outlet=W,this.contexts.set(O,ae)}onChildOutletDestroyed(O){const W=this.getContext(O);W&&(W.outlet=null,W.attachRef=null)}onOutletDeactivated(){const O=this.contexts;return this.contexts=new Map,O}onOutletReAttached(O){this.contexts=O}getOrCreateContext(O){let W=this.getContext(O);return W||(W=new Nr,this.contexts.set(O,W)),W}getContext(O){return this.contexts.get(O)||null}static{this.\u0275fac=function(W){return new(W||w)}}static{this.\u0275prov=e.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})();
1class no{constructor(H){this._root=H}get root(){return this._root.value}parent(H){const O=this.pathFromRoot(H);return O.length>1?O[O.length-2]:null}children(H){const O=Mo(H,this._root);return O?O.children.map(W=>W.value):[]}firstChild(H){const O=Mo(H,this._root);return O&&O.children.length>0?O.children[0].value:null}siblings(H){const O=$o(H,this._root);return O.length<2?[]:O[O.length-2].children.map(ae=>ae.value).filter(ae=>ae!==H)}pathFromRoot(H){return $o(H,this._root).map(O=>O.value)}}function Mo(w,H){if(w===H.value)return H;for(const O of H.children){const W=Mo(w,O);if(W)return W}return null}function $o(w,H){if(w===H.value)return[H];for(const O of H.children){const W=$o(w,O);if(W.length)return W.unshift(H),W}return[]}class ms{constructor(H,O){this.value=H,this.children=O}toString(){return`TreeNode(${this.value})`}}function Ur(w){const H={};return w&&w.children.forEach(O=>H[O.value.outlet]=O),H}class lr extends no{constructor(H,O){super(H),this.snapshot=O,$s(this,H)}toString(){return this.snapshot.toString()}}function Uo(w){const H=function os(w){const ke=new Gr([],{},{},"",{},Ee,w,null,{});return new So("",new ms(ke,[]))}(w),O=new S.t([new ji("",{})]),W=new S.t({}),ae=new S.t({}),ke=new S.t({}),ze=new S.t(""),Ct=new Ks(O,W,ke,ze,ae,Ee,w,H.root);return Ct.snapshot=H.root,new lr(new ms(Ct,[]),H)}class Ks{constructor(H,O,W,ae,ke,ze,Ct,It){this.urlSubject=H,this.paramsSubject=O,this.queryParamsSubject=W,this.fragmentSubject=ae,this.dataSubject=ke,this.outlet=ze,this.component=Ct,this._futureSnapshot=It,this.title=this.dataSubject?.pipe((0,_t.T)(an=>an[qe]))??(0,y.of)(void 0),this.url=H,this.params=O,this.queryParams=W,this.fragment=ae,this.data=ke}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,_t.T)(H=>Je(H))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,_t.T)(H=>Je(H))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Vn(w,H,O="emptyOnly"){let W;const{routeConfig:ae}=w;return W=null===H||"always"!==O&&""!==ae?.path&&(H.component||H.routeConfig?.loadComponent)?{params:{...w.params},data:{...w.data},resolve:{...w.data,...w._resolvedData??{}}}:{params:{...H.params,...w.params},data:{...H.data,...w.data},resolve:{...w.data,...H.data,...ae?.data,...w._resolvedData}},ae&&Ro(ae)&&(W.resolve[qe]=ae.title),W}class Gr{get title(){return this.data?.[qe]}constructor(H,O,W,ae,ke,ze,Ct,It,an){this.url=H,this.params=O,this.queryParams=W,this.fragment=ae,this.data=ke,this.outlet=ze,this.component=Ct,this.routeConfig=It,this._resolve=an}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Je(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Je(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(W=>W.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class So extends no{constructor(H,O){super(O),this.url=H,$s(this,O)}toString(){return io(this._root)}}function $s(w,H){H.value._routerState=w,H.children.forEach(O=>$s(w,O))}function io(w){const H=w.children.length>0?` { ${w.children.map(io).join(", ")} } `:"";return`${w.value}${H}`}function Or(w){if(w.snapshot){const H=w.snapshot,O=w._futureSnapshot;w.snapshot=O,qt(H.queryParams,O.queryParams)||w.queryParamsSubject.next(O.queryParams),H.fragment!==O.fragment&&w.fragmentSubject.next(O.fragment),qt(H.params,O.params)||w.paramsSubject.next(O.params),function Ft(w,H){if(w.length!==H.length)return!1;for(let O=0;O<w.length;++O)if(!qt(w[O],H[O]))return!1;return!0}(H.url,O.url)||w.urlSubject.next(O.url),qt(H.data,O.data)||w.dataSubject.next(O.data)}else w.snapshot=w._futureSnapshot,w.dataSubject.next(w._futureSnapshot.data)}function so(w,H){const O=qt(w.params,H.params)&&function ti(w,H){return _n(w,H)&&w.every((O,W)=>qt(O.parameters,H[W].parameters))}(w.url,H.url);return O&&!(!w.parent!=!H.parent)&&(!w.parent||so(w.parent,H.parent))}function Ro(w){return"string"==typeof w.title||null===w.title}let _i=(()=>{class w{constructor(){this.activated=null,this._activatedRoute=null,this.name=Ee,this.activateEvents=new e.bkB,this.deactivateEvents=new e.bkB,this.attachEvents=new e.bkB,this.detachEvents=new e.bkB,this.parentContexts=(0,e.WQX)(fo),this.location=(0,e.WQX)(e.c1b),this.changeDetector=(0,e.WQX)(e.gRc),this.environmentInjector=(0,e.WQX)(e.uvJ),this.inputBinder=(0,e.WQX)(ur,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(O){if(O.name){const{firstChange:W,previousValue:ae}=O.name;if(W)return;this.isTrackedInParentContexts(ae)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(ae)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(O){return this.parentContexts.getContext(O)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const O=this.parentContexts.getContext(this.name);O?.route&&(O.attachRef?this.attach(O.attachRef,O.route):this.activateWith(O.route,O.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new e.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new e.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new e.wOt(4012,!1);this.location.detach();const O=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(O.instance),O}attach(O,W){this.activated=O,this._activatedRoute=W,this.location.insert(O.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(O.instance)}deactivate(){if(this.activated){const O=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(O)}}activateWith(O,W){if(this.isActivated)throw new e.wOt(4013,!1);this._activatedRoute=O;const ae=this.location,ze=O.snapshot.component,Ct=this.parentContexts.getOrCreateContext(this.name).children,It=new Mr(O,Ct,ae.injector);this.activated=ae.createComponent(ze,{index:ae.length,injector:It,environmentInjector:W??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(W){return new(W||w)}}static{this.\u0275dir=e.FsC({type:w,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[e.OA$]})}}return w})();class Mr{__ngOutletInjector(H){return new Mr(this.route,this.childContexts,H)}constructor(H,O,W){this.route=H,this.childContexts=O,this.parent=W}get(H,O){return H===Ks?this.route:H===fo?this.childContexts:this.parent.get(H,O)}}const ur=new e.nKC("");let Ia=(()=>{class w{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(O){this.unsubscribeFromRouteData(O),this.subscribeToRouteData(O)}unsubscribeFromRouteData(O){this.outletDataSubscriptions.get(O)?.unsubscribe(),this.outletDataSubscriptions.delete(O)}
1subscribeToRouteData(O){const{activatedRoute:W}=O,ae=oe([W.queryParams,W.params,W.data]).pipe((0,Gt.n)(([ke,ze,Ct],It)=>(Ct={...ke,...ze,...Ct},0===It?(0,y.of)(Ct):Promise.resolve(Ct)))).subscribe(ke=>{if(!O.isActivated||!O.activatedComponentRef||O.activatedRoute!==W||null===W.component)return void this.unsubscribeFromRouteData(O);const ze=(0,e.HJs)(W.component);if(ze)for(const{templateName:Ct}of ze.inputs)O.activatedComponentRef.setInput(Ct,ke[Ct]);else this.unsubscribeFromRouteData(O)});this.outletDataSubscriptions.set(O,ae)}static{this.\u0275fac=function(W){return new(W||w)}}static{this.\u0275prov=e.jDH({token:w,factory:w.\u0275fac})}}return w})();function ro(w,H,O){if(O&&w.shouldReuseRoute(H.value,O.value.snapshot)){const W=O.value;W._futureSnapshot=H.value;const ae=function Cs(w,H,O){return H.children.map(W=>{for(const ae of O.children)if(w.shouldReuseRoute(W.value,ae.value.snapshot))return ro(w,W,ae);return ro(w,W)})}(w,H,O);return new ms(W,ae)}{if(w.shouldAttach(H.value)){const ke=w.retrieve(H.value);if(null!==ke){const ze=ke.route;return ze.value._futureSnapshot=H.value,ze.children=H.children.map(Ct=>ro(w,Ct)),ze}}const W=function As(w){return new Ks(new S.t(w.url),new S.t(w.params),new S.t(w.queryParams),new S.t(w.fragment),new S.t(w.data),w.outlet,w.component,w)}(H.value),ae=H.children.map(ke=>ro(w,ke));return new ms(W,ae)}}const Vr="ngNavigationCancelingError";function Ls(w,H){const{redirectTo:O,navigationBehaviorOptions:W}=ar(H)?{redirectTo:H,navigationBehaviorOptions:void 0}:H,ae=as(!1,Ni.Redirect);return ae.url=O,ae.navigationBehaviorOptions=W,ae}function as(w,H){const O=new Error(`NavigationCancelingError: ${w||""}`);return O[Vr]=!0,O.cancellationCode=H,O}function Hr(w){return!!w&&w[Vr]}let Go=(()=>{class w{static{this.\u0275fac=function(W){return new(W||w)}}static{this.\u0275cmp=e.VBU({type:w,selectors:[["ng-component"]],standalone:!0,features:[e.aNF],decls:1,vars:0,template:function(W,ae){1&W&&e.nrm(0,"router-outlet")},dependencies:[_i],encapsulation:2})}}return w})();function Da(w){const H=w.children&&w.children.map(Da),O=H?{...w,children:H}:{...w};return!O.component&&!O.loadComponent&&(H||O.loadChildren)&&O.outlet&&O.outlet!==Ee&&(O.component=Go),O}function cr(w){return w.outlet||Ee}function Fr(w){if(!w)return null;if(w.routeConfig?._injector)return w.routeConfig._injector;for(let H=w.parent;H;H=H.parent){const O=H.routeConfig;if(O?._loadedInjector)return O._loadedInjector;if(O?._injector)return O._injector}return null}class lo{constructor(H,O,W,ae,ke){this.routeReuseStrategy=H,this.futureState=O,this.currState=W,this.forwardEvent=ae,this.inputBindingEnabled=ke}activate(H){const O=this.futureState._root,W=this.currState?this.currState._root:null;this.deactivateChildRoutes(O,W,H),Or(this.futureState.root),this.activateChildRoutes(O,W,H)}deactivateChildRoutes(H,O,W){const ae=Ur(O);H.children.forEach(ke=>{const ze=ke.value.outlet;this.deactivateRoutes(ke,ae[ze],W),delete ae[ze]}),Object.values(ae).forEach(ke=>{this.deactivateRouteAndItsChildren(ke,W)})}deactivateRoutes(H,O,W){const ae=H.value,ke=O?O.value:null;if(ae===ke)if(ae.component){const ze=W.getContext(ae.outlet);ze&&this.deactivateChildRoutes(H,O,ze.children)}else this.deactivateChildRoutes(H,O,W);else ke&&this.deactivateRouteAndItsChildren(O,W)}deactivateRouteAndItsChildren(H,O){H.value.component&&this.routeReuseStrategy.shouldDetach(H.value.snapshot)?this.detachAndStoreRouteSubtree(H,O):this.deactivateRouteAndOutlet(H,O)}detachAndStoreRouteSubtree(H,O){const W=O.getContext(H.value.outlet),ae=W&&H.value.component?W.children:O,ke=Ur(H);for(const ze of Object.values(ke))this.deactivateRouteAndItsChildren(ze,ae);if(W&&W.outlet){const ze=W.outlet.detach(),Ct=W.children.onOutletDeactivated();this.routeReuseStrategy.store(H.value.snapshot,{componentRef:ze,route:H,contexts:Ct})}}deactivateRouteAndOutlet(H,O){const W=O.getContext(H.value.outlet),ae=W&&H.value.component?W.children:O,ke=Ur(H);for(const ze of Object.values(ke))this.deactivateRouteAndItsChildren(ze,ae);W&&(W.outlet&&(W.outlet.deactivate(),W.children.onOutletDeactivated()),W.attachRef=null,W.route=null)}activateChildRoutes(H,O,W){const ae=Ur(O);
1H.children.forEach(ke=>{this.activateRoutes(ke,ae[ke.value.outlet],W),this.forwardEvent(new Ta(ke.value.snapshot))}),H.children.length&&this.forwardEvent(new $r(H.value.snapshot))}activateRoutes(H,O,W){const ae=H.value,ke=O?O.value:null;if(Or(ae),ae===ke)if(ae.component){const ze=W.getOrCreateContext(ae.outlet);this.activateChildRoutes(H,O,ze.children)}else this.activateChildRoutes(H,O,W);else if(ae.component){const ze=W.getOrCreateContext(ae.outlet);if(this.routeReuseStrategy.shouldAttach(ae.snapshot)){const Ct=this.routeReuseStrategy.retrieve(ae.snapshot);this.routeReuseStrategy.store(ae.snapshot,null),ze.children.onOutletReAttached(Ct.contexts),ze.attachRef=Ct.componentRef,ze.route=Ct.route.value,ze.outlet&&ze.outlet.attach(Ct.componentRef,Ct.route.value),Or(Ct.route.value),this.activateChildRoutes(H,null,ze.children)}else{const Ct=Fr(ae.snapshot);ze.attachRef=null,ze.route=ae,ze.injector=Ct,ze.outlet&&ze.outlet.activateWith(ae,ze.injector),this.activateChildRoutes(H,null,ze.children)}}else this.activateChildRoutes(H,null,W)}}class ko{constructor(H){this.path=H,this.route=this.path[this.path.length-1]}}class de{constructor(H,O){this.component=H,this.route=O}}function fe(w,H,O){const W=w._root;return Ze(W,H?H._root:null,O,[W.value])}function Ae(w,H){const O=Symbol(),W=H.get(w,O);return W===O?"function"!=typeof w||(0,e.LfX)(w)?H.get(w):w:W}function Ze(w,H,O,W,ae={canDeactivateChecks:[],canActivateChecks:[]}){const ke=Ur(H);return w.children.forEach(ze=>{(function In(w,H,O,W,ae={canDeactivateChecks:[],canActivateChecks:[]}){const ke=w.value,ze=H?H.value:null,Ct=O?O.getContext(w.value.outlet):null;if(ze&&ke.routeConfig===ze.routeConfig){const It=function Jn(w,H,O){if("function"==typeof O)return O(w,H);switch(O){case"pathParamsChange":return!_n(w.url,H.url);case"pathParamsOrQueryParamsChange":return!_n(w.url,H.url)||!qt(w.queryParams,H.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!so(w,H)||!qt(w.queryParams,H.queryParams);default:return!so(w,H)}}(ze,ke,ke.routeConfig.runGuardsAndResolvers);It?ae.canActivateChecks.push(new ko(W)):(ke.data=ze.data,ke._resolvedData=ze._resolvedData),Ze(w,H,ke.component?Ct?Ct.children:null:O,W,ae),It&&Ct&&Ct.outlet&&Ct.outlet.isActivated&&ae.canDeactivateChecks.push(new de(Ct.outlet.component,ze))}else ze&&Ms(H,Ct,ae),ae.canActivateChecks.push(new ko(W)),Ze(w,null,ke.component?Ct?Ct.children:null:O,W,ae)})(ze,ke[ze.value.outlet],O,W.concat([ze.value]),ae),delete ke[ze.value.outlet]}),Object.entries(ke).forEach(([ze,Ct])=>Ms(Ct,O.getContext(ze),ae)),ae}function Ms(w,H,O){const W=Ur(w),ae=w.value;Object.entries(W).forEach(([ke,ze])=>{Ms(ze,ae.component?H?H.children.getContext(ke):null:H,O)}),O.canDeactivateChecks.push(new de(ae.component&&H&&H.outlet&&H.outlet.isActivated?H.outlet.component:null,ae))}function Lr(w){return"function"==typeof w}function el(w){return w instanceof Le.G||"EmptyError"===w?.name}const ia=Symbol("INITIAL_VALUE");function Xr(){return(0,Gt.n)(w=>oe(w.map(H=>H.pipe((0,Rt.s)(1),(0,dt.Z)(ia)))).pipe((0,_t.T)(H=>{for(const O of H)if(!0!==O){if(O===ia)return ia;if(!1===O||O instanceof Pn)return O}return!0}),(0,et.p)(H=>H!==ia),(0,Rt.s)(1)))}function ai(w){return(0,K.F)((0,je.M)(H=>{if(ar(H))throw Ls(0,H)}),(0,_t.T)(H=>!0===H))}class fs{constructor(H){this.segmentGroup=H||null}}class hr extends Error{constructor(H){super(),this.urlTree=H}}function Ss(w){return(0,_e.$)(new fs(w))}class N{constructor(H,O){this.urlSerializer=H,this.urlTree=O}lineralizeSegments(H,O){let W=[],ae=O.root;for(;;){if(W=W.concat(ae.segments),0===ae.numberOfChildren)return(0,y.of)(W);if(ae.numberOfChildren>1||!ae.children[Ee])return(0,_e.$)(new e.wOt(4e3,!1));ae=ae.children[Ee]}}applyRedirectCommands(H,O,W){const ae=this.applyRedirectCreateUrlTree(O,this.urlSerializer.parse(O),H,W);if(O.startsWith("/"))throw new hr(ae);return ae}applyRedirectCreateUrlTree(H,O,W,ae){const ke=this.createSegmentGroup(H,O.root,W,ae);return new Pn(ke,this.createQueryParams(O.queryParams,this.urlTree.queryParams),O.fragment)}createQueryParams(H,O){const W={};return Object.entries(H).forEach(([ae,ke])=>
1{if("string"==typeof ke&&ke.startsWith(":")){const Ct=ke.substring(1);W[ae]=O[Ct]}else W[ae]=ke}),W}createSegmentGroup(H,O,W,ae){const ke=this.createSegments(H,O.segments,W,ae);let ze={};return Object.entries(O.children).forEach(([Ct,It])=>{ze[Ct]=this.createSegmentGroup(H,It,W,ae)}),new mn(ke,ze)}createSegments(H,O,W,ae){return O.map(ke=>ke.path.startsWith(":")?this.findPosParam(H,ke,ae):this.findOrReturn(ke,W))}findPosParam(H,O,W){const ae=W[O.path.substring(1)];if(!ae)throw new e.wOt(4001,!1);return ae}findOrReturn(H,O){let W=0;for(const ae of O){if(ae.path===H.path)return O.splice(W),ae;W++}return H}}const j={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function te(w,H,O,W,ae){const ke=De(w,H,O);return ke.matched?(W=function Vo(w,H){return w.providers&&!w._injector&&(w._injector=(0,e.Ol2)(w.providers,H,`Route: ${w.path}`)),w._injector??H}(H,W),function xs(w,H,O,W){const ae=H.canMatch;if(!ae||0===ae.length)return(0,y.of)(!0);const ke=ae.map(ze=>{const Ct=Ae(ze,w);return Zt(function Vi(w){return w&&Lr(w.canMatch)}(Ct)?Ct.canMatch(H,O):(0,e.N4e)(w,()=>Ct(H,O)))});return(0,y.of)(ke).pipe(Xr(),ai())}(W,H,O).pipe((0,_t.T)(ze=>!0===ze?ke:{...j}))):(0,y.of)(ke)}function De(w,H,O){if("**"===H.path)return function $e(w){return{matched:!0,parameters:w.length>0?Sn(w).parameters:{},consumedSegments:w,remainingSegments:[],positionalParamSegments:{}}}(O);if(""===H.path)return"full"===H.pathMatch&&(w.hasChildren()||O.length>0)?{...j}:{matched:!0,consumedSegments:[],remainingSegments:O,parameters:{},positionalParamSegments:{}};const ae=(H.matcher||pt)(O,w,H);if(!ae)return{...j};const ke={};Object.entries(ae.posParams??{}).forEach(([Ct,It])=>{ke[Ct]=It.path});const ze=ae.consumed.length>0?{...ke,...ae.consumed[ae.consumed.length-1].parameters}:ke;return{matched:!0,consumedSegments:ae.consumed,remainingSegments:O.slice(ae.consumed.length),parameters:ze,positionalParamSegments:ae.posParams??{}}}function nt(w,H,O,W){return O.length>0&&function kt(w,H,O){return O.some(W=>pn(w,H,W)&&cr(W)!==Ee)}(w,O,W)?{segmentGroup:new mn(H,St(W,new mn(O,w.children))),slicedSegments:[]}:0===O.length&&function dn(w,H,O){return O.some(W=>pn(w,H,W))}(w,O,W)?{segmentGroup:new mn(w.segments,rt(w,O,W,w.children)),slicedSegments:O}:{segmentGroup:new mn(w.segments,w.children),slicedSegments:O}}function rt(w,H,O,W){const ae={};for(const ke of O)if(pn(w,H,ke)&&!W[cr(ke)]){const ze=new mn([],{});ae[cr(ke)]=ze}return{...W,...ae}}function St(w,H){const O={};O[Ee]=H;for(const W of w)if(""===W.path&&cr(W)!==Ee){const ae=new mn([],{});O[cr(W)]=ae}return O}function pn(w,H,O){return(!(w.hasChildren()||H.length>0)||"full"!==O.pathMatch)&&""===O.path}class xn{}class _s{constructor(H,O,W,ae,ke,ze,Ct){this.injector=H,this.configLoader=O,this.rootComponentType=W,this.config=ae,this.urlTree=ke,this.paramsInheritanceStrategy=ze,this.urlSerializer=Ct,this.applyRedirects=new N(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(H){return new e.wOt(4002,`'${H.segmentGroup}'`)}recognize(){const H=nt(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(H).pipe((0,_t.T)(O=>{const W=new Gr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Ee,this.rootComponentType,null,{}),ae=new ms(W,O),ke=new So("",ae),ze=function to(w,H,O=null,W=null){return Ci(Eo(w),H,O,W)}(W,[],this.urlTree.queryParams,this.urlTree.fragment);return ze.queryParams=this.urlTree.queryParams,ke.url=this.urlSerializer.serialize(ze),this.inheritParamsAndData(ke._root,null),{state:ke,tree:ze}}))}match(H){return this.processSegmentGroup(this.injector,this.config,H,Ee).pipe((0,He.W)(W=>{if(W instanceof hr)return this.urlTree=W.urlTree,this.match(W.urlTree.root);throw W instanceof fs?this.noMatchError(W):W}))}inheritParamsAndData(H,O){const W=H.value,ae=Vn(W,O,this.paramsInheritanceStrategy);W.params=Object.freeze(ae.params),W.data=Object.freeze(ae.data),H.children.forEach(ke=>this.inheritParamsAndData(ke,W))}processSegmentGroup(H,O,W,ae){return 0===W.segments.length&&W.hasChildren()?this.processChildren(H,O,W):this.processSegment(H,O,W,W.segments,ae,!0).pipe((0,_t.T)(ke=>ke instanceof ms?[ke]:[]))}processChildren(H,O,W){const ae=[];for(const ke of Object.keys(W.children))"primary"===ke?ae.unshift(ke):ae.push(ke);return(0,b.H)(ae).pipe((0,vt.H)(ke=>{const ze=W.children[ke],Ct=function Wr(w,H){const O=w.filter(W=>cr(W)===H);
1return O.push(...w.filter(W=>cr(W)!==H)),O}(O,ke);return this.processSegmentGroup(H,Ct,ze,ke)}),function at(w,H){return(0,ye.N)(function Ve(w,H,O,W,ae){return(ke,ze)=>{let Ct=O,It=H,an=0;ke.subscribe(new q.H(ze,Zn=>{const hi=an++;It=Ct?w(It,Zn,hi):(Ct=!0,Zn),W&&ze.next(It)},ae&&(()=>{Ct&&ze.next(It),ze.complete()})))}}(w,H,arguments.length>=2,!0))}((ke,ze)=>(ke.push(...ze),ke)),(0,Tt.U)(null),function Tn(w,H){const O=arguments.length>=2;return W=>W.pipe(w?(0,et.p)((ae,ke)=>w(ae,ke,W)):$.D,wt(1),O?(0,Tt.U)(H):(0,jt.v)(()=>new Le.G))}(),(0,Ie.Z)(ke=>{if(null===ke)return Ss(W);const ze=Ji(ke);return function Us(w){w.sort((H,O)=>H.value.outlet===Ee?-1:O.value.outlet===Ee?1:H.value.outlet.localeCompare(O.value.outlet))}(ze),(0,y.of)(ze)}))}processSegment(H,O,W,ae,ke,ze){return(0,b.H)(O).pipe((0,vt.H)(Ct=>this.processSegmentAgainstRoute(Ct._injector??H,O,Ct,W,ae,ke,ze).pipe((0,He.W)(It=>{if(It instanceof fs)return(0,y.of)(null);throw It}))),(0,ot.$)(Ct=>!!Ct),(0,He.W)(Ct=>{if(el(Ct))return function si(w,H,O){return 0===H.length&&!w.children[O]}(W,ae,ke)?(0,y.of)(new xn):Ss(W);throw Ct}))}processSegmentAgainstRoute(H,O,W,ae,ke,ze,Ct){return function Ei(w,H,O,W){return!!(cr(w)===W||W!==Ee&&pn(H,O,w))&&De(H,w,O).matched}(W,ae,ke,ze)?void 0===W.redirectTo?this.matchSegmentAgainstRoute(H,ae,W,ke,ze):this.allowRedirects&&Ct?this.expandSegmentAgainstRouteUsingRedirect(H,ae,O,W,ke,ze):Ss(ae):Ss(ae)}expandSegmentAgainstRouteUsingRedirect(H,O,W,ae,ke,ze){const{matched:Ct,consumedSegments:It,positionalParamSegments:an,remainingSegments:Zn}=De(O,ae,ke);if(!Ct)return Ss(O);ae.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const hi=this.applyRedirects.applyRedirectCommands(It,ae.redirectTo,an);return this.applyRedirects.lineralizeSegments(ae,hi).pipe((0,Ie.Z)(js=>this.processSegment(H,W,O,js.concat(Zn),ze,!1)))}matchSegmentAgainstRoute(H,O,W,ae,ke){const ze=te(O,W,ae,H);return"**"===W.path&&(O.children={}),ze.pipe((0,Gt.n)(Ct=>Ct.matched?this.getChildConfig(H=W._injector??H,W,ae).pipe((0,Gt.n)(({routes:It})=>{const an=W._loadedInjector??H,{consumedSegments:Zn,remainingSegments:hi,parameters:js}=Ct,$a=new Gr(Zn,js,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function dr(w){return w.data||{}}(W),cr(W),W.component??W._loadedComponent??null,W,function Fi(w){return w.resolve||{}}(W)),{segmentGroup:Ua,slicedSegments:zr}=nt(O,Zn,hi,It);if(0===zr.length&&Ua.hasChildren())return this.processChildren(an,It,Ua).pipe((0,_t.T)(Aa=>null===Aa?null:new ms($a,Aa)));if(0===It.length&&0===zr.length)return(0,y.of)(new ms($a,[]));const il=cr(W)===ke;return this.processSegment(an,It,Ua,zr,il?Ee:ke,!0).pipe((0,_t.T)(Aa=>new ms($a,Aa instanceof ms?[Aa]:[])))})):Ss(O)))}getChildConfig(H,O,W){return O.children?(0,y.of)({routes:O.children,injector:H}):O.loadChildren?void 0!==O._loadedRoutes?(0,y.of)({routes:O._loadedRoutes,injector:O._loadedInjector}):function Ra(w,H,O,W){const ae=H.canLoad;if(void 0===ae||0===ae.length)return(0,y.of)(!0);const ke=ae.map(ze=>{const Ct=Ae(ze,w);return Zt(function ls(w){return w&&Lr(w.canLoad)}(Ct)?Ct.canLoad(H,O):(0,e.N4e)(w,()=>Ct(H,O)))});return(0,y.of)(ke).pipe(Xr(),ai())}(H,O,W).pipe((0,Ie.Z)(ae=>ae?this.configLoader.loadChildren(H,O).pipe((0,je.M)(ke=>{O._loadedRoutes=ke.routes,O._loadedInjector=ke.injector})):function we(w){return(0,_e.$)(as(!1,Ni.GuardRejected))}())):(0,y.of)({routes:[],injector:H})}}function Gs(w){const H=w.value.routeConfig;return H&&""===H.path}function Ji(w){const H=[],O=new Set;for(const W of w){if(!Gs(W)){H.push(W);continue}const ae=H.find(ke=>W.value.routeConfig===ke.value.routeConfig);void 0!==ae?(ae.children.push(...W.children),O.add(ae)):H.push(W)}for(const W of O){const ae=Ji(W.children);H.push(new ms(W.value,ae))}return H.filter(W=>!O.has(W))}function mr(w){const H=w.children.map(O=>mr(O)).flat();return[w,...H]}function ra(w){return(0,Gt.n)(H=>{const O=w(H);return O?(0,b.H)(O).pipe((0,_t.T)(()=>H)):(0,y.of)(H)})}let Ho=(()=>{class w{buildTitle(O){let W,ae=O.root;for(;void 0!==ae;)W=this.getResolvedTitleForRoute(ae)??W,ae=ae.children.find(ke=>ke.outlet===Ee);return W}getResolvedTitleForRoute(O){return O.data[qe]}static{this.\u0275fac=function(W){return new(W||w)}}static{this.\u0275prov=e.jDH({token:w,factory:()=>(0,e.WQX)(bn),providedIn:"root"})}}return w})(),bn=(()=>{class w extends Ho{constructor(O){super(),this.title=O}updateTitle(O){const W=this.buildTitle(O);void 0!==W&&this.title.setTitle(W)}static{this.\u0275fac=function(W){return new(W||w)(e.KVO(Ge.hE))}}static{this.\u0275prov=e.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})();const Fn=new e.nKC("",{providedIn:"root",factory:()=>({})}),Rn=new e.nKC("");let F=(()=>{class w{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,e.WQX)(e.Ql9)}loadComponent(O){if(this.componentLoaders.get(O))return this.componentLoaders.get(O);if(O._loadedComponent)return(0,y.of)(O._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(O);const W=Zt(O.loadComponent()).pipe((0,_t.T)(ce),(0,je.M)(ke=>{this.onLoadEndListener&&this.onLoadEndListener(O),O._loadedComponent=ke}),(0,re.j)(()=>{this.componentLoaders.delete(O)})),ae=new X(W,()=>new Ne.B).pipe(Se());return this.componentLoaders.set(O,ae),ae}loadChildren(O,W){if(this.childrenLoaders.get(W))return this.childrenLoaders.get(W);if(W._loadedRoutes)return(0,y.of)({routes:W._loadedRoutes,injector:W._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(W);const ke=function be(w,H,O,W){return Zt(w.loadChildren()).pipe((0,_t.T)(ce),(0,Ie.Z)(ae=>ae instanceof e.Co$||Array.isArray(ae)?(0,y.of)(ae):(0,b.H)(H.compileModuleAsync(ae))),(0,_t.T)(ae=>{W&&W(w);let ke,ze,Ct=!1;return Array.isArray(ae)?(ze=ae,!0):(ke=ae.create(O).injector,ze=ke.get(Rn,[],{optional:!0,self:!0}).flat()),{routes:ze.map(Da),injector:ke}}))}(W,this.compiler,O,this.onLoadEndListener).pipe((0,re.j)(()=>{this.childrenLoaders.delete(W)})),ze=new X(ke,()=>new Ne.B).pipe(Se());return this.childrenLoaders.set(W,ze),ze}static{this.\u0275fac=function(W){return new(W||w)}}static{this.\u0275prov=e.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})();function ce(w){return function J(w){return w&&"object"==typeof w&&"default"in w}(w)?w.default:w}let Xe=(()=>{class w{static{this.\u0275fac=function(W){return new(W||w)}}static{this.\u0275prov=e.jDH({token:w,factory:()=>(0,e.WQX)(Et),providedIn:"root"})}}return w})(),Et=(()=>{class w{shouldProcessUrl(O){return!0}extract(O){return O}merge(O,W){return O}static{this.\u0275fac=function(W){return new(W||w)}}static{this.\u0275prov=e.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})();const Lt=new e.nKC(""),vn=new e.nKC("");function di(w,H,O){const W=w.get(vn),ae=w.get(ft.qQ);return w.get(e.SKi).runOutsideAngular(()=>
1{if(!ae.startViewTransition||W.skipNextTransition)return W.skipNextTransition=!1,new Promise(an=>setTimeout(an));let ke;const ze=new Promise(an=>{ke=an}),Ct=ae.startViewTransition(()=>(ke(),function Ti(w){return new Promise(H=>{(0,e.mal)(H,{injector:w})})}(w))),{onViewTransitionCreated:It}=W;return It&&(0,e.N4e)(w,()=>It({transition:Ct,from:H,to:O})),ze})}let qn=(()=>{class w{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Ne.B,this.transitionAbortSubject=new Ne.B,this.configLoader=(0,e.WQX)(F),this.environmentInjector=(0,e.WQX)(e.uvJ),this.urlSerializer=(0,e.WQX)(Ai),this.rootContexts=(0,e.WQX)(fo),this.location=(0,e.WQX)(ft.aZ),this.inputBindingEnabled=null!==(0,e.WQX)(ur,{optional:!0}),this.titleStrategy=(0,e.WQX)(Ho),this.options=(0,e.WQX)(Fn,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,e.WQX)(Xe),this.createViewTransition=(0,e.WQX)(Lt,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,y.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=ae=>this.events.next(new oi(ae)),this.configLoader.onLoadStartListener=ae=>this.events.next(new Do(ae))}complete(){this.transitions?.complete()}handleNavigationRequest(O){const W=++this.navigationId;this.transitions?.next({...this.transitions.value,...O,id:W})}setupNavigations(O,W,ae){return this.transitions=new S.t({id:0,currentUrlTree:W,currentRawUrl:W,extractedUrl:this.urlHandlingStrategy.extract(W),urlAfterRedirects:this.urlHandlingStrategy.extract(W),rawUrl:W,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Hn,restoredState:null,currentSnapshot:ae.snapshot,targetSnapshot:null,currentRouterState:ae,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,et.p)(ke=>0!==ke.id),(0,_t.T)(ke=>({...ke,extractedUrl:this.urlHandlingStrategy.extract(ke.rawUrl)})),(0,Gt.n)(ke=>{let ze=!1,Ct=!1;return(0,y.of)(ke).pipe((0,Gt.n)(It=>{if(this.navigationId>ke.id)return this.cancelNavigationTransition(ke,"",Ni.SupersededByNewNavigation),Te.w;this.currentTransition=ke,this.currentNavigation={id:It.id,initialUrl:It.rawUrl,extractedUrl:It.extractedUrl,trigger:It.source,extras:It.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const an=!O.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!an&&"reload"!==(It.extras.onSameUrlNavigation??O.onSameUrlNavigation)){const hi="";return this.events.next(new On(It.id,this.urlSerializer.serialize(It.rawUrl),hi,Ds.IgnoredSameUrlNavigation)),It.resolve(null),Te.w}if(this.urlHandlingStrategy.shouldProcessUrl(It.rawUrl))return(0,y.of)(It).pipe((0,Gt.n)(hi=>{const js=this.transitions?.getValue();return this.events.next(new ps(hi.id,this.urlSerializer.serialize(hi.extractedUrl),hi.source,hi.restoredState)),js!==this.transitions?.getValue()?Te.w:Promise.resolve(hi)}),function yr(w,H,O,W,ae,ke){return(0,Ie.Z)(ze=>function zn(w,H,O,W,ae,ke,ze="emptyOnly"){return new _s(w,H,O,W,ae,ze,ke).recognize()}(w,H,O,W,ze.extractedUrl,ae,ke).pipe((0,_t.T)(({state:Ct,tree:It})=>({...ze,targetSnapshot:Ct,urlAfterRedirects:It}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,O.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,je.M)(hi=>{ke.targetSnapshot=hi.targetSnapshot,ke.urlAfterRedirects=hi.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:hi.urlAfterRedirects};const js=new ya(hi.id,this.urlSerializer.serialize(hi.extractedUrl),this.urlSerializer.serialize(hi.urlAfterRedirects),hi.targetSnapshot);this.events.next(js)}));if(an&&this.urlHandlingStrategy.shouldProcessUrl(It.currentRawUrl)){const{id:hi,extractedUrl:js,source:$a,restoredState:Ua,extras:zr}=It,il=new ps(hi,this.urlSerializer.serialize(js),$a,Ua);this.events.next(il);const Aa=Uo(this.rootComponentType).snapshot;return this.currentTransition=ke={...It,targetSnapshot:Aa,urlAfterRedirects:js,extras:{...zr,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=js,(0,y.of)(ke)}{const hi="";return this.events.next(new On(It.id,this.urlSerializer.serialize(It.extractedUrl),hi,Ds.IgnoredByUrlHandlingStrategy)),It.resolve(null),Te.w}}),(0,je.M)(It=>{const an=new Zs(It.id,this.urlSerializer.serialize(It.extractedUrl),this.urlSerializer.serialize(It.urlAfterRedirects),It.targetSnapshot);this.events.next(an)}),(0,_t.T)(It=>(this.currentTransition=ke={...It,guards:fe(It.targetSnapshot,It.currentSnapshot,this.rootContexts)},ke)),function bl(w,H){return(0,Ie.Z)(O=>{const{targetSnapshot:W,currentSnapshot:ae,guards:{canActivateChecks:ke,canDeactivateChecks:ze}}=O;return 0===ze.length&&0===ke.length?(0,y.of)({...O,guardsResult:!0}):function Ma(w,H,O,W){return(0,b.H)(w).pipe((0,Ie.Z)(ae=>function ja(w,H,O,W,ae){const ke=H&&H.routeConfig?H.routeConfig.canDeactivate:null;if(!ke||0===ke.length)return(0,y.of)(!0);const ze=ke.map(Ct=>{const It=Fr(H)??ae,an=Ae(Ct,It);return Zt(function na(w){return w&&Lr(w.canDeactivate)}(an)?an.canDeactivate(w,H,O,W):(0,e.N4e)(It,()=>an(w,H,O,W))).pipe((0,ot.$)())});return(0,y.of)(ze).pipe(Xr())}(ae.component,ae.route,O,H,W)),(0,ot.$)(ae=>!0!==ae,!0))}(ze,W,ae,w).pipe((0,Ie.Z)(Ct=>Ct&&function nr(w){return"boolean"==typeof w}(Ct)?function Hi(w,H,O,W){return(0,b.H)(H).pipe((0,vt.H)(ae=>(0,ie.x)(function sa(w,H){return null!==w&&H&&H(new Yr(w)),(0,y.of)(!0)}(ae.route.parent,W),function Sa(w,H){return null!==w&&H&&H(new ks(w)),(0,y.of)(!0)}(ae.route,W),function tl(w,H,O){const W=H[H.length-1],ke=H.slice(0,H.length-1).reverse().map(ze=>
1function z(w){const H=w.routeConfig?w.routeConfig.canActivateChild:null;return H&&0!==H.length?{node:w,guards:H}:null}(ze)).filter(ze=>null!==ze).map(ze=>(0,L.v)(()=>{const Ct=ze.guards.map(It=>{const an=Fr(ze.node)??O,Zn=Ae(It,an);return Zt(function Ca(w){return w&&Lr(w.canActivateChild)}(Zn)?Zn.canActivateChild(W,w):(0,e.N4e)(an,()=>Zn(W,w))).pipe((0,ot.$)())});return(0,y.of)(Ct).pipe(Xr())}));return(0,y.of)(ke).pipe(Xr())}(w,ae.path,O),function Pr(w,H,O){const W=H.routeConfig?H.routeConfig.canActivate:null;if(!W||0===W.length)return(0,y.of)(!0);const ae=W.map(ke=>(0,L.v)(()=>{const ze=Fr(H)??O,Ct=Ae(ke,ze);return Zt(function gl(w){return w&&Lr(w.canActivate)}(Ct)?Ct.canActivate(H,w):(0,e.N4e)(ze,()=>Ct(H,w))).pipe((0,ot.$)())}));return(0,y.of)(ae).pipe(Xr())}(w,ae.route,O))),(0,ot.$)(ae=>!0!==ae,!0))}(W,ke,w,H):(0,y.of)(Ct)),(0,_t.T)(Ct=>({...O,guardsResult:Ct})))})}(this.environmentInjector,It=>this.events.next(It)),(0,je.M)(It=>{if(ke.guardsResult=It.guardsResult,ar(It.guardsResult))throw Ls(0,It.guardsResult);const an=new To(It.id,this.urlSerializer.serialize(It.extractedUrl),this.urlSerializer.serialize(It.urlAfterRedirects),It.targetSnapshot,!!It.guardsResult);this.events.next(an)}),(0,et.p)(It=>!!It.guardsResult||(this.cancelNavigationTransition(It,"",Ni.GuardRejected),!1)),ra(It=>{if(It.guards.canActivateChecks.length)return(0,y.of)(It).pipe((0,je.M)(an=>{const Zn=new Io(an.id,this.urlSerializer.serialize(an.extractedUrl),this.urlSerializer.serialize(an.urlAfterRedirects),an.targetSnapshot);this.events.next(Zn)}),(0,Gt.n)(an=>{let Zn=!1;return(0,y.of)(an).pipe(function Ao(w,H){return(0,Ie.Z)(O=>{const{targetSnapshot:W,guards:{canActivateChecks:ae}}=O;if(!ae.length)return(0,y.of)(O);const ke=new Set(ae.map(It=>It.route)),ze=new Set;for(const It of ke)if(!ze.has(It))for(const an of mr(It))ze.add(an);let Ct=0;return(0,b.H)(ze).pipe((0,vt.H)(It=>ke.has(It)?function gs(w,H,O,W){const ae=w.routeConfig,ke=w._resolve;return void 0!==ae?.title&&!Ro(ae)&&(ke[qe]=ae.title),function Ns(w,H,O,W){const ae=Wt(w);if(0===ae.length)return(0,y.of)({});const ke={};return(0,b.H)(ae).pipe((0,Ie.Z)(ze=>function co(w,H,O,W){const ae=Fr(H)??W,ke=Ae(w,ae);return Zt(ke.resolve?ke.resolve(H,O):(0,e.N4e)(ae,()=>ke(H,O)))}(w[ze],H,O,W).pipe((0,ot.$)(),(0,je.M)(Ct=>{ke[ze]=Ct}))),wt(1),(0,Ln.u)(ke),(0,He.W)(ze=>el(ze)?Te.w:(0,_e.$)(ze)))}(ke,w,H,W).pipe((0,_t.T)(ze=>(w._resolvedData=ze,w.data=Vn(w,w.parent,O).resolve,null)))}(It,W,w,H):(It.data=Vn(It,It.parent,w).resolve,(0,y.of)(void 0))),(0,je.M)(()=>Ct++),wt(1),(0,Ie.Z)(It=>Ct===ze.size?(0,y.of)(O):Te.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,je.M)({next:()=>Zn=!0,complete:()=>{Zn||this.cancelNavigationTransition(an,"",Ni.NoDataFromResolver)}}))}),(0,je.M)(an=>{const Zn=new Ea(an.id,this.urlSerializer.serialize(an.extractedUrl),this.urlSerializer.serialize(an.urlAfterRedirects),an.targetSnapshot);this.events.next(Zn)}))}),ra(It=>{const an=Zn=>{const hi=[];Zn.routeConfig?.loadComponent&&!Zn.routeConfig._loadedComponent&&hi.push(this.configLoader.loadComponent(Zn.routeConfig).pipe((0,je.M)(js=>{Zn.component=js}),(0,_t.T)(()=>{})));for(const js of Zn.children)hi.push(...an(js));return hi};return oe(an(It.targetSnapshot.root)).pipe((0,Tt.U)(null),(0,Rt.s)(1))}),ra(()=>this.afterPreactivation()),(0,Gt.n)(()=>{const{currentSnapshot:It,targetSnapshot:an}=ke,Zn=this.createViewTransition?.(this.environmentInjector,It.root,an.root);return Zn?(0,b.H)(Zn).pipe((0,_t.T)(()=>ke)):(0,y.of)(ke)}),(0,_t.T)(It=>{const an=function er(w,H,O){const W=ro(w,H._root,O?O._root:void 0);return new lr(W,H)}(O.routeReuseStrategy,It.targetSnapshot,It.currentRouterState);return this.currentTransition=ke={...It,targetRouterState:an},this.currentNavigation.targetRouterState=an,ke}),(0,je.M)(()=>{this.events.next(new Yo)}),((w,H,O,W)=>(0,_t.T)(ae=>(new lo(H,ae.targetRouterState,ae.currentRouterState,O,W).activate(w),ae)))(this.rootContexts,O.routeReuseStrategy,It=>this.events.next(It),this.inputBindingEnabled),(0,Rt.s)(1),(0,je.M)({next:It=>{ze=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Mi(It.i
1d,this.urlSerializer.serialize(It.extractedUrl),this.urlSerializer.serialize(It.urlAfterRedirects))),this.titleStrategy?.updateTitle(It.targetRouterState.snapshot),It.resolve(!0)},complete:()=>{ze=!0}}),(0,mt.Q)(this.transitionAbortSubject.pipe((0,je.M)(It=>{throw It}))),(0,re.j)(()=>{!ze&&!Ct&&this.cancelNavigationTransition(ke,"",Ni.SupersededByNewNavigation),this.currentTransition?.id===ke.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,He.W)(It=>{if(Ct=!0,Hr(It))this.events.next(new Gi(ke.id,this.urlSerializer.serialize(ke.extractedUrl),It.message,It.cancellationCode)),function ea(w){return Hr(w)&&ar(w.url)}(It)?this.events.next(new gr(It.url)):ke.resolve(!1);else{this.events.next(new Xn(ke.id,this.urlSerializer.serialize(ke.extractedUrl),It,ke.targetSnapshot??void 0));try{ke.resolve(O.errorHandler(It))}catch(an){this.options.resolveNavigationPromiseOnError?ke.resolve(!1):ke.reject(an)}}return Te.w}))}))}cancelNavigationTransition(O,W,ae){const ke=new Gi(O.id,this.urlSerializer.serialize(O.extractedUrl),W,ae);this.events.next(ke),O.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static{this.\u0275fac=function(W){return new(W||w)}}static{this.\u0275prov=e.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})();function Bn(w){return w!==Hn}let Wi=(()=>{class w{static{this.\u0275fac=function(W){return new(W||w)}}static{this.\u0275prov=e.jDH({token:w,factory:()=>(0,e.WQX)(bs),providedIn:"root"})}}return w})();class Ii{shouldDetach(H){return!1}store(H,O){}shouldAttach(H){return!1}retrieve(H){return null}shouldReuseRoute(H,O){return H.routeConfig===O.routeConfig}}let bs=(()=>{class w extends Ii{static{this.\u0275fac=(()=>{let O;return function(ae){return(O||(O=e.xGo(w)))(ae||w)}})()}static{this.\u0275prov=e.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})(),wi=(()=>{class w{static{this.\u0275fac=function(W){return new(W||w)}}static{this.\u0275prov=e.jDH({token:w,factory:()=>(0,e.WQX)(Qt),providedIn:"root"})}}return w})(),Qt=(()=>{class w extends wi{constructor(){super(...arguments),this.location=(0,e.WQX)(ft.aZ),this.urlSerializer=(0,e.WQX)(Ai),this.options=(0,e.WQX)(Fn,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,e.WQX)(Xe),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Pn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Uo(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(O){return this.location.subscribe(W=>{"popstate"===W.type&&O(W.url,W.state)})}handleRouterEvent(O,W){if(O instanceof ps)this.stateMemento=this.createStateMemento();else if(O instanceof On)this.rawUrlTree=W.initialUrl;else if(O instanceof ya){if("eager"===this.urlUpdateStrategy&&!W.extras.skipLocationChange){const ae=this.urlHandlingStrategy.merge(W.finalUrl,W.initialUrl);this.setBrowserUrl(ae,W)}}else O instanceof Yo?(this.currentUrlTree=W.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(W.finalUrl,W.initialUrl),this.routerState=W.targetRouterState,"deferred"===this.urlUpdateStrategy&&(W.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,W))):O instanceof Gi&&(O.code===Ni.GuardRejected||O.code===Ni.NoDataFromResolver)?this.restoreHistory(W):O instanceof Xn?this.restoreHistory(W,!0):O instanceof Mi&&(this.lastSuccessfulId=O.id,this.currentPageId=this.browserPageId)}setBrowserUrl(O,W){const ae=this.urlSerializer.serialize(O);if(this.location.isCurrentPathEqualTo(ae)||W.extras.replaceUrl){const ze={...W.extras.state,...this.generateNgRouterState(W.id,this.browserPageId)};this.location.replaceState(ae,"",ze)}
1else{const ke={...W.extras.state,...this.generateNgRouterState(W.id,this.browserPageId+1)};this.location.go(ae,"",ke)}}restoreHistory(O,W=!1){if("computed"===this.canceledNavigationResolution){const ke=this.currentPageId-this.browserPageId;0!==ke?this.location.historyGo(ke):this.currentUrlTree===O.finalUrl&&0===ke&&(this.resetState(O),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(W&&this.resetState(O),this.resetUrlToCurrentUrlTree())}resetState(O){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,O.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(O,W){return"computed"===this.canceledNavigationResolution?{navigationId:O,\u0275routerPageId:W}:{navigationId:O}}static{this.\u0275fac=(()=>{let O;return function(ae){return(O||(O=e.xGo(w)))(ae||w)}})()}static{this.\u0275prov=e.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})();var Mn=function(w){return w[w.COMPLETE=0]="COMPLETE",w[w.FAILED=1]="FAILED",w[w.REDIRECTING=2]="REDIRECTING",w}(Mn||{});function Si(w,H){w.events.pipe((0,et.p)(O=>O instanceof Mi||O instanceof Gi||O instanceof Xn||O instanceof On),(0,_t.T)(O=>O instanceof Mi||O instanceof On?Mn.COMPLETE:O instanceof Gi&&(O.code===Ni.Redirect||O.code===Ni.SupersededByNewNavigation)?Mn.REDIRECTING:Mn.FAILED),(0,et.p)(O=>O!==Mn.REDIRECTING),(0,Rt.s)(1)).subscribe(()=>{H()})}function Vs(w){throw w}const Rs={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Hs={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Js=(()=>{class w{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,e.WQX)(e.H3F),this.stateManager=(0,e.WQX)(wi),this.options=(0,e.WQX)(Fn,{optional:!0})||{},this.pendingTasks=(0,e.WQX)(e.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,e.WQX)(qn),this.urlSerializer=(0,e.WQX)(Ai),this.location=(0,e.WQX)(ft.aZ),this.urlHandlingStrategy=(0,e.WQX)(Xe),this._events=new Ne.B,this.errorHandler=this.options.errorHandler||Vs,this.navigated=!1,this.routeReuseStrategy=(0,e.WQX)(Wi),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,e.WQX)(Rn,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,e.WQX)(ur,{optional:!0}),this.eventsSubscription=new ct.yU,this.isNgZoneEnabled=(0,e.WQX)(e.SKi)instanceof e.SKi&&e.SKi.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:O=>{this.console.warn(O)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const O=this.navigationTransitions.events.subscribe(W=>{try{const ae=this.navigationTransitions.currentTransition,ke=this.navigationTransitions.currentNavigation;if(null!==ae&&null!==ke)if(this.stateManager.handleRouterEvent(W,ke),W instanceof Gi&&W.code!==Ni.Redirect&&W.code!==Ni.SupersededByNewNavigation)this.navigated=!0;else if(W instanceof Mi)this.navigated=!0;else if(W instanceof gr){const ze=this.urlHandlingStrategy.merge(W.url,ae.currentRawUrl),Ct={info:ae.extras.info,skipLocationChange:ae.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Bn(ae.source)};this.scheduleNavigation(ze,Hn,null,Ct,{resolve:ae.resolve,reject:ae.reject,promise:ae.promise})}(function sr(w){return!(w instanceof Yo||w instanceof gr)})(W)&&this._events.next(W)}catch(ae){this.navigationTransitions.transitionAbortSubject.next(ae)}});this.eventsSubscription.add(O)}resetRootComponentType(O){this.routerState.root.component=O,this.navigationTransitions.rootComponentType=O}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Hn,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((O,W)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(O,"popstate",W)},0)})}navigateToSyncWithBrowser(O,W,ae){const ke={replaceUrl:!0},ze=ae?.navigationId?ae:null;if(ae){const It={...ae};delete It.navigationId,delete It.\u0275routerPageId,0!==Object.keys(It).length&&(ke.state=It)}const Ct=this.parseUrl(O);this.scheduleNavigation(Ct,W,ze,ke)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(O){this.config=O.map(Da),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(O,W={}){const{relativeTo:ae,queryParams:ke,fragment:ze,queryParamsHandling:Ct,preserveFragment:It}=W,an=It?this.currentUrlTree.fragment:ze;let hi,Zn=null;switch(Ct){case"merge":Zn={...this.currentUrlTree.queryParams,...ke};break;case"preserve":Zn=this.currentUrlTree.queryParams;break;default:Zn=ke||null}null!==Zn&&(Zn=this.removeEmptyProps(Zn));try{hi=Eo(ae?ae.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof O[0]||!O[0].startsWith("/"))&&(O=[]),hi=this.currentUrlTree.root}return Ci(hi,O,Zn,an??null)}navigateByUrl(O,W={skipLocationChange:!1}){const ae=ar(O)?O:this.parseUrl(O),ke=this.urlHandlingStrategy.merge(ae,this.rawUrlTree);return this.scheduleNavigation(ke,Hn,null,W)}navigate(O,W={skipLocationChange:!1}){return function Ts(w){for(let H=0;H<w.length;H++)if(null==w[H])throw new e.wOt(4008,!1)}(O),this.navigateByUrl(this.createUrlTree(O,W),W)}serializeUrl(O){return this.urlSerializer.serialize(O)}parseUrl(O){try{return this.urlSerializer.parse(O)}catch{return this.urlSerializer.parse("/")}}isActive(O,W){let ae;if(ae=!0===W?{...Rs}:!1===W?{...Hs}:W,ar(O))return Yt(this.currentUrlTree,O,ae);const ke=this.parseUrl(O);return Yt(this.currentUrlTree,ke,ae)}removeEmptyProps(O){return Object.entries(O).reduce((W,[ae,ke])=>(null!=ke&&(W[ae]=ke),W),{})}scheduleNavigation(O,W,ae,ke,ze){if(this.disposed)return Promise.resolve(!1);let Ct,It,an;ze?(Ct=ze.resolve,It=ze.reject,an=ze.promise):an=new Promise((hi,js)=>{Ct=hi,It=js});const Zn=this.pendingTasks.add();return Si(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Zn))}),this.navigationTransitions.handleNavigationRequest({source:W,restoredState:ae,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:O,extras:ke,resolve:Ct,reject:It,promise:an,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),an.catch(hi=>Promise.reject(hi))}static{this.\u0275fac=function(W){return new(W||w)}}static{this.\u0275prov=e.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})(),Sr=(()=>{class w{constructor(O,W,ae,ke,ze,Ct){this.router=O,this.route=W,this.tabIndexAttribute=ae,this.renderer=ke,this.el=ze,this.locationStrategy=Ct,this.href=null,this.commands=null,this.onChanges=new Ne.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const It=ze.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===It||"area"===It,this.isAnchorElement?this.subscription=O.events.subscribe(an=>{an instanceof Mi&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(O){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",O)}ngOnChanges(O){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(O){null!=O?(this.commands=Array.isArray(O)?O:[O],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(O,W,ae,ke,ze){const Ct=this.urlTree;return!!(null===Ct||this.isAnchorElement&&(0!==O||W||ae||ke||ze||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(Ct,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const O=this.urlTree;this.href=null!==O&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(O)):null;const W=null===this.href?null:(0,e.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",W)}applyAttributeValue(O,W){const ae=this.renderer,ke=this.el.nativeElement;null!==W?ae.setAttribute(ke,O,W):ae.removeAttribute(ke,O)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(W){return new(W||w)(e.rXU(Js),e.rXU(Ks),e.kS0("tabindex"),e.rXU(e.sFG),e.rXU(e.aKT),e.rXU(ft.hb))}}static{this.\u0275dir=e.FsC({type:w,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(W,ae){1&W&&e.bIt("click",function(ze){return ae.onClick(ze.button,ze.ctrlKey,ze.shiftKey,ze.altKey,ze.metaKey)}),2&W&&e.BMQ("target",ae.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[e.Mj6.HasDecoratorInputTransform,"preserveFragment","preserveFragment",e.L39],skipLocationChange:[e.Mj6.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",e.L39],replaceUrl:[e.Mj6.HasDecoratorInputTransform,"replaceUrl","replaceUrl",e.L39],routerLink:"routerLink"},standalone:!0,features:[e.GFd,e.OA$]})}}return w})(),Qn=(()=>{class w{get isActive(){return this._isActive}constructor(O,W,ae,ke,ze){this.router=O,this.element=W,this.renderer=ae,this.cdr=ke,this.link=ze,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new e.bkB,this.routerEventsSubscription=O.events.subscribe(Ct=>{Ct instanceof Mi&&this.update()})}ngAfterContentInit(){(0,y.of)(this.links.changes,(0,y.of)(null)).pipe((0,Ke.U)()).subscribe(O=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const O=[...this.links.toArray(),this.link].filter(W=>!!W).map(W=>W.onChanges);this.linkInputChangesSubscription=(0,b.H)(O).pipe((0,Ke.U)()).subscribe(W=>{this._isActive!==this.isLinkActive(this.router)(W)&&this.update()})}set routerLinkActive(O){const W=Array.isArray(O)?O:O.split(" ");this.classes=W.filter(ae=>!!ae)}ngOnChanges(O){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const O=this.hasActiveLinks();
1this.classes.forEach(W=>{O?this.renderer.addClass(this.element.nativeElement,W):this.renderer.removeClass(this.element.nativeElement,W)}),O&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==O&&(this._isActive=O,this.cdr.markForCheck(),this.isActiveChange.emit(O))})}isLinkActive(O){const W=function Ya(w){return!!w.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return ae=>{const ke=ae.urlTree;return!!ke&&O.isActive(ke,W)}}hasActiveLinks(){const O=this.isLinkActive(this.router);return this.link&&O(this.link)||this.links.some(O)}static{this.\u0275fac=function(W){return new(W||w)(e.rXU(Js),e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(e.gRc),e.rXU(Sr,8))}}static{this.\u0275dir=e.FsC({type:w,selectors:[["","routerLinkActive",""]],contentQueries:function(W,ae,ke){if(1&W&&e.wni(ke,Sr,5),2&W){let ze;e.mGM(ze=e.lsd())&&(ae.links=ze)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[e.OA$]})}}return w})();class vl{}let yl=(()=>{class w{constructor(O,W,ae,ke,ze){this.router=O,this.injector=ae,this.preloadingStrategy=ke,this.loader=ze}setUpPreloading(){this.subscription=this.router.events.pipe((0,et.p)(O=>O instanceof Mi),(0,vt.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(O,W){const ae=[];for(const ke of W){ke.providers&&!ke._injector&&(ke._injector=(0,e.Ol2)(ke.providers,O,`Route: ${ke.path}`));const ze=ke._injector??O,Ct=ke._loadedInjector??ze;(ke.loadChildren&&!ke._loadedRoutes&&void 0===ke.canLoad||ke.loadComponent&&!ke._loadedComponent)&&ae.push(this.preloadConfig(ze,ke)),(ke.children||ke._loadedRoutes)&&ae.push(this.processRoutes(Ct,ke.children??ke._loadedRoutes))}return(0,b.H)(ae).pipe((0,Ke.U)())}preloadConfig(O,W){return this.preloadingStrategy.preload(W,()=>{let ae;ae=W.loadChildren&&void 0===W.canLoad?this.loader.loadChildren(O,W):(0,y.of)(null);const ke=ae.pipe((0,Ie.Z)(ze=>null===ze?(0,y.of)(void 0):(W._loadedRoutes=ze.routes,W._loadedInjector=ze.injector,this.processRoutes(ze.injector??O,ze.routes))));if(W.loadComponent&&!W._loadedComponent){const ze=this.loader.loadComponent(W);return(0,b.H)([ke,ze]).pipe((0,Ke.U)())}return ke})}static{this.\u0275fac=function(W){return new(W||w)(e.KVO(Js),e.KVO(e.Ql9),e.KVO(e.uvJ),e.KVO(vl),e.KVO(F))}}static{this.\u0275prov=e.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})();const wa=new e.nKC("");let qo=(()=>{class w{constructor(O,W,ae,ke,ze={}){this.urlSerializer=O,this.transitions=W,this.viewportScroller=ae,this.zone=ke,this.options=ze,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=(0,e.WQX)(e.uvJ),ze.scrollPositionRestoration||="disabled",ze.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(O=>{O instanceof ps?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=O.navigationTrigger,this.restoredId=O.restoredState?O.restoredState.navigationId:0):O instanceof Mi?(this.lastId=O.id,this.scheduleScrollEvent(O,this.urlSerializer.parse(O.urlAfterRedirects).fragment)):O instanceof On&&O.code===Ds.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(O,this.urlSerializer.parse(O.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(O=>{O instanceof Bo&&(O.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(O.position):O.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(O.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(O,W){var ae=this;this.zone.runOutsideAngular((0,l.A)(function*(){yield new Promise(ke
1=>{setTimeout(()=>{ke()}),(0,e.mal)(()=>{ke()},{injector:ae.environmentInjector})}),ae.zone.run(()=>{ae.transitions.events.next(new Bo(O,"popstate"===ae.lastSource?ae.store[ae.restoredId]:null,W))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(W){e.QTQ()}}static{this.\u0275prov=e.jDH({token:w,factory:w.\u0275fac})}}return w})();function Er(w,H){return{\u0275kind:w,\u0275providers:H}}function ka(){const w=(0,e.WQX)(e.zZn);return H=>{const O=w.get(e.o8S);if(H!==O.components[0])return;const W=w.get(Js),ae=w.get(Tr);1===w.get(zo)&&W.initialNavigation(),w.get(vs,null,e.$GK.Optional)?.setUpPreloading(),w.get(wa,null,e.$GK.Optional)?.init(),W.resetRootComponentType(O.componentTypes[0]),ae.closed||(ae.next(),ae.complete(),ae.unsubscribe())}}const Tr=new e.nKC("",{factory:()=>new Ne.B}),zo=new e.nKC("",{providedIn:"root",factory:()=>1}),vs=new e.nKC("");function ci(w){return Er(0,[{provide:vs,useExisting:yl},{provide:vl,useExisting:w}])}function Tl(w){return Er(9,[{provide:Lt,useValue:di},{provide:vn,useValue:{skipNextTransition:!!w?.skipInitialTransition,...w}}])}const Zl=new e.nKC("ROUTER_FORROOT_GUARD"),Fl=[ft.aZ,{provide:Ai,useClass:Yi},Js,fo,{provide:Ks,useFactory:function Jl(w){return w.routerState.root},deps:[Js]},F,[]];let Ko=(()=>{class w{constructor(O){}static forRoot(O,W){return{ngModule:w,providers:[Fl,[],{provide:Rn,multi:!0,useValue:O},{provide:Zl,useFactory:tc,deps:[[Js,new e.Xx1,new e.kdw]]},{provide:Fn,useValue:W||{}},W?.useHash?{provide:ft.hb,useClass:ft.fw}:{provide:ft.hb,useClass:ft.Sm},{provide:wa,useFactory:()=>{const w=(0,e.WQX)(ft.Xr),H=(0,e.WQX)(e.SKi),O=(0,e.WQX)(Fn),W=(0,e.WQX)(qn),ae=(0,e.WQX)(Ai);return O.scrollOffset&&w.setOffset(O.scrollOffset),new qo(ae,W,w,H,O)}},W?.preloadingStrategy?ci(W.preloadingStrategy).\u0275providers:[],W?.initialNavigation?en(W):[],W?.bindToComponentInputs?Er(8,[Ia,{provide:ur,useExisting:Ia}]).\u0275providers:[],W?.enableViewTransitions?Tl().\u0275providers:[],[{provide:Il,useFactory:ka},{provide:e.iLQ,multi:!0,useExisting:Il}]]}}static forChild(O){return{ngModule:w,providers:[{provide:Rn,multi:!0,useValue:O}]}}static{this.\u0275fac=function(W){return new(W||w)(e.KVO(Zl,8))}}static{this.\u0275mod=e.$C({type:w})}static{this.\u0275inj=e.G2t({})}}return w})();function tc(w){return"guarded"}function en(w){return["disabled"===w.initialNavigation?Er(3,[{provide:e.hnV,multi:!0,useFactory:()=>{const H=(0,e.WQX)(Js);return()=>{H.setUpLocationChangeListener()}}},{provide:zo,useValue:2}]).\u0275providers:[],"enabledBlocking"===w.initialNavigation?Er(2,[{provide:zo,useValue:0},{provide:e.hnV,multi:!0,deps:[e.zZn],useFactory:H=>{const O=H.get(ft.hj,Promise.resolve());return()=>O.then(()=>new Promise(W=>{const ae=H.get(Js),ke=H.get(Tr);Si(ae,()=>{W(!0)}),H.get(qn).afterPreactivation=()=>(W(!0),ke.closed?(0,y.of)(void 0):ke),ae.initialNavigation()}))}}]).\u0275providers:[]]}const Il=new e.nKC("")},6888:(We,Q,I)=>{"use strict";I.d(Q,{Lw:()=>$c,iF:()=>xo,$G:()=>Bn,HC:()=>li,gj:()=>Ps,dn:()=>Ll,tN:()=>sl,I5:()=>Il,G7:()=>Oo,IQ:()=>Sd,cw:()=>ol,Bq:()=>ah,XZ:()=>ac,UN:()=>g1,X9:()=>jl,sy:()=>lc,Gx:()=>Ad,Ri:()=>ch,WA:()=>Bl,s5:()=>af,c9:()=>Ul,md:()=>l1,n8:()=>fh});var l=I(4438),e=I(1985),m=I(6977);function b(g){g||((0,l.Af3)(b),g=(0,l.WQX)(l.abz));const A=new e.c(f=>g.onDestroy(f.next.bind(f)));return f=>f.pipe((0,m.Q)(A))}var B=I(983),G=I(7673),Y=I(1413),q=I(3726),ee=I(1584),oe=I(8750);const{isArray:se}=Array;function xe(g){return 1===g.length&&se(g[0])?g[0]:g}var Le=I(4360);function ie(...g){return 1===(g=xe(g)).length?(0,oe.Tg)(g[0]):new e.c(function L(g){return A=>{let f=[];for(let T=0;f&&!A.closed&&T<g.length;T++)f.push((0,oe.Tg)(g[T]).subscribe(new Le.H(A,k=>{if(f){for(let le=0;le<f.length;le++)le!==T&&f[le].unsubscribe();f=null}A.next(k)})))}}(g))}var K=I(7786),_e=I(9326);function Te(...g){const A=(0,_e.ms)(g),f=xe(g);return f.length?new e.c(T=>{let k=f.map(()=>[]),le=f.map(()=>!1);T.add(()=>{k=le=null});for(let Re=0;!T.closed&&Re<f.length;Re++)(0,oe.Tg)(f[Re]).subscribe(new Le.H(T,lt=>{if(k[Re].push(lt),k.every(yt=>yt.length)){const yt=k.map(xt=>xt.shift());T.next(A?A(...yt):yt),k.some((xt,Ut)=>!xt.length&&le[Ut])&&T.complete()}},()=>{le[Re]=!0,!k[Re].length&&T.complete()}
1));return()=>{k=le=null}}):B.w}var ct=I(8793),Se=I(5964),X=I(6697),Ne=I(8141),ft=I(6354),_t=I(9974),Gt=I(3669),Rt=I(5343);function dt(...g){const A=(0,_e.ms)(g);return(0,_t.N)((f,T)=>{const k=g.length,le=new Array(k);let Re=g.map(()=>!1),lt=!1;for(let yt=0;yt<k;yt++)(0,oe.Tg)(g[yt]).subscribe(new Le.H(T,xt=>{le[yt]=xt,!lt&&!Re[yt]&&(Re[yt]=!0,(lt=Re.every(Gt.D))&&(Re=null))},Rt.l));f.subscribe(new Le.H(T,yt=>{if(lt){const xt=[yt,...le];T.next(A?A(...xt):xt)}}))})}var et=I(3236),ot=I(3703),vt=I(1397);function je(g,A){return A?f=>(0,ct.x)(A.pipe((0,X.s)(1),function Ie(){return(0,_t.N)((g,A)=>{g.subscribe(new Le.H(A,Rt.l))})}()),f.pipe(je(g))):(0,vt.Z)((f,T)=>g(f,T).pipe((0,X.s)(1),(0,ot.u)(f)))}var Ve=I(5558),jt=(I(9172),I(3294),I(5245),I(177)),Tn=I(1798),Ln={left:"right",right:"left",bottom:"top",top:"bottom"};function re(g){return g.replace(/left|right|bottom|top/g,function(A){return Ln[A]})}function mt(g){return g.split("-")[0]}var Ke={start:"end",end:"start"};function Ge(g){return g.replace(/start|end/g,function(A){return Ke[A]})}var Ee="top",qe="bottom",bt="right",Je="left",pt="auto",Ft=[Ee,qe,bt,Je],qt="start",Wt="end",Sn="viewport",Zt="popper",fi=Ft.reduce(function(g,A){return g.concat([A+"-"+qt,A+"-"+Wt])},[]),Yt=[].concat(Ft,[pt]).reduce(function(g,A){return g.concat([A,A+"-"+qt,A+"-"+Wt])},[]),ti=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function _n(g){if(null==g)return window;if("[object Window]"!==g.toString()){var A=g.ownerDocument;return A&&A.defaultView||window}return g}function Bi(g){return g instanceof _n(g).Element||g instanceof Element}function Ai(g){return g instanceof _n(g).HTMLElement||g instanceof HTMLElement}function Yi(g){return!(typeof ShadowRoot>"u")&&(g instanceof _n(g).ShadowRoot||g instanceof ShadowRoot)}function Me(g){return((Bi(g)?g.ownerDocument:g.document)||window.document).documentElement}var Fe=Math.max,C=Math.min,U=Math.round;function he(){var g=navigator.userAgentData;return null!=g&&g.brands?g.brands.map(function(A){return A.brand+"/"+A.version}).join(" "):navigator.userAgent}function Ue(){return!/^((?!chrome|android).)*safari/i.test(he())}function ht(g,A,f){void 0===A&&(A=!1),void 0===f&&(f=!1);var T=g.getBoundingClientRect(),k=1,le=1;A&&Ai(g)&&(k=g.offsetWidth>0&&U(T.width)/g.offsetWidth||1,le=g.offsetHeight>0&&U(T.height)/g.offsetHeight||1);var lt=(Bi(g)?_n(g):window).visualViewport,yt=!Ue()&&f,xt=(T.left+(yt&&lt?lt.offsetLeft:0))/k,Ut=(T.top+(yt&&lt?lt.offsetTop:0))/le,hn=T.width/k,ln=T.height/le;return{width:hn,height:ln,top:Ut,right:xt+hn,bottom:Ut+ln,left:xt,x:xt,y:Ut}}function $t(g){var A=_n(g);return{scrollLeft:A.pageXOffset,scrollTop:A.pageYOffset}}function un(g){return ht(Me(g)).left+$t(g).scrollLeft}function jn(g){return _n(g).getComputedStyle(g)}function Ye(g){return g?(g.nodeName||"").toLowerCase():null}function Vt(g){return"html"===Ye(g)?g:g.assignedSlot||g.parentNode||(Yi(g)?g.host:null)||Me(g)}function Xt(g){var A=jn(g);return/auto|scroll|overlay|hidden/.test(A.overflow+A.overflowY+A.overflowX)}function Nn(g){return["html","body","#document"].indexOf(Ye(g))>=0?g.ownerDocument.body:Ai(g)&&Xt(g)?g:Nn(Vt(g))}function zt(g,A){var f;void 0===A&&(A=[]);var T=Nn(g),k=T===(null==(f=g.ownerDocument)?void 0:f.body),le=_n(T),Re=k?[le].concat(le.visualViewport||[],Xt(T)?T:[]):T,lt=A.concat(Re);return k?lt:lt.concat(zt(Vt(Re)))}function rn(g){return["table","td","th"].indexOf(Ye(g))>=0}function ni(g){return Ai(g)&&"fixed"!==jn(g).position?g.offsetParent:null}function on(g){for(var A=_n(g),f=ni(g);f&&rn(f)&&"static"===jn(f).position;)f=ni(f);return f&&("html"===Ye(f)||"body"===Ye(f)&&"static"===jn(f).position)?A:f||function ss(g){var A=/firefox/i.test(he());if(/Trident/i.test(he())&&Ai(g)&&"fixed"===jn(g).position)return null;var k=Vt(g);for(Yi(k)&&(k=k.host);Ai(k)&&["html","body"].indexOf(Ye(k))<0;){var le=jn(k);if("none"!==le.transform||"none"!==le.perspective||"paint"===le.contain||-1!==["transform","perspective"].indexOf(le.willChange)||A&&"filter"===le.willChange||A&&le.filter&&"none"!==le.filter)return k;k=k.parentNode}return null}(g)||A}function ge(g,A){var f=A.getRootNode&&A.getRootNode();if(g.contains(A))return!0;
1if(f&&Yi(f)){var T=A;do{if(T&&g.isSameNode(T))return!0;T=T.parentNode||T.host}while(T)}return!1}function $n(g){return Object.assign({},g,{left:g.x,top:g.y,right:g.x+g.width,bottom:g.y+g.height})}function ar(g,A,f){return A===Sn?$n(function me(g,A){var f=_n(g),T=Me(g),k=f.visualViewport,le=T.clientWidth,Re=T.clientHeight,lt=0,yt=0;if(k){le=k.width,Re=k.height;var xt=Ue();(xt||!xt&&"fixed"===A)&&(lt=k.offsetLeft,yt=k.offsetTop)}return{width:le,height:Re,x:lt+un(g),y:yt}}(g,f)):Bi(A)?function Dr(g,A){var f=ht(g,!1,"fixed"===A);return f.top=f.top+g.clientTop,f.left=f.left+g.clientLeft,f.bottom=f.top+g.clientHeight,f.right=f.left+g.clientWidth,f.width=g.clientWidth,f.height=g.clientHeight,f.x=f.left,f.y=f.top,f}(A,f):$n(function pe(g){var A,f=Me(g),T=$t(g),k=null==(A=g.ownerDocument)?void 0:A.body,le=Fe(f.scrollWidth,f.clientWidth,k?k.scrollWidth:0,k?k.clientWidth:0),Re=Fe(f.scrollHeight,f.clientHeight,k?k.scrollHeight:0,k?k.clientHeight:0),lt=-T.scrollLeft+un(g),yt=-T.scrollTop;return"rtl"===jn(k||f).direction&&(lt+=Fe(f.clientWidth,k?k.clientWidth:0)-le),{width:le,height:Re,x:lt,y:yt}}(Me(g)))}function Ci(g){return g.split("-")[1]}function Fs(g){return["top","bottom"].indexOf(g)>=0?"x":"y"}function Cr(g){var yt,A=g.reference,f=g.element,T=g.placement,k=T?mt(T):null,le=T?Ci(T):null,Re=A.x+A.width/2-f.width/2,lt=A.y+A.height/2-f.height/2;switch(k){case Ee:yt={x:Re,y:A.y-f.height};break;case qe:yt={x:Re,y:A.y+A.height};break;case bt:yt={x:A.x+A.width,y:lt};break;case Je:yt={x:A.x-f.width,y:lt};break;default:yt={x:A.x,y:A.y}}var xt=k?Fs(k):null;if(null!=xt){var Ut="y"===xt?"height":"width";switch(le){case qt:yt[xt]=yt[xt]-(A[Ut]/2-f[Ut]/2);break;case Wt:yt[xt]=yt[xt]+(A[Ut]/2-f[Ut]/2)}}return yt}function Qe(g){return Object.assign({},{top:0,right:0,bottom:0,left:0},g)}function tt(g,A){return A.reduce(function(f,T){return f[T]=g,f},{})}function Nt(g,A){void 0===A&&(A={});var T=A.placement,k=void 0===T?g.placement:T,le=A.strategy,Re=void 0===le?g.strategy:le,lt=A.boundary,yt=void 0===lt?"clippingParents":lt,xt=A.rootBoundary,Ut=void 0===xt?Sn:xt,hn=A.elementContext,ln=void 0===hn?Zt:hn,yn=A.altBoundary,Ri=void 0!==yn&&yn,ui=A.padding,ki=void 0===ui?0:ui,Zi=Qe("number"!=typeof ki?ki:tt(ki,Ft)),or=g.rects.popper,es=g.elements[Ri?ln===Zt?"reference":Zt:ln],Ui=function Eo(g,A,f,T){var k="clippingParents"===A?function to(g){var A=zt(Vt(g)),T=["absolute","fixed"].indexOf(jn(g).position)>=0&&Ai(g)?on(g):g;return Bi(T)?A.filter(function(k){return Bi(k)&&ge(k,T)&&"body"!==Ye(k)}):[]}(g):[].concat(A),le=[].concat(k,[f]),lt=le.reduce(function(yt,xt){var Ut=ar(g,xt,T);return yt.top=Fe(Ut.top,yt.top),yt.right=C(Ut.right,yt.right),yt.bottom=C(Ut.bottom,yt.bottom),yt.left=Fe(Ut.left,yt.left),yt},ar(g,le[0],T));return lt.width=lt.right-lt.left,lt.height=lt.bottom-lt.top,lt.x=lt.left,lt.y=lt.top,lt}(Bi(es)?es:es.contextElement||Me(g.elements.popper),yt,Ut,Re),Xi=ht(g.elements.reference),qs=Cr({reference:Xi,element:or,strategy:"absolute",placement:k}),zi=$n(Object.assign({},or,qs)),wr=ln===Zt?zi:Xi,jr={top:Ui.top-wr.top+Zi.top,bottom:wr.bottom-Ui.bottom+Zi.bottom,left:Ui.left-wr.left+Zi.left,right:wr.right-Ui.right+Zi.right},fr=g.modifiersData.offset;if(ln===Zt&&fr){var pa=fr[k];Object.keys(jr).forEach(function(Jo){var mc=[bt,qe].indexOf(Jo)>=0?1:-1,fc=[Ee,qe].indexOf(Jo)>=0?"y":"x";jr[Jo]+=pa[fc]*mc})}return jr}const Wn={name:"flip",enabled:!0,phase:"main",fn:function sn(g){var A=g.state,f=g.options,T=g.name;if(!A.modifiersData[T]._skip){for(var k=f.mainAxis,le=void 0===k||k,Re=f.altAxis,lt=void 0===Re||Re,yt=f.fallbackPlacements,xt=f.padding,Ut=f.boun
1dary,hn=f.rootBoundary,ln=f.altBoundary,yn=f.flipVariations,Ri=void 0===yn||yn,ui=f.allowedAutoPlacements,ki=A.options.placement,Zi=mt(ki),or=yt||(Zi!==ki&&Ri?function nn(g){if(mt(g)===pt)return[];var A=re(g);return[Ge(g),A,Ge(A)]}(ki):[re(ki)]),es=[ki].concat(or).reduce(function(Xa,cl){return Xa.concat(mt(cl)===pt?function Mt(g,A){void 0===A&&(A={});var k=A.boundary,le=A.rootBoundary,Re=A.padding,lt=A.flipVariations,yt=A.allowedAutoPlacements,xt=void 0===yt?Yt:yt,Ut=Ci(A.placement),hn=Ut?lt?fi:fi.filter(function(Ri){return Ci(Ri)===Ut}):Ft,ln=hn.filter(function(Ri){return xt.indexOf(Ri)>=0});0===ln.length&&(ln=hn);var yn=ln.reduce(function(Ri,ui){return Ri[ui]=Nt(g,{placement:ui,boundary:k,rootBoundary:le,padding:Re})[mt(ui)],Ri},{});return Object.keys(yn).sort(function(Ri,ui){return yn[Ri]-yn[ui]})}(A,{placement:cl,boundary:Ut,rootBoundary:hn,padding:xt,flipVariations:Ri,allowedAutoPlacements:ui}):cl)},[]),Ui=A.rects.reference,Xi=A.rects.popper,qs=new Map,zi=!0,wr=es[0],jr=0;jr<es.length;jr++){var fr=es[jr],pa=mt(fr),Jo=Ci(fr)===qt,mc=[Ee,qe].indexOf(pa)>=0,fc=mc?"width":"height",ha=Nt(A,{placement:fr,boundary:Ut,rootBoundary:hn,altBoundary:ln,padding:xt}),qa=mc?Jo?bt:Je:Jo?qe:Ee;Ui[fc]>Xi[fc]&&(qa=re(qa));var gh=re(qa),Vc=[];if(le&&Vc.push(ha[pa]<=0),lt&&Vc.push(ha[qa]<=0,ha[gh]<=0),Vc.every(function(Xa){return Xa})){wr=fr,zi=!1;break}qs.set(fr,Vc)}if(zi)for(var bh=function(cl){var bc=es.find(function(Gl){var dl=qs.get(Gl);if(dl)return dl.slice(0,cl).every(function(Vl){return Vl})});if(bc)return wr=bc,"break"},gc=Ri?3:1;gc>0&&"break"!==bh(gc);gc--);A.placement!==wr&&(A.modifiersData[T]._skip=!0,A.placement=wr,A.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function mi(g,A,f){return Fe(g,C(A,f))}function bi(g){var A=ht(g),f=g.offsetWidth,T=g.offsetHeight;return Math.abs(A.width-f)<=1&&(f=A.width),Math.abs(A.height-T)<=1&&(T=A.height),{x:g.offsetLeft,y:g.offsetTop,width:f,height:T}}const zs={name:"preventOverflow",enabled:!0,phase:"main",fn:function rs(g){var A=g.state,f=g.options,T=g.name,k=f.mainAxis,le=void 0===k||k,Re=f.altAxis,lt=void 0!==Re&&Re,ln=f.tether,yn=void 0===ln||ln,Ri=f.tetherOffset,ui=void 0===Ri?0:Ri,ki=Nt(A,{boundary:f.boundary,rootBoundary:f.rootBoundary,padding:f.padding,altBoundary:f.altBoundary}),Zi=mt(A.placement),Pi=Ci(A.placement),or=!Pi,es=Fs(Zi),Ui=function Cn(g){return"x"===g?"y":"x"}(es),Xi=A.modifiersData.popperOffsets,qs=A.rects.reference,zi=A.rects.popper,wr="function"==typeof ui?ui(Object.assign({},A.rects,{placement:A.placement})):ui,jr="number"==typeof wr?{mainAxis:wr,altAxis:wr}:Object.assign({mainAxis:0,altAxis:0},wr),fr=A.modifiersData.offset?A.modifiersData.offset[A.placement]:null,pa={x:0,y:0};if(Xi){if(le){var Jo,mc="y"===es?Ee:Je,fc="y"===es?qe:bt,ha="y"===es?"height":"width",qa=Xi[es],gh=qa+ki[mc],Vc=qa-ki[fc],_c=yn?-zi[ha]/2:0,bh=Pi===qt?qs[ha]:zi[ha],gc=Pi===qt?-zi[ha]:-qs[ha],Hc=A.elements.arrow,Xa=yn&&Hc?bi(Hc):{width:0,height:0},cl=A.modifiersData["arrow#persistent"]?A.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},bc=cl[mc],Gl=cl[fc],dl=mi(0,qs[ha],Xa[ha]),Vl=or?qs[ha]/2-_c-dl-bc-jr.mainAxis:bh-dl-bc-jr.mainAxis,vh=or?-qs[ha]/2+_c+dl+Gl+jr.mainAxis:gc+dl+Gl+jr.mainAxis,Fd=A.elements.arrow&&on(A.elements.arrow),Gu=Fd?"y"===es?Fd.clientTop||0:Fd.clientLeft||0:0,b1=null!=(Jo=fr?.[es])?Jo:0,Ld=qa+vh-b1,gf=mi(yn?C(gh,qa+Vl-b1-Gu):gh,qa,yn?Fe(Vc,Ld):Vc);Xi[es]=gf,pa[es]=gf-qa}if(lt){var Eh,Sl=Xi[Ui],Wc="y"===Ui?"height":"width",Th=Sl+ki["x"===es?Ee:Je],Pd=Sl-ki["x"===es?qe:bt],ul=-1!==[Ee,Je].indexOf(Zi),jd=null!=(Eh=fr?.[Ui])?Eh:0,vc=ul?Th:Sl-qs[Wc]-zi[Wc]-jd+jr.altAxis,Bd=ul?Sl+qs[Wc]+zi[Wc]-jd-jr.altAxis:Pd,Vu=yn&&ul?function Es(g,A,f){var T=mi(g,A,f);return T>f?f:T}(vc,Sl,Bd):mi(yn?vc:Th,Sl,yn?Bd:Pd);Xi[Ui]=Vu,pa[Ui]=Vu-Sl}A.modifiersData[T]=pa}},requiresIfExists:["offset"]},xi={name:"arrow",enabled:!0,phase:"main",fn:function Hn(g){var A,f=g.state,T=g.name,k=g.options,le=f.elements.arrow,Re=f.modifiersData.popperOffsets,lt=mt(f.placement),yt=Fs(lt),Ut=[Je,bt].indexOf(lt)>=0?"height":"width";if(le&&Re){var hn=function(A,f){return Qe("number"!=typeof(A="function"==typeof A?A(Object.assign({},f.rects,{placement:f.placement})):A)?A:tt(A,Ft))}(k.padding,f),ln=bi(le),yn="y"===yt?Ee:Je,Ri="y"===yt?qe:bt,ui=f.rects.reference[Ut]+f.rects.reference[yt]-Re[yt]-f.rects.popper[Ut],ki=Re[yt]-f.rects.reference[yt],Zi=on(le),Pi=Zi?"y"===yt?Zi.clientHeight||0:Zi.clientWidth||0:0,
1Xi=Pi/2-ln[Ut]/2+(ui/2-ki/2),qs=mi(hn[yn],Xi,Pi-ln[Ut]-hn[Ri]);f.modifiersData[T]=((A={})[yt]=qs,A.centerOffset=qs-Xi,A)}},effect:function gn(g){var A=g.state,T=g.options.element,k=void 0===T?"[data-popper-arrow]":T;null!=k&&("string"==typeof k&&!(k=A.elements.popper.querySelector(k))||ge(A.elements.popper,k)&&(A.elements.arrow=k))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ds(g,A,f){void 0===f&&(f=!1);var T=Ai(A),k=Ai(A)&&function Ni(g){var A=g.getBoundingClientRect(),f=U(A.width)/g.offsetWidth||1,T=U(A.height)/g.offsetHeight||1;return 1!==f||1!==T}(A),le=Me(A),Re=ht(g,k,f),lt={scrollLeft:0,scrollTop:0},yt={x:0,y:0};return(T||!T&&!f)&&(("body"!==Ye(A)||Xt(le))&&(lt=function Mi(g){return g!==_n(g)&&Ai(g)?function ps(g){return{scrollLeft:g.scrollLeft,scrollTop:g.scrollTop}}(g):$t(g)}(A)),Ai(A)?((yt=ht(A,!0)).x+=A.clientLeft,yt.y+=A.clientTop):le&&(yt.x=un(le))),{x:Re.left+lt.scrollLeft-yt.x,y:Re.top+lt.scrollTop-yt.y,width:Re.width,height:Re.height}}function Gi(g){var A=new Map,f=new Set,T=[];function k(le){f.add(le.name),[].concat(le.requires||[],le.requiresIfExists||[]).forEach(function(lt){if(!f.has(lt)){var yt=A.get(lt);yt&&k(yt)}}),T.push(le)}return g.forEach(function(le){A.set(le.name,le)}),g.forEach(function(le){f.has(le.name)||k(le)}),T}function Xn(g){var A;return function(){return A||(A=new Promise(function(f){Promise.resolve().then(function(){A=void 0,f(g())})})),A}}var Io={placement:"bottom",modifiers:[],strategy:"absolute"};function Ea(){for(var g=arguments.length,A=new Array(g),f=0;f<g;f++)A[f]=arguments[f];return!A.some(function(T){return!(T&&"function"==typeof T.getBoundingClientRect)})}function Do(g){void 0===g&&(g={});var f=g.defaultModifiers,T=void 0===f?[]:f,k=g.defaultOptions,le=void 0===k?Io:k;return function(lt,yt,xt){void 0===xt&&(xt=le);var Ut={placement:"bottom",orderedModifiers:[],options:Object.assign({},Io,le),modifiersData:{},elements:{reference:lt,popper:yt},attributes:{},styles:{}},hn=[],ln=!1,yn={state:Ut,setOptions:function(Zi){var Pi="function"==typeof Zi?Zi(Ut.options):Zi;ui(),Ut.options=Object.assign({},le,Ut.options,Pi),Ut.scrollParents={reference:Bi(lt)?zt(lt):lt.contextElement?zt(lt.contextElement):[],popper:zt(yt)};var or=function On(g){var A=Gi(g);return ti.reduce(function(f,T){return f.concat(A.filter(function(k){return k.phase===T}))},[])}(function ya(g){var A=g.reduce(function(f,T){var k=f[T.name];return f[T.name]=k?Object.assign({},k,T,{options:Object.assign({},k.options,T.options),data:Object.assign({},k.data,T.data)}):T,f},{});return Object.keys(A).map(function(f){return A[f]})}([].concat(T,Ut.options.modifiers)));return Ut.orderedModifiers=or.filter(function(fr){return fr.enabled}),function Ri(){Ut.orderedModifiers.forEach(function(ki){var Pi=ki.options,es=ki.effect;if("function"==typeof es){var Ui=es({state:Ut,name:ki.name,instance:yn,options:void 0===Pi?{}:Pi});hn.push(Ui||function(){})}})}(),yn.update()},forceUpdate:function(){if(!ln){var Zi=Ut.elements,Pi=Zi.reference,or=Zi.popper;
1if(Ea(Pi,or)){Ut.rects={reference:Ds(Pi,on(or),"fixed"===Ut.options.strategy),popper:bi(or)},Ut.reset=!1,Ut.placement=Ut.options.placement,Ut.orderedModifiers.forEach(function(fr){return Ut.modifiersData[fr.name]=Object.assign({},fr.data)});for(var Ui=0;Ui<Ut.orderedModifiers.length;Ui++)if(!0!==Ut.reset){var Xi=Ut.orderedModifiers[Ui],qs=Xi.fn,zi=Xi.options;"function"==typeof qs&&(Ut=qs({state:Ut,options:void 0===zi?{}:zi,name:Xi.name,instance:yn})||Ut)}else Ut.reset=!1,Ui=-1}}},update:Xn(function(){return new Promise(function(ki){yn.forceUpdate(),ki(Ut)})}),destroy:function(){ui(),ln=!0}};if(!Ea(lt,yt))return yn;function ui(){hn.forEach(function(ki){return ki()}),hn=[]}return yn.setOptions(xt).then(function(ki){!ln&&xt.onFirstUpdate&&xt.onFirstUpdate(ki)}),yn}}var Yr={passive:!0},Yo={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Co(g){var A,f=g.popper,T=g.popperRect,k=g.placement,le=g.variation,Re=g.offsets,lt=g.position,yt=g.gpuAcceleration,xt=g.adaptive,Ut=g.roundOffsets,hn=g.isFixed,ln=Re.x,yn=void 0===ln?0:ln,Ri=Re.y,ui=void 0===Ri?0:Ri,ki="function"==typeof Ut?Ut({x:yn,y:ui}):{x:yn,y:ui};yn=ki.x,ui=ki.y;var Zi=Re.hasOwnProperty("x"),Pi=Re.hasOwnProperty("y"),or=Je,es=Ee,Ui=window;if(xt){var Xi=on(f),qs="clientHeight",zi="clientWidth";Xi===_n(f)&&"static"!==jn(Xi=Me(f)).position&&"absolute"===lt&&(qs="scrollHeight",zi="scrollWidth"),(k===Ee||(k===Je||k===bt)&&le===Wt)&&(es=qe,ui-=(hn&&Xi===Ui&&Ui.visualViewport?Ui.visualViewport.height:Xi[qs])-T.height,ui*=yt?1:-1),k!==Je&&(k!==Ee&&k!==qe||le!==Wt)||(or=bt,yn-=(hn&&Xi===Ui&&Ui.visualViewport?Ui.visualViewport.width:Xi[zi])-T.width,yn*=yt?1:-1)}var Jo,fr=Object.assign({position:lt},xt&&Yo),pa=!0===Ut?function gr(g){var f=g.y,k=window.devicePixelRatio||1;return{x:U(g.x*k)/k||0,y:U(f*k)/k||0}}({x:yn,y:ui}):{x:yn,y:ui};return yn=pa.x,ui=pa.y,Object.assign({},fr,yt?((Jo={})[es]=Pi?"0":"",Jo[or]=Zi?"0":"",Jo.transform=(Ui.devicePixelRatio||1)<=1?"translate("+yn+"px, "+ui+"px)":"translate3d("+yn+"px, "+ui+"px, 0)",Jo):((A={})[es]=Pi?ui+"px":"",A[or]=Zi?yn+"px":"",A.transform="",A))}var Ur=Do({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function $r(g){var A=g.state,f=g.instance,T=g.options,k=T.scroll,le=void 0===k||k,Re=T.resize,lt=void 0===Re||Re,yt=_n(A.elements.popper),xt=[].concat(A.scrollParents.reference,A.scrollParents.popper);return le&&xt.forEach(function(Ut){Ut.addEventListener("scroll",f.update,Yr)}),lt&&yt.addEventListener("resize",f.update,Yr),function(){le&&xt.forEach(function(Ut){Ut.removeEventListener("scroll",f.update,Yr)}),lt&&yt.removeEventListener("resize",f.update,Yr)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function Ta(g){var A=g.state;A.modifiersData[g.name]=Cr({reference:A.rects.reference,element:A.rects.popper,strategy:"absolute",placement:A.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function Nr(g){var A=g.state,f=g.options,T=f.gpuAcceleration,k=void 0===T||T,le=f.adaptive,Re=void 0===le||le,lt=f.roundOffsets,yt=void 0===lt||lt,Ut={placement:mt(A.placement),variation:Ci(A.placement),popper:A.elements.popper,popperRect:A.rects.popper,gpuAcceleration:k,isFixed:"fixed"===A.options.strategy};null!=A.modifiersData.popperOffsets&&(A.styles.popper=Object.assign({},A.styles.popper,Co(Object.assign({},Ut,{offsets:A.modifiersData.popperOffsets,position:A.options.strategy,adaptive:Re,roundOffsets:yt})))),null!=A.modifiersData.arrow&&(A.styles.arrow=Object.assign({},A.styles.arrow,Co(Object.assign({},Ut,{offsets:A.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:yt})))),A.attributes.popper=Object.assign({},A.attributes.popper,{"data-popper-placement":A.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function no(g){var A=g.state;Object.keys(A.elements).forEach(function(f){var T=A.styles[f]||{},k=A.attributes[f]||{},le=A.elements[f];!Ai(le)||!Ye(le)||(Object.assign(le.style,T),Object.keys(k).forEach(function(Re){var lt=k[Re];!1===lt?le.removeAttribute(Re):le.setAttribute(Re,!0===lt?"":lt)}))})},effect:function Mo(g){var A=g.state,f={popper:{position:A.options.strategy,left
1:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(A.elements.popper.style,f.popper),A.styles=f,A.elements.arrow&&Object.assign(A.elements.arrow.style,f.arrow),function(){Object.keys(A.elements).forEach(function(T){var k=A.elements[T],le=A.attributes[T]||{},lt=Object.keys(A.styles.hasOwnProperty(T)?A.styles[T]:f[T]).reduce(function(yt,xt){return yt[xt]="",yt},{});!Ai(k)||!Ye(k)||(Object.assign(k.style,lt),Object.keys(le).forEach(function(yt){k.removeAttribute(yt)}))})}},requires:["computeStyles"]}]});const os={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function Uo(g){var A=g.state,T=g.name,k=g.options.offset,le=void 0===k?[0,0]:k,Re=Yt.reduce(function(Ut,hn){return Ut[hn]=function lr(g,A,f){var T=mt(g),k=[Je,Ee].indexOf(T)>=0?-1:1,le="function"==typeof f?f(Object.assign({},A,{placement:g})):f,Re=le[0],lt=le[1];return Re=Re||0,lt=(lt||0)*k,[Je,bt].indexOf(T)>=0?{x:lt,y:Re}:{x:Re,y:lt}}(hn,A.rects,le),Ut},{}),lt=Re[A.placement],xt=lt.y;null!=A.modifiersData.popperOffsets&&(A.modifiersData.popperOffsets.x+=lt.x,A.modifiersData.popperOffsets.y+=xt),A.modifiersData[T]=Re}},Ks=["*"],Or=["ngbDatepickerDayView",""],so=["month"],Ro=["year"];function _i(g,A){if(1&g&&(l.j41(0,"option",3),l.EFF(1),l.k0s()),2&g){const f=A.$implicit,T=l.XpG();l.Y8G("value",f),l.BMQ("aria-label",T.i18n.getMonthFullName(f,T.date.year)),l.R7$(),l.JRh(T.i18n.getMonthShortName(f,T.date.year))}}function Mr(g,A){if(1&g&&(l.j41(0,"option",3),l.EFF(1),l.k0s()),2&g){const f=A.$implicit,T=l.XpG();l.Y8G("value",f),l.R7$(),l.JRh(T.i18n.getYearNumerals(f))}}function ur(g,A){if(1&g){const f=l.RV6();l.j41(0,"ngb-datepicker-navigation-select",6),l.bIt("select",function(k){l.eBV(f);const le=l.XpG();return l.Njj(le.select.emit(k))}),l.k0s()}if(2&g){const f=l.XpG();l.Y8G("date",f.date)("disabled",f.disabled)("months",f.selectBoxes.months)("years",f.selectBoxes.years)}}function Ia(g,A){1&g&&l.nrm(0,"div",7)}function er(g,A){1&g&&l.nrm(0,"div",7)}function ro(g,A){if(1&g&&(l.DNE(0,Ia,1,0,"div",7),l.j41(1,"div",8),l.EFF(2),l.k0s(),l.DNE(3,er,1,0,"div",7)),2&g){const f=A.$implicit,T=A.$index,k=l.XpG(2);l.vxM(0,T>0?0:-1),l.R7$(2),l.SpI(" ",k.i18n.getMonthLabel(f.firstDate)," "),l.R7$(),l.vxM(3,T!==k.months.length-1?3:-1)}}function Cs(g,A){if(1&g&&l.Z7z(0,ro,4,3,null,null,l.fX1),2&g){const f=l.XpG();l.Dyx(f.months)}}function As(g,A){if(1&g&&(l.j41(0,"div",1),l.EFF(1),l.k0s()),2&g){const f=l.XpG(2);l.R7$(),l.JRh(f.i18n.getWeekLabel())}}function Vr(g,A){if(1&g&&(l.j41(0,"div",2),l.EFF(1),l.k0s()),2&g){const f=A.$implicit;l.R7$(),l.JRh(f)}}function Ls(g,A){if(1&g&&(l.j41(0,"div",0),l.DNE(1,As,2,1,"div",1),l.Z7z(2,Vr,2,1,"div",2,l.fX1),l.k0s()),2&g){const f=l.XpG();l.R7$(),l.vxM(1,f.datepicker.showWeekNumbers?1:-1),l.R7$(),l.Dyx(f.viewModel.weekdays)}}function as(g,A){if(1&g&&(l.j41(0,"div",4),l.EFF(1),l.k0s()),2&g){const f=l.XpG(2).$implicit,T=l.XpG();l.R7$(),l.JRh(T.i18n.getWeekNumerals(f.number))}}function ea(g,A){}function Hr(g,A){if(1&g&&l.DNE(0,ea,0,0,"ng-template",7),2&g){const f=l.XpG().$implicit,T=l.XpG(3);l.Y8G("ngTemplateOutlet",T.datepicker.dayTemplate)("ngTemplateOutletContext",f.context)}}function Go(g,A){if(1&g){const f=l.RV6();l.j41(0,"div",6),l.bIt("click",function(k){const le=l.eBV(f).$implicit;return l.XpG(3).doSelect(le),l.Njj(k.preventDefault())}),l.DNE(1,Hr,1,2,null,7),l.k0s()}if(2&g){const f=A.$implicit;l.AVh("disabled",f.context.disabled)("hidden",f.hidden)("ngb-dp-today",f.context.today),l.Y8G("tabindex",f.tabindex),l.BMQ("aria-label",f.ariaLabel),l.R7$(),l.vxM(1,f.hidden?-1:1)}}function Vo(g,A){if(1&g&&(l.j41(0,"div",3),l.DNE(1,as,2,1,"div",4),l.Z7z(2,Go,2,9,"div",5,l.fX1),l.k0s()),2&g){const f=l.XpG().$implicit,T=l.XpG();l.R7$(),l.vxM(1,T.datepicker.showWeekNumbers?1:-1),l.R7$(),l.Dyx(f.days)}}function tr(g,A){1&g&&l.DNE(0,Vo,4,1,"div",3),2&g&&l.vxM(0,A.$implicit.collapsed?-1:0)}const br=["defaultDayTemplate"],vr=["content"],wo=g=>({$implicit:g});function ta(g,A){if(1&g&&l.nrm(0,"div",8),2&g){const T=A.currentMonth,k=A.selected,le=A.disabled,Re=A.focused;l.Y8G("date",A.date)("currentMonth",T)("selected",k)("disabled",le)("focused",Re)}}function pr(g,A){if(1&g&&(l.j41(0,"div",10),l.EFF(1),l.k0s()),2&g){const f=l.XpG().$implicit,T=l.XpG(2);l.R7$(),l.SpI(" ",T.i18n.getMonthLabel(f.firstDate)," ")}}function ii(g,A){if(1&g&&(l.j41(0,"div",9),l.DNE(1,pr,2,1,"div",10),l.nrm(2,"ngb-datepicker-month",11),l.k0s()),2&g){const f=A.$implicit,T=l.XpG(2);l.R7$(),l.vxM(1,"none"===T.navigation||T.displayMonths>1&&"select"===T.navigation?1:-1),l.R7$(),l.Y8G("month",f.firstDate)}}function oo(g,A){if(1&g&&l.Z7z(0,ii,3,2,"div",9,l.fX1),2&g){const f=l.XpG();l.Dyx(f.model.months)}}function Da(g,A){if(1&g){const f=l.RV6();l.j41(0,"ngb-datepicker-navigation",12),l.bIt("navigate",function(k){l.eBV(f);const le=l.XpG();return l.Njj(le.onNavigateEvent(k))})("select",function(k){l.eBV(f);const le=l.XpG();return l.Njj(le.onNavigateDateSelect(k))}),l.k0s()}if(2&g){const f=l.XpG();l.Y8G("date",f.model.firstDate)("months",f.model.months)("disabled",f.model.disabled)("showSelect","select"===f.model.navigation)("prevDisabled",f.model.prevDisabled)("nextDisabled",f.model.nextDisabled)("selectBoxes",f.model.selectBoxes)}}function cr(g,A){}function Wr(g,A){}const Fr=["dialog"],de=(g,A,f)=>({$implicit:g,pages:A,disabled:f}),fe=g=>({disabled:!0,currentPage:g}),z=(g,A,f)=>({disabled:g,$implicit:A,currentPage:f}),Ae=(g,A)=>({disabled:g,currentPage:A}),Ze=g=>({disabled:g});function In(g,A){1&g&&(l.j41(0,"span",13),l.pXf(1,7),l.k0s())}function Jn(g,A){1&g&&(l.j41(0,"span",13),l.pXf(1,8),l.k0s())}function Ms(g,A){1&g&&(l.j41(0,"span",13),l.pXf(1,9),l.k0s())}function Lr(g,A){1&g&&(l.j41(0,"span",13),l.pXf(1,10),l.k0s())}function nr(g,A){1&g&&l.EFF(0,"...")}function ls(g,A){1&g&&l.EFF(0),2&g&&l.JRh(A.$implicit)}function gl(g,A){}function Ca(g,A){if(1&g&&(l.j41(0,"a",16),l.DNE(1,gl,0,0,"ng-template",12),l.k0s()),2&g){const f=l.XpG(2).$implicit,T=l.XpG(),k=l.sdS(9);l.R7$(),l.Y8G("ngTemplateOutlet",(null==T.tplEllipsis?null:T.tplEllipsis.templateRef)||k)("ngTemplateOutletContext",l.eq3(2,fe,f))}}function na(g,A){}function Vi(g,A){if(1&g){const f=l.RV6();l.j41(0,"a",17),l.bIt("click",function(k){l.eBV(f);const le=l.XpG().$implicit;return l.XpG(2).selectPage(le),l.Njj(k.preventDefault())}),l.DNE(1,na,0,0,"ng-template",12),l.k0s()}if(2&g){const f=l.XpG().$implicit,T=l.XpG(),k=T.$implicit,le=T.disabled,Re=l.XpG(),lt=l.sdS(11);l.BMQ("tabindex",le?"-1":null)("aria-disabled",le?"true":null),l.R7$(),l.Y8G("ngTemplateOutlet",(null==Re.tplNumber?null:Re.tplNumber.templateRef)||lt)("ngTemplateOutletContext",l.sMw(4,z,le,f,k))}}function el(g,A){if(1&g&&(l.j41(0,"li",15),l.DNE(1,Ca,2,4,"a",16)(2,Vi,2,8),l.k0s()),2&g){const f=A.$implicit,T=l.XpG(),k=T.$implicit,le=T.disabled,Re=l.XpG();l.AVh("active",f===k)("disabled",Re.isEllipsis(f)||le),l.BMQ("aria-current",f===k?"page":null),l.R7$(),l.vxM(1,Re.isEllipsis(f)?1:2)}}function ia(g,A){1&g&&l.Z7z(0,el,3,6,"li",14,l.fX1),2&g&&l.Dyx(A.pages)}function Xr(g,A){}function bl(g,A){if(1&g){const f=l.RV6();l.j41(0,"li",15)(1,"a",18),l.bIt("click",function(k){return l.eBV(f),l.XpG().selectPage(1),l.Njj(k.preventDefault())}),l.DNE(2,Xr,0,0,"ng-template",12),l.k0s()()}if(2&g){const f=l.XpG(),T=l.sdS(1);l.AVh("disabled",f.previousDisabled()),l.R7$(),l.BMQ("tabindex",f.previousDisabled()?"-1":null)("aria-disabled",f.previousDisabled()?"true":null),l.R7$(),l.Y8G("ngTemplateOutlet",(null==f.tplFirst?null:f.tplFirst.templateRef)||T)("ngTemplateOutletContext",l.l_i(6,Ae,f.previousDisabled(),f.page))}}function Ma(g,A){}function Hi(g,A){if(1&g){const f=l.RV6();l.j41(0,"li",15)(1,"a",19),l.bIt("click",function(k){l.eBV(f);const le=l.XpG();return le.selectPage(le.page-1),l.Njj(k.preventDefault())}),l.DNE(2,Ma,0,0,"ng-template",12),l.k0s()()}if(2&g){const f=l.XpG(),T=l.sdS(3);l.AVh("disabled",f.previousDisabled()),l.R7$(),l.BMQ("tabindex",f.previousDisabled()?"-1":null)("aria-disabled",f.previousDisabled()?"true":null),l.R7$(),l.Y8G("ngTemplateOutlet",(null==f.tplPrevious?null:f.tplPrevious.templateRef)||T)("ngTemplateOutletContext",l.eq3(6,Ze,f.previousDisabled()))}}function Sa(g,A){}function sa(g,A){}function Pr(g,A){if(1&g){const f=l.RV6();l.j41(0,"li",15)(1,"a",20),l.bIt("click",function(k){l.eBV(f);const le=l.XpG();return le.selectPage(le.page+1),l.Njj(k.preventDefault())}),l.DNE(2,sa,0,0,"ng-template",12),l.k0s()()}if(2&g){const f=l.XpG(),T=l.sdS(5);l.AVh("disabled",f.nextDisabled()),l.R7$(),l.BMQ("tabindex",f.nextDisabled()?"-1":null)("aria-disabled",f.nextDisabled()?"true":null),l.R7$(),l.Y8G("ngTemplateOutlet",(null==f.tplNext?null:f.tplNext.templateRef)||T)("ngTemplateOutletContext",l.l_i(6,Ae,f.nextDisabled(),f.page))}}function tl(g,A){}function ja(g,A){if(1&g){const f=l.RV6();l.j41(0,"li",15)(1,"a",21),l.bIt("click",function(k){l.eBV(f);const le=l.XpG();return le.selectPage(le.pageCount),l.Njj(k.preventDefault())}),l.DNE(2,tl,0,0,"ng-template",12),l.k0s()()}if(2&g){const f=l.XpG(),T=l.sdS(7);l.AVh("disabled",f.nextDisabled()),l.R7$(),l.BMQ("tabindex",f.nextDisabled()?"-1":null)("aria-disabled",f.nextDisabled()?"true":null),l.R7$(),l.Y8G("ngTemplateOutlet",(null==f.tplLast?null:f.tplLast.templateRef)||T)("ngTemplateOutletContext",l.l_i(6,Ae,f.nextDisabled(),f.page))}}const Gs={animation:!0,transitionTimerDelayMs:5};let Ji=(()=>{class g{constructor(){this.animation=Gs.animation}static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275prov=l.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})();function Fi(g){return parseInt(`${g}`,10)}function mr(g){return"string"==typeof g}function gs(g){return!isNaN(Fi(g))}function Ns(g){return"number"==typeof g&&isFinite(g)&&Math.floor(g)===g}function co(g){return null!=g}function Ho(g){return gs(g)?`0${g}`.slice(-2):""}function Rn(g){return(g||document.body).getBoundingClientRect()}const ce=()=>{},{transitionTimerDelayMs:Xe}=Gs,Et=new Map,Lt=(g,A,f,T)=>{let k=T.context||{};const le=Et.get(A);if(le)switch(T.runningTransition){case"continue":return B.w;case"stop":g.run(()=>le.transition$.complete()),k=Object.assign(le.context,k),Et.delete(A)}const Re=f(A,T.animation,k)||ce;if(!T.animation||"none"===window.getComputedStyle(A).transitionProperty)return g.run(()=>Re()),(0,G.of)(void 0).pipe(function F(g){return A=>new e.c(f=>A.subscribe({next:Re=>g.run(()=>f.next(Re)),error:Re=>g.run(()=>f.error(Re)),complete:()=>g.run(()=>f.complete())}))}(g));const lt=new Y.B,yt=new Y.B,xt=lt.pipe(function ye(...g){return A=>(0,ct.x)(A,(0,G.of)(...g))}(!0));Et.set(A,{transition$:lt,complete:()=>{yt.next(),yt.complete()},context:k});const Ut=function dr(g){const{transitionDelay:A,transitionDuration:f}=window.getComputedStyle(g);return 1e3*(parseFloat(A)+parseFloat(f))}(A);return g.runOutsideAngular(()=>{const hn=(0,q.R)(A,"transitionend").pipe((0,m.Q)(xt),(0,Se.p)(({target:yn})=>yn===A));ie((0,ee.O)(Ut+Xe).pipe((0,m.Q)(xt)),hn,yt).pipe((0,m.Q)(xt)).subscribe(()=>{Et.delete(A),g.run(()=>{Re(),lt.next(),lt.complete()})})}),lt.asObservable()},Ti=(g,A,f)=>{let{direction:T,maxSize:k,dimension:le}=f;const{classList:Re}=g;function lt(){Re.add("collapse"),"show"===T?Re.add("show"):Re.remove("show")}if(A)return k||(k=function di(g,A){if(typeof navigator>"u")return"0px";const{classList:f}=g,T=f.contains("show");T||f.add("show"),g.style[A]="";const k=g.getBoundingClientRect()[A]+"px";return T||f.remove("show"),k}(g,le),f.maxSize=k,g.style[le]="show"!==T?k:"0px",Re.remove("collapse"),Re.remove("collapsing"),Re.remove("show"),Rn(g),Re.add("collapsing")),g.style[le]="show"===T?k:"0px",()=>{lt(),Re.remove("collapsing"),g.style[le]=""};lt()};let qn=(()=>{class g{constructor(){this._ngbConfig=(0,l.WQX)(Ji),this.horizontal=!1}get animation(){return this._animation??this._ngbConfig.animation}set animation(f){this._animation=f}static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275prov=l.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})(),Bn=(()=>{class g{constructor(){this._config=(0,l.WQX)(qn),this._element=(0,l.WQX)(l.aKT),this._zone=(0,l.WQX)(l.SKi),this.animation=this._config.animation,this._afterInit=!1,this._isCollapsed=!1,this.ngbCollapseChange=new l.bkB,this.horizontal=this._config.horizontal,this.shown=new l.bkB,this.hidden=new l.bkB}set collapsed(f){this._isCollapsed!==f&&(this._isCollapsed=f,this._afterInit&&this._runTransitionWithEvents(f,this.animation))}ngOnInit(){this._runTransition(this._isCollapsed,!1),this._afterInit=!0}toggle(f=this._isCollapsed){this.collapsed=!f,this.ngbCollapseChange.next(this._isCollapsed)}_runTransition(f,T){return Lt(this._zone,this._element.nativeElement,Ti,{animation:T,runningTransition:"stop",context:{direction:f?"hide":"show",dimension:this.horizontal?"width":"height"}})}_runTransitionWithEvents(f,T){this._runTransition(f,T).subscribe(()=>{f?this.hidden.emit():this.shown.emit()})}static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275dir=l.FsC({type:g,selectors:[["","ngbCollapse",""]],hostVars:2,hostBindings:function(T,k){2&T&&l.AVh("collapse-horizontal",k.horizontal)},inputs:{animation:"animation",collapsed:[l.Mj6.None,"ngbCollapse","collapsed"],horizontal:"horizontal"},outputs:{ngbCollapseChange:"ngbCollapseChange",shown:"shown",hidden:"hidden"},exportAs:["ngbCollapse"],standalone:!0})}}return g})(),Hs=(()=>{class g{static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275mod=l.$C({type:g})}static{this.\u0275inj=l.G2t({})}}return g})(),Sr=(()=>{class g{static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275mod=l.$C({type:g})}static{this.\u0275inj=l.G2t({})}}return g})(),Xo=(()=>{class g{static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275mod=l.$C({type:g})}static{this.\u0275inj=l.G2t({})}}return g})(),li=(()=>{class g{static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275mod=l.$C({type:g})}static{this.\u0275inj=l.G2t({})}}return g})();
1class Ps{static from(A){return A instanceof Ps?A:A?new Ps(A.year,A.month,A.day):null}constructor(A,f,T){this.year=Ns(A)?A:null,this.month=Ns(f)?f:null,this.day=Ns(T)?T:null}equals(A){return null!=A&&this.year===A.year&&this.month===A.month&&this.day===A.day}before(A){return!!A&&(this.year===A.year?this.month===A.month?this.day!==A.day&&this.day<A.day:this.month<A.month:this.year<A.year)}after(A){return!!A&&(this.year===A.year?this.month===A.month?this.day!==A.day&&this.day>A.day:this.month>A.month:this.year>A.year)}}function ka(g){return new Ps(g.getFullYear(),g.getMonth()+1,g.getDate())}function Tr(g){const A=new Date(g.year,g.month-1,g.day,12);return isNaN(A.getTime())||A.setFullYear(g.year),A}let xo=(()=>{class g{static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275prov=l.jDH({token:g,factory:()=>function zo(){return new Os}(),providedIn:"root"})}}return g})(),Os=(()=>{class g extends xo{getDaysPerWeek(){return 7}getMonths(){return[1,2,3,4,5,6,7,8,9,10,11,12]}getWeeksPerMonth(){return 6}getNext(f,T="d",k=1){let le=Tr(f),Re=!0,lt=le.getMonth();switch(T){case"y":le.setFullYear(le.getFullYear()+k);break;case"m":lt+=k,le.setMonth(lt),lt%=12,lt<0&&(lt+=12);break;case"d":le.setDate(le.getDate()+k),Re=!1;break;default:return f}return Re&&le.getMonth()!==lt&&le.setDate(0),ka(le)}getPrev(f,T="d",k=1){return this.getNext(f,T,-k)}getWeekday(f){let k=Tr(f).getDay();return 0===k?7:k}getWeekNumber(f,T){7===T&&(T=0);const Re=Tr(f[(11-T)%7]);Re.setDate(Re.getDate()+4-(Re.getDay()||7));const lt=Re.getTime();return Re.setMonth(0),Re.setDate(1),Math.floor(Math.round((lt-Re.getTime())/864e5)/7)+1}getToday(){return ka(new Date)}isValid(f){if(!(f&&Ns(f.year)&&Ns(f.month)&&Ns(f.day)&&0!==f.year))return!1;const T=Tr(f);return!isNaN(T.getTime())&&T.getFullYear()===f.year&&T.getMonth()+1===f.month&&T.getDate()===f.day}static{this.\u0275fac=(()=>{let f;return function(k){return(f||(f=l.xGo(g)))(k||g)}})()}static{this.\u0275prov=l.jDH({token:g,factory:g.\u0275fac})}}return g})();function oa(g,A){return!function ci(g,A){return!g&&!A||!!g&&!!A&&g.equals(A)}(g,A)}function vs(g,A){return!(!g&&!A||g&&A&&g.year===A.year&&g.month===A.month)}function No(g,A,f){return g&&A&&g.before(A)?A:g&&f&&g.after(f)?f:g||null}function nl(g,A){const{minDate:f,maxDate:T,disabled:k,markDisabled:le}=A;return!(null==g||k||le&&le(g,{year:g.year,month:g.month})||f&&g.before(f)||T&&g.after(T))}let Oo=(()=>{class g{getMonthLabel(f){return`${this.getMonthFullName(f.month,f.year)} ${this.getYearNumerals(f.year)}`}getDayNumerals(f){return`${f.day}`}getWeekNumerals(f){return`${f}`}getYearNumerals(f){return`${f}`}getWeekLabel(){return""}static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275prov=l.jDH({token:g,factory:()=>new ud,providedIn:"root"})}}return g})(),ud=(()=>{class g extends Oo{constructor(){super(...arguments),this._locale=(0,l.WQX)(l.xe9),this._monthsShort=(0,jt.tL)(this._locale,jt.oV.Standalone,jt.cH.Abbreviated),this._monthsFull=(0,jt.tL)(this._locale,jt.oV.Standalone,jt.cH.Wide)}getWeekdayLabel(f,T){const k=(0,jt.XO)(this._locale,jt.oV.Standalone,void 0===T?jt.cH.Short:T);return k.map((Re,lt)=>k[(lt+1)%7])[f-1]||""}getMonthShortName(f){return this._monthsShort[f-1]||""}getMonthFullName(f){return this._monthsFull[f-1]||""}getDayAriaLabel(f){const T=new Date(f.year,f.month-1,f.day);return(0,jt.Yq)(T,"fullDate",this._locale)}static{this.\u0275fac=(()=>{let f;return function(k){return(f||(f=l.xGo(g)))(k||g)}})()}static{this.\u0275prov=l.jDH({token:g,factory:g.\u0275fac})}}return g})(),tc=(()=>{class g{constructor(){this._VALIDATORS={dayTemplateData:f=>{if(this._state.dayTemplateData!==f)return{dayTemplateData:f}},displayMonths:f=>{if(Ns(f=Fi(f))&&f>0&&this._state.displayMonths!==f)return{displayMonths:f}},disabled:f=>{if(this._state.disabled!==f)return{disabled:f}},firstDayOfWeek:f=>{if(Ns(f=Fi(f))&&f>=0&&this._state.firstDayOfWeek!==f)return{firstDayOfWeek:f}},focusVisible:f=>{if(this._state.focusVisible!==f&&!this._state.disabled)return{focusVisible:f}},markDisabled:f=>{if(this._state.markDisabled!==f)return{markDisabled:f}},maxDate:f=>{const T=this.toValidDate(f,null);if(oa(this._state.maxDate,T))return{maxDate:T}},minDate:f=>{const T=this.toValidDate(f,null);if(oa(this._state.minDate,T))return{minDate:T}},navigation:f=>{if(this._state.navigation!==f)return{navigation:f}},outsideDays:f=>{if(this._state.outsideDays!==f)return{outsideDays:f}},weekdays:f=>{const T=!0===f||!1===f?jt.cH.Short:f,k=!0!==f&&!1!==f||f;if(this._state.weekdayWidth!==T||this._state.weekdaysVisible!==k)return{weekdayWidth:T,weekdaysVisible:k}}},this._calendar=(0,l.WQX)(xo),this._i18n=(0,l.WQX)(Oo),this._model$=new Y.B,this._dateSelect$=new Y.B,this._state={dayTemplateData:null,markDisabled:null,maxDate:null,minDate:null,disabled:!1,displayMonths:1,firstDate:null,firstDayOfWeek:1,lastDate:null,focusDate:null,focusVisible:!1,months:[],navigation:"select",outsideDays:"visible",prevDisabled:!1,nextDisabled:!1,selectedDate:null,selectBoxes:{years:[],months:[]},weekdayWidth:jt.cH.Short,weekdaysVisible:!0}}get model$(){return this._model$.pipe((0,Se.p)(f=>f.months.length>0))}get dateSelect$(){return this._dateSelect$.pipe((0,Se.p)(f=>null!==f))}set(f){let T=Object.keys(f).map(k=>this._VALIDATORS[k](f[k])).reduce((k,le)=>({...k,...le}),{});Object.keys(T).length>0&&this._nextState(T)}focus(f){const T=this.toValidDate(f,null);null!=T&&!this._state.disabled&&oa(this._state.focusDate,T)&&this._nextState({focusDate:f})}focusSelect(){nl(this._state.focusDate,this._state)&&this.select(this._state.focusDate,{emitEvent:!0})}open(f){const T=this.toValidDate(f,this._calendar.getToday());null!=T&&!this._state.disabled&&(!this._state.firstDate||vs(this._state.firstDate,T))&&this._nextState({firstDate:T})}select(f,T={}){const k=this.toValidDate(f,null);null!=k&&!this._state.disabled&&(oa(this._state.selectedDate,k)&&this._nextState({selectedDate:k}),T.emitEvent&&nl(k,this._state)&&this._dateSelect$.next(k))}toValidDate(f,T){const k=Ps.from(f);return void 0===T&&(T=this._calendar.getToday()),this._calendar.isValid(k)?k:T}getMonth(f){for(let T of this._state.months)if(f.month===T.number&&f.year===T.year)return T;throw new Error(`month ${f.month} of year ${f.year} not found`)}_nextState(f){const T=this._updateState(f);this._patchContexts(T),this._state=T,this._model$.next(this._state)}
1_patchContexts(f){const{months:T,displayMonths:k,selectedDate:le,focusDate:Re,focusVisible:lt,disabled:yt,outsideDays:xt}=f;f.months.forEach(Ut=>{Ut.weeks.forEach(hn=>{hn.days.forEach(ln=>{Re&&(ln.context.focused=Re.equals(ln.date)&&lt),ln.tabindex=!yt&&Re&&ln.date.equals(Re)&&Re.month===Ut.number?0:-1,!0===yt&&(ln.context.disabled=!0),void 0!==le&&(ln.context.selected=null!==le&&le.equals(ln.date)),Ut.number!==ln.date.month&&(ln.hidden="hidden"===xt||"collapsed"===xt||k>1&&ln.date.after(T[0].firstDate)&&ln.date.before(T[k-1].lastDate))})})})}_updateState(f){const T=Object.assign({},this._state,f);let k=T.firstDate;if(("minDate"in f||"maxDate"in f)&&(function Ql(g,A){if(A&&g&&A.before(g))throw new Error(`'maxDate' ${A} should be greater than 'minDate' ${g}`)}(T.minDate,T.maxDate),T.focusDate=No(T.focusDate,T.minDate,T.maxDate),T.firstDate=No(T.firstDate,T.minDate,T.maxDate),k=T.focusDate),"disabled"in f&&(T.focusVisible=!1),"selectedDate"in f&&0===this._state.months.length&&(k=T.selectedDate),"focusVisible"in f||"focusDate"in f&&(T.focusDate=No(T.focusDate,T.minDate,T.maxDate),k=T.focusDate,0!==T.months.length&&T.focusDate&&!T.focusDate.before(T.firstDate)&&!T.focusDate.after(T.lastDate)))return T;if("firstDate"in f&&(T.firstDate=No(T.firstDate,T.minDate,T.maxDate),k=T.firstDate),k){const Re=function Fl(g,A,f,T,k){const{displayMonths:le,months:Re}=f,lt=Re.splice(0,Re.length);return Array.from({length:le},(xt,Ut)=>{const hn=Object.assign(g.getNext(A,"m",Ut),{day:1});if(Re[Ut]=null,!k){const ln=lt.findIndex(yn=>yn.firstDate.equals(hn));-1!==ln&&(Re[Ut]=lt.splice(ln,1)[0])}return hn}).forEach((xt,Ut)=>{null===Re[Ut]&&(Re[Ut]=function Ko(g,A,f,T,k={}){const{dayTemplateData:le,minDate:Re,maxDate:lt,firstDayOfWeek:yt,markDisabled:xt,outsideDays:Ut,weekdayWidth:hn,weekdaysVisible:ln}=f,yn=g.getToday();k.firstDate=null,k.lastDate=null,k.number=A.month,k.year=A.year,k.weeks=k.weeks||[],k.weekdays=k.weekdays||[],A=function ec(g,A,f){const T=g.getDaysPerWeek(),k=new Ps(A.year,A.month,1),le=g.getWeekday(k)%T;return g.getPrev(k,"d",(T+le-f)%T)}(g,A,yt),ln||(k.weekdays.length=0);for(let Ri=0;Ri<g.getWeeksPerMonth();Ri++){let ui=k.weeks[Ri];ui||(ui=k.weeks[Ri]={number:0,days:[],collapsed:!0});const ki=ui.days;for(let Zi=0;Zi<g.getDaysPerWeek();Zi++){0===Ri&&ln&&(k.weekdays[Zi]=T.getWeekdayLabel(g.getWeekday(A),hn));const Pi=new Ps(A.year,A.month,A.day),or=g.getNext(Pi),es=T.getDayAriaLabel(Pi);let Ui=!!(Re&&Pi.before(Re)||lt&&Pi.after(lt));!Ui&&xt&&(Ui=xt(Pi,{month:k.number,year:k.year}));let Xi=Pi.equals(yn),qs=le?le(Pi,{month:k.number,year:k.year}):void 0;null===k.firstDate&&Pi.month===k.number&&(k.firstDate=Pi),Pi.month===k.number&&or.month!==k.number&&(k.lastDate=Pi);let zi=ki[Zi];zi||(zi=ki[Zi]={}),zi.date=Pi,zi.context=Object.assign(zi.context||{},{$implicit:Pi,date:Pi,data:qs,currentMonth:k.number,currentYear:k.year,disabled:Ui,focused:!1,selected:!1,today:Xi}),zi.tabindex=-1,zi.ariaLabel=es,zi.hidden=!1,A=or}ui.number=g.getWeekNumber(ki.map(Zi=>Zi.date),yt),ui.collapsed="collapsed"===Ut&&ki[0].date.month!==k.number&&ki[ki.length-1].date.month!==k.number}return k}(g,xt,f,T,lt.shift()||{}))}),Re}(this._calendar,k,T,this._i18n,"dayTemplateData"in f||"firstDayOfWeek"in f||"markDisabled"in f||"minDate"in f||"maxDate"in f||"disabled"in f||"outsideDays"in f||"weekdaysVisible"in f);T.months=Re,T.firstDate=Re[0].firstDate,T.lastDate=Re[Re.length-1].lastDate,"selectedDate"in f&&!nl(T.selectedDate,T)&&(T.selectedDate=null),"firstDate"in f&&(!T.focusDate||T.focusDate.before(T.firstDate)||T.focusDate.after(T.lastDate))&&(T.focusDate=k);const lt=!this._state.firstDate||this._state.firstDate.year!==T.firstDate.year,yt=!this._state.firstDate||this._state.firstDate.month!==T.firstDate.month;"select"===T.navigation?(("minDate"in f||"maxDate"in f||0===T.selectBoxes.years.length||lt)&&(T.selectBoxes.years=function Tl(g,A,f){if(!g)return[];const T=A?Math.max(A.year,g.year-500):g.year-10,le=(f?Math.min(f.year,g.year+500):g.year+10)-T+1,Re=Array(le);for(let lt=0;lt<le;lt++)Re[lt]=T+lt;return Re}(T.firstDate,T.minDate,T.maxDate)),("minDate"in f||"maxDate"in f||0===T.selectBoxes.months.length||lt)&&(T.selectBoxes.months=function _o(g,A,f,T){if(!A)return[];let k=g.getMonths(A.year);if(f&&A.year===f.year){const le=k.findIndex(Re=>Re===f.month);k=k.slice(le)}
1if(T&&A.year===T.year){const le=k.findIndex(Re=>Re===T.month);k=k.slice(0,le+1)}return k}(this._calendar,T.firstDate,T.minDate,T.maxDate))):T.selectBoxes={years:[],months:[]},("arrows"===T.navigation||"select"===T.navigation)&&(yt||lt||"minDate"in f||"maxDate"in f||"disabled"in f)&&(T.prevDisabled=T.disabled||function Zl(g,A,f){const T=Object.assign(g.getPrev(A,"m"),{day:1});return null!=f&&(T.year===f.year&&T.month<f.month||T.year<f.year&&1===f.month)}(this._calendar,T.firstDate,T.minDate),T.nextDisabled=T.disabled||function dd(g,A,f){const T=Object.assign(g.getNext(A,"m"),{day:1});return null!=f&&T.after(f)}(this._calendar,T.lastDate,T.maxDate))}return T}static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275prov=l.jDH({token:g,factory:g.\u0275fac})}}return g})();var en=function(g){return g[g.PREV=0]="PREV",g[g.NEXT=1]="NEXT",g}(en||{});let Il=(()=>{class g{constructor(){this.displayMonths=1,this.firstDayOfWeek=1,this.navigation="select",this.outsideDays="visible",this.showWeekNumbers=!1,this.weekdays=jt.cH.Short}static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275prov=l.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})(),Ll=(()=>{class g{static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275prov=l.jDH({token:g,factory:()=>function pd(){return new qi}(),providedIn:"root"})}}return g})(),qi=(()=>{class g extends Ll{fromModel(f){return f&&Ns(f.year)&&Ns(f.month)&&Ns(f.day)?{year:f.year,month:f.month,day:f.day}:null}toModel(f){return f&&Ns(f.year)&&Ns(f.month)&&Ns(f.day)?{year:f.year,month:f.month,day:f.day}:null}static{this.\u0275fac=(()=>{let f;return function(k){return(f||(f=l.xGo(g)))(k||g)}})()}static{this.\u0275prov=l.jDH({token:g,factory:g.\u0275fac})}}return g})();var cs=function(g){return g[g.Tab=9]="Tab",g[g.Enter=13]="Enter",g[g.Escape=27]="Escape",g[g.Space=32]="Space",g[g.PageUp=33]="PageUp",g[g.PageDown=34]="PageDown",g[g.End=35]="End",g[g.Home=36]="Home",g[g.ArrowLeft=37]="ArrowLeft",g[g.ArrowUp=38]="ArrowUp",g[g.ArrowRight=39]="ArrowRight",g[g.ArrowDown=40]="ArrowDown",g}(cs||{});let hd=(()=>{class g{processKey(f,T){const{state:k,calendar:le}=T;switch(f.which){case cs.PageUp:T.focusDate(le.getPrev(k.focusedDate,f.shiftKey?"y":"m",1));break;case cs.PageDown:T.focusDate(le.getNext(k.focusedDate,f.shiftKey?"y":"m",1));break;case cs.End:T.focusDate(f.shiftKey?k.maxDate:k.lastDate);break;case cs.Home:T.focusDate(f.shiftKey?k.minDate:k.firstDate);break;case cs.ArrowLeft:T.focusDate(le.getPrev(k.focusedDate,"d",1));break;case cs.ArrowUp:T.focusDate(le.getPrev(k.focusedDate,"d",le.getDaysPerWeek()));break;case cs.ArrowRight:T.focusDate(le.getNext(k.focusedDate,"d",1));break;case cs.ArrowDown:T.focusDate(le.getNext(k.focusedDate,"d",le.getDaysPerWeek()));break;case cs.Enter:case cs.Space:T.focusSelect();break;default:return}f.preventDefault(),f.stopPropagation()}static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275prov=l.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})(),Ac=(()=>{class g{constructor(){this.i18n=(0,l.WQX)(Oo)}isMuted(){return!this.selected&&(this.date.month!==this.currentMonth||this.disabled)}static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275cmp=l.VBU({type:g,selectors:[["","ngbDatepickerDayView",""]],hostAttrs:[1,"btn-light"],hostVars:10,hostBindings:function(T,k){2&T&&l.AVh("bg-primary",k.selected)("text-white",k.selected)("text-muted",k.isMuted())("outside",k.isMuted())("active",k.focused)},inputs:{currentMonth:"currentMonth",date:"date",disabled:"disabled",focused:"focused",selected:"selected"},standalone:!0,features:[l.aNF],attrs:Or,decls:1,vars:1,template:function(T,k){1&T&&l.EFF(0),2&T&&l.JRh(k.i18n.getDayNumerals(k.date))},styles:["[ngbDatepickerDayView]{text-align:center;width:2rem;height:2rem;line-height:2rem;border-radius:.25rem;background:transparent}[ngbDatepickerDayView]:hover:not(.bg-primary),[ngbDatepickerDayView].active:not(.bg-primary){background-color:var(--bs-tertiary-bg);outline:1px solid var(--bs-border-color)}[ngbDatepickerDayView].outside{opacity:.5}\n"],encapsulation:2,changeDetection:0})}}return g})(),Iu=(()=>{class g{constructor(){this._month=-1,this._year=-1,this.i18n=(0,l.WQX)(Oo),this.select=new l.bkB}changeMonth(f){this.select.emit(new Ps(this.date.year,Fi(f),1))}changeYear(f){this.select.emit(new Ps(Fi(f),this.date.month,1))}ngAfterViewChecked(){this.date&&(this.date.month!==this._month&&(this._month=this.date.month,this.monthSelect.nativeElement.value=`${this._month}`),this.date.year!==this._year&&(this._year=this.date.year,this.yearSelect.nativeElement.value=`${this._year}`))}static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275cmp=l.VBU({type:g,selectors:[["ngb-datepicker-navigation-select"]],viewQuery:function(T,k){if(1&T&&(l.GBs(so,7,l.aKT),l.GBs(Ro,7,l.aKT)),2&T){let le;l.mGM(le=l.lsd())&&(k.monthSelect=le.first),l.mGM(le=l.lsd())&&(k.yearSelect=le.first)}},inputs:{date:"date",disabled:"disabled",months:"months",years:"years"},outputs:{select:"select"},standalone:!0,features:[l.aNF],decls:8,vars:2,consts:()=>{let f,T,k,le;return f=$localize`:@@ngb.datepicker.select-month:Select month`,T=$localize`:@@ngb.datepicker.select-month:Select month`,k=$localize`:@@ngb.datepicker.select-year:Select year`,le=$localize`:@@ngb.datepicker.select-year:Select year`,[["month",""],["year",""],["aria-label",f,"title",T,1,"form-select",3,"change","disabled"],[3,"value"],["aria-label",k,"title",le,1,"form-select",3,"change","disabled"]]},template:function(T,k){if(1&T){const le=l.RV6();l.j41(0,"select",2,0),l.bIt("change",function(lt){return l.eBV(le),l.Njj(k.changeMonth(lt.target.value))}),l.Z7z(2,_i,2,3,"option",3,l.fX1),l.k0s(),l.j41(4,"select",4,1),l.bIt("change",function(lt){return l.eBV(le),l.Njj(k.changeYear(lt.target.value))}),l.Z7z(6,Mr,2,2,"option",3,l.fX1),l.k0s()}2&T&&(l.Y8G("disabled",k.disabled),l.R7$(2),l.Dyx(k.months),l.R7$(2),l.Y8G("disabled",k.disabled),l.R7$(2),l.Dyx(k.years))},styles:["ngb-datepicker-navigation-select>.form-select{flex:1 1 auto;padding:0 .5rem;font-size:.875rem;height:1.85rem}ngb-datepicker-navigation-select>.form-select:focus{z-index:1}ngb-datepicker-navigation-select>.form-select::-ms-value{background-color:transparent!important}\n"],encapsulation:2,changeDetection:0})}}return g})(),w=(()=>{class g{constructor(){this.navigation=en,this.i18n=(0,l.WQX)(Oo),this.months=[],this.navigate=new l.bkB,this.select=new l.bkB}
1onClickPrev(f){f.currentTarget.focus(),this.navigate.emit(this.navigation.PREV)}onClickNext(f){f.currentTarget.focus(),this.navigate.emit(this.navigation.NEXT)}static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275cmp=l.VBU({type:g,selectors:[["ngb-datepicker-navigation"]],inputs:{date:"date",disabled:"disabled",months:"months",showSelect:"showSelect",prevDisabled:"prevDisabled",nextDisabled:"nextDisabled",selectBoxes:"selectBoxes"},outputs:{navigate:"navigate",select:"select"},standalone:!0,features:[l.aNF],decls:8,vars:4,consts:()=>{let f,T,k,le;return f=$localize`:@@ngb.datepicker.previous-month:Previous month`,T=$localize`:@@ngb.datepicker.previous-month:Previous month`,k=$localize`:@@ngb.datepicker.next-month:Next month`,le=$localize`:@@ngb.datepicker.next-month:Next month`,[[1,"ngb-dp-arrow","ngb-dp-arrow-prev"],["type","button","aria-label",f,"title",T,1,"btn","btn-link","ngb-dp-arrow-btn",3,"click","disabled"],[1,"ngb-dp-navigation-chevron"],[1,"ngb-dp-navigation-select",3,"date","disabled","months","years"],[1,"ngb-dp-arrow","ngb-dp-arrow-next"],["type","button","aria-label",k,"title",le,1,"btn","btn-link","ngb-dp-arrow-btn",3,"click","disabled"],[1,"ngb-dp-navigation-select",3,"select","date","disabled","months","years"],[1,"ngb-dp-arrow"],[1,"ngb-dp-month-name"]]},template:function(T,k){1&T&&(l.j41(0,"div",0)(1,"button",1),l.bIt("click",function(Re){return k.onClickPrev(Re)}),l.nrm(2,"span",2),l.k0s()(),l.DNE(3,ur,1,4,"ngb-datepicker-navigation-select",3)(4,Cs,2,0),l.j41(5,"div",4)(6,"button",5),l.bIt("click",function(Re){return k.onClickNext(Re)}),l.nrm(7,"span",2),l.k0s()()),2&T&&(l.R7$(),l.Y8G("disabled",k.prevDisabled),l.R7$(2),l.vxM(3,k.showSelect?3:-1),l.R7$(),l.vxM(4,k.showSelect?-1:4),l.R7$(2),l.Y8G("disabled",k.nextDisabled))},dependencies:[Iu],styles:["ngb-datepicker-navigation{display:flex;align-items:center}.ngb-dp-navigation-chevron{border-style:solid;border-width:.2em .2em 0 0;display:inline-block;width:.75em;height:.75em;margin-left:.25em;margin-right:.15em;transform:rotate(-135deg)}.ngb-dp-arrow{display:flex;flex:1 1 auto;padding-right:0;padding-left:0;margin:0;width:2rem;height:2rem}.ngb-dp-arrow-next{justify-content:flex-end}.ngb-dp-arrow-next .ngb-dp-navigation-chevron{transform:rotate(45deg);margin-left:.15em;margin-right:.25em}.ngb-dp-arrow-btn{padding:0 .25rem;margin:0 .5rem;border:none;background-color:transparent;z-index:1}.ngb-dp-arrow-btn:focus{outline-width:1px;outline-style:auto}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.ngb-dp-arrow-btn:focus{outline-style:solid}}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center}.ngb-dp-navigation-select{display:flex;flex:1 1 9rem}\n"],encapsulation:2,changeDetection:0})}}return g})(),H=(()=>{class g{constructor(){this.templateRef=(0,l.WQX)(l.C4Q)}static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275dir=l.FsC({type:g,selectors:[["ng-template","ngbDatepickerContent",""]],standalone:!0})}}return g})(),O=(()=>{class g{constructor(){this._keyboardService=(0,l.WQX)(hd),this._service=(0,l.WQX)(tc),this.i18n=(0,l.WQX)(Oo),this.datepicker=(0,l.WQX)(W)}set month(f){this.viewModel=this._service.getMonth(f)}onKeyDown(f){this._keyboardService.processKey(f,this.datepicker)}doSelect(f){!f.context.disabled&&!f.hidden&&this.datepicker.onDateSelect(f.date)}static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275cmp=l.VBU({type:g,selectors:[["ngb-datepicker-month"]],hostAttrs:["role","grid"],hostBindings:function(T,k){1&T&&l.bIt("keydown",function(Re){return k.onKeyDown(Re)})},inputs:{month:"month"},standalone:!0,features:[l.aNF],decls:3,vars:1,consts:[["role","row",1,"ngb-dp-week","ngb-dp-weekdays"],[1,"ngb-dp-weekday","ngb-dp-showweek","small"],["role","columnheader",1,"ngb-dp-weekday","small"],["role","row",1,"ngb-dp-week"],[1,"ngb-dp-week-number","small","text-muted"],["role","gridcell",1,"ngb-dp-day",3,"disabled","tabindex","hidden","ngb-dp-today"],["role","gridcell",1,"ngb-dp-day",3,"click","tabindex"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(T,k){1&T&&(l.DNE(0,Ls,4,1,"div",0),l.Z7z(1,tr,1,1,null,null,l.fX1)),2&T&&(l.vxM(0,k.viewModel.weekdays.length>0?0:-1),l.R7$(),l.Dyx(k.viewModel.weeks))},dependencies:[jt.T3],styles:['ngb-datepicker-month{display:block}.ngb-dp-weekday,.ngb-dp-week-number{line-height:2rem;text-align:center;font-style:italic}.ngb-dp-weekday{color:var(--bs-info)}.ngb-dp-week{border-radius:.25rem;display:flex}.ngb-dp-weekdays{border-bottom:1px solid var(--bs-border-color);border-radius:0;background-color:var(--bs-tertiary-bg)}
1.ngb-dp-day,.ngb-dp-weekday,.ngb-dp-week-number{width:2rem;height:2rem}.ngb-dp-day{cursor:pointer}.ngb-dp-day.disabled,.ngb-dp-day.hidden{cursor:default;pointer-events:none}.ngb-dp-day[tabindex="0"]{z-index:1}\n'],encapsulation:2})}}return g})(),W=(()=>{class g{constructor(){this.injector=(0,l.WQX)(l.zZn),this._service=(0,l.WQX)(tc),this._calendar=(0,l.WQX)(xo),this._i18n=(0,l.WQX)(Oo),this._config=(0,l.WQX)(Il),this._nativeElement=(0,l.WQX)(l.aKT).nativeElement,this._ngbDateAdapter=(0,l.WQX)(Ll),this._ngZone=(0,l.WQX)(l.SKi),this._destroyRef=(0,l.WQX)(l.abz),this._controlValue=null,this._publicState={},this.dayTemplate=this._config.dayTemplate,this.dayTemplateData=this._config.dayTemplateData,this.displayMonths=this._config.displayMonths,this.firstDayOfWeek=this._config.firstDayOfWeek,this.footerTemplate=this._config.footerTemplate,this.markDisabled=this._config.markDisabled,this.maxDate=this._config.maxDate,this.minDate=this._config.minDate,this.navigation=this._config.navigation,this.outsideDays=this._config.outsideDays,this.showWeekNumbers=this._config.showWeekNumbers,this.startDate=this._config.startDate,this.weekdays=this._config.weekdays,this.navigate=new l.bkB,this.dateSelect=new l.bkB,this.onChange=T=>{},this.onTouched=()=>{};const f=(0,l.WQX)(l.gRc);this._service.dateSelect$.pipe(b()).subscribe(T=>{this.dateSelect.emit(T)}),this._service.model$.pipe(b()).subscribe(T=>{const k=T.firstDate,le=this.model?this.model.firstDate:null;this._publicState={maxDate:T.maxDate,minDate:T.minDate,firstDate:T.firstDate,lastDate:T.lastDate,focusedDate:T.focusDate,months:T.months.map(Ut=>Ut.firstDate)};let Re=!1;if(!k.equals(le)&&(this.navigate.emit({current:le?{year:le.year,month:le.month}:null,next:{year:k.year,month:k.month},preventDefault:()=>Re=!0}),Re&&null!==le))return void this._service.open(le);const lt=T.selectedDate,yt=T.focusDate,xt=this.model?this.model.focusDate:null;this.model=T,oa(lt,this._controlValue)&&(this._controlValue=lt,this.onTouched(),this.onChange(this._ngbDateAdapter.toModel(lt))),oa(yt,xt)&&xt&&T.focusVisible&&this.focus(),f.markForCheck()})}get state(){return this._publicState}get calendar(){return this._calendar}get i18n(){return this._i18n}focusDate(f){this._service.focus(Ps.from(f))}focusSelect(){this._service.focusSelect()}focus(){this._ngZone.onStable.asObservable().pipe((0,X.s)(1)).subscribe(()=>this._nativeElement.querySelector('div.ngb-dp-day[tabindex="0"]')?.focus())}navigateTo(f){this._service.open(Ps.from(f?f.day?f:{...f,day:1}:null))}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{const f=(0,q.R)(this._contentEl.nativeElement,"focusin"),T=(0,q.R)(this._contentEl.nativeElement,"focusout");(0,K.h)(f,T).pipe((0,Se.p)(k=>{const le=k.target,Re=k.relatedTarget;return!(le?.classList.contains("ngb-dp-day")&&Re?.classList.contains("ngb-dp-day")&&this._nativeElement.contains(le)&&this._nativeElement.contains(Re))}),b(this._destroyRef)).subscribe(({type:k})=>this._ngZone.run(()=>this._service.set({focusVisible:"focusin"===k})))})}ngOnInit(){if(void 0===this.model){const f={};["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays","weekdays"].forEach(T=>f[T]=this[T]),this._service.set(f),this.navigateTo(this.startDate)}this.dayTemplate||(this.dayTemplate=this._defaultDayTemplate)}ngOnChanges(f){const T={};if(["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays","weekdays"].filter(k=>k in f).forEach(k=>T[k]=this[k]),this._service.set(T),"startDate"in f){const{currentValue:k,previousValue:le}=f.startDate;vs(le,k)&&this.navigateTo(this.startDate)}}onDateSelect(f){this._service.focus(f),this._service.select(f,{emitEvent:!0})}onNavigateDateSelect(f){this._service.open(f)}onNavigateEvent(f){switch(f){case en.PREV:this._service.open(this._calendar.getPrev(this.model.firstDate,"m",1));break;case en.NEXT:this._service.open(this._calendar.getNext(this.model.firstDate,"m",1))}}registerOnChange(f){this.onChange=f}registerOnTouched(f){this.onTouched=f}setDisabledState(f){this._service.set({disabled:f})}writeValue(f){this._controlValue=Ps.from(this._ngbDateAdapter.fromModel(f)),this._service.select(this._controlValue)}static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275cmp=l.VBU({type:g,selectors:[["ngb-datepicker"]],contentQueries:function(T,k,le){if(1&T&&l.wni(le,H,7),2&T){let Re;l.mGM(Re=l.lsd())&&(k.contentTemplateFromContent=Re.first)}},viewQuery:function(T,k){if(1&T&&(l.GBs(br,7),l.GBs(vr,7)),2&T){let le;l.mGM(le=l.lsd())&&(k._defaultDayTemplate=le.first),l.mGM(le=l.lsd())&&(k._contentEl=le.first)}},hostVars:2,hostBindings:function(T,k){2&T&&l.AVh("disabled",k.model.disabled)},inputs:{contentTemplate:"contentTemplate",dayTemplate:"dayTemplate",dayTemplateData:"dayTemplateData",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",footerTemplate:"footerTemplate",markDisabled:"markDisabled",maxDate:"maxDate",minDate:"minDate",navigation:"navigation",outsideDays:"outsideDays",showWeekNumbers:"showWeekNumbers",startDate:"startDate",weekdays:"weekdays"},outputs:{navigate:"navigate",dateSelect:"dateSelect"},exportAs:["ngbDatepicker"],standalone:!0,features:[l.Jv_([{provide:Tn.kq,useExisting:(0,l.Rfq)(()=>g),multi:!0},tc]),l.OA$,l.aNF],decls:10,vars:9,consts:[["defaultDayTemplate",""],["defaultContentTemplate",""],["content",""],[1,"ngb-dp-header"],[3,"date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes"],[1,"ngb-dp-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext","ngTemplateOutletInjector"],[3,"ngTemplateOutlet"],["ngbDatepickerDayView","",3,"date","currentMonth","selected","disabled","focused"],[1,"ngb-dp-month"],[1,"ngb-dp-month-name"],[3,"month"],[3,"navigate","select","date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes"]
1],template:function(T,k){if(1&T&&(l.DNE(0,ta,1,5,"ng-template",null,0,l.C5r)(2,oo,2,0,"ng-template",null,1,l.C5r),l.j41(4,"div",3),l.DNE(5,Da,1,7,"ngb-datepicker-navigation",4),l.k0s(),l.j41(6,"div",5,2),l.DNE(8,cr,0,0,"ng-template",6),l.k0s(),l.DNE(9,Wr,0,0,"ng-template",7)),2&T){const le=l.sdS(3);l.R7$(5),l.vxM(5,"none"!==k.navigation?5:-1),l.R7$(),l.AVh("ngb-dp-months",!k.contentTemplate),l.R7$(2),l.Y8G("ngTemplateOutlet",k.contentTemplate||(null==k.contentTemplateFromContent?null:k.contentTemplateFromContent.templateRef)||le)("ngTemplateOutletContext",l.eq3(7,wo,k))("ngTemplateOutletInjector",k.injector),l.R7$(),l.Y8G("ngTemplateOutlet",k.footerTemplate)}},dependencies:[jt.T3,Ac,O,w],styles:["ngb-datepicker{border:1px solid var(--bs-border-color);border-radius:.25rem;display:inline-block}ngb-datepicker-month{pointer-events:auto}ngb-datepicker.dropdown-menu{padding:0}ngb-datepicker.disabled .ngb-dp-weekday,ngb-datepicker.disabled .ngb-dp-week-number,ngb-datepicker.disabled .ngb-dp-month-name{color:var(--bs-text-muted)}.ngb-dp-body{z-index:1055}.ngb-dp-header{border-bottom:0;border-radius:.25rem .25rem 0 0;padding-top:.25rem;background-color:var(--bs-tertiary-bg)}.ngb-dp-months{display:flex}.ngb-dp-month{pointer-events:none}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center;background-color:var(--bs-tertiary-bg)}.ngb-dp-month+.ngb-dp-month .ngb-dp-month-name,.ngb-dp-month+.ngb-dp-month .ngb-dp-week{padding-left:1rem}.ngb-dp-month:last-child .ngb-dp-week{padding-right:.25rem}.ngb-dp-month:first-child .ngb-dp-week{padding-left:.25rem}.ngb-dp-month .ngb-dp-week:last-child{padding-bottom:.25rem}\n"],encapsulation:2,changeDetection:0})}}return g})();const ae=(g,A)=>!!A&&A.some(f=>f.contains(g)),ke=(g,A)=>!A||null!=function Fn(g,A){return!A||typeof g.closest>"u"?null:g.closest(A)}(g,A),ze=typeof navigator<"u"&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));function It(g,A,f,T,k,le,Re,lt){f&&g.runOutsideAngular((g=>ze?()=>setTimeout(()=>g(),100):g)(()=>{const xt=(0,q.R)(A,"keydown").pipe((0,m.Q)(k),(0,Se.p)(ln=>ln.which===cs.Escape),(0,Ne.M)(ln=>ln.preventDefault())),Ut=(0,q.R)(A,"mousedown").pipe((0,ft.T)(ln=>{const yn=ln.target;return 2!==ln.button&&!ae(yn,Re)&&("inside"===f?ae(yn,le)&&ke(yn,lt):"outside"===f?!ae(yn,le):ke(yn,lt)||!ae(yn,le))}),(0,m.Q)(k)),hn=(0,q.R)(A,"mouseup").pipe(dt(Ut),(0,Se.p)(([ln,yn])=>yn),function He(g,A=et.E){const f=(0,ee.O)(g,A);return je(()=>f)}(0),(0,m.Q)(k));ie([xt.pipe((0,ft.T)(ln=>0)),hn.pipe((0,ft.T)(ln=>1))]).subscribe(ln=>g.run(()=>T(ln)))}))}const an=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function Zn(g){const A=Array.from(g.querySelectorAll(an)).filter(f=>-1!==f.tabIndex);return[A[0],A[A.length-1]]}const hi=(g,A,f,T=!1)=>{g.runOutsideAngular(()=>{const k=(0,q.R)(A,"focusin").pipe((0,m.Q)(f),(0,ft.T)(le=>le.target));(0,q.R)(A,"keydown").pipe((0,m.Q)(f),(0,Se.p)(le=>le.which===cs.Tab),dt(k)).subscribe(([le,Re])=>{const[lt,yt]=Zn(A);(Re===lt||Re===A)&&le.shiftKey&&(yt.focus(),le.preventDefault()),Re===yt&&!le.shiftKey&&(lt.focus(),le.preventDefault())}),T&&(0,q.R)(A,"click").pipe((0,m.Q)(f),dt(k),(0,ft.T)(le=>le[1])).subscribe(le=>le.focus())})};let js=(()=>{class g{constructor(){this._element=(0,l.WQX)(jt.qQ).documentElement}isRTL(){return"rtl"===(this._element.getAttribute("dir")||"").toLowerCase()}static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275prov=l.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})();const $a=/\s+/,Ua=/  +/gi,zr={top:["top"],bottom:["bottom"],start:["left","right"],left:["left"],end:["right","left"],right:["right"],"top-start":["top-start","top-end"],"top-left":["top-start"],"top-end":["top-end","top-start"],"top-right":["top-end"],"bottom-start":["bottom-start","bottom-end"],"bottom-left":["bottom-start"],"bottom-end":["bottom-end","bottom-start"],"bottom-right":["bottom-end"],"start-top":["left-start","right-start"],"left-top":["left-start"],"start-bottom":["left-end","right-end"],"left-bottom":["left-end"],"end-top":["right-start","left-start"],"right-top":["right-start"],"end-bottom":["right-end","left-end"],"right-bottom":["right-end"]},Aa=/^left/,aa=/^right/,md=/^start/,xc=/^end/;function _d({placement:g,baseClass:A},f){let T=Array.isArray(g)?g:g.split($a),le=T.findIndex(xt=>"auto"===xt);le>
1=0&&["top","bottom","start","end","top-start","top-end","bottom-start","bottom-end","start-top","start-bottom","end-top","end-bottom"].forEach(function(xt){null==T.find(Ut=>-1!==Ut.search("^"+xt))&&T.splice(le++,1,xt)});const Re=T.map(xt=>function il(g,A){const[f,T]=zr[g];return A&&T||f}(xt,f.isRTL()));return{placement:Re.shift(),modifiers:[{name:"bootstrapClasses",enabled:!!A,phase:"write",fn({state:xt}){const Ut=new RegExp(A+"(-[a-z]+)*","gi"),hn=xt.elements.popper,ln=xt.placement;let yn=hn.className;yn=yn.replace(Ut,""),yn+=` ${function fd(g,A){let[f,T]=A.split("-");const k=f.replace(Aa,"start").replace(aa,"end");let le=[k];if(T){let Re=T;("left"===f||"right"===f)&&(Re=Re.replace(md,"top").replace(xc,"bottom")),le.push(`${k}-${Re}`)}return g&&(le=le.map(Re=>`${g}-${Re}`)),le.join(" ")}(A,ln)}`,yn=yn.trim().replace(Ua," "),hn.className=yn}},Wn,zs,xi,{enabled:!0,name:"flip",options:{fallbackPlacements:Re}},{enabled:!0,name:"preventOverflow",phase:"main",fn:function(){}}]}}function gd(g){return g}function $i(){const g=(0,l.WQX)(js);let A=null;return{createPopper(f){if(!A){let k=(f.updatePopperOptions||gd)(_d(f,g));A=Ur(f.hostElement,f.targetElement,k)}},update(){A&&A.update()},setOptions(f){if(A){let k=(f.updatePopperOptions||gd)(_d(f,g));A.setOptions(k)}},destroy(){A&&(A.destroy(),A=null)}}}let sl=(()=>{class g{static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275prov=l.jDH({token:g,factory:()=>function Nc(){return new rr}(),providedIn:"root"})}}return g})(),rr=(()=>{class g extends sl{parse(f){if(null!=f){const T=f.trim().split("-");if(1===T.length&&gs(T[0]))return{year:Fi(T[0]),month:null,day:null};if(2===T.length&&gs(T[0])&&gs(T[1]))return{year:Fi(T[0]),month:Fi(T[1]),day:null};if(3===T.length&&gs(T[0])&&gs(T[1])&&gs(T[2]))return{year:Fi(T[0]),month:Fi(T[1]),day:Fi(T[2])}}return null}format(f){return f?`${f.year}-${gs(f.month)?Ho(f.month):""}-${gs(f.day)?Ho(f.day):""}`:""}static{this.\u0275fac=(()=>{let f;return function(k){return(f||(f=l.xGo(g)))(k||g)}})()}static{this.\u0275prov=l.jDH({token:g,factory:g.\u0275fac})}}return g})(),bd=(()=>{class g extends Il{constructor(){super(...arguments),this.autoClose=!0,this.placement=["bottom-start","bottom-end","top-start","top-end"],this.popperOptions=f=>f,this.restoreFocus=!0}static{this.\u0275fac=(()=>{let f;return function(k){return(f||(f=l.xGo(g)))(k||g)}})()}static{this.\u0275prov=l.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})();function rl(g){return A=>(A.modifiers.push(os,{name:"offset",options:{offset:()=>g}}),A)}let ol=(()=>{class g{constructor(){this._parserFormatter=(0,l.WQX)(sl),this._elRef=(0,l.WQX)(l.aKT),this._vcRef=(0,l.WQX)(l.c1b),this._ngZone=(0,l.WQX)(l.SKi),this._calendar=(0,l.WQX)(xo),this._dateAdapter=(0,l.WQX)(Ll),this._document=(0,l.WQX)(jt.qQ),this._changeDetector=(0,l.WQX)(l.gRc),this._config=(0,l.WQX)(bd),this._cRef=null,this._disabled=!1,this._elWithFocus=null,this._model=null,this._positioning=$i(),this._destroyCloseHandlers$=new Y.B,this.autoClose=this._config.autoClose,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.container=this._config.container,this.positionTarget=this._config.positionTarget,this.dateSelect=new l.bkB,this.navigate=new l.bkB,this.closed=new l.bkB,this._onChange=f=>{},this._onTouched=()=>{},this._validatorChange=()=>{}}get disabled(){return this._disabled}set disabled(f){this._disabled=""===f||f&&"false"!==f,this.isOpen()&&this._cRef.instance.setDisabledState(this._disabled)}registerOnChange(f){this._onChange=f}registerOnTouched(f){this._onTouched=f}registerOnValidatorChange(f){this._validatorChange=f}setDisabledState(f){this.disabled=f}validate(f){const{value:T}=f;if(null!=T){const k=this._fromDateStruct(this._dateAdapter.fromModel(T));if(!k)return{ngbDate:{invalid:T}};if(this.minDate&&k.before(Ps.from(this.minDate)))return{ngbDate:{minDate:{minDate:this.minDate,actual:T}}};if(this.maxDate&&k.after(Ps.from(this.maxDate)))return{ngbDate:{maxDate:{maxDate:this.maxDate,actual:T}}}}return null}writeValue(f){this._model=this._fromDateStruct(this._dateAdapter.fromModel(f)),this._writeModelValue(this._model)}manualDateChange(f,T=!1){const k=f!==this._inputValue;k&&(this._inputValue=f,this._model=this._fromDateStruct(this._parserFormatter.parse(f))),(k||!T)&&this._onChange(this._model?this._dateAdapter.toModel(this._model):""===f?null:f),T&&this._model&&this._writeModelValue(this._model)}isOpen(){return!!this._cRef}open(){if(!this.isOpen()){let f;if(this._cRef=this._vcRef.createComponent(W),this._applyPopupStyling(this._cRef.location.nativeElement),this._applyDatepickerInputs(this._cRef),this._subscribeForDatepickerOutputs(this._cRef.instance),this._cRef.instance.ngOnInit(),this._cRef.instance.writeValue(this._dateAdapter.toModel(this._model)),this._cRef.instance.registerOnChange(T=>{this.writeValue(T),this._onChange(T),this._onTouched()}),this._cRef.changeDetectorRef.detectChanges(),this._cRef.instance.setDisabledState(this.disabled),"body"===this.container&&this._document.querySelector(this.container)?.appendChild(this._cRef.location.nativeElement),this._elWithFocus=this._document.activeElement,hi(this._ngZone,this._cRef.location.nativeElement,this.closed,!0),setTimeout(()=>this._cRef?.instance.focus()),f=mr(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget instanceof HTMLElement?this.positionTarget:this._elRef.nativeElement,this.positionTarget&&!f)throw new Error("ngbDatepicker could not find element declared in [positionTarget] to position against.");this._ngZone.runOutsideAngular(()=>{this._cRef&&f&&(this._positioning.createPopper({hostElement:f,targetElement:this._cRef.location.nativeElement,placement:this.placement,appendToBody:"body"===this.container,updatePopperOptions:T=>this.popperOptions(rl([0,2])(T))}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>
1this._positioning.update()))}),this._setCloseHandlers()}}close(){if(this.isOpen()){this._vcRef.remove(this._vcRef.indexOf(this._cRef.hostView)),this._cRef=null,this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this._destroyCloseHandlers$.next(),this.closed.emit(),this._changeDetector.markForCheck();let f=this._elWithFocus;mr(this.restoreFocus)?f=this._document.querySelector(this.restoreFocus):void 0!==this.restoreFocus&&(f=this.restoreFocus),f&&f.focus?f.focus():this._document.body.focus()}}toggle(){this.isOpen()?this.close():this.open()}navigateTo(f){this.isOpen()&&this._cRef.instance.navigateTo(f)}onBlur(){this._onTouched()}onFocus(){this._elWithFocus=this._elRef.nativeElement}ngOnChanges(f){if((f.minDate||f.maxDate)&&(this._validatorChange(),this.isOpen()&&(f.minDate&&this._cRef.setInput("minDate",this.minDate),f.maxDate&&this._cRef.setInput("maxDate",this.maxDate))),f.datepickerClass){const{currentValue:T,previousValue:k}=f.datepickerClass;this._applyPopupClass(T,k)}f.autoClose&&this.isOpen()&&this._setCloseHandlers()}ngOnDestroy(){this.close()}_applyDatepickerInputs(f){["contentTemplate","dayTemplate","dayTemplateData","displayMonths","firstDayOfWeek","footerTemplate","markDisabled","minDate","maxDate","navigation","outsideDays","showNavigation","showWeekNumbers","weekdays"].forEach(T=>{void 0!==this[T]&&f.setInput(T,this[T])}),f.setInput("startDate",this.startDate||this._model)}_applyPopupClass(f,T){const k=this._cRef?.location.nativeElement;k&&(f&&k.classList.add(f),T&&k.classList.remove(T))}_applyPopupStyling(f){f.classList.add("dropdown-menu","show"),"body"===this.container&&f.classList.add("ngb-dp-body"),this._applyPopupClass(this.datepickerClass)}_subscribeForDatepickerOutputs(f){f.navigate.subscribe(T=>this.navigate.emit(T)),f.dateSelect.subscribe(T=>{this.dateSelect.emit(T),(!0===this.autoClose||"inside"===this.autoClose)&&this.close()})}_writeModelValue(f){const T=this._parserFormatter.format(f);this._inputValue=T,this._elRef.nativeElement.value=T,this.isOpen()&&(this._cRef.instance.writeValue(this._dateAdapter.toModel(f)),this._onTouched())}_fromDateStruct(f){const T=f?new Ps(f.year,f.month,f.day):null;return this._calendar.isValid(T)?T:null}_setCloseHandlers(){this._destroyCloseHandlers$.next(),It(this._ngZone,this._document,this.autoClose,()=>this.close(),this._destroyCloseHandlers$,[],[this._elRef.nativeElement,this._cRef.location.nativeElement])}static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275dir=l.FsC({type:g,selectors:[["input","ngbDatepicker",""]],hostVars:1,hostBindings:function(T,k){1&T&&l.bIt("input",function(Re){return k.manualDateChange(Re.target.value)})("change",function(Re){return k.manualDateChange(Re.target.value,!0)})("focus",function(){return k.onFocus()})("blur",function(){return k.onBlur()}),2&T&&l.Mr5("disabled",k.disabled)},inputs:{autoClose:"autoClose",contentTemplate:"contentTemplate",datepickerClass:"datepickerClass",dayTemplate:"dayTemplate",dayTemplateData:"dayTemplateData",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",footerTemplate:"footerTemplate",markDisabled:"markDisabled",minDate:"minDate",maxDate:"maxDate",navigation:"navigation",outsideDays:"outsideDays",placement:"placement",popperOptions:"popperOptions",restoreFocus:"restoreFocus",showWeekNumbers:"showWeekNumbers",startDate:"startDate",container:"container",positionTarget:"positionTarget",weekdays:"weekdays",disabled:"disabled"},outputs:{dateSelect:"dateSelect",navigate:"navigate",closed:"closed"},exportAs:["ngbDatepicker"],standalone:!0,features:[l.Jv_([{provide:Tn.kq,useExisting:(0,l.Rfq)(()=>g),multi:!0},{provide:Tn.cz,useExisting:(0,l.Rfq)(()=>g),multi:!0},{provide:Il,useExisting:bd}]),l.OA$]})}}return g})();new Date(1882,10,12),new Date(2174,10,25);let Sd=(()=>{class g{static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275mod=l.$C({type:g})}static{this.\u0275inj=l.G2t({})}}return g})(),nf=(()=>{class g{static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275mod=l.$C({type:g})}static{this.\u0275inj=l.G2t({})}}return g})(),zg=(()=>{class g{constructor(){this._ngbConfig=(0,l.WQX)(Ji),this.backdrop=!0,this.fullscreen=!1,this.keyboard=!0}get animation(){return this._animation??this._ngbConfig.animation}set animation(f){this._animation=f}static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275prov=l.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})();class ll{constructor(A,f,T){this.nodes=A,this.viewRef=f,this.componentRef=T}}class Bc{constructor(A){this._componentType=A,this._windowRef=null,this._contentRef=null,this._document=(0,l.WQX)(jt.qQ),this._applicationRef=(0,l.WQX)(l.o8S),this._injector=(0,l.WQX)(l.zZn),this._viewContainerRef
1=(0,l.WQX)(l.c1b),this._ngZone=(0,l.WQX)(l.SKi)}open(A,f,T=!1){this._windowRef||(this._contentRef=this._getContentRef(A,f),this._windowRef=this._viewContainerRef.createComponent(this._componentType,{injector:this._injector,projectableNodes:this._contentRef.nodes}));const{nativeElement:k}=this._windowRef.location,le=this._ngZone.onStable.pipe((0,X.s)(1),(0,vt.Z)(()=>Lt(this._ngZone,k,({classList:Re})=>Re.add("show"),{animation:T,runningTransition:"continue"})));return{windowRef:this._windowRef,transition$:le}}close(A=!1){return this._windowRef?Lt(this._ngZone,this._windowRef.location.nativeElement,({classList:f})=>f.remove("show"),{animation:A,runningTransition:"stop"}).pipe((0,Ne.M)(()=>{this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null),this._contentRef?.viewRef&&(this._applicationRef.detachView(this._contentRef.viewRef),this._contentRef.viewRef.destroy(),this._contentRef=null)})):(0,G.of)(void 0)}_getContentRef(A,f){if(A){if(A instanceof l.C4Q){const T=A.createEmbeddedView(f);return this._applicationRef.attachView(T),new ll([T.rootNodes],T)}return new ll([[this._document.createTextNode(`${A}`)]])}return new ll([])}}let sf=(()=>{class g{constructor(){this._document=(0,l.WQX)(jt.qQ)}hide(){const f=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),T=this._document.body,k=T.style,{overflow:le,paddingRight:Re}=k;if(f>0){const lt=parseFloat(window.getComputedStyle(T).paddingRight);k.paddingRight=`${lt+f}px`}return k.overflow="hidden",()=>{f>0&&(k.paddingRight=Re),k.overflow=le}}static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275prov=l.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})(),Yc=(()=>{class g{constructor(){this._nativeElement=(0,l.WQX)(l.aKT).nativeElement,this._zone=(0,l.WQX)(l.SKi)}ngOnInit(){this._zone.onStable.asObservable().pipe((0,X.s)(1)).subscribe(()=>{Lt(this._zone,this._nativeElement,(f,T)=>{T&&Rn(f),f.classList.add("show")},{animation:this.animation,runningTransition:"continue"})})}hide(){return Lt(this._zone,this._nativeElement,({classList:f})=>f.remove("show"),{animation:this.animation,runningTransition:"stop"})}static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275cmp=l.VBU({type:g,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(T,k){2&T&&(l.HbH("modal-backdrop"+(k.backdropClass?" "+k.backdropClass:"")),l.AVh("show",!k.animation)("fade",k.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},standalone:!0,features:[l.aNF],decls:0,vars:0,template:function(T,k){},encapsulation:2})}}return g})();class $c{update(A){}close(A){}dismiss(A){}}const Rd=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","scrollable","size","windowClass","modalDialogClass"],Kg=["animation","backdropClass"];class oh{_applyWindowOptions(A,f){Rd.forEach(T=>{co(f[T])&&(A[T]=f[T])})}_applyBackdropOptions(A,f){Kg.forEach(T=>{co(f[T])&&(A[T]=f[T])})}update(A){this._applyWindowOptions(this._windowCmptRef.instance,A),this._backdropCmptRef&&this._backdropCmptRef.instance&&this._applyBackdropOptions(this._backdropCmptRef.instance,A)}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe((0,m.Q)(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe((0,m.Q)(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}constructor(A,f,T,k){this._windowCmptRef=A,this._contentRef=f,this._backdropCmptRef=T,this._beforeDismiss=k,this._closed=new Y.B,this._dismissed=new Y.B,this._hidden=new Y.B,A.instance.dismissEvent.subscribe(le=>{this.dismiss(le)}),this.result=new Promise((le,Re)=>{this._resolve=le,this._reject=Re}),this.result.then(null,()=>{})}close(A){this._windowCmptRef&&(this._closed.next(A),this._resolve(A),this._removeModalElements())}_dismiss(A){this._dismissed.next(A),this._reject(A),this._removeModalElements()}dismiss(A){if(this._windowCmptRef)if(this._beforeDismiss){const f=this._beforeDismiss();!function ra(g){return g&&g.then}(f)?!1!==f&&this._dismiss(A):f.then(T=>{!1!==T&&this._dismiss(A)},()=>{})}else this._dismiss(A)}_removeModalElements(){const A=this._windowCmptRef.instance.hide(),f=this._backdropCmptRef?this._backdropCmptRef.instance.hide():(0,G.of)(void 0);A.subscribe(()=>{const{nativeElement:T}=this._windowCmptRef.location;T.parentNode.removeChild(T),this._windowCmptRef.destroy(),this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._contentRef=null}),f.subscribe(()=>{if(this._backdropCmptRef){const{nativeElement:T}=this._backdropCmptRef.location;T.parentNode.removeChild(T),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),Te(A,f).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}}var wd=function(g){return g[g.BACKDROP_CLICK=0]="BACKDROP_CLICK",g[g.ESC=1]="ESC",g}(wd||{});let rf=(()=>{class g{constructor(){this._document=(0,l.WQX)(jt.qQ),this._elRef=(0,l.WQX)(l.aKT),this._zone=(0,l.WQX)(l.SKi),this._closed$=new Y.B,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new l.bkB,this.shown=new Y.B,this.hidden=new Y.B}get fullscreenClass(){return!0===this.fullscreen?" modal-fullscreen":mr(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(f){this.dismissEvent.emit(f)}ngOnInit(){this._elWithFocus=this._document.activeElement,this._zone.onStable.asObservable().pipe((0,X.s)(1)).subscribe(()=>{this._show()})}ngOnDestroy(){this._disableEventHandling()}hide(){const{nativeElement:f}=this._elRef,T={animation:this.animation,runningTransition:"stop"},Re=Te(Lt(this._zone,f,()=>f.classList.remove("show"),T),Lt(this._zone,this._dialogEl.nativeElement,()=>{},T));return Re.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),Re}_show(){const f={animation:this.animation,runningTransition:"continue"};Te(Lt(this._zone,this._elRef.nativeElement,(le,Re)=>{Re&&Rn(le),le.classList.add("show")},f),Lt(this._zone,this._dialogEl.nativeElement,()=>{},f)).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){const{nativeElement:f}=this._elRef;this._zone.runOutsideAngular(()=>{(0,q.R)(f,"keydown").pipe((0,m.Q)(this._closed$),(0,Se.p)(k=>k.which===cs.Escape)).subscribe(k=>{this.keyboard?requestAnimationFrame(()=>{k.defaultPrevented||this._zone.run(()=>this.dismiss(wd.ESC))}):"static"===this.backdrop&&this._bumpBackdrop()});let T=!1;(0,q.R)(this._dialogEl.nativeElement,"mousedown").pipe((0,m.Q)(this._closed$),(0,Ne.M)(()=>T=!1),(0,Ve.n)(()=>(0,q.R)(f,"mouseup").pipe((0,m.Q)(this._closed$),(0,X.s)(1))),(0,Se.p)(({target:k})=>f===k)).subscribe(()=>{T=!0}),(0,q.R)(f,"click").pipe((0,m.Q)(this._closed$)).subscribe(({target:k})=>{f===k&&("static"===this.backdrop?this._bumpBackdrop():!0===this.backdrop&&!T&&this._zone.run(()=>this.dismiss(wd.BACKDROP_CLICK))),T=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){const{nativeElement:f}=this._elRef;if(!f.contains(document.activeElement)){const T=f.querySelector("[ngbAutofocus]"),k=Zn(f)[0];(T||k||f).focus()}}_restoreFocus(){const f=this._document.body,T=this._elWithFocus;let k;k=T&&T.focus&&f.contains(T)?T:f,this._zone.runOutsideAngular(()=>{setTimeout(()=>k.focus()),this._elWithFocus=null})}_bumpBackdrop(){"static"===this.backdrop&&Lt(this._zone,this._elRef.nativeElement,({classList:f})=>(f.add("modal-static"),()=>f.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275cmp=l.VBU({type:g,selectors:[["ngb-modal-window"]],viewQuery:function(T,k){if(1&T&&l.GBs(Fr,7),2&T){let le;l.mGM(le=l.lsd())&&(k._dialogEl=le.first)}},hostAttrs:["role","dialog","tabindex","-1"],hostVars:7,hostBindings:function(T,k){2&T&&(l.BMQ("aria-modal",!0)("aria-labelledby",k.ariaLabelledBy)("aria-describedby",k.ariaDescribedBy),l.HbH("modal d-block"+(k.windowClass?" "+k.windowClass:"")),l.AVh("fade",k.animation))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",backdrop:"backdrop",centered:"centered",fullscreen:"fullscreen",keyboard:"keyboard",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},standalone:!0,features:[l.aNF],ngContentSelectors:Ks,decls:4,vars:2,consts:[["dialog",""],["role","document"],[1,"modal-content"]],template:function(T,k){1&T&&(l.NAR(),l.j41(0,"div",1,0)(2,"div",2),l.SdG(3),l.k0s()()),2&T&&l.HbH("modal-dialog"+(k.size?" modal-"+k.size:"")+(k.centered?" modal-dialog-centered":"")+k.fullscreenClass+(k.scrollable?" modal-dialog-scrollable":"")+(k.modalDialogClass?" "+k.modalDialogClass:""))},styles:["ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}\n"],encapsulation:2})}}return g})(),Va=(()=>{class g{constructor(){this._applicationRef=(0,l.WQX)(l.o8S),this._injector=(0,l.WQX)(l.zZn),this._environmentInjector=(0,l.WQX)(l.uvJ),this._document=(0,l.WQX)(jt.qQ),this._scrollBar=(0,l.WQX)(sf),this._activeWindowCmptHasChanged=new Y.B,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._modalRef
1s=[],this._windowCmpts=[],this._activeInstances=new l.bkB;const f=(0,l.WQX)(l.SKi);this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){const T=this._windowCmpts[this._windowCmpts.length-1];hi(f,T.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(T.location.nativeElement)}})}_restoreScrollBar(){const f=this._scrollBarRestoreFn;f&&(this._scrollBarRestoreFn=null,f())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(f,T,k){const le=k.container instanceof HTMLElement?k.container:co(k.container)?this._document.querySelector(k.container):this._document.body;if(!le)throw new Error(`The specified modal container "${k.container||"body"}" was not found in the DOM.`);this._hideScrollBar();const Re=new $c,lt=(f=k.injector||f).get(l.uvJ,null)||this._environmentInjector,yt=this._getContentRef(f,lt,T,Re,k);let xt=!1!==k.backdrop?this._attachBackdrop(le):void 0,Ut=this._attachWindowComponent(le,yt.nodes),hn=new oh(Ut,yt,xt,k.beforeDismiss);return this._registerModalRef(hn),this._registerWindowCmpt(Ut),hn.hidden.pipe((0,X.s)(1)).subscribe(()=>Promise.resolve(!0).then(()=>{this._modalRefs.length||(this._document.body.classList.remove("modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),Re.close=ln=>{hn.close(ln)},Re.dismiss=ln=>{hn.dismiss(ln)},Re.update=ln=>{hn.update(ln)},hn.update(k),1===this._modalRefs.length&&this._document.body.classList.add("modal-open"),xt&&xt.instance&&xt.changeDetectorRef.detectChanges(),Ut.changeDetectorRef.detectChanges(),hn}get activeInstances(){return this._activeInstances}dismissAll(f){this._modalRefs.forEach(T=>T.dismiss(f))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(f){let T=(0,l.a0P)(Yc,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector});return this._applicationRef.attachView(T.hostView),f.appendChild(T.location.nativeElement),T}_attachWindowComponent(f,T){let k=(0,l.a0P)(rf,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector,projectableNodes:T});return this._applicationRef.attachView(k.hostView),f.appendChild(k.location.nativeElement),k}_getContentRef(f,T,k,le,Re){return k?k instanceof l.C4Q?this._createFromTemplateRef(k,le):mr(k)?this._createFromString(k):this._createFromComponent(f,T,k,le,Re):new ll([])}_createFromTemplateRef(f,T){const le=f.createEmbeddedView({$implicit:T,close(Re){T.close(Re)},dismiss(Re){T.dismiss(Re)}});return this._applicationRef.attachView(le),new ll([le.rootNodes],le)}_createFromString(f){const T=this._document.createTextNode(`${f}`);return new ll([[T]])}_createFromComponent(f,T,k,le,Re){const lt=l.zZn.create({providers:[{provide:$c,useValue:le}],parent:f}),yt=(0,l.a0P)(k,{environmentInjector:T,elementInjector:lt}),xt=yt.location.nativeElement;return Re.scrollable&&xt.classList.add("component-host-scrollable"),this._applicationRef.attachView(yt.hostView),new ll([[xt]],yt.hostView,yt)}_setAriaHidden(f){const T=f.parentElement;T&&f!==this._document.body&&(Array.from(T.children).forEach(k=>{k!==f&&"SCRIPT"!==k.nodeName&&(this._ariaHiddenValues.set(k,k.getAttribute("aria-hidden")),k.setAttribute("aria-hidden","true"))}),this._setAriaHidden(T))}_revertAriaHidden(){this._ariaHiddenValues.forEach((f,T)=>{f?T.setAttribute("aria-hidden",f):T.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(f){const T=()=>{const k=this._modalRefs.indexOf(f);k>-1&&(this._modalRefs.splice(k,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(f),this._activeInstances.emit(this._modalRefs),f.result.then(T,T)}_registerWindowCmpt(f){this._windowCmpts.push(f),this._activeWindowCmptHasChanged.next(),f.onDestroy(()=>{const T=this._windowCmpts.indexOf(f);T>-1&&(this._windowCmpts.splice(T,1),this._activeWindowCmptHasChanged.next())})}static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275prov=l.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})(),ah=(()=>{class g{constructor(){this._injector=(0,l.WQX)(l.zZn),this._modalStack=(0,l.WQX)(Va),this._config=(0,l.WQX)(zg)}open(f,T={}){const k={...this._config,animation:this._config.animation,...T};return this._modalStack.open(this._injector,f,k)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(f){this._modalStack.dismissAll(f)}hasOpenModals(){return this._modalStack.hasOpenModals()}static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275prov=l.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})(),ac=(()=>{class g{static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275mod=l.$C({type:g})}static{this.\u0275inj=l.G2t({providers:[ah]})}}return g})(),kd=(()=>{class g{constructor(){this._ngbConfig=(0,l.WQX)(Ji),this.destroyOnHide=!0,this.orientation="horizontal",this.roles="tablist",this.keyboard=!0}get animation(){return this._animation??this._ngbConfig.animation}set animation(f){this._animation=f}static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275prov=l.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})();const Nu=g=>co(g)&&""!==g;let Ou=0,Oa=(()=>{class g{constructor(){this.templateRef=(0,l.WQX)(l.C4Q)}static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275dir=l.FsC({type:g,selectors:[["ng-template","ngbNavContent",""]],standalone:!0})}}return g})(),Ad=(()=>{class g{constructor(f){this.role=f,this.nav=(0,l.WQX)(jl)}static{this.\u0275fac=function(T){return new(T||g)(l.kS0("role"))}}static{this.\u0275dir=l.FsC({type:g,selectors:[["","ngbNavItem","",5,"ng-container"]],hostVars:1,hostBindings:function(T,k){2&T&&l.BMQ("role",k.role?k.role:k.nav.roles?"presentation":void 0)},standalone:!0})}}return g})(),lc=(()=>{class g{constructor(){this._nav=(0,l.WQX)(jl),this._nativeElement=(0,l.WQX)(l.aKT).nativeElement,this.disabled=!1,this.shown=new l.bkB,this.hidden=new l.bkB}ngAfterContentChecked(){this.contentTpl=this.contentTpls.first}ngOnInit(){co(this.domId)||(this.domId="ngb-nav-"+Ou++)}get active(){return this._nav.activeId===this.id}get id(){return Nu(this._id)?this._id:this.domId}get panelDomId(){return`${this.domId}-panel`}isPanelInDom(){return(co(this.destroyOnHide)?!this.destroyOnHide:!this._nav.destroyOnHide)||this.active}isNgContainer(){return this._nativeElement.nodeType===Node.COMMENT_NODE}static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275dir=l.FsC({type:g,selectors:[["","ngbNavItem",""]],contentQueries:function(T,k,le){if(1&T&&l.wni(le,Oa,4),2&T){let Re;l.mGM(Re=l.lsd())&&(k.contentTpls=Re)}},hostVars:2,hostBindings:function(T,k){2&T&&l.AVh("nav-item",!0)},inputs:{destroyOnHide:"destroyOnHide",disabled:"disabled",domId:"domId",_id:[l.Mj6.None,"ngbNavItem","_id"]},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbNavItem"],standalone:!0})}}return g})(),jl=(()=>{class g{constructor(f){this.role=f,this._config=(0,l.WQX)(kd),this._cd=(0,l.WQX)(l.gRc),this._document=(0,l.WQX)(jt.qQ),this._nativeElement=(0,l.WQX)(l.aKT).nativeElement,this.destroyRef=(0,l.WQX)(l.abz),this._navigatingWithKeyboard=!1,this.activeIdChange=new l.bkB,this.animation=this._config.animation,this.destroyOnHide=this._config.destroyOnHide,this.orientation=this._config.orientation,this.roles=this._config.roles,this.keyboard=this._config.keyboard,this.shown=new l.bkB,this.hidden=new l.bkB,this.navItemChange$=new Y.B,this.navChange=new l.bkB}click(f){f.disabled||this._updateActiveId(f.id)}onFocusout({relatedTarget:f}){this._nativeElement.contains(f)||(this._navigatingWithKeyboard=!1)}onKeyDown(f){if("tablist"!==this.roles||!this.keyboard)return;const T=f.which,k=this.links.filter(lt=>!lt.navItem.disabled),{length:le}=k;let Re=-1;if(k.forEach((lt,yt)=>{lt.nativeElement===this._document.activeElement&&(Re=yt)}
1),le){switch(T){case cs.ArrowUp:case cs.ArrowLeft:Re=(Re-1+le)%le;break;case cs.ArrowRight:case cs.ArrowDown:Re=(Re+1)%le;break;case cs.Home:Re=0;break;case cs.End:Re=le-1}"changeWithArrows"===this.keyboard&&this.select(k[Re].navItem.id),k[Re].nativeElement.focus(),this._navigatingWithKeyboard=!0,f.preventDefault()}}select(f){this._updateActiveId(f,!1)}ngAfterContentInit(){if(!co(this.activeId)){const f=this.items.first?this.items.first.id:null;Nu(f)&&(this._updateActiveId(f,!1),this._cd.detectChanges())}this.items.changes.pipe(b(this.destroyRef)).subscribe(()=>this._notifyItemChanged(this.activeId))}ngOnChanges({activeId:f}){f&&!f.firstChange&&this._notifyItemChanged(f.currentValue)}_updateActiveId(f,T=!0){if(this.activeId!==f){let k=!1;T&&this.navChange.emit({activeId:this.activeId,nextId:f,preventDefault:()=>{k=!0}}),k||(this.activeId=f,this.activeIdChange.emit(f),this._notifyItemChanged(f))}}_notifyItemChanged(f){this.navItemChange$.next(this._getItemById(f))}_getItemById(f){return this.items&&this.items.find(T=>T.id===f)||null}static{this.\u0275fac=function(T){return new(T||g)(l.kS0("role"))}}static{this.\u0275dir=l.FsC({type:g,selectors:[["","ngbNav",""]],contentQueries:function(T,k,le){if(1&T&&(l.wni(le,lc,4),l.wni(le,Bl,5)),2&T){let Re;l.mGM(Re=l.lsd())&&(k.items=Re),l.mGM(Re=l.lsd())&&(k.links=Re)}},hostVars:6,hostBindings:function(T,k){1&T&&l.bIt("keydown.arrowLeft",function(Re){return k.onKeyDown(Re)})("keydown.arrowRight",function(Re){return k.onKeyDown(Re)})("keydown.arrowDown",function(Re){return k.onKeyDown(Re)})("keydown.arrowUp",function(Re){return k.onKeyDown(Re)})("keydown.Home",function(Re){return k.onKeyDown(Re)})("keydown.End",function(Re){return k.onKeyDown(Re)})("focusout",function(Re){return k.onFocusout(Re)}),2&T&&(l.BMQ("aria-orientation","vertical"===k.orientation&&"tablist"===k.roles?"vertical":void 0)("role",k.role?k.role:k.roles?"tablist":void 0),l.AVh("nav",!0)("flex-column","vertical"===k.orientation))},inputs:{activeId:"activeId",animation:"animation",destroyOnHide:"destroyOnHide",orientation:"orientation",roles:"roles",keyboard:"keyboard"},outputs:{activeIdChange:"activeIdChange",shown:"shown",hidden:"hidden",navChange:"navChange"},exportAs:["ngbNav"],standalone:!0,features:[l.OA$]})}}return g})(),Bl=(()=>{class g{constructor(f){this.role=f,this.navItem=(0,l.WQX)(lc),this.nav=(0,l.WQX)(jl),this.nativeElement=(0,l.WQX)(l.aKT).nativeElement}get tabindex(){return!1===this.nav.keyboard?this.navItem.disabled?-1:void 0:this.nav._navigatingWithKeyboard||this.navItem.disabled||!this.navItem.active?-1:void 0}static{this.\u0275fac=function(T){return new(T||g)(l.kS0("role"))}}static{this.\u0275dir=l.FsC({type:g,selectors:[["","ngbNavLink",""]],hostVars:14,hostBindings:function(T,k){2&T&&(l.Mr5("id",k.navItem.domId),l.BMQ("role",k.role?k.role:k.nav.roles?"tab":void 0)("tabindex",k.tabindex)("aria-controls",k.navItem.isPanelInDom()?k.navItem.panelDomId:null)("aria-selected",k.navItem.active)("aria-disabled",k.navItem.disabled),l.AVh("nav-link",!0)("nav-item",k.navItem.isNgContainer())("active",k.navItem.active)("disabled",k.navItem.disabled))},standalone:!0})}}return g})(),ch=(()=>{class g extends Bl{static{this.\u0275fac=(()=>{let f;return function(k){return(f||(f=l.xGo(g)))(k||g)}})()}static{this.\u0275dir=l.FsC({type:g,selectors:[["a","ngbNavLink",""]],hostAttrs:["href",""],hostBindings:function(T,k){1&T&&l.bIt("click",function(Re){return k.nav.click(k.navItem),Re.preventDefault()})},standalone:!0,features:[l.Vt3]})}}return g})(),ca=(()=>{class g{static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275mod=l.$C({type:g})}static{this.\u0275inj=l.G2t({})}}return g})(),$l=(()=>{class g{constructor(){this.disabled=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.ellipses=!0,this.maxSize=0,this.pageSize=10,this.rotate=!1}static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275prov=l.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})(),Rr=(()=>{class g{constructor(){this.templateRef=(0,l.WQX)(l.C4Q)}static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275dir=l.FsC({type:g,selectors:[["ng-template","ngbPaginationEllipsis",""]],standalone:!0})}}return g})(),cc=(()=>{class g{constructor(){this.templateRef=(0,l.WQX)(l.C4Q)}static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275dir=l.FsC({type:g,selectors:[["ng-template","ngbPaginationFirst",""]],standalone:!0})}}return g})(),Fu=(()=>{class g{constructor(){this.templateRef=(0,l.WQX)(l.C4Q)}static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275dir=l.FsC({type:g,selectors:[["ng-template","ngbPaginationLast",""]],standalone:!0})}}return g})(),Gc=(()=>{class g{constructor(){this.templateRef=(0,l.WQX)(l.C4Q)}static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275dir=l.FsC({type:g,selectors:[["ng-template","ngbPaginationNext",""]],standalone:!0})}}return g})(),dc=(()=>{class g{constructor(){this.templateRef=(0,l.WQX)(l.C4Q)}static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275dir=l.FsC({type:g,selectors:[["ng-template","ngbPaginationNumber",""]],standalone:!0})}}return g})(),uc=(()=>{class g{constructor(){this.templateRef=(0,l.WQX)(l.C4Q)}static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275dir=l.FsC({type:g,selectors:[["ng-template","ngbPaginationPrevious",""]],standalone:!0})}}return g})(),Fa=(()=>{class g{constructor(){this.templateRef=(0,l.WQX)(l.C4Q)}static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275dir=l.FsC({type:g,selectors:[["ng-template","ngbPaginationPages",""]],standalone:!0})}}return g})(),af=(()=>{class g{constructor(){this._config=(0,l.WQX)($l),this.pageCount=0,this.pages=[],this.disabled=this._config.disabled,this.boundaryLinks=this._config.boun
1daryLinks,this.directionLinks=this._config.directionLinks,this.ellipses=this._config.ellipses,this.rotate=this._config.rotate,this.maxSize=this._config.maxSize,this.page=1,this.pageSize=this._config.pageSize,this.pageChange=new l.bkB(!0),this.size=this._config.size}hasPrevious(){return this.page>1}hasNext(){return this.page<this.pageCount}nextDisabled(){return!this.hasNext()||this.disabled}previousDisabled(){return!this.hasPrevious()||this.disabled}selectPage(f){this._updatePages(f)}ngOnChanges(f){this._updatePages(this.page)}isEllipsis(f){return-1===f}_applyEllipses(f,T){this.ellipses&&(f>0&&(f>2?this.pages.unshift(-1):2===f&&this.pages.unshift(2),this.pages.unshift(1)),T<this.pageCount&&(T<this.pageCount-2?this.pages.push(-1):T===this.pageCount-2&&this.pages.push(this.pageCount-1),this.pages.push(this.pageCount)))}_applyRotation(){let f=0,T=this.pageCount,k=Math.floor(this.maxSize/2);return this.page<=k?T=this.maxSize:this.pageCount-this.page<k?f=this.pageCount-this.maxSize:(f=this.page-k-1,T=this.page+(this.maxSize%2==0?k-1:k)),[f,T]}_applyPagination(){let T=(Math.ceil(this.page/this.maxSize)-1)*this.maxSize;return[T,T+this.maxSize]}_setPageInRange(f){const T=this.page;this.page=function Ao(g,A,f=0){return Math.max(Math.min(g,A),f)}(f,this.pageCount,1),this.page!==T&&gs(this.collectionSize)&&this.pageChange.emit(this.page)}_updatePages(f){this.pageCount=Math.ceil(this.collectionSize/this.pageSize),gs(this.pageCount)||(this.pageCount=0),this.pages.length=0;for(let T=1;T<=this.pageCount;T++)this.pages.push(T);if(this._setPageInRange(f),this.maxSize>0&&this.pageCount>this.maxSize){let T=0,k=this.pageCount;[T,k]=this.rotate?this._applyRotation():this._applyPagination(),this.pages=this.pages.slice(T,k),this._applyEllipses(T,k)}}static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275cmp=l.VBU({type:g,selectors:[["ngb-pagination"]],contentQueries:function(T,k,le){if(1&T&&(l.wni(le,Rr,5),l.wni(le,cc,5),l.wni(le,Fu,5),l.wni(le,Gc,5),l.wni(le,dc,5),l.wni(le,uc,5),l.wni(le,Fa,5)),2&T){let Re;l.mGM(Re=l.lsd())&&(k.tplEllipsis=Re.first),l.mGM(Re=l.lsd())&&(k.tplFirst=Re.first),l.mGM(Re=l.lsd())&&(k.tplLast=Re.first),l.mGM(Re=l.lsd())&&(k.tplNext=Re.first),l.mGM(Re=l.lsd())&&(k.tplNumber=Re.first),l.mGM(Re=l.lsd())&&(k.tplPrevious=Re.first),l.mGM(Re=l.lsd())&&(k.tplPages=Re.first)}},hostAttrs:["role","navigation"],inputs:{disabled:"disabled",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",ellipses:"ellipses",rotate:"rotate",collectionSize:"collectionSize",maxSize:"maxSize",page:"page",pageSize:"pageSize",size:"size"},outputs:{pageChange:"pageChange"},standalone:!0,features:[l.OA$,l.aNF],decls:20,vars:12,consts:()=>{let f,T,k,le,Re,lt,yt,xt;return f=$localize`:@@ngb.pagination.first:««`,T=$localize`:@@ngb.pagination.previous:«`,k=$localize`:@@ngb.pagination.next:»`,le=$localize`:@@ngb.pagination.last:»»`,Re=$localize`:@@ngb.pagination.first-aria:First`,lt=$localize`:@@ngb.pagination.previous-aria:Previous`,yt=$localize`:@@ngb.pagination.next-aria:Next`,xt=$localize`:@@ngb.pagination.last-aria:Last`,[["first",""],["previous",""],["next",""],["last",""],["ellipsis",""],["defaultNumber",""],["defaultPages",""],f,T,k,le,[1,"page-item",3,"disabled"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true"],[1,"page-item",3,"active","disabled"],[1,"page-item"],["tabindex","-1","aria-disabled","true",1,"page-link"],["href","",1,"page-link",3,"click"],["aria-label",Re,"href","",1,"page-link",3,"click"],["aria-label",lt,"href","",1,"page-link",3,"click"],["aria-label",yt,"href","",1,"page-link",3,"click"],["aria-label",xt,"href","",1,"page-link",3,"click"]]},template:function(T,k){if(1&T&&(l.DNE(0,In,2,0,"ng-template",null,0,l.C5r)(2,Jn,2,0,"ng-template",null,1,l.C5r)(4,Ms,2,0,"ng-template",null,2,l.C5r)(6,Lr,2,0,"ng-template",null,3,l.C5r)(8,nr,1,0,"ng-template",null,4,l.C5r)(10,ls,1,1,"ng-template",null,5,l.C5r)(12,ia,2,0,"ng-template",null,6,l.C5r),l.j41(14,"ul"),l.DNE(15,bl,3,9,"li",11)(16,Hi,3,8,"li",11)(17,Sa,0,0,"ng-template",12)(18,Pr,3,9,"li",11)(19,ja,3,9,"li",11),l.k0s()),2&T){const le=l.sdS(13);l.R7$(14),l.HbH("pagination"+(k.size?" pagination-"+k.size:"")),l.R7$(),l.vxM(15,k.boundaryLinks?15:-1),l.R7$(),l.vxM(16,k.directionLinks?16:-1),l.R7$(),l.Y8G("ngTemplateOutlet",(null==k.tplPages?null:k.tplPages.templateRef)||le)("ngTemplateOutletContext",l.sMw(8,de,k.page,k.pages,k.disabled)),l.R7$(),l.vxM(18,k.directionLinks?18:-1),l.R7$(),l.vxM(19,k.boundaryLinks?19:-1)}},dependencies:[jt.T3],encapsulation:2,changeDetection:0})}}return g})(),Ul=(()=>{class g{static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275mod=l.$C({type:g})}static{this.\u0275inj=l.G2t({})}}return g})();const xd={hover:["mouseenter","mouseleave"],focus:["focusin","focusout"]};let ph=(()=>{class g{static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275mod=l.$C({type:g})}static{this.\u0275inj=l.G2t({})}}return g})(),Lu=(()=>{class g{static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275mod=l.$C({type:g})}static{this.\u0275inj=l.G2t({})}}return g})(),t1=(()=>{class g{static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275mod=l.$C({type:g})}static{this.\u0275inj=l.G2t({})}}return g})(),hf=(()=>{class g{static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275mod=l.$C({type:g})}static{this.\u0275inj=l.G2t({})}}return g})(),Wa=(()=>{class g{static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275mod=l.$C({type:g})}static{this.\u0275inj=l.G2t({})}}return g})(),mh=(()=>{class g{static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275mod=l.$C({type:g})}static{this.\u0275inj=l.G2t({})}}return g})(),Bu=(()=>{class g{constructor(){this._ngbConfig=(0,l.WQX)(Ji),this.autoClose=!0,this.placement="auto",this.popperOptions=f=>f,this.triggers="hover focus",this.disableTooltip=!1,this.openDelay=0,this.closeDelay=0}get animation(){return this._animation??this._ngbConfig.animation}set animation(f){this._animation=f}static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275prov=l.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})(),Yu=0,$u=(()=>{class g{static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275cmp=l.VBU({type:g,selectors:[["ngb-tooltip-window"]],hostAttrs:["role","tooltip"],hostVars:5,hostBindings:function(T,k){2&T&&(l.Mr5("id",k.id),l.HbH("tooltip"+(k.tooltipClass?" "+k.tooltipClass:"")),l.AVh("fade",k.animation))},inputs:{animation:"animation",id:"id",tooltipClass:"tooltipClass"},standalone:!0,features:[l.aNF],ngContentSelectors:Ks,decls:3,vars:0,consts:[["data-popper-arrow","",1,"tooltip-arrow"],[1,"tooltip-inner"]],template:function(T,k){1&T&&(l.NAR(),l.nrm(0,"div",0),l.j41(1,"div",1),l.SdG(2),l.k0s())},styles:["ngb-tooltip-window{pointer-events:none;position:absolute}ngb-tooltip-window .tooltip-inner{pointer-events:auto}ngb-tooltip-window.bs-tooltip-top,ngb-tooltip-window.bs-tooltip-bottom{padding-left:0;padding-right:0}ngb-tooltip-window.bs-tooltip-start,ngb-tooltip-window.bs-tooltip-en
1d{padding-top:0;padding-bottom:0}\n"],encapsulation:2,changeDetection:0})}}return g})(),l1=(()=>{class g{constructor(){this._config=(0,l.WQX)(Bu),this.animation=this._config.animation,this.autoClose=this._config.autoClose,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.triggers=this._config.triggers,this.container=this._config.container,this.disableTooltip=this._config.disableTooltip,this.tooltipClass=this._config.tooltipClass,this.openDelay=this._config.openDelay,this.closeDelay=this._config.closeDelay,this.shown=new l.bkB,this.hidden=new l.bkB,this._nativeElement=(0,l.WQX)(l.aKT).nativeElement,this._ngZone=(0,l.WQX)(l.SKi),this._document=(0,l.WQX)(jt.qQ),this._changeDetector=(0,l.WQX)(l.gRc),this._ngbTooltipWindowId="ngb-tooltip-"+Yu++,this._popupService=new Bc($u),this._windowRef=null,this._positioning=$i()}set ngbTooltip(f){this._ngbTooltip=f,!f&&this._windowRef&&this.close()}get ngbTooltip(){return this._ngbTooltip}open(f){if(!this._windowRef&&this._ngbTooltip&&!this.disableTooltip){const{windowRef:T,transition$:k}=this._popupService.open(this._ngbTooltip,f??this.tooltipContext,this.animation);this._windowRef=T,this._windowRef.setInput("animation",this.animation),this._windowRef.setInput("tooltipClass",this.tooltipClass),this._windowRef.setInput("id",this._ngbTooltipWindowId),this._getPositionTargetElement().setAttribute("aria-describedby",this._ngbTooltipWindowId),"body"===this.container&&this._document.body.appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._getPositionTargetElement(),targetElement:this._windowRef.location.nativeElement,placement:this.placement,appendToBody:"body"===this.container,baseClass:"bs-tooltip",updatePopperOptions:le=>this.popperOptions(rl([0,6])(le))}),Promise.resolve().then(()=>{this._positioning.update(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update())})}),It(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement],[this._nativeElement]),k.subscribe(()=>this.shown.emit())}}close(f=this.animation){null!=this._windowRef&&(this._getPositionTargetElement().removeAttribute("aria-describedby"),this._popupService.close(f).subscribe(()=>{this._windowRef=null,this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this.hidden.emit(),this._changeDetector.markForCheck()}))}toggle(){this._windowRef?this.close():this.open()}isOpen(){return null!=this._windowRef}ngOnInit(){this._unregisterListenersFn=function Zg(g,A,f,T,k,le=0,Re=0){const lt=function uh(g){const A=(g||"").trim();if(0===A.length)return[];const f=A.split(/\s+/).map(k=>k.split(":")).map(k=>xd[k[0]]||k),T=f.filter(k=>k.includes("manual"));if(T.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(1===T.length&&f.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return T.length?[]:f}(A);if(0===lt.length)return()=>{};const yt=new Set,xt=[];let Ut;function hn(yn,Ri){g.addEventListener(yn,Ri),xt.push(()=>g.removeEventListener(yn,Ri))}function ln(yn,Ri){clearTimeout(Ut),Ri>0?Ut=setTimeout(yn,Ri):yn()}for(const[yn,Ri]of lt)Ri?(hn(yn,()=>{yt.add(yn),ln(()=>yt.size>0&&T(),le)}),hn(Ri,()=>{yt.delete(yn),ln(()=>0===yt.size&&k(),Re)})):hn(yn,()=>f()?ln(k,Re):ln(T,le));return()=>xt.forEach(yn=>yn())}(this._nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}ngOnChanges({tooltipClass:f}){f&&this.isOpen()&&this._windowRef.setInput("tooltipClass",f.currentValue)}ngOnDestroy(){this.close(!1),this._unregisterListenersFn?.()}_getPositionTargetElement(){return(mr(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget)||this._nativeElement}static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275dir=l.FsC({type:g,selectors:[["","ngbTooltip",""]],inputs:{animation:"animation",autoClose:"autoClose",placement:"placement",popperOptions:"popperOptions",triggers:"triggers",positionTarget:"positionTarget",container:"container",disableTooltip:"disableTooltip",tooltipClass:"tooltipClass",tooltipContext:"tooltipContext",openDelay:"openDelay",closeDelay:"closeDelay",ngbTooltip:"ngbTooltip"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbTooltip"],standalone:!0,features:[l.OA$]})}}return g})(),fh=(()=>{class g{static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275mod=l.$C({type:g})}static{this.\u0275inj=l.G2t({})}}return g})();new l.nKC("live announcer delay",{providedIn:"root",factory:()=>100});let po=(()=>{class g{static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275mod=l.$C({type:g})}static{this.\u0275inj=l.G2t({})}}return g})(),_h=(()=>{class g{static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275mod=l.$C({type:g})}static{this.\u0275inj=l.G2t({})}}return g})();const _1=[Hs,Sr,Xo,li,Sd,nf,ac,ca,_h,Ul,ph,Lu,t1,hf,Wa,mh,fh,po];let g1=(()=>{class g{static{this.\u0275fac=function(T){return new(T||g)}}static{this.\u0275mod=l.$C({type:g})}static{this.\u0275inj=l.G2t({imports:[_1,Hs,Sr,Xo,li,Sd,nf,ac,ca,_h,Ul,ph,Lu,t1,hf,Wa,mh,fh,po]})}}return g})()},3955:(We,Q,I)=>{"use strict";I.d(Q,{D9:()=>Gt,Mm:()=>_t,Wr:()=>Y,c$:()=>ft,er:()=>ee,h:()=>Rt});var l=I(4438),e=I(7673),m=I(4402),b=I(7468),y=I(8793),S=I(9030),p=I(6697),M=I(253),$=I(6354),B=I(274),G=I(5558);class Y{}let q=(()=>{class dt extends Y{getTranslation(Ie){return(0,e.of)({})}static \u0275fac=(()=>{let Ie;return function(vt){return(Ie||(Ie=l.xGo(dt)))(vt||dt)}})();static \u0275prov=l.jDH({token:dt,factory:dt.\u0275fac})}return dt})();class ee{}let oe=(()=>{class dt{handle(Ie){return Ie.key}static \u0275fac=function(ot){return new(ot||dt)};static \u0275prov=l.jDH({token:dt,factory:dt.\u0275fac})}return dt})();function se(dt,et){if(dt===et)return!0;
1if(null===dt||null===et)return!1;if(dt!=dt&&et!=et)return!0;let vt,je,He,Ie=typeof dt;if(Ie==typeof et&&"object"==Ie){if(!Array.isArray(dt)){if(Array.isArray(et))return!1;for(je in He=Object.create(null),dt){if(!se(dt[je],et[je]))return!1;He[je]=!0}for(je in et)if(!(je in He)&&typeof et[je]<"u")return!1;return!0}if(!Array.isArray(et))return!1;if((vt=dt.length)==et.length){for(je=0;je<vt;je++)if(!se(dt[je],et[je]))return!1;return!0}}return!1}function xe(dt){return typeof dt<"u"&&null!==dt}function Le(dt){return dt&&"object"==typeof dt&&!Array.isArray(dt)}function ie(dt,et){let Ie=Object.assign({},dt);return Le(dt)&&Le(et)&&Object.keys(et).forEach(ot=>{Le(et[ot])?ot in dt?Ie[ot]=ie(dt[ot],et[ot]):Object.assign(Ie,{[ot]:et[ot]}):Object.assign(Ie,{[ot]:et[ot]})}),Ie}class L{}let K=(()=>{class dt extends L{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(Ie,ot){let vt;return vt="string"==typeof Ie?this.interpolateString(Ie,ot):"function"==typeof Ie?this.interpolateFunction(Ie,ot):Ie,vt}getValue(Ie,ot){let vt="string"==typeof ot?ot.split("."):[ot];ot="";do{ot+=vt.shift(),!xe(Ie)||!xe(Ie[ot])||"object"!=typeof Ie[ot]&&vt.length?vt.length?ot+=".":Ie=void 0:(Ie=Ie[ot],ot="")}while(vt.length);return Ie}interpolateFunction(Ie,ot){return Ie(ot)}interpolateString(Ie,ot){return ot?Ie.replace(this.templateMatcher,(vt,je)=>{let He=this.getValue(ot,je);return xe(He)?He:vt}):Ie}static \u0275fac=(()=>{let Ie;return function(vt){return(Ie||(Ie=l.xGo(dt)))(vt||dt)}})();static \u0275prov=l.jDH({token:dt,factory:dt.\u0275fac})}return dt})();class _e{}let Te=(()=>{class dt extends _e{compile(Ie,ot){return Ie}compileTranslations(Ie,ot){return Ie}static \u0275fac=(()=>{let Ie;return function(vt){return(Ie||(Ie=l.xGo(dt)))(vt||dt)}})();static \u0275prov=l.jDH({token:dt,factory:dt.\u0275fac})}return dt})();class ct{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new l.bkB;onLangChange=new l.bkB;onDefaultLangChange=new l.bkB}const ye=new l.nKC("USE_STORE"),Se=new l.nKC("USE_DEFAULT_LANG"),X=new l.nKC("DEFAULT_LANGUAGE"),Ne=new l.nKC("USE_EXTEND");let ft=(()=>{class dt{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new l.bkB;_onLangChange=new l.bkB;_onDefaultLangChange=new l.bkB;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(Ie){this.isolate?this._defaultLang=Ie:this.store.defaultLang=Ie}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(Ie){this.isolate?this._currentLang=Ie:this.store.currentLang=Ie}get langs(){return this.isolate?this._langs:this.store.langs}set langs(Ie){this.isolate?this._langs=Ie:this.store.langs=Ie}get translations(){return this.isolate?this._translations:this.store.translations}set translations(Ie){this.isolate?this._translations=Ie:this.store.translations=Ie}constructor(Ie,ot,vt,je,He,Ve=!0,at=!1,Tt=!1,wt){this.store=Ie,this.currentLoader=ot,this.compiler=vt,this.parser=je,this.missingTranslationHandler=He,this.useDefaultLang=Ve,this.isolate=at,this.extend=Tt,wt&&this.setDefaultLang(wt)}setDefaultLang(Ie){if(Ie===this.defaultLang)return;let ot=this.retrieveTranslations(Ie);typeof ot<"u"?(null==this.defaultLang&&(this.defaultLang=Ie),ot.pipe((0,p.s)(1)).subscribe(vt=>{this.changeDefaultLang(Ie)})):this.changeDefaultLang(Ie)}getDefaultLang(){return this.defaultLang}use(Ie){if(Ie===this.currentLang)return(0,e.of)(this.translations[Ie]);let ot=this.retrieveTranslations(Ie);return typeof ot<"u"?(this.currentLang||(this.currentLang=Ie),ot.pipe((0,p.s)(1)).subscribe(vt=>{this.changeLang(Ie)}),ot):(this.changeLang(Ie),(0,e.of)(this.translations[Ie]))}retrieveTranslations(Ie){let ot;return(typeof this.translations[Ie]>"u"||this.extend)&&(this._translationRequests[Ie]=this._translationRequests[Ie]||this.getTranslation(Ie),ot=this._translationRequests[Ie]),ot}getTranslation(Ie){this.pending=!0;const ot=this.currentLoader.getTranslation(Ie).pipe((0,M.t)(1),(0,p.s)(1));return this.loadingTranslations=ot.pipe((0,$.T)(vt=>this.compiler.compileTranslations(vt,Ie)),(0,M.t)(1),(0,p.s)(1)),this.loadingTranslations.subscribe({next:vt=>{this.translations[Ie]=this.extend&&this.translations[Ie]?{...vt,...this.translations[Ie]}:vt,this.updateLangs(),this.pending=!1},error:vt=>{this.pending=!1}}),ot}setTranslation(Ie,ot,vt=!1){ot=this.compiler.compileTranslations(ot,Ie),this.translations[Ie]=(vt||this.extend)&&this.translations[Ie]?ie(this.translations[Ie],ot):ot,this.updateLangs(),this.onTranslationChange.emit({lang:Ie,translations:this.translations[Ie]})}getLangs(){return this.langs}addLangs(Ie){Ie.forEach(ot=>{-1===this.langs.indexOf(ot)&&this.langs.push(ot)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(Ie,ot,vt){let je;if(ot instanceof Array){let He={},Ve=!1;for(let at of ot)He[at]=this.getParsedResult(Ie,at,vt),(0,m.A)(He[at])&&(Ve
1=!0);if(Ve){const at=ot.map(Tt=>(0,m.A)(He[Tt])?He[Tt]:(0,e.of)(He[Tt]));return(0,b.p)(at).pipe((0,$.T)(Tt=>{let wt={};return Tt.forEach((jt,Tn)=>{wt[ot[Tn]]=jt}),wt}))}return He}if(Ie&&(je=this.parser.interpolate(this.parser.getValue(Ie,ot),vt)),typeof je>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(je=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],ot),vt)),typeof je>"u"){let He={key:ot,translateService:this};typeof vt<"u"&&(He.interpolateParams=vt),je=this.missingTranslationHandler.handle(He)}return typeof je<"u"?je:ot}get(Ie,ot){if(!xe(Ie)||!Ie.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,B.H)(vt=>(vt=this.getParsedResult(vt,Ie,ot),(0,m.A)(vt)?vt:(0,e.of)(vt))));{let vt=this.getParsedResult(this.translations[this.currentLang],Ie,ot);return(0,m.A)(vt)?vt:(0,e.of)(vt)}}getStreamOnTranslationChange(Ie,ot){if(!xe(Ie)||!Ie.length)throw new Error('Parameter "key" required');return(0,y.x)((0,S.v)(()=>this.get(Ie,ot)),this.onTranslationChange.pipe((0,G.n)(vt=>{const je=this.getParsedResult(vt.translations,Ie,ot);return"function"==typeof je.subscribe?je:(0,e.of)(je)})))}stream(Ie,ot){if(!xe(Ie)||!Ie.length)throw new Error('Parameter "key" required');return(0,y.x)((0,S.v)(()=>this.get(Ie,ot)),this.onLangChange.pipe((0,G.n)(vt=>{const je=this.getParsedResult(vt.translations,Ie,ot);return(0,m.A)(je)?je:(0,e.of)(je)})))}instant(Ie,ot){if(!xe(Ie)||!Ie.length)throw new Error('Parameter "key" required');let vt=this.getParsedResult(this.translations[this.currentLang],Ie,ot);if((0,m.A)(vt)){if(Ie instanceof Array){let je={};return Ie.forEach((He,Ve)=>{je[Ie[Ve]]=Ie[Ve]}),je}return Ie}return vt}set(Ie,ot,vt=this.currentLang){this.translations[vt][Ie]=this.compiler.compile(ot,vt),this.updateLangs(),this.onTranslationChange.emit({lang:vt,translations:this.translations[vt]})}changeLang(Ie){this.currentLang=Ie,this.onLangChange.emit({lang:Ie,translations:this.translations[Ie]}),null==this.defaultLang&&this.changeDefaultLang(Ie)}changeDefaultLang(Ie){this.defaultLang=Ie,this.onDefaultLangChange.emit({lang:Ie,translations:this.translations[Ie]})}reloadLang(Ie){return this.resetLang(Ie),this.getTranslation(Ie)}resetLang(Ie){this._translationRequests[Ie]=void 0,this.translations[Ie]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let Ie=window.navigator.languages?window.navigator.languages[0]:null;return Ie=Ie||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof Ie>"u"?void 0:(-1!==Ie.indexOf("-")&&(Ie=Ie.split("-")[0]),-1!==Ie.indexOf("_")&&(Ie=Ie.split("_")[0]),Ie)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let Ie=window.navigator.languages?window.navigator.languages[0]:null;return Ie=Ie||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,Ie}static \u0275fac=function(ot){return new(ot||dt)(l.KVO(ct),l.KVO(Y),l.KVO(_e),l.KVO(L),l.KVO(ee),l.KVO(Se),l.KVO(ye),l.KVO(Ne),l.KVO(X))};static \u0275prov=l.jDH({token:dt,factory:dt.\u0275fac})}return dt})(),_t=(()=>{class dt{translateService;element;_ref;key;lastParams;currentParams;onLangChangeSub;onDefaultLangChangeSub;onTranslationChangeSub;set translate(Ie){Ie&&(this.key=Ie,this.checkNodes())}set translateParams(Ie){se(this.currentParams,Ie)||(this.currentParams=Ie,this.checkNodes(!0))}constructor(Ie,ot,vt){this.translateService=Ie,this.element=ot,this._ref=vt,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(je=>{je.lang===this.translateService.currentLang&&this.checkNodes(!0,je.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(je=>{this.checkNodes(!0,je.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(je=>{this.checkNodes(!0)}))}ngAfterViewChecked(){this.checkNodes()}checkNodes(Ie=!1,ot){let vt=this.element.nativeElement.childNodes;vt.length||(this.setContent(this.element.nativeElement,this.key),vt=this.element.nativeElement.childNodes);for(let je=0;je<vt.length;++je){let He=vt[je];if(3===He.nodeType){let Ve;if(Ie&&(He.lastKey=null),xe(He.lookupKey))Ve=He.lookupKey;else if(this.key)Ve=this.key;else{let at=this.getContent(He),Tt=at.trim();Tt.length&&(He.lookupKey=Tt,at!==He.currentValue?(Ve=Tt,He.originalContent=at||He.originalContent):He.originalContent?Ve=He.originalContent.trim():at!==He.currentValue&&(Ve=Tt,He.originalContent=at||He.originalContent))}
1this.updateValue(Ve,He,ot)}}}updateValue(Ie,ot,vt){if(Ie){if(ot.lastKey===Ie&&this.lastParams===this.currentParams)return;this.lastParams=this.currentParams;let je=He=>{He!==Ie&&(ot.lastKey=Ie),ot.originalContent||(ot.originalContent=this.getContent(ot)),ot.currentValue=xe(He)?He:ot.originalContent||Ie,this.setContent(ot,this.key?ot.currentValue:ot.originalContent.replace(Ie,ot.currentValue)),this._ref.markForCheck()};if(xe(vt)){let He=this.translateService.getParsedResult(vt,Ie,this.currentParams);(0,m.A)(He)?He.subscribe({next:je}):je(He)}else this.translateService.get(Ie,this.currentParams).subscribe(je)}}getContent(Ie){return xe(Ie.textContent)?Ie.textContent:Ie.data}setContent(Ie,ot){xe(Ie.textContent)?Ie.textContent=ot:Ie.data=ot}ngOnDestroy(){this.onLangChangeSub&&this.onLangChangeSub.unsubscribe(),this.onDefaultLangChangeSub&&this.onDefaultLangChangeSub.unsubscribe(),this.onTranslationChangeSub&&this.onTranslationChangeSub.unsubscribe()}static \u0275fac=function(ot){return new(ot||dt)(l.rXU(ft),l.rXU(l.aKT),l.rXU(l.gRc))};static \u0275dir=l.FsC({type:dt,selectors:[["","translate",""],["","ngx-translate",""]],inputs:{translate:"translate",translateParams:"translateParams"}})}return dt})(),Gt=(()=>{class dt{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(Ie,ot){this.translate=Ie,this._ref=ot}updateValue(Ie,ot,vt){let je=He=>{this.value=void 0!==He?He:Ie,this.lastKey=Ie,this._ref.markForCheck()};if(vt){let He=this.translate.getParsedResult(vt,Ie,ot);(0,m.A)(He.subscribe)?He.subscribe(je):je(He)}this.translate.get(Ie,ot).subscribe(je)}transform(Ie,...ot){if(!Ie||!Ie.length)return Ie;if(se(Ie,this.lastKey)&&se(ot,this.lastParams))return this.value;let vt;if(xe(ot[0])&&ot.length)if("string"==typeof ot[0]&&ot[0].length){let je=ot[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{vt=JSON.parse(je)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${ot[0]}`)}}else"object"==typeof ot[0]&&!Array.isArray(ot[0])&&(vt=ot[0]);return this.lastKey=Ie,this.lastParams=ot,this.updateValue(Ie,vt),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(je=>{this.lastKey&&je.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(Ie,vt,je.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(je=>{this.lastKey&&(this.lastKey=null,this.updateValue(Ie,vt,je.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(Ie,vt))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(ot){return new(ot||dt)(l.rXU(ft,16),l.rXU(l.gRc,16))};static \u0275pipe=l.EJ8({name:"translate",type:dt,pure:!1});static \u0275prov=l.jDH({token:dt,factory:dt.\u0275fac})}return dt})(),Rt=(()=>{class dt{static forRoot(Ie={}){return{ngModule:dt,providers:[Ie.loader||{provide:Y,useClass:q},Ie.compiler||{provide:_e,useClass:Te},Ie.parser||{provide:L,useClass:K},Ie.missingTranslationHandler||{provide:ee,useClass:oe},ct,{provide:ye,useValue:Ie.isolate},{provide:Se,useValue:Ie.useDefaultLang},{provide:Ne,useValue:Ie.extend},{provide:X,useValue:Ie.defaultLanguage},ft]}}static forChild(Ie={}){return{ngModule:dt,providers:[Ie.loader||{provide:Y,useClass:q},Ie.compiler||{provide:_e,useClass:Te},Ie.parser||{provide:L,useClass:K},Ie.missingTranslationHandler||{provide:ee,useClass:oe},{provide:ye,useValue:Ie.isolate},{provide:Se,useValue:Ie.useDefaultLang},{provide:Ne,useValue:Ie.extend},{provide:X,useValue:Ie.defaultLanguage},ft]}}static \u0275fac=function(ot){return new(ot||dt)};static \u0275mod=l.$C({type:dt});static \u0275inj=l.G2t({})}return dt})()},9830:(We,Q,I)=>{"use strict";I.d(Q,{Zr:()=>se,_c:()=>oe,yH:()=>xe});var l=I(4523),e=I(4438),m=I(177),b=I(1798);const y=new e.nKC("ngx-mask config"),S=new e.nKC("new ngx-mask config"),p=new e.nKC("initial ngx-mask config"),M={suffix:"",prefix:"",thousandSeparator:" ",decimalMarker:[".",","],clearIfNotMatch:!1,showTemplate:!1,showMaskTyped:!1,placeHolderCharacter:"_",dropSpecialCharacters:!0,hiddenInput:void 0,shownMaskExpression:"",separatorLimit:"",allowNegativeNumbers:!1,validation:!0,specialCharacters:["-","/","(",")",".",":"," ","+",",","@","[","]",'"',"'"],leadZeroDateTime:!1,apm:!1,leadZero:!1,keepCharacterPositions:!1,triggerOnMaskChange:!1,inputTransformFn:Le=>Le,outputTransformFn:Le=>Le,maskFilled:new e.bkB,patterns:{0:{pattern:new RegExp("\\d")},9:{pattern:new RegExp("\\d"),optional:!0},X:{pattern:new RegExp("\\d"),symbol:"*"},A:{pattern:new RegExp("[a-zA-Z0-9]")},S:{pattern:new RegExp("[a-zA-Z]")},U:{pattern:new RegExp("[A-Z]")},L:{pattern:new RegExp("[a-z]")},d:{pattern:new RegExp("\\d")},m:{pattern:new RegExp("\\d")},M:{pattern:new RegExp("\\d")},H:{pattern:new RegExp("\\d")},h:{pattern:new RegExp("\\d")},s:{pattern:new RegExp("\\d")}}},$=["Hh:m0:s0","Hh:m0","m0:s0"],B=["percent","Hh","s0","m0","separator","d0/M0/0000","d0/M0","d0","M0"];let G=(()=>{class Le{constructor(){this._config=(0,e.WQX)(y),this.dropSpecialCharacters=this._config.dropSpecialCharacters,this.hiddenInput=this._config.hiddenInput,this.clearIfNotMatch=this._config.clearIfNotMatch,this.specialCharacters=this._config.specialCharacters,this.patterns=this._config.patterns,this.prefix=this._config.prefix,this.suffix=this._config.suffix,this.thousandSeparator=this._config.thousandSeparator,this.decimalMarker=this._config.decimalMarker,this.showMaskTyped=this._config.showMaskTyped,this.placeHolderCharacter=this._config.placeHolderCharacter,this.validation=this._config.validation,this.separatorLimit=this._config.separatorLimit,this.allowNegativeNumbers=this._config.allowNegativeNumbers,this.leadZeroDateTime=this._config.leadZeroDateTime,this.leadZero=this._config.leadZero,this.apm=this._config.apm,this.inputTransformFn=this._config.inputTransformFn,this.outputTransformFn=this._config.outputTransformFn,this.keepCharacterPositions=this._config.keepCharacterPositions,this._shift=new Set,this.plusOnePosition=!1,this.maskExpression="",this.actualValue="",this.showKeepCharacterExp="",this.shownMaskExpression="",this.deletedSpecialCharacter=!1,this._formatWithSeparators=(L,K,_e,Te)=>{let ct=[],ye="";if(Array.isArray(_e)){const _t=new RegExp(_e.map(Gt=>"[\\^$.|?*+()".indexOf(Gt)>=0?`\\${Gt}`:Gt).join("|"));ct=L.split(_t),ye=L.match(_t)?.[0]??""}else ct=L.split(_e),ye=_e;const Se=ct.length>1?`${ye}${ct[1]}`:"";let X=ct[0]??"";const Ne=this.separatorLimit.replace(/\s/g,"");Ne&&+Ne&&(X="-"===X[0]?`-${X.slice(1,X.length).slice(0,Ne.length)}`:X.slice(0,Ne.length));
1const ft=/(\d+)(\d{3})/;for(;K&&ft.test(X);)X=X.replace(ft,"$1"+K+"$2");return void 0===Te?X+Se:0===Te?X:X+Se.substring(0,Te+1)},this.percentage=L=>{const K=L.replace(",","."),_e=Number(this.allowNegativeNumbers&&L.includes("-")?K.slice(1,L.length):K);return!isNaN(_e)&&_e>=0&&_e<=100},this.getPrecision=L=>{const K=L.split(".");return K.length>1?Number(K[K.length-1]):1/0},this.checkAndRemoveSuffix=L=>{for(let K=this.suffix?.length-1;K>=0;K--){const _e=this.suffix.substring(K,this.suffix?.length);if(L.includes(_e)&&K!==this.suffix?.length-1&&(K-1<0||!L.includes(this.suffix.substring(K-1,this.suffix?.length))))return L.replace(_e,"")}return L},this.checkInputPrecision=(L,K,_e)=>{if(K<1/0){if(Array.isArray(_e)){const Se=_e.find(X=>X!==this.thousandSeparator);_e=Se||_e[0]}const Te=new RegExp(this._charToRegExpExpression(_e)+`\\d{${K}}.*$`),ct=L.match(Te),ye=(ct&&ct[0]?.length)??0;ye-1>K&&(L=L.substring(0,L.length-(ye-1-K))),0===K&&this._compareOrIncludes(L[L.length-1],_e,this.thousandSeparator)&&(L=L.substring(0,L.length-1))}return L}}applyMaskWithPattern(L,K){const[_e,Te]=K;return this.customPattern=Te,this.applyMask(L,_e)}applyMask(L,K,_e=0,Te=!1,ct=!1,ye=(()=>{})){if(!K||"string"!=typeof L)return"";let Se=0,X="",Ne=!1,ft=!1,_t=1,Gt=!1;L.slice(0,this.prefix.length)===this.prefix&&(L=L.slice(this.prefix.length,L.length)),this.suffix&&L?.length>0&&(L=this.checkAndRemoveSuffix(L)),"("===L&&this.prefix&&(L="");const Rt=L.toString().split("");if(this.allowNegativeNumbers&&"-"===L.slice(Se,Se+1)&&(X+=L.slice(Se,Se+1)),"IP"===K){const He=L.split(".");this.ipError=this._validIP(He),K="099.099.099.099"}const dt=[];for(let He=0;He<L.length;He++)L[He]?.match("\\d")&&dt.push(L[He]??"");if("CPF_CNPJ"===K&&(this.cpfCnpjError=11!==dt.length&&14!==dt.length,K=dt.length>11?"00.000.000/0000-00":"000.000.000-00"),K.startsWith("percent")){if(L.match("[a-z]|[A-Z]")||L.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!ct){L=this._stripToDecimal(L);const at=this.getPrecision(K);L=this.checkInputPrecision(L,at,this.decimalMarker)}const He="string"==typeof this.decimalMarker?this.decimalMarker:".";if(L.indexOf(He)>0&&!this.percentage(L.substring(0,L.indexOf(He)))){let at=L.substring(0,L.indexOf(He)-1);this.allowNegativeNumbers&&"-"===L.slice(Se,Se+1)&&!ct&&(at=L.substring(0,L.indexOf(He))),L=`${at}${L.substring(L.indexOf(He),L.length)}`}let Ve="";Ve=this.allowNegativeNumbers&&"-"===L.slice(Se,Se+1)?`-${L.slice(Se+1,Se+L.length)}`:L,X=this.percentage(Ve)?this._splitPercentZero(L):this._splitPercentZero(L.substring(0,L.length-1))}else if(K.startsWith("separator")){(L.match("[w\u0430-\u044f\u0410-\u042f]")||L.match("[\u0401\u0451\u0410-\u044f]")||L.match("[a-z]|[A-Z]")||L.match(/[-@#!$%\\^&*()_\xa3\xac'+|~=`{}\]:";<>.?/]/)||L.match("[^A-Za-z0-9,]"))&&(L=this._stripToDecimal(L));const He=this.getPrecision(K),Ve=Array.isArray(this.decimalMarker)?".":this.decimalMarker;if(0===He?L=this.allowNegativeNumbers?L.length>2&&"-"===L[0]&&"0"===L[1]&&L[2]!==this.thousandSeparator&&","!==L[2]&&"."!==L[2]?"-"+L.slice(2,L.length):"0"===L[0]&&L.length>1&&L[1]!==this.thousandSeparator&&","!==L[1]&&"."!==L[1]?L.slice(1,L.length):L:L.length>1&&"0"===L[0]&&L[1]!==this.thousandSeparator&&","!==L[1]&&"."!==L[1]?L.slice(1,L.length):L:(L[0]===Ve&&L.length>1&&(L="0"+L.slice(0,L.length+1),this.plusOnePosition=!0),"0"===L[0]&&L[1]!==Ve&&L[1]!==this.thousandSeparator&&(L=L.length>1?L.slice(0,1)+Ve+L.slice(1,L.length+1):L,this.plusOnePosition=!0),this.allowNegativeNumbers&&"-"===L[0]&&(L[1]===Ve||"0"===L[1])&&(L=L[1]===Ve&&L.length>2?L.slice(0,1)+"0"+L.slice(1,L.length):"0"===L[1]&&L.length>2&&L[2]!==Ve?L.slice(0,2)+Ve+L.slice(2,L.length):L,this.plusOnePosition=!0)),ct){const re=L.slice(this._findFirstNonZeroDigitIndex(L),L.length),mt="0"===L[_e]||L[_e]===Ve,Ke="0"===L[0],Ge="-"===L[0],Ee=L[0]===this.thousandSeparator,bt="0"===L[1],Je=L[2]===Ve;Ke&&L[1]===Ve&&mt&&_e<2&&(L=re),Ge&&bt&&Je&&mt&&_e<3&&(L="-"+re),"-"!==re&&(0===_e&&(Ke||Ee)||this.allowNegativeNumbers&&1===_e&&Ge&&!bt)&&(L=Ge?"-"+re:re)}const at=this._charToRegExpExpression(this.thousandSeparator);let Tt='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(at,"");if(Array.isArray(this.decimalMarker))for(const re of this.decimalMarker)Tt=Tt.replace(this._charToRegExpExpression(re),"");else Tt=Tt.replace(this._charToRegExpExpression(this.decimalMarker),"");const wt=new RegExp("["+Tt+"]");L.match(wt)&&(L=L.substring(0,L.length-1));const jt=(L=this.checkInputPrecision(L,He,this.decimalMarker)).replace(new RegExp(at,"g"),"");X=this._formatWithSeparators(jt,this.thousandSeparator,this.decimalMarker,He);const Tn=X.indexOf(",")-L.indexOf(","),Ln=X.length-L.length;if(X[_e-1]===this.thousandSeparator&&this.prefix&&ct)_e-=1;else if(Ln>0&&X[_e]!==this.thousandSeparator){ft=!0;let re=0;do{this._shift.add(_e+re),re++}while(re<Ln)}else X[_e-1]===this.decimalMarker||-4===Ln||-3===Ln||X[_e]===this.thousandSeparator?(this._shift.clear(),this._shift.add(_e-1)):0!==Tn&&_e>0&&!(X.indexOf(",")>=_e&&_e>3)||!(X.indexOf(".")>=_e&&_e>3)&&Ln<=0?(this._shift.clear(),ft=!0,_t=Ln,this._shift.add(_e+=Ln)):this._shift.clear()}else for(let He=0,Ve=Rt[0];He<Rt.length&&Se!==K.length;He++,Ve=Rt[He]??""){const at="*"in this.patterns;if(this._checkSymbolMask(Ve,K[Se]??"")&&"?"===K[Se+1])X+=Ve,Se+=2;else if("*"===K[Se+1]&&Ne&&this._checkSymbolMask(Ve,K[Se+2]??""))X+=Ve,Se+=3,Ne=!1;else if(this._checkSymbolMask(Ve,K[Se]??"")&&"*"===K[Se+1]&&!at)X+=Ve,Ne=!0;else if("?"===K[Se+1]&&this._checkSymbolMask(Ve,K[Se+2]??""))X+=Ve,Se+=3;else if(this._checkSymbolMask(Ve,K[Se]??"")){if("H"===K[Se]&&(this.apm?Number(Ve)>9:Number(Ve)>2)){_e=this.leadZeroDateTime?_e:_e+1,Se+=1,this._shiftStep(K,Se,Rt.length),He--,this.leadZeroDateTime&&(X+="0");continue}if("h"===K[Se]&&(this.apm?1===X.length&&Number(X)>1||"1"===X&&Number(Ve)>2||1===L.slice(Se-1,Se).length&&Number(L.slice(Se-1,Se))>2||"1"===L.slice(Se-1,Se)&&Number(Ve)>2:"2"===X&&Number(Ve)>3||("2"===X.slice(Se-2,Se)||"2"===X.slice(Se-3,Se)||"2"===X.slice(Se-4,Se)||"2"===X.slice(Se-1,Se))&&Number(Ve)>3&&Se>10)){_e+=1,Se+=1,He--;continue}if(("m"===K[Se]||"s"===K[Se])&&Number(Ve)>5){_e=this.leadZeroDateTime?_e:_e+1,Se+=1,this._shiftStep(K,Se,Rt.length),He--,this.leadZeroDateTime&&(X+="0");continue}const Tt=31,wt=L[Se],jt=L[Se+1],Tn=L[Se+2],Ln=L[Se-1],re=L[Se-2],mt=L.slice(Se-3,Se-1),Ke=L.slice(Se-1,Se+1),Ge=L.slice(Se,Se+2),Ee=L.slice(Se-2,Se);if("d"===K[Se]){const qe="M0"===K.slice(0,2),bt="M0"===K.slice(0,2)&&this.specialCharacters.includes(re);if(Number(Ve)>3&&this.leadZeroDateTime||!qe&&(Number(Ge)>Tt||Number(Ke)>Tt||this.specialCharacters.includes(jt))||(bt?Number(Ke)>Tt||!this.specialCharacters.includes(wt)&&this.specialCharacters.includes(Tn)||this.specialCharacters.includes(wt):Number(Ge)>Tt||this.specialCharacters.includes(jt))){_e=this.leadZeroDateTime?_e:_e+1,Se+=1,this._shiftStep(K,Se,Rt.length),He--,this.leadZeroDateTime&&(X+="0");continue}}if("M"===K[Se]){const bt=0===Se&&(Number(Ve)>2||Number(Ge)>12||this.specialCharacters.includes(jt)&&!ct),Je=K.slice(Se+2,Se+3),pt=mt.includes(Je)&&K.includes("d0")&&(this.specialCharacters.includes(re)&&Number(Ke)>12&&!this.specialCharacters.includes(wt)||this.specialCharacters.includes(wt)),Ft=Number(mt)<=Tt&&!this.specialCharacters.includes(mt)&&this.specialCharacters.includes(Ln)&&(Number(Ge)>12||this.specialCharacters.includes(jt)),qt=Number(Ge)>12&&5===Se||this.specialCharacters.includes(jt)&&5===Se,Wt=Number(mt)>Tt&&!this.specialCharacters.includes(mt)&&!this.specialCharacters.includes(Ee)&&Number(Ee)>12&&K.includes("d0"),En=Number(mt)<=Tt&&!this.specialCharacters.includes(mt)&&!this.specialCharacters.includes(Ln)&&Number(Ke)>12;if(Number(Ve)>1&&this.leadZeroDateTime||bt||pt||En||Wt||Ft||qt&&!this.leadZeroDateTime){_e=this.leadZeroDateTime?_e:_e+1,Se+=1,this._shiftStep(K,Se,Rt.length),He--,this.leadZeroDateTime&&(X+="0");continue}}X+=Ve,Se++}else this.specialCharacters.includes(Ve)&&K[Se]===Ve?(X+=Ve,Se++):-1!==this.specialCharacters.indexOf(K[Se]??"")?(X+=K[Se],Se++,this._shiftStep(K,Se,Rt.length),He--):"9"===K[Se]&&this.showMaskTyped?this._shiftStep(K,Se,Rt.length):this.patterns[K[Se]??""]&&this.patterns[K[Se]??""]?.optional?(Rt[Se]&&"099.099.099.099"!==K&&"000.000.000-00"!==K&&"00.000.000/0000-00"!==K&&!K.match(/^9+\.0+$/)&&!this.patterns[K[Se]??""]?.optional&&(X+=Rt[Se]),K.includes("9*")&&K.includes("0*")&&Se++,Se++,He--):"*"===this.maskExpression[Se+1]&&this._findSpecialChar(this.maskExpression[Se+2]??"")&&this._findSpecialChar(Ve)===this.maskExpression[Se+2]&&Ne||"?"===this.maskExpression[Se+1]&&this._findSpecialChar(this.maskExpression[Se+2]??"")&&this._findSpecialChar(Ve)===this.maskExpression[Se+2]&&Ne?(Se+=3,X+=Ve):this.showMaskTyped&&this.specialCharacters.indexOf(Ve)<0&&Ve!==this.placeHolderCharacter&&1===this.placeHolderCharacter.length&&(Gt=!0)}X.length+1===K.length&&-1!==this.specialCharacters.indexOf(K[K.length-1]??"")&&(X+=K[K.length-1]);let et=_e+1;for(;this._shift.has(et);)_t++,et++;let Ie=Te&&!K.startsWith("separator")?Se:this._shift.has(_e)?_t:0;Gt&&Ie--,ye(Ie,ft),_t<0&&this._shift.clear();let ot=!1;ct&&(ot=Rt.every(He=>this.specialCharacters.includes(He)));let vt=`${this.prefix}${ot?"":X}${this.showMaskTyped?"":this.suffix}`;0===X.length&&(vt=this.dropSpecialCharacters?`${X}`:`${this.prefix}${X}`);const je=1===L.length&&this.specialCharacters.includes(K[0])&&L!==K[0];if(!this._checkSymbolMask(L,K[1])&&je)return"";if(X.includes("-")&&this.prefix&&this.allowNegativeNumbers){if(ct&&"-"===X)return"";vt=`-${this.prefix}${X.split("-").join("")}${this.suffix}`}return vt}_findDropSpecialChar(L){return Array.isArray(this.dropSpecialCharacters)?this.dropSpecialCharacters.find(K=>K===L):this._findSpecialChar(L)}_findSpecialChar(L){return this.specialCharacters.find(K=>K===L)}_checkSymbolMask(L,K){return this.patterns=this.customPattern?this.customPattern:this.patterns,(this.patterns[K]?.pattern&&this.patterns[K]?.pattern.test(L))??!1}_stripToDecimal(L){return L.split("").filter((K,_e)=>{const Te="string"==typeof this.decimalMarker?K===this.decimalMarker:this.decimalMarker.includes(K);return K.match("^-?\\d")||K===this.thousandSeparator||Te||"-"===K&&0===_e&&this.allowNegativeNumbers}).join("")}_charToRegExpExpression(L){return L&&(" "===L?"\\s":"[\\^$.|?*+()".indexOf(L)>=0?`\\${L}`:L)}_shiftStep(L,K,_e){const Te=/[*?]/g.test(L.slice(0,K))?_e:K;this._shift.add(Te+this.prefix.length||0)}_compareOrIncludes(L,K,_e){return Array.isArray(K)?K.filter(Te=>Te!==_e).includes(L):L===K}_validIP(L){return!(4===L.length&&!L.some((K,_e)=>
1L.length!==_e+1?""===K||Number(K)>255:""===K||Number(K.substring(0,3))>255))}_splitPercentZero(L){if("-"===L&&this.allowNegativeNumbers)return L;const K=L.indexOf("string"==typeof this.decimalMarker?this.decimalMarker:"."),_e=this.allowNegativeNumbers&&L.includes("-")?"-":"";if(-1===K){const Te=parseInt(_e?L.slice(1,L.length):L,10);return isNaN(Te)?"":`${_e}${Te}`}{const Te=parseInt(L.replace("-","").substring(0,K),10),ct=L.substring(K+1),ye=isNaN(Te)?"":Te.toString();return""===ye?"":`${_e}${ye}${"string"==typeof this.decimalMarker?this.decimalMarker:"."}${ct}`}}_findFirstNonZeroDigitIndex(L){for(let K=0;K<L.length;K++){const _e=L[K];if(_e&&_e>="1"&&_e<="9")return K}return-1}static{this.\u0275fac=function(K){return new(K||Le)}}static{this.\u0275prov=e.jDH({token:Le,factory:Le.\u0275fac})}}return Le})(),Y=(()=>{class Le extends G{constructor(){super(...arguments),this.isNumberValue=!1,this.maskIsShown="",this.selStart=null,this.selEnd=null,this.writingValue=!1,this.maskChanged=!1,this._maskExpressionArray=[],this.triggerOnMaskChange=!1,this._previousValue="",this._currentValue="",this._emitValue=!1,this.onChange=L=>{},this._elementRef=(0,e.WQX)(e.aKT,{optional:!0}),this.document=(0,e.WQX)(m.qQ),this._config=(0,e.WQX)(y),this._renderer=(0,e.WQX)(e.sFG,{optional:!0})}applyMask(L,K,_e=0,Te=!1,ct=!1,ye=(()=>{})){if(!K)return L!==this.actualValue?this.actualValue:L;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():"","IP"===this.maskExpression&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(L||"#")),"CPF_CNPJ"===this.maskExpression&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(L||"#")),!L&&this.showMaskTyped)return this.formControlResult(this.prefix),`${this.prefix}${this.maskIsShown}${this.suffix}`;const Se=L&&"number"==typeof this.selStart?L[this.selStart]??"":"";let X="";if(void 0!==this.hiddenInput&&!this.writingValue){let Gt=L&&1===L.length?L.split(""):this.actualValue.split("");"object"==typeof this.selStart&&"object"==typeof this.selEnd?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):""!==L&&Gt.length?"number"==typeof this.selStart&&"number"==typeof this.selEnd&&(L.length>Gt.length?Gt.splice(this.selStart,0,Se):L.length<Gt.length&&(Gt.length-L.length==1?Gt.splice(ct?this.selStart-1:L.length-1,1):Gt.splice(this.selStart,this.selEnd-this.selStart))):Gt=[],this.showMaskTyped&&(this.hiddenInput||(L=this.removeMask(L))),X=this.actualValue.length&&Gt.length<=L.length?this.shiftTypedSymbols(Gt.join("")):L}if(Te&&(this.hiddenInput||!this.hiddenInput)&&(X=L),ct&&-1!==this.specialCharacters.indexOf(this.maskExpression[_e]??"")&&this.showMaskTyped&&!this.prefix&&(X=this._currentValue),this.deletedSpecialCharacter&&_e&&(this.specialCharacters.includes(this.actualValue.slice(_e,_e+1))?_e+=1:"M0"!==K.slice(_e-1,_e+1)&&(_e-=2),this.deletedSpecialCharacter=!1),this.showMaskTyped&&1===this.placeHolderCharacter.length&&!this.leadZeroDateTime&&(L=this.removeMask(L)),X=this.maskChanged?L:X&&X.length?X:L,this.showMaskTyped&&this.keepCharacterPositions&&this.actualValue&&!Te&&!this.writingValue){const Gt=this.dropSpecialCharacters?this.removeMask(this.actualValue):this.actualValue;return this.formControlResult(Gt),this.actualValue?this.actualValue:`${this.prefix}${this.maskIsShown}${this.suffix}`}const Ne=super.applyMask(X,K,_e,Te,ct,ye);if(this.actualValue=this.getActualValue(Ne),"."===this.thousandSeparator&&"."===this.decimalMarker&&(this.decimalMarker=","),this.maskExpression.startsWith("separator")&&!0===this.dropSpecialCharacters&&(this.specialCharacters=this.specialCharacters.filter(Gt=>!this._compareOrIncludes(Gt,this.decimalMarker,this.thousandSeparator))),(Ne||""===Ne)&&(this._previousValue=this._currentValue,this._currentValue=Ne,this._emitValue=this._previousValue!==this._currentValue||this.maskChanged||this._previousValue===this._currentValue&&Te),this._emitValue&&(this.writingValue&&this.triggerOnMaskChange?requestAnimationFrame(()=>this.formControlResult(Ne)):this.formControlResult(Ne)),!this.showMaskTyped||this.showMaskTyped&&this.hiddenInput)return this.hiddenInput?ct?this.hideInput(Ne,this.maskExpression):`${this.hideInput(Ne,this.maskExpression)}${this.maskIsShown.slice(Ne.length)}`:Ne;
1const ft=Ne.length,_t=`${this.prefix}${this.maskIsShown}${this.suffix}`;if(this.maskExpression.includes("H")){const Gt=this._numberSkipedSymbols(Ne);return`${Ne}${_t.slice(ft+Gt)}`}return"IP"===this.maskExpression||"CPF_CNPJ"===this.maskExpression?`${Ne}${_t}`:`${Ne}${_t.slice(ft)}`}_numberSkipedSymbols(L){const K=/(^|\D)(\d\D)/g;let _e=K.exec(L),Te=0;for(;null!=_e;)Te+=1,_e=K.exec(L);return Te}applyValueChanges(L,K,_e,Te=(()=>{})){const ct=this._elementRef?.nativeElement;ct&&(ct.value=this.applyMask(ct.value,this.maskExpression,L,K,_e,Te),ct!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(L,K){return L.split("").map((_e,Te)=>this.patterns&&this.patterns[K[Te]??""]&&this.patterns[K[Te]??""]?.symbol?this.patterns[K[Te]??""]?.symbol:_e).join("")}getActualValue(L){const K=L.split("").filter((_e,Te)=>{const ct=this.maskExpression[Te]??"";return this._checkSymbolMask(_e,ct)||this.specialCharacters.includes(ct)&&_e===ct});return K.join("")===L?K.join(""):L}shiftTypedSymbols(L){let K="";return(L&&L.split("").map((Te,ct)=>{if(this.specialCharacters.includes(L[ct+1]??"")&&L[ct+1]!==this.maskExpression[ct+1])return K=Te,L[ct+1];if(K.length){const ye=K;return K="",ye}return Te})||[]).join("")}numberToString(L){return!L&&0!==L||this.maskExpression.startsWith("separator")&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith("separator")&&this.separatorLimit.length>14&&String(L).length>14?String(L):Number(L).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace("/-/","-")}showMaskInInput(L){if(this.showMaskTyped&&this.shownMaskExpression){if(this.maskExpression.length!==this.shownMaskExpression.length)throw new Error("Mask expression must match mask placeholder length");return this.shownMaskExpression}if(this.showMaskTyped){if(L){if("IP"===this.maskExpression)return this._checkForIp(L);if("CPF_CNPJ"===this.maskExpression)return this._checkForCpfCnpj(L)}return this.placeHolderCharacter.length===this.maskExpression.length?this.placeHolderCharacter:this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){const L=this._elementRef?.nativeElement;L&&this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==L.value.replace(this.placeHolderCharacter,"").length&&(this.formElementProperty=["value",""],this.applyMask("",this.maskExpression))}set formElementProperty([L,K]){!this._renderer||!this._elementRef||Promise.resolve().then(()=>this._renderer?.setProperty(this._elementRef?.nativeElement,L,K))}checkDropSpecialCharAmount(L){return L.split("").filter(_e=>this._findDropSpecialChar(_e)).length}removeMask(L){return this._removeMask(this._removeSuffix(this._removePrefix(L)),this.specialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(L){if("#"===L)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;const K=[];for(let _e=0;_e<L.length;_e++){const Te=L[_e]??"";Te&&Te.match("\\d")&&K.push(Te)}return K.length<=3?`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`:K.length>3&&K.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:K.length>6&&K.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(L){const K=`${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`,_e=`${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}/${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`;if("#"===L)return K;const Te=[];for(let ct=0;ct<L.length;ct++){const ye=L[ct]??"";ye&&ye.match("\\d")&&Te.push(ye)}return Te.length<=3?K.slice(Te.length,K.length):Te.length>3&&Te.length<=6?K.slice(Te.length+1,K.length):Te.length>6&&Te.length<=9?K.slice(Te.length+2,K.length):Te.length>9&&Te.length<11?K.slice(Te.length+3,K.length):11===Te.length?"":12===Te.length?_e.slice(17===L.length?16:15,_e.length):Te.length>12&&Te.length<=14?_e.slice(Te.length+4,_e.length):""}_getActiveElement(L=this.document){const K=L?.activeElement?.shadowRoot;return K?.activeElement?this._getActiveElement(K):L.activeElement}formControlResult(L){if(this.writingValue||!this.triggerOnMaskChange&&this.maskChanged)return this.triggerOnMaskChange&&this.maskChanged&&this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbol
1s(this._removeSuffix(this._removePrefix(L)))))),void(this.maskChanged=!1);Array.isArray(this.dropSpecialCharacters)?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeMask(this._removeSuffix(this._removePrefix(L)),this.dropSpecialCharacters))))):this.onChange(this.outputTransformFn(this._toNumber(this.dropSpecialCharacters||!this.dropSpecialCharacters&&this.prefix===L?this._checkSymbols(this._removeSuffix(this._removePrefix(L))):L)))}_toNumber(L){if(!this.isNumberValue||""===L||this.maskExpression.startsWith("separator")&&(this.leadZero||!this.dropSpecialCharacters))return L;if(String(L).length>16&&this.separatorLimit.length>14)return String(L);const K=Number(L);if(this.maskExpression.startsWith("separator")&&Number.isNaN(K)){const _e=String(L).replace(",",".");return Number(_e)}return Number.isNaN(K)?L:K}_removeMask(L,K){return this.maskExpression.startsWith("percent")&&L.includes(".")?L:L&&L.replace(this._regExpForRemove(K),"")}_removePrefix(L){return this.prefix?L&&L.replace(this.prefix,""):L}_removeSuffix(L){return this.suffix?L&&L.replace(this.suffix,""):L}_retrieveSeparatorValue(L){let K=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(_e=>this.dropSpecialCharacters.includes(_e)):this.specialCharacters;return!this.deletedSpecialCharacter&&this._checkPatternForSpace()&&L.includes(" ")&&this.maskExpression.includes("*")&&(K=K.filter(_e=>" "!==_e)),this._removeMask(L,K)}_regExpForRemove(L){return new RegExp(L.map(K=>`\\${K}`).join("|"),"gi")}_replaceDecimalMarkerToDot(L){const K=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return L.replace(this._regExpForRemove(K),".")}_checkSymbols(L){if(""===L)return L;this.maskExpression.startsWith("percent")&&","===this.decimalMarker&&(L=L.replace(",","."));const K=this._retrieveSeparatorPrecision(this.maskExpression),_e=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(L));return this.isNumberValue&&K?L===this.decimalMarker?null:this.separatorLimit.length>14?String(_e):this._checkPrecision(this.maskExpression,_e):_e}_checkPatternForSpace(){for(const L in this.patterns)if(this.patterns[L]&&this.patterns[L]?.hasOwnProperty("pattern")){const K=this.patterns[L]?.pattern.toString(),_e=this.patterns[L]?.pattern;if(K?.includes(" ")&&_e?.test(this.maskExpression))return!0}return!1}_retrieveSeparatorPrecision(L){const K=L.match(new RegExp("^separator\\.([^d]*)"));return K?Number(K[1]):null}_checkPrecision(L,K){const _e=L.slice(10,11);return L.indexOf("2")>0||this.leadZero&&Number(_e)>0?(","===this.decimalMarker&&this.leadZero&&(K=K.replace(",",".")),this.leadZero?Number(K).toFixed(Number(_e)):Number(K).toFixed(2)):this.numberToString(K)}_repeatPatternSymbols(L){return L.match(/{[0-9]+}/)&&L.split("").reduce((K,_e,Te)=>{if(this._start="{"===_e?Te:this._start,"}"!==_e)return this._findSpecialChar(_e)?K+_e:K;this._end=Te;const ct=Number(L.slice(this._start+1,this._end)),ye=new Array(ct+1).join(L[this._start-1]);if(L.slice(0,this._start).length>1&&L.includes("S")){const Se=L.slice(0,this._start-1);return Se.includes("{")?K+ye:Se+K+ye}return K+ye},"")||L}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}static{this.\u0275fac=(()=>{let L;return function(_e){return(L||(L=e.xGo(Le)))(_e||Le)}})()}static{this.\u0275prov=e.jDH({token:Le,factory:Le.\u0275fac})}}return Le})();function q(){const Le=(0,e.WQX)(p),ie=(0,e.WQX)(S);return ie instanceof Function?{...Le,...ie()}:{...Le,...ie}}function oe(Le){return(0,e.EmA)(function ee(Le){return[{provide:S,useValue:Le},{provide:p,useValue:M},{provide:y,useFactory:q},Y]}(Le))}let se=(()=>{class Le{constructor(){this.maskExpression="",this.specialCharacters=[],this.patterns={},this.prefix="",this.suffix="",this.thousandSeparator=" ",this.decimalMarker=".",this.dropSpecialCharacters=null,this.hiddenInput=null,this.showMaskTyped=null,this.placeHolderCharacter=null,this.shownMaskExpression=null,this.showTemplate=null,this.clearIfNotMatch=null,this.validation=null,this.separatorLimit=null,this.allowNegativeNumbers=null,this.leadZeroDateTime=null,this.leadZero=null,this.triggerOnMaskChange=null,this.apm=null,this.inputTransformFn=null,this.outputTransformFn=null,this.keepCharacterPositions=null,this.maskFilled=new e.bkB,this._maskValue="",this._position=null,this._maskExpressionArray=[],this._allowFewMaskChangeMask=!1,this._justPasted=!1,this._isFocused=!1,this._isComposing=!1,this.document=(0,e.WQX)(m.qQ),this._maskService=(0,e.WQX)(Y,{self:!0}),this._config=(0,e.WQX)(y),this.onChange=L=>{},this.onTouch=()=>{}}ngOnChanges(L){const{maskExpression:K,specialCharacters:_e,patterns:Te,prefix:ct,suffix:ye,thousandSeparator:Se,decimalMarker:X,dropSpecialCharacters:Ne,hiddenInput:ft,showMaskTyped:_t,placeHolderCharacter:Gt,shownMaskExpression:Rt,showTemplate:dt,clearIfNotMatch:et,validation:Ie,separatorLimit:ot,allowNegativeNumbers:vt,leadZeroDateTime:je,leadZero:He,triggerOnMaskChange:Ve,apm:at,inputTransformFn:Tt,outputTransformFn:wt,keepCharacterPositions:jt}=L;if(K&&(K.currentValue!==K.previousValue&&!K.firstChange&&(this._maskService.maskChanged=!0),K.currentValue&&K.currentValue.split("||").length>1?(this._maskExpressionArray=K.currentValue.split("||").sort((Tn,Ln)=>Tn.length-Ln.length),this._setMask()):(this._maskExpressionArray=[],this._maskValue=K.currentValue||"",this._maskService.maskExpression=this._maskValue)),_e){if(!_e.currentValue||!Array.isArray(_e.currentValue))return;this._maskService.specialCharacters=_e.currentValue||[]}vt&&(this._maskService.allowNegativeNumbers=vt.currentValue,this._maskService.allowNegativeNumbers&&(this._maskService.specialCharacters=this._maskService.specialCharacters.filter(Tn=>"-"!==Tn))),Te&&Te.currentValue&&(this._maskService.patterns=Te.currentValue),at&&at.currentValue&&(this._maskService.apm=at.currentValue),ct&&(this._maskService.prefix=ct.currentValue),ye&&(this._maskService.suffix=ye.currentValue),Se&&(this._maskService.thousandSeparator=Se.currentValue),X&&(this._maskService.decimalMarker=X.currentValue),Ne&&(this._maskService.dropSpecialCharacters=Ne.currentValue),ft&&(this._maskService.hiddenInput=ft.currentValue),_t&&(this._maskService.showMaskTyped=_t.currentValue,!1===_t.previousValue&&!0===_t.currentValue&&this._isFocused&&requestAnimationFrame(()=>
1{this._maskService._elementRef?.nativeElement.click()})),Gt&&(this._maskService.placeHolderCharacter=Gt.currentValue),Rt&&(this._maskService.shownMaskExpression=Rt.currentValue),dt&&(this._maskService.showTemplate=dt.currentValue),et&&(this._maskService.clearIfNotMatch=et.currentValue),Ie&&(this._maskService.validation=Ie.currentValue),ot&&(this._maskService.separatorLimit=ot.currentValue),je&&(this._maskService.leadZeroDateTime=je.currentValue),He&&(this._maskService.leadZero=He.currentValue),Ve&&(this._maskService.triggerOnMaskChange=Ve.currentValue),Tt&&(this._maskService.inputTransformFn=Tt.currentValue),wt&&(this._maskService.outputTransformFn=wt.currentValue),jt&&(this._maskService.keepCharacterPositions=jt.currentValue),this._applyMask()}validate({value:L}){if(!this._maskService.validation||!this._maskValue)return null;if(this._maskService.ipError)return this._createValidationError(L);if(this._maskService.cpfCnpjError)return this._createValidationError(L);if(this._maskValue.startsWith("separator")||B.includes(this._maskValue)||this._maskService.clearIfNotMatch)return null;if($.includes(this._maskValue))return this._validateTime(L);if(L&&L.toString().length>=1){let K=0;if(this._maskValue.includes("{")&&this._maskValue.includes("}"))return this._maskValue.slice(this._maskValue.indexOf("{")+1,this._maskValue.indexOf("}"))===String(L.length)?null:this._createValidationError(L);if(this._maskValue.startsWith("percent"))return null;for(const _e in this._maskService.patterns)if(this._maskService.patterns[_e]?.optional&&(this._maskValue.indexOf(_e)!==this._maskValue.lastIndexOf(_e)?K+=this._maskValue.split("").filter(ct=>ct===_e).join("").length:-1!==this._maskValue.indexOf(_e)&&K++,-1!==this._maskValue.indexOf(_e)&&L.toString().length>=this._maskValue.indexOf(_e)||K===this._maskValue.length))return null;if(this._maskValue.indexOf("*")>1&&L.toString().length<this._maskValue.indexOf("*")||this._maskValue.indexOf("?")>1&&L.toString().length<this._maskValue.indexOf("?"))return this._createValidationError(L);if(-1===this._maskValue.indexOf("*")||-1===this._maskValue.indexOf("?")){L="number"==typeof L?String(L):L;const _e=this._maskValue.split("*"),Te=this._maskService.dropSpecialCharacters?this._maskValue.length-this._maskService.checkDropSpecialCharAmount(this._maskValue)-K:this.prefix?this._maskValue.length+this.prefix.length-K:this._maskValue.length-K;if(1===_e.length&&L.toString().length<Te)return this._createValidationError(L);if(_e.length>1){const ct=_e[_e.length-1];if(ct&&this._maskService.specialCharacters.includes(ct[0])&&String(L).includes(ct[0]??"")&&!this.dropSpecialCharacters){const ye=L.split(ct[0]);return ye[ye.length-1].length===ct.length-1?null:this._createValidationError(L)}return(ct&&!this._maskService.specialCharacters.includes(ct[0])||!ct||this._maskService.dropSpecialCharacters)&&L.length>=Te-1?null:this._createValidationError(L)}}if(1===this._maskValue.indexOf("*")||1===this._maskValue.indexOf("?"))return null}return L&&this.maskFilled.emit(),null}onPaste(){this._justPasted=!0}onFocus(){this._isFocused=!0}onModelChange(L){(""===L||null==L)&&this._maskService.actualValue&&(this._maskService.actualValue=this._maskService.getActualValue(""))}onInput(L){if(this._isComposing)return;const K=L.target,_e=this._maskService.inputTransformFn(K.value);if("number"!==K.type)if("string"==typeof _e||"number"==typeof _e){if(K.value=_e.toString(),this._inputValue=K.value,this._setMask(),!this._maskValue)return void this.onChange(K.value);let Te=1===K.selectionStart?K.selectionStart+this._maskService.prefix.length:K.selectionStart;if(this.showMaskTyped&&this.keepCharacterPositions&&1===this._maskService.placeHolderCharacter.length){const X=K.value.slice(Te-1,Te),Ne=this.prefix.length,ft=this._maskService._checkSymbolMask(X,this._maskService.maskExpression[Te-1-Ne]??""),_t=this._maskService._checkSymbolMask(X,this._maskService.maskExpression[Te+1-Ne]??""),Gt=this._maskService.selStart===this._maskService.selEnd,Rt=Number(this._maskService.selStart)-Ne,dt=Number(this._maskService.selEnd)-Ne;if("Backspace"===this._code)if(Gt){if(!this._maskService.specialCharacters.includes(this._maskService.maskExpression.slice(Te-this.prefix.length,Te+1-this.prefix.length))&&Gt)if(1===Rt&&this.prefix)this._maskService.actualValue=`${this.prefix}${this._maskService.placeHolderCharacter}
1${K.value.split(this.prefix).join("").split(this.suffix).join("")}${this.suffix}`,Te-=1;else{const et=K.value.substring(0,Te),Ie=K.value.substring(Te);this._maskService.actualValue=`${et}${this._maskService.placeHolderCharacter}${Ie}`}}else this._maskService.actualValue=this._maskService.selStart===Ne?`${this.prefix}${this._maskService.maskIsShown.slice(0,dt)}${this._inputValue.split(this.prefix).join("")}`:this._maskService.selStart===this._maskService.maskIsShown.length+Ne?`${this._inputValue}${this._maskService.maskIsShown.slice(Rt,dt)}`:`${this.prefix}${this._inputValue.split(this.prefix).join("").slice(0,Rt)}${this._maskService.maskIsShown.slice(Rt,dt)}${this._maskService.actualValue.slice(dt+Ne,this._maskService.maskIsShown.length+Ne)}${this.suffix}`;"Backspace"!==this._code&&(ft||_t||!Gt?this._maskService.specialCharacters.includes(K.value.slice(Te,Te+1))&&_t&&!this._maskService.specialCharacters.includes(K.value.slice(Te+1,Te+2))?(this._maskService.actualValue=`${K.value.slice(0,Te-1)}${K.value.slice(Te,Te+1)}${X}${K.value.slice(Te+2)}`,Te+=1):ft?this._maskService.actualValue=1===K.value.length&&1===Te?`${this.prefix}${X}${this._maskService.maskIsShown.slice(1,this._maskService.maskIsShown.length)}${this.suffix}`:`${K.value.slice(0,Te-1)}${X}${K.value.slice(Te+1).split(this.suffix).join("")}${this.suffix}`:this.prefix&&1===K.value.length&&Te-Ne==1&&this._maskService._checkSymbolMask(K.value,this._maskService.maskExpression[Te-1-Ne]??"")&&(this._maskService.actualValue=`${this.prefix}${K.value}${this._maskService.maskIsShown.slice(1,this._maskService.maskIsShown.length)}${this.suffix}`):Te=Number(K.selectionStart)-1)}let ct=0,ye=!1;if("Delete"===this._code&&(this._maskService.deletedSpecialCharacter=!0),this._inputValue.length>=this._maskService.maskExpression.length-1&&"Backspace"!==this._code&&"d0/M0/0000"===this._maskService.maskExpression&&Te<10){const X=this._inputValue.slice(Te-1,Te);K.value=this._inputValue.slice(0,Te-1)+X+this._inputValue.slice(Te+1)}if("d0/M0/0000"===this._maskService.maskExpression&&this.leadZeroDateTime&&(Te<3&&Number(K.value)>31&&Number(K.value)<40||5===Te&&Number(K.value.slice(3,5))>12)&&(Te+=2),"Hh:m0:s0"===this._maskService.maskExpression&&this.apm&&(this._justPasted&&"00"===K.value.slice(0,2)&&(K.value=K.value.slice(1,2)+K.value.slice(2,K.value.length)),K.value="00"===K.value?"0":K.value),this._maskService.applyValueChanges(Te,this._justPasted,"Backspace"===this._code||"Delete"===this._code,(X,Ne)=>{this._justPasted=!1,ct=X,ye=Ne}),this._getActiveElement()!==K)return;if(this._maskService.plusOnePosition&&(Te+=1,this._maskService.plusOnePosition=!1),this._maskExpressionArray.length)if("Backspace"===this._code){const X=this.specialCharacters.includes(this._maskService.actualValue.slice(Te-1,Te)),Ne=this.specialCharacters.includes(this._maskService.actualValue.slice(Te,Te+1));this._allowFewMaskChangeMask&&!Ne?(Te=K.selectionStart+1,this._allowFewMaskChangeMask=!1):Te=X?Te-1:Te}else Te=1===K.selectionStart?K.selectionStart+this._maskService.prefix.length:K.selectionStart;this._position=1===this._position&&1===this._inputValue.length?null:this._position;let Se=this._position?this._inputValue.length+Te+ct:Te+("Backspace"!==this._code||ye?ct:0);Se>this._getActualInputLength()&&(Se=K.value===this._maskService.decimalMarker&&1===K.value.length?this._getActualInputLength()+1:this._getActualInputLength()),Se<0&&(Se=0),K.setSelectionRange(Se,Se),this._position=null}else console.warn("Ngx-mask writeValue work with string | number, your current value:",typeof _e);else{if(!this._maskValue)return void this.onChange(K.value);this._maskService.applyValueChanges(K.value.length,this._justPasted,"Backspace"===this._code||"Delete"===this._code)}}onCompositionStart(){this._isComposing=!0}onCompositionEnd(L){this._isComposing=!1,this._justPasted=!0,this.onInput(L)}onBlur(L){if(this._maskValue){const K=L.target;if(this.leadZero&&K.value.length>0&&"string"==typeof this.decimalMarker){const _e=this._maskService.maskExpression,Te=Number(this._maskService.maskExpression.slice(_e.length-1,_e.length));if(Te>
10){K.value=this.suffix?K.value.split(this.suffix).join(""):K.value;const ct=K.value.split(this.decimalMarker)[1];K.value=K.value.includes(this.decimalMarker)?K.value+"0".repeat(Te-ct.length)+this.suffix:K.value+this.decimalMarker+"0".repeat(Te)+this.suffix,this._maskService.actualValue=K.value}}this._maskService.clearIfNotMatchFn()}this._isFocused=!1,this.onTouch()}onClick(L){if(!this._maskValue)return;const K=L.target;null!==K&&null!==K.selectionStart&&K.selectionStart===K.selectionEnd&&K.selectionStart>this._maskService.prefix.length&&38!==L.keyCode&&this._maskService.showMaskTyped&&!this.keepCharacterPositions&&(this._maskService.maskIsShown=this._maskService.showMaskInInput(),K.setSelectionRange&&this._maskService.prefix+this._maskService.maskIsShown===K.value?(K.focus(),K.setSelectionRange(0,0)):K.selectionStart>this._maskService.actualValue.length&&K.setSelectionRange(this._maskService.actualValue.length,this._maskService.actualValue.length));const ct=K&&(K.value===this._maskService.prefix?this._maskService.prefix+this._maskService.maskIsShown:K.value);K&&K.value!==ct&&(K.value=ct),K&&"number"!==K.type&&(K.selectionStart||K.selectionEnd)<=this._maskService.prefix.length?K.selectionStart=this._maskService.prefix.length:K&&K.selectionEnd>this._getActualInputLength()&&(K.selectionEnd=this._getActualInputLength())}onKeyDown(L){if(!this._maskValue)return;if(this._isComposing)return void("Enter"===L.key&&this.onCompositionEnd(L));this._code=L.code?L.code:L.key;const K=L.target;if(this._inputValue=K.value,this._setMask(),"number"!==K.type){if("ArrowUp"===L.key&&L.preventDefault(),"ArrowLeft"===L.key||"Backspace"===L.key||"Delete"===L.key){if("Backspace"===L.key&&0===K.value.length&&(K.selectionStart=K.selectionEnd),"Backspace"===L.key&&0!==K.selectionStart)if(this.specialCharacters=this.specialCharacters?.length?this.specialCharacters:this._config.specialCharacters,this.prefix.length>1&&K.selectionStart<=this.prefix.length)K.setSelectionRange(this.prefix.length,K.selectionEnd);else if(this._inputValue.length!==K.selectionStart&&1!==K.selectionStart)for(;this.specialCharacters.includes((this._inputValue[K.selectionStart-1]??"").toString())&&(this.prefix.length>=1&&K.selectionStart>this.prefix.length||0===this.prefix.length);)K.setSelectionRange(K.selectionStart-1,K.selectionEnd);this.checkSelectionOnDeletion(K),this._maskService.prefix.length&&K.selectionStart<=this._maskService.prefix.length&&K.selectionEnd<=this._maskService.prefix.length&&L.preventDefault(),"Backspace"===L.key&&!K.readOnly&&0===K.selectionStart&&K.selectionEnd===K.value.length&&0!==K.value.length&&(this._position=this._maskService.prefix?this._maskService.prefix.length:0,this._maskService.applyMask(this._maskService.prefix,this._maskService.maskExpression,this._position))}this.suffix&&this.suffix.length>1&&this._inputValue.length-this.suffix.length<K.selectionStart?K.setSelectionRange(this._inputValue.length-this.suffix.length,this._inputValue.length):("KeyA"===L.code&&L.ctrlKey||"KeyA"===L.code&&L.metaKey)&&(K.setSelectionRange(0,this._getActualInputLength()),L.preventDefault()),this._maskService.selStart=K.selectionStart,this._maskService.selEnd=K.selectionEnd}}writeValue(L){var K=this;return(0,l.A)(function*(){if("object"==typeof L&&null!==L&&"value"in L&&("disable"in L&&K.setDisabledState(!!L.disable),L=L.value),null!==L&&(L=K.inputTransformFn?K.inputTransformFn(L):L),"string"==typeof L||"number"==typeof L||null==L){(null==L||""===L)&&(K._maskService._currentValue="",K._maskService._previousValue="");let _e=L;if("number"==typeof _e||K._maskValue.startsWith("separator")){_e=String(_e);const Te=K._maskService.currentLocaleDecimalMarker();Array.isArray(K._maskService.decimalMarker)||(_e=K._maskService.decimalMarker!==Te?_e.replace(Te,K._maskService.decimalMarker):_e),K._maskService.leadZero&&_e&&K.maskExpression&&!1!==K.dropSpecialCharacters&&(_e=K._maskService._checkPrecision(K._maskService.maskExpression,_e)),(","===K.decimalMarker||Array.isArray(K._maskService.decimalMarker)&&"."===K.thousandSeparator)&&(_e=_e.toString().replace(".",",")),K.maskExpression?.startsWith("separator")&&K.leadZero&&requestAnimationFrame(()=>
1{K._maskService.applyMask(_e?.toString()??"",K._maskService.maskExpression)}),K._maskService.isNumberValue=!0}"string"!=typeof _e&&(_e=""),K._inputValue=_e,K._setMask(),_e&&K._maskService.maskExpression||K._maskService.maskExpression&&(K._maskService.prefix||K._maskService.showMaskTyped)?("function"!=typeof K.inputTransformFn&&(K._maskService.writingValue=!0),K._maskService.formElementProperty=["value",K._maskService.applyMask(_e,K._maskService.maskExpression)],"function"!=typeof K.inputTransformFn&&(K._maskService.writingValue=!1)):K._maskService.formElementProperty=["value",_e],K._inputValue=_e}else console.warn("Ngx-mask writeValue work with string | number, your current value:",typeof L)})()}registerOnChange(L){this._maskService.onChange=this.onChange=L}registerOnTouched(L){this.onTouch=L}_getActiveElement(L=this.document){const K=L?.activeElement?.shadowRoot;return K?.activeElement?this._getActiveElement(K):L.activeElement}checkSelectionOnDeletion(L){L.selectionStart=Math.min(Math.max(this.prefix.length,L.selectionStart),this._inputValue.length-this.suffix.length),L.selectionEnd=Math.min(Math.max(this.prefix.length,L.selectionEnd),this._inputValue.length-this.suffix.length)}setDisabledState(L){this._maskService.formElementProperty=["disabled",L]}_applyMask(){this._maskService.maskExpression=this._maskService._repeatPatternSymbols(this._maskValue||""),this._maskService.formElementProperty=["value",this._maskService.applyMask(this._inputValue,this._maskService.maskExpression)]}_validateTime(L){const K=this._maskValue.split("").filter(_e=>":"!==_e).length;return L&&(0==+(L[L.length-1]??-1)&&L.length<K||L.length<=K-2)?this._createValidationError(L):null}_getActualInputLength(){return this._maskService.actualValue.length||this._maskService.actualValue.length+this._maskService.prefix.length}_createValidationError(L){return{mask:{requiredMask:this._maskValue,actualValue:L}}}_setMask(){this._maskExpressionArray.some(L=>{if(L.split("").some(_e=>this._maskService.specialCharacters.includes(_e))&&this._inputValue&&this._areAllCharactersInEachStringSame(this._maskExpressionArray)||L.includes("{")){const _e=this._maskService.removeMask(this._inputValue)?.length<=this._maskService.removeMask(L)?.length;if(_e)return this._maskValue=this.maskExpression=this._maskService.maskExpression=L.includes("{")?this._maskService._repeatPatternSymbols(L):L,_e;{"Backspace"===this._code&&(this._allowFewMaskChangeMask=!0);const Te=this._maskExpressionArray[this._maskExpressionArray.length-1]??"";this._maskValue=this.maskExpression=this._maskService.maskExpression=Te.includes("{")?this._maskService._repeatPatternSymbols(Te):Te}}else{const _e=this._maskService.removeMask(this._inputValue)?.split("").every((Te,ct)=>{const ye=L.charAt(ct);return this._maskService._checkSymbolMask(Te,ye)});if(_e||this._justPasted)return this._maskValue=this.maskExpression=this._maskService.maskExpression=L,_e}})}_areAllCharactersInEachStringSame(L){const K=this._maskService.specialCharacters;return L.map(function _e(ct){const ye=new RegExp(`[${K.map(Se=>`\\${Se}`).join("")}]`,"g");return ct.replace(ye,"")}).every(ct=>1===new Set(ct).size)}static{this.\u0275fac=function(K){return new(K||Le)}}static{this.\u0275dir=e.FsC({type:Le,selectors:[["input","mask",""],["textarea","mask",""]],hostBindings:function(K,_e){1&K&&e.bIt("paste",function(){return _e.onPaste()})("focus",function(ct){return _e.onFocus(ct)})("ngModelChange",function(ct){return _e.onModelChange(ct)})("input",function(ct){return _e.onInput(ct)})("compositionstart",function(ct){return _e.onCompositionStart(ct)})("compositionend",function(ct){return _e.onCompositionEnd(ct)})("blur",function(ct){return _e.onBlur(ct)})("click",function(ct){return _e.onClick(ct)})("keydown",function(ct){return _e.onKeyDown(ct)})},inputs:{maskExpression:[e.Mj6.None,"mask","maskExpression"],specialCharacters:"specialCharacters",patterns:"patterns",prefix:"prefix",suffix:"suffix",thousandSeparator:"thousandSeparator",decimalMarker:"decimalMarker",dropSpecialCharacters:"dropSpecialCharacters",hiddenInput:"hiddenInput",showMaskTyped:"showMaskTyped",placeHolderCharacter:"placeHolderCharacter",shownMaskExpression:"shownMaskExpression",showTemplate:"showTemplate",clearIfNotMatch:"clearIfNotMatch",validation:"validation",separatorLimit:"separatorLimit",allowNegativeNumbers:"allowNegativeNumbers",leadZeroDateTime:"leadZeroDateTime",leadZero:"leadZero",triggerOnMaskChange:"triggerOnMaskChange",apm:"apm",inputTransformFn:"inputTransformFn",outputTransformFn:"outputTransformFn",keepCharacterPositions:"keepCharacterPositions"},outputs:{maskFilled:"maskFilled"},exportAs:["mask","ngxMask"],standalone:!0,features:[e.Jv_([{provide:b.kq,useExisting:Le,multi:!0},{provide:b.cz,useExisting:Le,multi:!0},Y]),e.OA$]})}}return Le})(),xe=(()=>{class Le{constructor(){this.defaultOptions=(0,e.WQX)(y),this._maskService=(0,e.WQX)(Y),this._maskExpressionArray=[],this.mask=""}transform(L,K,{patterns:_e,...Te}={}){const ct={maskExpression:K,...this.defaultOptions,...Te,patterns:{...this._maskService.patterns,..._e}};if(Object.entries(ct).forEach(([ye,Se])=>{this._maskService[ye]=Se}),K.includes("||"))return K.split("||").length>1?(this._maskExpressionArray=K.split("||").sort((ye,Se)=>
1ye.length-Se.length),this._setMask(L),this._maskService.applyMask(`${L}`,this.mask)):(this._maskExpressionArray=[],this._maskService.applyMask(`${L}`,this.mask));if(K.includes("{"))return this._maskService.applyMask(`${L}`,this._maskService._repeatPatternSymbols(K));if(K.startsWith("separator")){Te.decimalMarker&&(this._maskService.decimalMarker=Te.decimalMarker),Te.thousandSeparator&&(this._maskService.thousandSeparator=Te.thousandSeparator),Te.leadZero&&(this._maskService.leadZero=Te.leadZero),L=String(L);const ye=this._maskService.currentLocaleDecimalMarker();Array.isArray(this._maskService.decimalMarker)||(L=this._maskService.decimalMarker!==ye?L.replace(ye,this._maskService.decimalMarker):L),this._maskService.leadZero&&L&&!1!==this._maskService.dropSpecialCharacters&&(L=this._maskService._checkPrecision(K,L)),","===this._maskService.decimalMarker&&(L=L.toString().replace(".",",")),this._maskService.isNumberValue=!0}return this._maskService.applyMask(null==L?"":`${L}`,K)}_setMask(L){this._maskExpressionArray.length>0&&this._maskExpressionArray.some(K=>{const _e=this._maskService.removeMask(L)?.length<=this._maskService.removeMask(K)?.length;if(L&&_e)return this.mask=K,_e;this.mask=this._maskExpressionArray[this._maskExpressionArray.length-1]??""})}static{this.\u0275fac=function(K){return new(K||Le)}}static{this.\u0275pipe=e.EJ8({name:"mask",type:Le,pure:!0,standalone:!0})}}return Le})()},4484:(We,Q,I)=>{"use strict";I.d(Q,{VA:()=>Ai,dG:()=>Yi});var l=I(9969),e=I(177),m=I(4438),b=I(4550),y=I(1413);let B=(()=>class Me{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static IN="in";static LESS_THAN="lt";static LESS_THAN_OR_EQUAL_TO="lte";static GREATER_THAN="gt";static GREATER_THAN_OR_EQUAL_TO="gte";static BETWEEN="between";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static DATE_IS="dateIs";static DATE_IS_NOT="dateIsNot";static DATE_BEFORE="dateBefore";static DATE_AFTER="dateAfter"})(),ee=(()=>{class Me{clickSource=new y.B;clickObservable=this.clickSource.asObservable();add(C){C&&this.clickSource.next(C)}static \u0275fac=function(U){return new(U||Me)};static \u0275prov=m.jDH({token:Me,factory:Me.\u0275fac,providedIn:"root"})}return Me})(),se=(()=>{class Me{ripple=!1;inputStyle="outlined";overlayOptions={};filterMatchModeOptions={text:[B.STARTS_WITH,B.CONTAINS,B.NOT_CONTAINS,B.ENDS_WITH,B.EQUALS,B.NOT_EQUALS],numeric:[B.EQUALS,B.NOT_EQUALS,B.LESS_THAN,B.LESS_THAN_OR_EQUAL_TO,B.GREATER_THAN,B.GREATER_THAN_OR_EQUAL_TO],date:[B.DATE_IS,B.DATE_IS_NOT,B.DATE_BEFORE,B.DATE_AFTER]};translation={startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",is:"Is",isNot:"Is not",before:"Before",after:"After",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",upload:"Upload",cancel:"Cancel",pending:"Pending",fileSizeTypes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],chooseYear:"Choose Year",chooseMonth:"Choose Month",chooseDate:"Choose Date",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",prevHour:"Previous Hour",nextHour:"Next Hour",prevMinute:"Previous Minute",nextMinute:"Next Minute",prevSecond:"Previous Second",nextSecond:"Next Second",am:"am",pm:"pm",dateFormat:"mm/dd/yy",firstDayOfWeek:0,today:"Today",weekHeader:"Wk",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyMessage:"No results found",searchMessage:"{0} results are available",selectionMessage:"{0} items selected",emptySelectionMessage:"No selected item",emptySearchMessage:"No results found",emptyFilterMessage:"No results found",aria:{trueLabel:"True",falseLabel:"False",nullLabel:"Not Selected",star:"1 star",stars:"{star} stars",selectAll:"All items selected",unselectAll:"All items unselected",close:"Close",previous:"Previous",next:"Next",navigation:"Navigation",scrollTop:"Scroll Top",moveTop:"Move Top",moveUp:"Move Up",moveDown:"Move Down",moveBottom:"Move Bottom",moveToTarget:"Move to Target",moveToSource:"Move to Source",moveAllToTarget:"Move All to Target",moveAllToSource:"Move All to Source",pageLabel:"{page}",firstPageLabel:"First Page",lastPageLabel:"Last Page",nextPageLabel:"Next Page",prevPageLabel:"Previous Page",rowsPerPageLabel:"Rows per page",previousPageLabel:"Previous Page",jumpToPageDropdownLabel:"Jump to Page Dropdown",jumpToPageInputLabel:"Jump to Page Input",selectRow:"Row Selected",unselectRow:"Row Unselected",expandRow:"Row Expanded",collapseRow:"Row Collapsed",showFilterMenu:"Show Filter Menu",hideFilterMenu:"Hide Filter Menu",filterOperator:"Filter Operator",filterConstraint:"Filter Constraint",editRow:"Row Edit",saveEdit:"Save Edit",cancelEdit:"Cancel Edit",listView:"List View",gridView:"Grid View",slide:"Slide",slideNumber:"{slideNumber}",zoomImage:"Zoom Image",zoomIn:"Zoom In",zoomOut:"Zoom Out",rotateRight:"Rotate Right",rotateLeft:"Rotate Left"}};zIndex={modal:1100,overlay:1e3,menu:1e3,tooltip:1100};translationSource=new y.B;translationObserver=this.translationSource.asObservable();getTranslation(C){return this.translation[C]}setTranslation(C){this.translation={...this.translation,...C},this.translationSource.next(this.translation)}static \u0275fac=function(U){return new(U||Me)};static \u0275prov=m.jDH({token:Me,factory:Me.\u0275fac,providedIn:"root"})}return Me})(),ie=(()=>{class Me{template;type;name;constructor(C){this.template=C}getType(){return this.name}static \u0275fac=function(U){return new(U||Me)(m.rXU(m.C4Q))};static \u0275dir=m.FsC({type:Me,selectors:[["","pTemplate",""]],inputs:{type:"type",name:[m.Mj6.None,"pTemplate","name"]}})}return Me})(),L=(()=>{class Me{static \u0275fac=function(U){return new(U||Me)};static \u0275mod=m.$C({type:Me});static \u0275inj=m.G2t({imports:[e.MD]})}return Me})(),Te=(()=>{class Me{static zindex=1e3;static calculatedScrollbarWidth=null;static calculatedScrollbarHeight=null;static browser;static addClass(C,U){C&&U&&(C.classList?C.classList.add(U):C.className+=" "+U)}static addMultipleClasses(C,U){if(C&&U)if(C.classList){let he=U.trim().split(" ");for(let Ue=0;Ue<he.length;Ue++)C.classList.add(he[Ue])}else{let he=U.split(" ");for(let Ue=0;Ue<he.length;Ue++)C.className+=" "+he[Ue]}}static removeClass(C,U){C&&U&&(C.classList?C.classList.remove(U):C.className=C.className.replace(new RegExp("(^|\\b)"+U.split(" ").join("|")+"(\\b|$)","gi")," "))}
vendor: 10,501 bytes, line 1
1static removeMultipleClasses(C,U){C&&U&&[U].flat().filter(Boolean).forEach(he=>he.split(" ").forEach(Ue=>this.removeClass(C,Ue)))}static hasClass(C,U){return!(!C||!U)&&(C.classList?C.classList.contains(U):new RegExp("(^| )"+U+"( |$)","gi").test(C.className))}static siblings(C){return Array.prototype.filter.call(C.parentNode.children,function(U){return U!==C})}static find(C,U){return Array.from(C.querySelectorAll(U))}static findSingle(C,U){return this.isElement(C)?C.querySelector(U):null}static index(C){let U=C.parentNode.childNodes,he=0;for(var Ue=0;Ue<U.length;Ue++){if(U[Ue]==C)return he;1==U[Ue].nodeType&&he++}return-1}static indexWithinGroup(C,U){let he=C.parentNode?C.parentNode.childNodes:[],Ue=0;for(var ht=0;ht<he.length;ht++){if(he[ht]==C)return Ue;he[ht].attributes&&he[ht].attributes[U]&&1==he[ht].nodeType&&Ue++}return-1}static appendOverlay(C,U,he="self"){"self"!==he&&C&&U&&this.appendChild(C,U)}static alignOverlay(C,U,he="self",Ue=!0){C&&U&&(Ue&&(C.style.minWidth=`${Me.getOuterWidth(U)}px`),"self"===he?this.relativePosition(C,U):this.absolutePosition(C,U))}static relativePosition(C,U){const he=rn=>{if(rn)return"relative"===getComputedStyle(rn).getPropertyValue("position")?rn:he(rn.parentElement)},Ue=C.offsetParent?{width:C.offsetWidth,height:C.offsetHeight}:this.getHiddenElementDimensions(C),ht=U.offsetHeight,$t=U.getBoundingClientRect(),un=this.getWindowScrollTop(),me=this.getWindowScrollLeft(),jn=this.getViewport(),Ye=he(C)?.getBoundingClientRect()||{top:-1*un,left:-1*me};let Vt,Xt;$t.top+ht+Ue.height>jn.height?(Vt=$t.top-Ye.top-Ue.height,C.style.transformOrigin="bottom",$t.top+Vt<0&&(Vt=-1*$t.top)):(Vt=ht+$t.top-Ye.top,C.style.transformOrigin="top");const Nn=$t.left+Ue.width-jn.width;Xt=Ue.width>jn.width?-1*($t.left-Ye.left):Nn>0?$t.left-Ye.left-Nn:$t.left-Ye.left,C.style.top=Vt+"px",C.style.left=Xt+"px"}static absolutePosition(C,U){const he=C.offsetParent?{width:C.offsetWidth,height:C.offsetHeight}:this.getHiddenElementDimensions(C),Ue=he.height,ht=he.width,$t=U.offsetHeight,un=U.offsetWidth,me=U.getBoundingClientRect(),jn=this.getWindowScrollTop(),pe=this.getWindowScrollLeft(),Ye=this.getViewport();let Vt,Xt;me.top+$t+Ue>Ye.height?(Vt=me.top+jn-Ue,C.style.transformOrigin="bottom",Vt<0&&(Vt=jn)):(Vt=$t+me.top+jn,C.style.transformOrigin="top"),Xt=me.left+ht>Ye.width?Math.max(0,me.left+pe+un-ht):me.left+pe,C.style.top=Vt+"px",C.style.left=Xt+"px"}static getParents(C,U=[]){return null===C.parentNode?U:this.getParents(C.parentNode,U.concat([C.parentNode]))}static getScrollableParents(C){let U=[];if(C){let he=this.getParents(C);const Ue=/(auto|scroll)/,ht=$t=>{let un=window.getComputedStyle($t,null);return Ue.test(un.getPropertyValue("overflow"))||Ue.test(un.getPropertyValue("overflowX"))||Ue.test(un.getPropertyValue("overflowY"))};for(let $t of he){let un=1===$t.nodeType&&$t.dataset.scrollselectors;if(un){let me=un.split(",");for(let jn of me){let pe=this.findSingle($t,jn);pe&&ht(pe)&&U.push(pe)}}9!==$t.nodeType&&ht($t)&&U.push($t)}}return U}static getHiddenElementOuterHeight(C){C.style.visibility="hidden",C.style.display="block";let U=C.offsetHeight;return C.style.display="none",C.style.visibility="visible",U}static getHiddenElementOuterWidth(C){C.style.visibility="hidden",C.style.display="block";let U=C.offsetWidth;return C.style.display="none",C.style.visibility="visible",U}static getHiddenElementDimensions(C){let U={};return C.style.visibility="hidden",C.style.display="block",U.width=C.offsetWidth,U.height=C.offsetHeight,C.style.display="none",C.style.visibility="visible",U}static scrollInView(C,U){let he=getComputedStyle(C).getPropertyValue("borderTopWidth"),Ue=he?parseFloat(he):0,ht=getComputedStyle(C).getPropertyValue("paddingTop"),$t=ht?parseFloat(ht):0,un=C.getBoundingClientRect(),jn=U.getBoundingClientRect().top+document.body.scrollTop-(un.top+document.body.scrollTop)-Ue-$t,pe=C.scrollTop,Ye=C.clientHeight,Vt=this.getOuterHeight(U);jn<0?C.scrollTop=pe+jn:jn+Vt>Ye&&(C.scrollTop=pe+jn-Ye+Vt)}static fadeIn(C,U){C.style.opacity=0;let he=+new Date,Ue=0,ht=function(){Ue=+C.style.opacity.replace(",",".")+((new Date).getTime()-he)/U,C.style.opacity=Ue,he=+new Date,+Ue<1&&(window.requestAnimationFrame&&requestAnimationFrame(ht)||setTimeout(ht,16))};ht()}static fadeOut(C,U){var he=1,$t=50/U;let un=setInterval(()=>{(he-=$t)<=0&&(he=0,clearInterval(un)),C.style.opacity=he},50)}static getWindowScrollTop(){let C=document.documentElement;return(window.pageYOffset||C.scrollTop)-(C.clientTop||0)}static getWindowScrollLeft(){let C=document.documentElement;return(window.pageXOffset||C.scrollLeft)-(C.clientLeft||0)}static matches(C,U){var he=Element.prototype;return(he.matches||he.webkitMatchesSelector||he.mozMatchesSelector||he.msMatchesSelector||function(ht){return-1!==[].indexOf.call(document.querySelectorAll(ht),this)}).call(C,U)}static getOuterWidth(C,U){let he=C.offsetWidth;if(U){let Ue=getComputedStyle(C);he+=parseFloat(Ue.marginLeft)+parseFloat(Ue.marginRight)}return he}static getHorizontalPadding(C){let U=getComputedStyle(C);return parseFloat(U.paddingLeft)+parseFloat(U.paddingRight)}static getHorizontalMargin(C){let U=getComputedStyle(C);return parseFloat(U.marginLeft)+parseFloat(U.marginRight)}static innerWidth(C){let U=C.offsetWidth,he=getComputedStyle(C);return U+=parseFloat(he.paddingLeft)+parseFloat(he.paddingRight),U}static width(C){let U=C.offsetWidth,he=getComputedStyle(C);return U-=parseFloat(he.paddingLeft)+parseFloat(he.paddingRight),U}static getInnerHeight(C){let U=C.offsetHeight,he=getComputedStyle(C);return U+=parseFloat(he.paddingTop)+parseFloat(he.paddingBottom),U}static getOuterHeight(C,U){let he=C.offsetHeight;if(U){let Ue=getComputedStyle(C);he+=parseFloat(Ue.marginTop)+parseFloat(Ue.marginBottom)}return he}static getHeight(C){let U=C.offsetHeight,he=getComputedStyle(C);return U-=parseFloat(he.paddingTop)+parseFloat(he.paddingBottom)+parseFloat(he.borderTopWidth)+parseFloat(he.borderBottomWidth),U}static getWidth(C){let U=C.offsetWidth,he=getComputedStyle(C);return U-=parseFloat(he.paddingLeft)+parseFloat(he.paddingRight)+parseFloat(he.borderLeftWidth)+parseFloat(he.borderRightWidth),U}static getViewport(){let C=window,U=document,he=U.documentElement,Ue=U.getElementsByTagName("body")[0];return{width:C.innerWidth||he.clientWidth||Ue.clientWidth,height:C.innerHeight||he.clientHeight||Ue.clientHeight}}static getOffset(C){var U=C.getBoundingClientRect();return{top:U.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:U.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}static replaceElementWith(C,U){let he=C.parentNode;if(!he)throw"Can't replace element";return he.replaceChild(U,C)}static getUserAgent(){if(navigator&&this.isClient())return navigator.userAgent}static isIE(){var C=window.navigator.userAgent;return C.indexOf("MSIE ")>0||(C.indexOf("Trident/")>0?(C.indexOf("rv:"),!0):C.indexOf("Edge/")>0)}static isIOS(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}static isAndroid(){return/(android)/i.test(navigator.userAgent)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}static appendChild(C,U){if(this.isElement(U))U.appendChild(C);else{if(!(U&&U.el&&U.el.nativeElement))throw"Cannot append "+U+" to "+C;U.el.nativeElement.appendChild(C)}}static removeChild(C,U){if(this.isElement(U))U.removeChild(C);else{if(!U.el||!U.el.nativeElement)throw"Cannot remove "+C+" from "+U;U.el.nativeElement.removeChild(C)}}static removeElement(C){"remove"in Element.prototype?C.remove():C.parentNode.removeChild(C)}static isElement(C){return"object"==typeof HTMLElement?C instanceof HTMLElement:C&&"object"==typeof C&&null!==C&&1===C.nodeType&&"string"==typeof C.nodeName}static calculateScrollbarWidth(C){if(C){let U=getComputedStyle(C);return C.offsetWidth-C.clientWidth-parseFloat(U.borderLeftWidth)-parseFloat(U.borderRightWidth)}{if(null!==this.calculatedScrollbarWidth)return this.calculatedScrollbarWidth;let U=document.createElement("div");U.className="p-scrollbar-measure",document.body.appendChild(U);let he=U.offsetWidth-U.clientWidth;return document.body.removeChild(U),this.calculatedScrollbarWidth=he,he}}static calculateScrollbarHeight(){if(null!==this.calculatedScrollbarHeight)return this.calculatedScrollbarHeight;let C=document.createElement("div");C.className="p-scrollbar-measure",document.body.appendChild(C);let U=C.offsetHeight-C.clientHeight;return document.body.removeChild(C),this.calculatedScrollbarWidth=U,U}static invokeElementMethod(C,U,he){C[U].apply(C,he)}static clearSelection(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}}static getBrowser(){if(!this.browser){let C=this.resolveUserAgent();this.browser={},C.browser&&(this.browser[C.browser]=!0,this.browser.version=C.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let C=navigator.userAgent.toLowerCase(),U=/(chrome)[ \/]([\w.]+)/.exec(C)||/(webkit)[ \/]([\w.]+)/.exec(C)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(C)||/(msie) ([\w.]+)/.exec(C)||C.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(C)||[];return{browser:U[1]||"",version:U[2]||"0"}}static isInteger(C){return Number.isInteger?Number.isInteger(C):"number"==typeof C&&isFinite(C)&&Math.floor(C)===C}static isHidden(C){return!C||null===C.offsetParent}static isVisible(C){return C&&null!=C.offsetParent}static isExist(C){return null!==C&&typeof C<"u"&&C.nodeName&&C.parentNode}static focus(C,U){C&&document.activeElement!==C&&C.focus(U)}static getFocusableElements(C,U=""){let he=this.find(C,`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${U},\n                [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${U},\n                input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${U},\n                select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${U},\n                textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${U}
1,\n                [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${U},\n                [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${U}`),Ue=[];for(let ht of he)"none"!=getComputedStyle(ht).display&&"hidden"!=getComputedStyle(ht).visibility&&Ue.push(ht);return Ue}static getFirstFocusableElement(C,U){const he=this.getFocusableElements(C,U);return he.length>0?he[0]:null}static getLastFocusableElement(C,U){const he=this.getFocusableElements(C,U);return he.length>0?he[he.length-1]:null}static getNextFocusableElement(C,U=!1){const he=Me.getFocusableElements(C);let Ue=0;if(he&&he.length>0){const ht=he.indexOf(he[0].ownerDocument.activeElement);U?Ue=-1==ht||0===ht?he.length-1:ht-1:-1!=ht&&ht!==he.length-1&&(Ue=ht+1)}return he[Ue]}static generateZIndex(){return this.zindex=this.zindex||999,++this.zindex}static getSelection(){return window.getSelection?window.getSelection().toString():document.getSelection?document.getSelection().toString():document.selection?document.selection.createRange().text:null}static getTargetElement(C,U){if(!C)return null;switch(C){case"document":return document;case"window":return window;case"@next":return U?.nextElementSibling;case"@prev":return U?.previousElementSibling;case"@parent":return U?.parentElement;case"@grandparent":return U?.parentElement.parentElement;default:const he=typeof C;if("string"===he)return document.querySelector(C);if("object"===he&&C.hasOwnProperty("nativeElement"))return this.isExist(C.nativeElement)?C.nativeElement:void 0;const ht=($t=C)&&$t.constructor&&$t.call&&$t.apply?C():C;return ht&&9===ht.nodeType||this.isExist(ht)?ht:null}var $t}static isClient(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}static getAttribute(C,U){if(C){const he=C.getAttribute(U);return isNaN(he)?"true"===he||"false"===he?"true"===he:he:+he}}static calculateBodyScrollbarWidth(){return window.innerWidth-document.documentElement.offsetWidth}static blockBodyScroll(C="p-overflow-hidden"){document.body.style.setProperty("--scrollbar-width",this.calculateBodyScrollbarWidth()+"px"),this.addClass(document.body,C)}static unblockBodyScroll(C="p-overflow-hidden"){document.body.style.removeProperty("--scrollbar-width"),this.removeClass(document.body,C)}}return Me})();class ct{element;listener;scrollableParents;constructor(Fe,C=(()=>{})){this.element=Fe,this.listener=C}bindScrollListener(){this.scrollableParents=Te.getScrollableParents(this.element);for(let Fe=0;Fe<this.scrollableParents.length;Fe++)this.scrollableParents[Fe].addEventListener("scroll",this.listener)}unbindScrollListener(){if(this.scrollableParents)for(let Fe=0;Fe<this.scrollableParents.length;Fe++)this.scrollableParents[Fe].removeEventListener("scroll",this.listener)}destroy(){this.unbindScrollListener(),this.element=null,this.listener=null,this.scrollableParents=null}}class ye{static equals(Fe,C,U){return U?this.resolveFieldData(Fe,U)===this.resolveFieldData(C,U):this.equalsByValue(Fe,C)}static equalsByValue(Fe,C){if(Fe===C)return!0;if(Fe&&C&&"object"==typeof Fe&&"object"==typeof C){var Ue,ht,$t,U=Array.isArray(Fe),he=Array.isArray(C);if(U&&he){if((ht=Fe.length)!=C.length)return!1;for(Ue=ht;0!=Ue--;)if(!this.equalsByValue(Fe[Ue],C[Ue]))return!1;return!0}if(U!=he)return!1;var un=this.isDate(Fe),me=this.isDate(C);if(un!=me)return!1;if(un&&me)return Fe.getTime()==C.getTime();var jn=Fe instanceof RegExp,pe=C instanceof RegExp;if(jn!=pe)return!1;if(jn&&pe)return Fe.toString()==C.toString();var Ye=Object.keys(Fe);if((ht=Ye.length)!==Object.keys(C).length)return!1;for(Ue=ht;0!=Ue--;)if(!Object.prototype.hasOwnProperty.call(C,Ye[Ue]))return!1;for(Ue=ht;0!=Ue--;)if(!this.equalsByValue(Fe[$t=Ye[Ue]],C[$t]))return!1;return!0}return Fe!=Fe&&C!=C}static resolveFieldData(Fe,C){if(Fe&&C){if(this.isFunction(C))return C(Fe);if(-1==C.indexOf("."))return Fe[C];{let U=C.split("."),he=Fe;for(let Ue=0,ht=U.length;Ue<ht;++Ue){if(null==he)return null;he=he[U[Ue]]}return he}}return null}static isFunction(Fe){return!!(Fe&&Fe.constructor&&Fe.call&&Fe.apply)}static reorderArray(Fe,C,U){Fe&&C!==U&&(U>=Fe.length&&(U%=Fe.length,C%=Fe.length),Fe.splice(U,0,Fe.splice(C,1)[0]))}static insertIntoOrderedArray(Fe,C,U,he){if(U.length>0){let Ue=!1;for(let ht=0;ht<U.length;ht++)if(this.findIndexInList(U[ht],he)>C){U.splice(ht,0,Fe),Ue=!0;break}Ue||U.push(Fe)}else U.push(Fe)}static findIndexInList(Fe,C){let U=-1;if(C)for(let he=0;he<C.length;he++)if(C[he]==Fe){U=he;break}return U}static contains(Fe,C){if(null!=Fe&&C&&C.length)for(let U of C)if(this.equals(Fe,U))return!0;return!1}static removeAccents(Fe){return Fe&&Fe.search(/[\xC0-\xFF]/g)>-1&&(Fe=Fe.replace(/[\xC0-\xC5]/g,"A").replace(/[\xC6]/g,"AE").replace(/[\xC7]/g,"C").replace(/[\xC8-\xCB]/g,"E").replace(/[\xCC-\xCF]/g,"I").replace(/[\xD0]/g,"D").replace(/[\xD1]/g,"N").replace(/[\xD2-\xD6\xD8]/g,"O").replace(/[\xD9-\xDC]/g,"U").replace(/[\xDD]/g,"Y").replace(/[\xDE]/g,"P").replace(/[\xE0-\xE5]/g,"a").replace(/[\xE6]/g,"ae").replace(/[\xE7]/g,"c").replace(/[\xE8-\xEB]/g,"e").replace(/[\xEC-\xEF]/g,"i").replace(/[\xF1]/g,"n").replace(/[\xF2-\x
1F6\xF8]/g,"o").replace(/[\xF9-\xFC]/g,"u").replace(/[\xFE]/g,"p").replace(/[\xFD\xFF]/g,"y")),Fe}static isDate(Fe){return"[object Date]"===Object.prototype.toString.call(Fe)}static isEmpty(Fe){return null==Fe||""===Fe||Array.isArray(Fe)&&0===Fe.length||!this.isDate(Fe)&&"object"==typeof Fe&&0===Object.keys(Fe).length}static isNotEmpty(Fe){return!this.isEmpty(Fe)}static compare(Fe,C,U,he=1){let Ue=-1;const ht=this.isEmpty(Fe),$t=this.isEmpty(C);return Ue=ht&&$t?0:ht?he:$t?-he:"string"==typeof Fe&&"string"==typeof C?Fe.localeCompare(C,U,{numeric:!0}):Fe<C?-1:Fe>C?1:0,Ue}static sort(Fe,C,U=1,he,Ue=1){const ht=ye.compare(Fe,C,he,U);let $t=U;return(ye.isEmpty(Fe)||ye.isEmpty(C))&&($t=1===Ue?U:Ue),$t*ht}static merge(Fe,C){if(null!=Fe||null!=C)return null!=Fe&&"object"!=typeof Fe||null!=C&&"object"!=typeof C?null!=Fe&&"string"!=typeof Fe||null!=C&&"string"!=typeof C?C||Fe:[Fe||"",C||""].join(" "):{...Fe||{},...C||{}}}static isPrintableCharacter(Fe=""){return this.isNotEmpty(Fe)&&1===Fe.length&&Fe.match(/\S| /)}static getItemValue(Fe,...C){return this.isFunction(Fe)?Fe(...C):Fe}static findLastIndex(Fe,C){let U=-1;if(this.isNotEmpty(Fe))try{U=Fe.findLastIndex(C)}catch{U=Fe.lastIndexOf([...Fe].reverse().find(C))}return U}static findLast(Fe,C){let U;if(this.isNotEmpty(Fe))try{U=Fe.findLast(C)}catch{U=[...Fe].reverse().find(C)}return U}}var Se=0;function X(Me="pn_id_"){return`${Me}${++Se}`}var ft=function Ne(){let Me=[];const he=Ue=>Ue&&parseInt(Ue.style.zIndex,10)||0;return{get:he,set:(Ue,ht,$t)=>{ht&&(ht.style.zIndex=String(((Ue,ht)=>{let $t=Me.length>0?Me[Me.length-1]:{key:Ue,value:ht},un=$t.value+($t.key===Ue?0:ht)+2;return Me.push({key:Ue,value:un}),un})(Ue,$t)))},clear:Ue=>{Ue&&((Ue=>{Me=Me.filter(ht=>ht.value!==Ue)})(he(Ue)),Ue.style.zIndex="")},getCurrent:()=>Me.length>0?Me[Me.length-1].value:0}}();const _t=["*"];let Gt=(()=>{class Me{label;spin=!1;styleClass;role;ariaLabel;ariaHidden;ngOnInit(){this.getAttributes()}getAttributes(){const C=ye.isEmpty(this.label);this.role=C?void 0:"img",this.ariaLabel=C?void 0:this.label,this.ariaHidden=C}getClassNames(){return`p-icon ${this.styleClass?this.styleClass+" ":""}${this.spin?"p-icon-spin":""}`}static \u0275fac=function(U){return new(U||Me)};static \u0275cmp=m.VBU({type:Me,selectors:[["ng-component"]],hostAttrs:[1,"p-element","p-icon-wrapper"],inputs:{label:"label",spin:"spin",styleClass:"styleClass"},standalone:!0,features:[m.aNF],ngContentSelectors:_t,decls:1,vars:0,template:function(U,he){1&U&&(m.NAR(),m.SdG(0))},encapsulation:2,changeDetection:0})}return Me})(),Rt=(()=>{class Me extends Gt{static \u0275fac=(()=>{let C;return function(he){return(C||(C=m.xGo(Me)))(he||Me)}})();static \u0275cmp=m.VBU({type:Me,selectors:[["AngleRightIcon"]],standalone:!0,features:[m.Vt3,m.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M5.25 11.1728C5.14929 11.1694 5.05033 11.1455 4.9592 11.1025C4.86806 11.0595 4.78666 10.9984 4.72 10.9228C4.57955 10.7822 4.50066 10.5916 4.50066 10.3928C4.50066 10.1941 4.57955 10.0035 4.72 9.86283L7.72 6.86283L4.72 3.86283C4.66067 3.71882 4.64765 3.55991 4.68275 3.40816C4.71785 3.25642 4.79932 3.11936 4.91585 3.01602C5.03238 2.91268 5.17819 2.84819 5.33305 2.83149C5.4879 2.81479 5.64411 2.84671 5.78 2.92283L9.28 6.42283C9.42045 6.56346 9.49934 6.75408 9.49934 6.95283C9.49934 7.15158 9.42045 7.34221 9.28 7.48283L5.78 10.9228C5.71333 10.9984 5.63193 11.0595 5.5408 11.1025C5.44966 11.1455 5.35071 11.1694 5.25 11.1728Z","fill","currentColor"]],template:function(U,he){1&U&&(m.qSk(),m.j41(0,"svg",0),m.nrm(1,"path",1),m.k0s()),2&U&&(m.HbH(he.getClassNames()),m.BMQ("aria-label",he.ariaLabel)("aria-hidden",he.ariaHidden)("role",he.role))},encapsulation:2})}return Me})(),dt=(()=>{class Me{document;platformId;renderer;el;zone;config;constructor(C,U,he,Ue,ht,$t){this.document=C,this.platformId=U,this.renderer=he,this.el=Ue,this.zone=ht,this.config=$t}animationListener;mouseDownListener;timeout;ngAfterViewInit(){(0,e.UE)(this.platformId)&&this.config&&this.config.ripple&&this.zone.runOutsideAngular(()=>{this.create(),this.mouseDownListener=this.renderer.listen(this.el.nativeElement,"mousedown",this.onMouseDown.bind(this))})}onMouseDown(C){let U=this.getInk();if(!U||"none"===this.document.defaultView?.getComputedStyle(U,null).display)return;
vendor: 13,314 bytes, line 1
1if(Te.removeClass(U,"p-ink-active"),!Te.getHeight(U)&&!Te.getWidth(U)){let $t=Math.max(Te.getOuterWidth(this.el.nativeElement),Te.getOuterHeight(this.el.nativeElement));U.style.height=$t+"px",U.style.width=$t+"px"}let he=Te.getOffset(this.el.nativeElement),Ue=C.pageX-he.left+this.document.body.scrollTop-Te.getWidth(U)/2,ht=C.pageY-he.top+this.document.body.scrollLeft-Te.getHeight(U)/2;this.renderer.setStyle(U,"top",ht+"px"),this.renderer.setStyle(U,"left",Ue+"px"),Te.addClass(U,"p-ink-active"),this.timeout=setTimeout(()=>{let $t=this.getInk();$t&&Te.removeClass($t,"p-ink-active")},401)}getInk(){const C=this.el.nativeElement.children;for(let U=0;U<C.length;U++)if("string"==typeof C[U].className&&-1!==C[U].className.indexOf("p-ink"))return C[U];return null}resetInk(){let C=this.getInk();C&&Te.removeClass(C,"p-ink-active")}onAnimationEnd(C){this.timeout&&clearTimeout(this.timeout),Te.removeClass(C.currentTarget,"p-ink-active")}create(){let C=this.renderer.createElement("span");this.renderer.addClass(C,"p-ink"),this.renderer.appendChild(this.el.nativeElement,C),this.renderer.setAttribute(C,"aria-hidden","true"),this.renderer.setAttribute(C,"role","presentation"),this.animationListener||(this.animationListener=this.renderer.listen(C,"animationend",this.onAnimationEnd.bind(this)))}remove(){let C=this.getInk();C&&(this.mouseDownListener&&this.mouseDownListener(),this.animationListener&&this.animationListener(),this.mouseDownListener=null,this.animationListener=null,Te.removeElement(C))}ngOnDestroy(){this.config&&this.config.ripple&&this.remove()}static \u0275fac=function(U){return new(U||Me)(m.rXU(e.qQ),m.rXU(m.Agw),m.rXU(m.sFG),m.rXU(m.aKT),m.rXU(m.SKi),m.rXU(se,8))};static \u0275dir=m.FsC({type:Me,selectors:[["","pRipple",""]],hostAttrs:[1,"p-ripple","p-element"]})}return Me})(),et=(()=>{class Me{static \u0275fac=function(U){return new(U||Me)};static \u0275mod=m.$C({type:Me});static \u0275inj=m.G2t({imports:[e.MD]})}return Me})(),Ie=(()=>{class Me{platformId;el;zone;config;renderer;viewContainer;tooltipPosition;tooltipEvent="hover";appendTo;positionStyle;tooltipStyleClass;tooltipZIndex;escape=!0;showDelay;hideDelay;life;positionTop;positionLeft;autoHide=!0;fitContent=!0;hideOnEscape=!0;content;get disabled(){return this._disabled}set disabled(C){this._disabled=C,this.deactivate()}tooltipOptions;_tooltipOptions={tooltipLabel:null,tooltipPosition:"right",tooltipEvent:"hover",appendTo:"body",positionStyle:null,tooltipStyleClass:null,tooltipZIndex:"auto",escape:!0,disabled:null,showDelay:null,hideDelay:null,positionTop:null,positionLeft:null,life:null,autoHide:!0,hideOnEscape:!0,id:X()+"_tooltip"};_disabled;container;styleClass;tooltipText;showTimeout;hideTimeout;active;mouseEnterListener;mouseLeaveListener;containerMouseleaveListener;clickListener;focusListener;blurListener;scrollHandler;resizeListener;constructor(C,U,he,Ue,ht,$t){this.platformId=C,this.el=U,this.zone=he,this.config=Ue,this.renderer=ht,this.viewContainer=$t}ngAfterViewInit(){(0,e.UE)(this.platformId)&&this.zone.runOutsideAngular(()=>{if("hover"===this.getOption("tooltipEvent"))this.mouseEnterListener=this.onMouseEnter.bind(this),this.mouseLeaveListener=this.onMouseLeave.bind(this),this.clickListener=this.onInputClick.bind(this),this.el.nativeElement.addEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.addEventListener("click",this.clickListener),this.el.nativeElement.addEventListener("mouseleave",this.mouseLeaveListener);else if("focus"===this.getOption("tooltipEvent")){this.focusListener=this.onFocus.bind(this),this.blurListener=this.onBlur.bind(this);let C=this.getTarget(this.el.nativeElement);C.addEventListener("focus",this.focusListener),C.addEventListener("blur",this.blurListener)}})}ngOnChanges(C){C.tooltipPosition&&this.setOption({tooltipPosition:C.tooltipPosition.currentValue}),C.tooltipEvent&&this.setOption({tooltipEvent:C.tooltipEvent.currentValue}),C.appendTo&&this.setOption({appendTo:C.appendTo.currentValue}),C.positionStyle&&this.setOption({positionStyle:C.positionStyle.currentValue}),C.tooltipStyleClass&&this.setOption({tooltipStyleClass:C.tooltipStyleClass.currentValue}),C.tooltipZIndex&&this.setOption({tooltipZIndex:C.tooltipZIndex.currentValue}),C.escape&&this.setOption({escape:C.escape.currentValue}),C.showDelay&&this.setOption({showDelay:C.showDelay.currentValue}),C.hideDelay&&this.setOption({hideDelay:C.hideDelay.currentValue}),C.life&&this.setOption({life:C.life.currentValue}),C.positionTop&&this.setOption({positionTop:C.positionTop.currentValue}),C.positionLeft&&this.setOption({positionLeft:C.positionLeft.currentValue}),C.disabled&&this.setOption({disabled:C.disabled.currentValue}),C.content&&(this.setOption({tooltipLabel:C.content.currentValue}),this.active&&(C.content.currentValue?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide())),C.autoHide&&this.setOption({autoHide:C.autoHide.currentValue}),C.id&&this.setOption({id:C.id.currentValue}),C.tooltipOptions&&(this._tooltipOptions={...this._tooltipOptions,...C.tooltipOptions.currentValue},this.deactivate(),this.active&&(this.getOption("tooltipLabel")?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide()))}isAutoHide(){return this.getOption("autoHide")}onMouseEnter(C){!this.container&&!this.showTimeout&&this.activate()}onMouseLeave(C){(this.isAutoHide()||!(Te.hasClass(C.relatedTarget,"p-tooltip")||Te.hasClass(C.relatedTarget,"p-tooltip-text")||Te.hasClass(C.relatedTarget,"p-tooltip-arrow")))&&this.deactivate()}onFocus(C){this.activate()}onBlur(C){this.deactivate()}onInputClick(C){this.deactivate()}onPressEscape(){this.hideOnEscape&&this.deactivate()}activate(){if(this.active=!0,this.clearHideTimeout(),this.getOption("showDelay")?this.showTimeout=setTimeout(()=>{this.show()},this.getOption("showDelay")):this.show(),this.getOption("life")){let C=this.getOption("showDelay")?this.getOption("life")+this.getOption("showDelay"):this.getOption("life");this.hideTimeout=setTimeout(()=>{this.hide()},C)}}deactivate(){this.active=!1,this.clearShowTimeout(),this.getOption("hideDelay")?(this.clearHideTimeout(),this.hideTimeout=setTimeout(()=>{this.hide()},this.getOption("hideDelay"))):this.hide()}create(){this.container&&(this.clearHideTimeout(),this.remove()),this.container=document.createElement("div"),this.container.setAttribute("id",this.getOption("id")),this.container.setAttribute("role","tooltip");let C=document.createElement("div");C.className="p-tooltip-arrow",this.container.appendChild(C),this.tooltipText=document.createElement("div"),this.tooltipText.className="p-tooltip-text",this.updateText(),this.getOption("positionStyle")&&(this.container.style.position=this.getOption("positionStyle")),this.container.appendChild(this.tooltipText),"body"===this.getOption("appendTo")?document.body.appendChild(this.container):"target"===this.getOption("appendTo")?Te.appendChild(this.container,this.el.nativeElement):Te.appendChild(this.container,this.getOption("appendTo")),this.container.style.display="inline-block",this.fitContent&&(this.container.style.width="fit-content"),this.isAutoHide()?this.container.style.pointerEvents="none":(this.container.style.pointerEvents="unset",this.bindContainerMouseleaveListener())}bindContainerMouseleaveListener(){this.containerMouseleaveListener||(this.containerMouseleaveListener=this.renderer.listen(this.container??this.container.nativeElement,"mouseleave",U=>{this.deactivate()}))}unbindContainerMouseleaveListener(){this.containerMouseleaveListener&&(this.bindContainerMouseleaveListener(),this.containerMouseleaveListener=null)}show(){!this.getOption("tooltipLabel")||this.getOption("disabled")||(this.create(),this.align(),Te.fadeIn(this.container,250),"auto"===this.getOption("tooltipZIndex")?ft.set("tooltip",this.container,this.config.zIndex.tooltip):this.container.style.zIndex=this.getOption("tooltipZIndex"),this.bindDocumentResizeListener(),this.bindScrollListener())}hide(){"auto"===this.getOption("tooltipZIndex")&&ft.clear(this.container),this.remove()}updateText(){const C=this.getOption("tooltipLabel");if(C instanceof m.C4Q){const U=this.viewContainer.createEmbeddedView(C);U.detectChanges(),U.rootNodes.forEach(he=>this.tooltipText.appendChild(he))}else this.getOption("escape")?(this.tooltipText.innerHTML="",this.tooltipText.appendChild(document.createTextNode(C))):this.tooltipText.innerHTML=C}align(){switch(this.getOption("tooltipPosition")){case"top":this.alignTop(),this.isOutOfBounds()&&(this.alignBottom(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&this.alignLeft()));break;case"bottom":this.alignBottom(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&this.alignLeft()));break;case"left":this.alignLeft(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&this.alignBottom()));break;case"right":this.alignRight(),this.isOutOfBounds()&&(this.alignLeft(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&this.alignBottom()))}}getHostOffset(){if("body"===this.getOption("appendTo")||"target"===this.getOption("appendTo")){let C=this.el.nativeElement.getBoundingClientRect();return{left:C.left+Te.getWindowScrollLeft(),top:C.top+Te.getWindowScrollTop()}}return{left:0,top:0}}alignRight(){this.preAlign("right");let C=this.getHostOffset(),U=C.left+Te.getOuterWidth(this.el.nativeElement),he=C.top+(Te.getOuterHeight(this.el.nativeElement)-Te.getOuterHeight(this.container))/2;this.container.style.left=U+this.getOption("positionLeft")+"px",this.container.style.top=he+this.getOption("positionTop")+"px"}alignLeft(){this.preAlign("left");let C=this.getHostOffset(),U=C.left-Te.getOuterWidth(this.container),he=C.top+(Te.getOuterHeight(this.el.nativeElement)-Te.getOuterHeight(this.container))/2;this.container.style.left=U+this.getOption("positionLeft")+"px",this.container.style.top=he+this.getOption("positionTop")+"px"}alignTop(){this.preAlign("top");let C=this.getHostOffset(),U=C.left+(Te.getOuterWidth(this.el.nativeElement)-Te.getOuterWidth(this.container))/2,he=C.top-Te.getOuterHeight(this.container);this.container.style.left=U+this.getOption("positionLeft")+"px",this.container.style.top=he+this.getOption("positionTop")+"px"}alignBottom(){this.preAlign("bottom");let C=this.getHostOffset(),U=C.left+(Te.getOuterWidth(this.el.nativeElement)-Te.getOuterWidth(this.container))/2,he=C.top+Te.getOuterHeight(this.el.nativeElement);this.container.style.left=U+this.getOption("positionLeft")+"px",this.container.style.top=he+this.getOption("positionTop")+"px"}setOption(C){this._tooltipOptions={...this._tooltipOptions,...C}}getOption(C){return this._tooltipOptions[C]}getTarget(C){return Te.hasClass(C,"p-inputwrapper")?Te.findSingle(C,"input"):C}preAlign(C){this.container.style.left="-999px",this.container.style.top="-999px";let U="p-tooltip p-component p-tooltip-"+C;this.container.className=this.getOption("tooltipStyleClass")?U+" "+this.getOption("tooltipStyleClass"):U}isOutOfBounds(){let C=this.container.getBoundingClientRect(),U=C.top,he=C.left,Ue=Te.getOuterWidth(this.container),ht=Te.getOuterHeight(this.container),$t=Te.getViewport();return he+Ue>$t.width||he<0||U<0||U+ht>$t.height}onWindowResize(C){this.hide()}bindDocumentResizeListener(){this.zone.runOutsideAngular(()=>{this.resizeListener=this.onWindowResize.bind(this),window.addEventListener("resize",this.resizeListener)})}unbindDocumentResizeListener(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new ct(this.el.nativeElement,()=>{this.container&&this.hide()})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}unbindEvents(){if("hover"===this.getOption("tooltipEvent"))this.el.nativeElement.removeEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.removeEventListener("mouseleave",this.mouseLeaveListener),this.el.nativeElement.removeEventListener("click",this.clickListener);else if("focus"===this.getOption("tooltipEvent")){let C=this.getTarget(this.el.nativeElement);C.removeEventListener("focus",this.focusListener),C.removeEventListener("blur",this.blurListener)}this.unbindDocumentResizeListener()}remove(){this.container&&this.container.parentElement&&("body"===this.getOption("appendTo")?document.body.removeChild(this.container):"target"===this.getOption("appendTo")?this.el.nativeElement.removeChild(this.container):Te.removeChild(this.container,this.getOption("appendTo"))),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.unbindContainerMouseleaveListener(),this.clearTimeouts(),this.container=null,this.scrollHandler=null}clearShowTimeout(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=null)}clearHideTimeout(){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null)}clearTimeouts(){this.clearShowTimeout(),this.clearHideTimeout()}ngOnDestroy(){this.unbindEvents(),this.container&&ft.clear(this.container),this.remove(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null)}static \u0275fac=function(U){return new(U||Me)(m.rXU(m.Agw),m.rXU(m.aKT),m.rXU(m.
1SKi),m.rXU(se),m.rXU(m.sFG),m.rXU(m.c1b))};static \u0275dir=m.FsC({type:Me,selectors:[["","pTooltip",""]],hostAttrs:[1,"p-element"],hostBindings:function(U,he){1&U&&m.bIt("keydown.escape",function(ht){return he.onPressEscape(ht)},!1,m.EBC)},inputs:{tooltipPosition:"tooltipPosition",tooltipEvent:"tooltipEvent",appendTo:"appendTo",positionStyle:"positionStyle",tooltipStyleClass:"tooltipStyleClass",tooltipZIndex:"tooltipZIndex",escape:"escape",showDelay:"showDelay",hideDelay:"hideDelay",life:"life",positionTop:"positionTop",positionLeft:"positionLeft",autoHide:"autoHide",fitContent:"fitContent",hideOnEscape:"hideOnEscape",content:[m.Mj6.None,"pTooltip","content"],disabled:[m.Mj6.None,"tooltipDisabled","disabled"],tooltipOptions:"tooltipOptions"},features:[m.OA$]})}return Me})(),ot=(()=>{class Me{static \u0275fac=function(U){return new(U||Me)};static \u0275mod=m.$C({type:Me});static \u0275inj=m.G2t({imports:[e.MD]})}return Me})(),vt=(()=>{class Me extends Gt{static \u0275fac=(()=>{let C;return function(he){return(C||(C=m.xGo(Me)))(he||Me)}})();static \u0275cmp=m.VBU({type:Me,selectors:[["CaretLeftIcon"]],standalone:!0,features:[m.Vt3,m.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M10.5553 13C10.411 13.0006 10.2704 12.9538 10.1554 12.8667L3.04473 7.53369C2.96193 7.4716 2.89474 7.39108 2.84845 7.29852C2.80217 7.20595 2.77808 7.10388 2.77808 7.00039C2.77808 6.8969 2.80217 6.79484 2.84845 6.70227C2.89474 6.60971 2.96193 6.52919 3.04473 6.4671L10.1554 1.13412C10.2549 1.05916 10.3734 1.0136 10.4976 1.0026C10.6217 0.991605 10.7464 1.01561 10.8575 1.0719C10.9668 1.12856 11.0584 1.21398 11.1226 1.31893C11.1869 1.42388 11.2212 1.54438 11.222 1.66742V12.3334C11.2212 12.4564 11.1869 12.5769 11.1226 12.6819C11.0584 12.7868 10.9668 12.8722 10.8575 12.9289C10.7629 12.9735 10.6599 12.9977 10.5553 13ZM4.55574 7.00039L9.88871 11.0001V3.00066L4.55574 7.00039Z","fill","currentColor"]],template:function(U,he){1&U&&(m.qSk(),m.j41(0,"svg",0),m.nrm(1,"path",1),m.k0s()),2&U&&(m.HbH(he.getClassNames()),m.BMQ("aria-label",he.ariaLabel)("aria-hidden",he.ariaHidden)("role",he.role))},encapsulation:2})}return Me})();const je=["sublist"],He=(Me,Fe,C)=>({"p-submenu-list":Me,"p-slidemenu-root-list":Fe,"p-active-submenu":C}),Ve=Me=>({"p-menuitem-link":!0,"p-disabled":Me}),at=()=>({exact:!1});function Tt(Me,Fe){if(1&Me&&m.nrm(0,"li",7),2&Me){const C=m.XpG().$implicit,U=m.XpG();m.Aen(U.getItemProp(C,"style")),m.Y8G("id",U.getItemId(C))("ngClass",U.getSeparatorItemClass(C)),m.BMQ("data-pc-section","separator")}}function wt(Me,Fe){if(1&Me&&m.nrm(0,"span",18),2&Me){const C=m.XpG(3).$implicit,U=m.XpG();m.Y8G("ngClass",U.getItemProp(C,"icon"))("ngStyle",U.getItemProp(C,"iconStyle")),m.BMQ("data-pc-section","icon")("aria-hidden",!0)("tabindex",-1)}}function jt(Me,Fe){if(1&Me&&(m.j41(0,"span",19),m.EFF(1),m.k0s()),2&Me){const C=m.XpG(3).$implicit,U=m.XpG();m.BMQ("data-pc-section","label"),m.R7$(),m.SpI(" ",U.getItemLabel(C)," ")}}function Tn(Me,Fe){if(1&Me&&m.nrm(0,"span",20),2&Me){const C=m.XpG(3).$implicit,U=m.XpG();m.Y8G("innerHTML",U.getItemLabel(C),m.npT),m.BMQ("data-pc-section","label")}}function Ln(Me,Fe){if(1&Me&&(m.j41(0,"span",21),m.EFF(1),m.k0s()),2&Me){const C=m.XpG(3).$implicit,U=m.XpG();m.Y8G("ngClass",U.getItemProp(C,"badgeStyleClass")),m.R7$(),m.JRh(U.getItemProp(C,"badge"))}}function re(Me,Fe){1&Me&&m.nrm(0,"AngleRightIcon",24),2&Me&&(m.Y8G("styleClass","p-submenu-icon"),m.BMQ("data-pc-section","submenuicon")("aria-hidden",!0))}function mt(Me,Fe){}function Ke(Me,Fe){1&Me&&m.DNE(0,mt,0,0,"ng-template",25),2&Me&&m.Y8G("data-pc-section","submenuicon")("aria-hidden",!0)}function Ge(Me,Fe){if(1&Me&&(m.qex(0),m.DNE(1,re,1,3,"AngleRightIcon",22)(2,Ke,1,2,null,23),m.bVm()),2&Me){const C=m.XpG(4);m.R7$(),m.Y8G("ngIf",!C.slideMenu.submenuIconTemplate),m.R7$(),m.Y8G("ngTemplateOutlet",C.slideMenu.submenuIconTemplate)}}function Ee(Me,Fe){if(1&Me&&(m.j41(0,"a",13),m.DNE(1,wt,1,5,"span",14)(2,jt,2,2,"span",15)(3,Tn,1,2,"ng-template",null,2,m.C5r)(5,Ln,2,2,"span",16)(6,Ge,3,2,"ng-container",17),m.k0s()),2&Me){const C=m.sdS(4),U=m.XpG(2).$implicit,he=m.XpG();m.Y8G("target",he.getItemProp(U,"target"))("ngClass",m.eq3(12,Ve,he.getItemProp(U,"disabled"))),m.BMQ("href",he.getItemProp(U,"url"),m.B4B)("aria-hidden",!0)("data-automationid",he.getItemProp(U,"automationId"))("data-pc-section","action")("tabindex",-1),m.R7$(),m.Y8G("ngIf",he.getItemProp(U,"icon")),m.R7$(),m.Y8G("ngIf",he.getItemProp(U,"escape"))("ngIfElse",C),m.R7$(3),m.Y8G("ngIf",he.getItemProp(U,"badge")),m.R7$(),m.Y8G("ngIf",he.isItemGroup(U))}}function qe(Me,Fe){if(1&Me&&m.nrm(0,"span",18),2&Me){const C=m.XpG(3).$implicit,U=m.XpG();m.Y8G("ngClass",U.getItemProp(C,"icon"))("ngStyle",U.getItemProp(C,"iconStyle")),m.BMQ("data-pc-section","icon")("aria-hidden",!0)("tabindex",-1)}}function bt(Me,Fe){if(1&Me&&(m.j41(0,"span",19),m.EFF(1),m.k0s()),2&Me){const C=m.XpG(3).$implicit,U=m.XpG();m.BMQ("data-pc-section","label"),m.R7$(),m.SpI(" ",U.getItemLabel(C)," ")}}function Je(Me,Fe){if(1&Me&&m.nrm(0,"span",20),2&Me){const C=m.XpG(3).$implicit,U=m.XpG();m.Y8G("innerHTML",U.getItemLabel(C),m.npT),m.BMQ("data-pc-section","label")}}function pt(Me,Fe){if(1&Me&&(m.j41(0,"span",21),m.EFF(1),m.k0s()),2&Me){const C=m.XpG(3).$implicit,U=m.XpG();m.Y8G("ngClass",U.getItemProp(C,"badgeStyleClass")),m.R7$(),m.JRh(U.getItemProp(C,"badge"))}}function Ft(Me,Fe){1&Me&&m.nrm(0,"AngleRightIcon",24),2&Me&&(m.Y8G("styleClass","p-submenu-icon"),m.BMQ("data-pc-section","submenuicon")("aria-hidden",!0))}function qt(Me,Fe){}function Wt(Me,Fe){1&Me&&m.DNE(0,qt,0,0,"ng-template",25),2&Me&&m.Y8G("data-pc-section","submenuicon")("aria-hidden",!0)}function En(Me,Fe){if(1&Me&&(m.qex(0),m.DNE(1,Ft,1,3,"AngleRightIcon",22)(2,Wt,1,2,null,23),m.bVm()),2&Me){const C=m.XpG(4);m.R7$(),m.Y8G("ngIf",!C.slideMenu.submenuIconTemplate),m.R7$(),m.Y8G("ngTemplateOutlet",C.slideMenu.submenuIconTemplate)}}function Sn(Me,Fe){if(1&Me&&(m.j41(0,"a",26),m.DNE(1,qe,1,5,"span",14)(2,bt,2,2,"span",15)(3,Je,1,2,"ng-template",null,2,m.C5r)(5,pt,2,2,"span",16)(6,En,3,2,"ng-container",17),m.k0s()),2&Me){const C=m.sdS(4),U=m.XpG(2).$implicit,he=m.XpG();m.Y8G("routerLink",he.getItemProp(U,"routerLink"))("queryParams",he.getItemProp(U,"queryParams"))("routerLinkActive","p-menuitem-link-active")("routerLinkActiveOptions",he.getItemProp(U,"routerLinkActiveOptions")||m.lJ4(21,at))("target",he.getItemProp(U,"target"))("ngClass",m.eq3(22,Ve,he.getItemProp(U,"disabled")))("fragment",he.getItemProp(U,"fragment"))("queryParamsHandling",he.getItemProp(U,"queryParamsHandling"))("preserveFragment",he.getItemProp(U,"preserveFragment"))("skipLocationChange",he.getItemProp(U,"skipLocationChange"))("replaceUrl",he.getItemProp(U,"replaceUrl"))("state",he.getItemProp(U,"state")),m.BMQ("data-automationid",he.getItemProp(U,"automationId"))("tabindex",-1)("aria-hidden",!0)("data-pc-section","action"),m.R7$(),m.Y8G("ngIf",he.getItemProp(U,"icon")),m.R7$(),m.Y8G("ngIf",he.getItemProp(U,"escape"))("ngIfElse",C),m.R7$(3),m.Y8G("ngIf",he.getItemProp(U,"badge")),m.R7$(),m.Y8G("ngIf",he.isItemGroup(U))}}function Zt(Me,Fe){if(1&Me){const C=m.RV6();
1m.j41(0,"p-slideMenuSub",27),m.bIt("itemClick",function(he){m.eBV(C);const Ue=m.XpG(3);return m.Njj(Ue.itemClick.emit(he))})("itemMouseEnter",function(he){m.eBV(C);const Ue=m.XpG(3);return m.Njj(Ue.itemMouseEnter.emit(he))}),m.k0s()}if(2&Me){const C=m.XpG(2).$implicit,U=m.XpG();m.Y8G("items",C.items)("autoDisplay",U.autoDisplay)("menuId",U.menuId)("activeItemPath",U.activeItemPath)("focusedItemId",U.focusedItemId)("level",U.level+1)("menuWidth",U.menuWidth)}}function An(Me,Fe){if(1&Me){const C=m.RV6();m.j41(0,"li",8,1)(2,"div",9),m.bIt("click",function(he){m.eBV(C);const Ue=m.XpG().$implicit,ht=m.XpG();return m.Njj(ht.onItemClick(he,Ue))})("mouseenter",function(he){m.eBV(C);const Ue=m.XpG().$implicit,ht=m.XpG();return m.Njj(ht.itemMouseEnter.emit({originalEvent:he,processedItem:Ue}))}),m.DNE(3,Ee,7,14,"a",10)(4,Sn,7,24,"a",11),m.k0s(),m.DNE(5,Zt,1,7,"p-slideMenuSub",12),m.k0s()}if(2&Me){const C=m.XpG(),U=C.$implicit,he=C.index,Ue=m.XpG();m.HbH(Ue.getItemProp(U,"styleClass")),m.Y8G("id",Ue.getItemId(U))("ngStyle",Ue.getItemProp(U,"style"))("ngClass",Ue.getItemClass(U))("tooltipOptions",Ue.getItemProp(U,"tooltipOptions")),m.BMQ("data-pc-section","menuitem")("data-p-highlight",Ue.isItemActive(U))("data-p-focused",Ue.isItemFocused(U))("data-p-disabled",Ue.isItemDisabled(U))("aria-label",Ue.getItemLabel(U))("aria-disabled",Ue.isItemDisabled(U)||void 0)("aria-haspopup",Ue.isItemGroup(U)&&!Ue.getItemProp(U,"to")?"menu":void 0)("aria-expanded",Ue.isItemGroup(U)?Ue.isItemActive(U):void 0)("aria-level",Ue.level+1)("aria-setsize",Ue.getAriaSetSize())("aria-posinset",Ue.getAriaPosInset(he)),m.R7$(2),m.BMQ("data-pc-section","content"),m.R7$(),m.Y8G("ngIf",!Ue.getItemProp(U,"routerLink")),m.R7$(),m.Y8G("ngIf",Ue.getItemProp(U,"routerLink")),m.R7$(),m.Y8G("ngIf",Ue.isItemVisible(U)&&Ue.isItemGroup(U))}}function fi(Me,Fe){if(1&Me&&m.DNE(0,Tt,1,5,"li",5)(1,An,6,21,"li",6),2&Me){const C=Fe.$implicit,U=m.XpG();m.Y8G("ngIf",U.isItemVisible(C)&&U.getItemProp(C,"separator")),m.R7$(),m.Y8G("ngIf",U.isItemVisible(C)&&!U.getItemProp(C,"separator"))}}const Yt=["rootmenu"],Oi=["container"],Yn=["backward"],vi=["slideMenuContent"],yi=Me=>({"p-slidemenu p-component":!0,"p-slidemenu-overlay":Me}),Dn=(Me,Fe)=>({showTransitionParams:Me,hideTransitionParams:Fe}),hs=Me=>({value:"visible",params:Me}),Pn=()=>({"vertical-align":"middle"});function mn(Me,Fe){1&Me&&m.nrm(0,"CaretLeftIcon",12),2&Me&&m.Y8G("styleClass","p-slidemenu-backward-icon")("ngStyle",m.lJ4(2,Pn))}function ji(Me,Fe){}function ti(Me,Fe){1&Me&&m.DNE(0,ji,0,0,"ng-template")}function _n(Me,Fe){if(1&Me){const C=m.RV6();m.j41(0,"div",5,0),m.bIt("click",function(he){m.eBV(C);const Ue=m.XpG();return m.Njj(Ue.onOverlayClick(he))})("@overlayAnimation.start",function(he){m.eBV(C);const Ue=m.XpG();return m.Njj(Ue.onOverlayAnimationStart(he))})("@overlayAnimation.done",function(he){m.eBV(C);const Ue=m.XpG();return m.Njj(Ue.onOverlayAnimationEnd(he))}),m.j41(2,"div",6)(3,"div",7,1),m.bIt("focus",function(he){m.eBV(C);const Ue=m.sdS(4),ht=m.XpG();return m.Njj(ht.logFocus(he,Ue))}),m.j41(5,"p-slideMenuSub",8,2),m.bIt("itemClick",function(he){m.eBV(C);const Ue=m.XpG();return m.Njj(Ue.onItemClick(he))})("menuFocus",function(he){m.eBV(C);const Ue=m.XpG();return m.Njj(Ue.onMenuFocus(he))})("menuKeydown",function(he){m.eBV(C);const Ue=m.XpG();return m.Njj(Ue.onKeyDown(he))})("itemMouseEnter",function(he){m.eBV(C);const Ue=m.XpG();return m.Njj(Ue.onItemMouseEnter(he))}),m.k0s()(),m.j41(7,"a",9,3),m.bIt("click",function(he){m.eBV(C);const Ue=m.XpG();return m.Njj(Ue.goBack(he))})("keydown",function(he){m.eBV(C);const Ue=m.XpG();return m.Njj(Ue.onNavigationKeyDown(he))}),m.DNE(9,mn,1,3,"CaretLeftIcon",10)(10,ti,1,0,null,11),m.j41(11,"span"),m.EFF(12),m.k0s()()()()}if(2&Me){const C=m.XpG();m.HbH(C.styleClass),m.Y8G("id",C.id)("ngClass",m.eq3(34,yi,C.popup))("ngStyle",C.style)("@overlayAnimation",m.eq3(39,hs,m.l_i(36,Dn,C.showTransitionOptions,C.hideTransitionOptions)))("@.disabled",!0!==C.popup),m.BMQ("data-pc-section","root")("data-pc-name","slidemenu"),m.R7$(2),m.xc7("height",C.left?C.viewportHeight+"px":"auto")("width",C.menuWidth+"px"),m.R7$(3),m.Y8G("root",!0)("items",C.processedItems)("menuId",C.id)("tabindex",C.disabled?-1:C.tabindex)("ariaLabel",C.ariaLabel)("ariaLabelledBy",C.ariaLabelledBy)("baseZIndex",C.baseZIndex)("autoZIndex",C.autoZIndex)("autoDisplay",C.autoDisplay)("menuWidth",C.menuWidth)("popup",C.popup)("effectDuration",C.effectDuration)("easing",C.easing)("focusedItemId",C.focused?C.focusedItemId:void 0)("activeItemPath",C.activeItemPath()),m.R7$(2),m.xc7("display",C.left?"block":"none"),m.BMQ("data-pc-section","navigation"),m.R7$(2),m.Y8G("ngIf",!C.backIconTemplate),m.R7$(),m.Y8G("ngTemplateOutlet",C.backIconTemplate),m.R7$(2),m.JRh(C.backLabel)}}let Bi=(()=>{class Me{document;el;renderer;cd;slideMenu;items;menuWidth;root=!1;easing="ease-out";effectDuration;autoDisplay;autoZIndex=!0;baseZIndex=0;popup;menuId;ariaLabel;ariaLabelledBy;level=0;focusedItemId;activeItemPath;tabindex=0;
1itemClick=new m.bkB;itemMouseEnter=new m.bkB;menuFocus=new m.bkB;menuBlur=new m.bkB;menuKeydown=new m.bkB;sublistViewChild;get isActive(){return-this.slideMenu.left==this.level*this.menuWidth}constructor(C,U,he,Ue,ht){this.document=C,this.el=U,this.renderer=he,this.cd=Ue,this.slideMenu=ht}getItemProp(C,U,he=null){return C&&C.item?ye.getItemValue(C.item[U],he):void 0}getItemId(C){return C.item&&C.item?.id?C.item.id:`${this.menuId}_${C.key}`}getItemKey(C){return this.getItemId(C)}getItemClass(C){return{...this.getItemProp(C,"class"),"p-menuitem":!0,"p-menuitem-active":this.isItemActive(C),"p-focus":this.isItemFocused(C),"p-disabled":this.isItemDisabled(C)}}getItemLabel(C){return this.getItemProp(C,"label")}getSeparatorItemClass(C){return{...this.getItemProp(C,"class"),"p-menuitem-separator":!0}}getAriaSetSize(){return this.items.filter(C=>this.isItemVisible(C)&&!this.getItemProp(C,"separator")).length}getAriaPosInset(C){return C-this.items.slice(0,C).filter(U=>this.isItemVisible(U)&&this.getItemProp(U,"separator")).length+1}isItemVisible(C){return!1!==this.getItemProp(C,"visible")}isItemActive(C){if(this.activeItemPath)return this.activeItemPath.some(U=>U.key===C.key)}isItemDisabled(C){return this.getItemProp(C,"disabled")}isItemFocused(C){return this.focusedItemId===this.getItemId(C)}isItemGroup(C){return ye.isNotEmpty(C.items)}onItemClick(C,U){this.getItemProp(U,"command",{originalEvent:C,item:U.item}),this.itemClick.emit({originalEvent:C,processedItem:U,isFocus:!0}),C.preventDefault()}onMenuKeyDown(C){this.menuKeydown.emit(C)}static \u0275fac=function(U){return new(U||Me)(m.rXU(e.qQ),m.rXU(m.aKT),m.rXU(m.sFG),m.rXU(m.gRc),m.rXU((0,m.Rfq)(()=>Ai)))};static \u0275cmp=m.VBU({type:Me,selectors:[["p-slideMenuSub"]],viewQuery:function(U,he){if(1&U&&m.GBs(je,7),2&U){let Ue;m.mGM(Ue=m.lsd())&&(he.sublistViewChild=Ue.first)}},hostAttrs:[1,"p-element"],inputs:{items:"items",menuWidth:"menuWidth",root:"root",easing:"easing",effectDuration:"effectDuration",autoDisplay:"autoDisplay",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",popup:"popup",menuId:"menuId",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy",level:"level",focusedItemId:"focusedItemId",activeItemPath:"activeItemPath",tabindex:"tabindex"},outputs:{itemClick:"itemClick",itemMouseEnter:"itemMouseEnter",menuFocus:"menuFocus",menuBlur:"menuBlur",menuKeydown:"menuKeydown"},decls:3,vars:24,consts:[["sublist",""],["listItem",""],["htmlLabel",""],["role","menu",3,"keydown","focusin","ngClass","id","tabindex"],["ngFor","",3,"ngForOf"],["role","separator",3,"id","style","ngClass",4,"ngIf"],["role","menuitem","pTooltip","",3,"id","ngStyle","ngClass","class","tooltipOptions",4,"ngIf"],["role","separator",3,"id","ngClass"],["role","menuitem","pTooltip","",3,"id","ngStyle","ngClass","tooltipOptions"],[1,"p-menuitem-content",3,"click","mouseenter"],["pRipple","",3,"target","ngClass",4,"ngIf"],["pRipple","",3,"routerLink","queryParams","routerLinkActive","routerLinkActiveOptions","target","ngClass","fragment","queryParamsHandling","preserveFragment","skipLocationChange","replaceUrl","state",4,"ngIf"],["class","p-submenu",3,"items","autoDisplay","menuId","activeItemPath","focusedItemId","level","menuWidth","itemClick","itemMouseEnter",4,"ngIf"],["pRipple","",3,"target","ngClass"],["class","p-menuitem-icon",3,"ngClass","ngStyle",4,"ngIf"],["class","p-menuitem-text",4,"ngIf","ngIfElse"],["class","p-menuitem-badge",3,"ngClass",4,"ngIf"],[4,"ngIf"],[1,"p-menuitem-icon",3,"ngClass","ngStyle"],[1,"p-menuitem-text"],[1,"p-menuitem-text",3,"innerHTML"],[1,"p-menuitem-badge",3,"ngClass"],[3,"styleClass",4,"ngIf"],[4,"ngTemplateOutlet"],[3,"styleClass"],[3,"data-pc-section","aria-hidden"],["pRipple","",3,"routerLink","queryParams","routerLinkActive","routerLinkActiveOptions","target","ngClass","fragment","queryParamsHandling","preserveFragment","skipLocationChange","replaceUrl","state"],[1,"p-submenu",3,"itemClick","itemMouseEnter","items","autoDisplay","menuId","activeItemPath","focusedItemId","level","menuWidth"]],template:function(U,he){if(1&U){const Ue=m.RV6();m.j41(0,"ul",3,0),m.bIt("keydown",function($t){return m.eBV(Ue),m.Njj(he.menuKeydown.emit($t))})("focusin",function($t){return m.eBV(Ue),m.Njj(he.menuFocus.emit($t))}),m.DNE(2,fi,2,2,"ng-template",4),m.k0s()}2&U&&(m.xc7("width",he.menuWidth,"px")("left",he.root?he.slideMenu.left:he.slideMenu.menuWidth,"px")("transition-property",he.root?"left":"none")("transition-duration",he.effectDuration+"ms")("transition-timing-function",he.easing),m.Y8G("ngClass",m.sMw(20,He,!he.root,he.root,he.isActive))("id",he.menuId+"_list")("tabindex",he.tabindex),m.BMQ("aria-label",he.ariaLabel)("aria-labelledBy",he.ariaLabelledBy)("aria-aria-activedescendant",he.focusedItemId)("aria-orientation","vertical")("data-pc-section","menu")("data-pc-state",he.isActive?"active":"inactive"),m.R7$(2),m.Y8G("ngForOf",he.items))},dependencies:()=>[e.YU,e.Sq,e.bT,e.T3,e.B3,b.Wk,b.wQ,dt,Ie,Rt,Me],encapsulation:2})}return Me})(),Ai=(()=>{class Me{document;platformId;el;renderer;cd;config;overlayService;set model(C){this._model=C,this._processedItems=this.createProcessedItems(this._model||[])}get model(){return this._model}menuWidth=190;
1viewportHeight=180;effectDuration=250;easing="ease-out";backLabel="Back";disabled=!1;tabindex=0;popup;style;styleClass;appendTo;autoZIndex=!0;baseZIndex=0;autoDisplay=!0;showTransitionOptions=".12s cubic-bezier(0, 0, 0.2, 1)";hideTransitionOptions=".1s linear";id;ariaLabel;ariaLabelledBy;onShow=new m.bkB;onHide=new m.bkB;templates;rootmenu;containerViewChild;set backward(C){this.backwardViewChild=C}slideMenuContentViewChild;submenuIconTemplate;backIconTemplate;outsideClickListener;resizeListener;transitionEndListener;transitionStartListener;backwardViewChild;transition=!1;left=0;animating=!1;target;visible;relativeAlign;window;focused=!1;activeItemPath=(0,m.vPA)([]);focusedItemInfo=(0,m.vPA)({index:-1,level:0,parentKey:""});searchValue="";searchTimeout;_processedItems;_model;container;itemClick=!1;get visibleItems(){const C=this.activeItemPath().find(U=>U.key===this.focusedItemInfo().parentKey);return C?C.items:this.processedItems}get processedItems(){return(!this._processedItems||!this._processedItems.length)&&(this._processedItems=this.createProcessedItems(this.model||[])),this._processedItems}get focusedItemId(){const C=this.focusedItemInfo();return C.item&&C.item?.id?C.item.id:-1!==C.index?`${this.id}${ye.isNotEmpty(C.parentKey)?"_"+C.parentKey:""}_${C.index}`:null}constructor(C,U,he,Ue,ht,$t,un){this.document=C,this.platformId=U,this.el=he,this.renderer=Ue,this.cd=ht,this.config=$t,this.overlayService=un,this.window=this.document.defaultView,(0,m.QZP)(()=>{const me=this.activeItemPath();this.popup&&(ye.isNotEmpty(me)?(this.bindOutsideClickListener(),this.bindResizeListener()):(this.unbindOutsideClickListener(),this.unbindResizeListener()))})}documentFocusListener;ngOnInit(){this.id=this.id||X()}
1ngAfterContentInit(){this.templates.forEach(C=>{switch(C.getType()){case"backicon":this.backIconTemplate=C.template;break;case"submenuicon":this.submenuIconTemplate=C.template}})}createProcessedItems(C,U=0,he={},Ue=""){const ht=[];return C&&C.forEach(($t,un)=>{const me=(""!==Ue?Ue+"_":"")+un,jn={item:$t,index:un,level:U,key:me,parent:he,parentKey:Ue};jn.items=this.createProcessedItems($t.items,U+1,jn,me),ht.push(jn)}),ht}getItemProp(C,U){return C?ye.getItemValue(C[U]):void 0}getProccessedItemLabel(C){return C?this.getItemLabel(C.item):void 0}getItemLabel(C){return this.getItemProp(C,"label")}isProcessedItemGroup(C){return C&&ye.isNotEmpty(C.items)}isSelected(C){return this.activeItemPath().some(U=>U.key===C.key)}isValidSelectedItem(C){return this.isValidItem(C)&&this.isSelected(C)}isValidItem(C){return!!C&&!this.isItemDisabled(C.item)&&!this.isItemSeparator(C.item)}isItemDisabled(C){return this.getItemProp(C,"disabled")}isItemSeparator(C){return this.getItemProp(C,"separator")}isItemMatched(C){return this.isValidItem(C)&&this.getProccessedItemLabel(C).toLocaleLowerCase().startsWith(this.searchValue.toLocaleLowerCase())}isProccessedItemGroup(C){return C&&ye.isNotEmpty(C.items)}onOverlayClick(C){this.popup&&this.overlayService.add({originalEvent:C,target:this.el.nativeElement})}goBack(C){this.animate("left"),C.stopPropagation(),C.preventDefault()}onItemClick(C){if(!this.transition){this.itemClick||(this.itemClick=!0,this.onMenuFocus());const{processedItem:he}=C,Ue=this.isProcessedItemGroup(he),ht=this.focusedItemInfo();Ue?(this.focusedItemInfo.set({...ht,index:-1,level:ht.level+1,parentKey:he.key,item:he.item}),this.animate("right")):(this.onItemChange(C),this.popup&&this.hide())}}onItemMouseEnter(C){this.onItemChange(C)}onKeyDown(C){if(!this.transition){const U=C.metaKey||C.ctrlKey;switch(C.code){case"ArrowDown":this.onArrowDownKey(C);break;case"ArrowUp":this.onArrowUpKey(C);break;case"ArrowLeft":this.onArrowLeftKey(C);break;case"ArrowRight":this.onArrowRightKey(C);break;case"Home":this.onHomeKey(C);break;case"End":this.onEndKey(C);break;case"Space":this.onSpaceKey(C);break;case"Enter":this.onEnterKey(C);break;case"Escape":this.onEscapeKey(C);break;case"Tab":this.onTabKey(C);break;case"PageDown":case"PageUp":case"Backspace":case"ShiftLeft":case"ShiftRight":break;default:!U&&ye.isPrintableCharacter(C.key)&&this.searchItems(C,C.key)}}}onNavigationKeyDown(C){switch(C.code){case"Enter":case"Space":this.onArrowLeftKey(C);const U=this.focusedItemInfo();this.focusedItemInfo.set({...U,index:-1,item:null})}}animate(C){switch(C){case"right":this.left-=this.menuWidth;break;case"left":this.left+=this.menuWidth}this.animating=!0,setTimeout(()=>this.animating=!1,this.effectDuration)}onArrowDownKey(C){const U=-1!==this.focusedItemInfo().index?this.findNextItemIndex(this.focusedItemInfo().index):this.findFirstFocusedItemIndex();this.changeFocusedItemIndex(C,U),C.preventDefault()}onArrowRightKey(C){const U=this.focusedItemInfo();-1===U.index&&(U.index=0);const he=this.visibleItems[this.focusedItemInfo().index];if(this.isProccessedItemGroup(he)){let{level:$t,key:un}=he;this.onItemChange({originalEvent:C,processedItem:he}),this.focusedItemInfo.set({index:0,level:$t,parentKey:un}),this.searchValue="",this.animate("right")}C.preventDefault()}onArrowUpKey(C){if(C.altKey){if(-1!==this.focusedItemInfo().index){const U=this.visibleItems[this.focusedItemInfo().index];!this.isProccessedItemGroup(U)&&this.onItemChange({originalEvent:C,processedItem:U})}this.popup&&this.hide(C,!0),C.preventDefault()}else{const U=-1!==this.focusedItemInfo().index?this.findPrevItemIndex(this.focusedItemInfo().index):this.findLastFocusedItemIndex();this.changeFocusedItemIndex(C,U),C.preventDefault()}}onArrowLeftKey(C){const U=this.focusedItemInfo();-1===U.index&&(U.index=0);const he=this.visibleItems[U.index],Ue=this.activeItemPath().find(un=>un.key===he.parentKey);if(!ye.isEmpty(he.parent)){let{level:un,index:me,parentKey:jn}=Ue;this.focusedItemInfo.set({index:me,level:un,parentKey:jn,item:Ue.item}),this.searchValue=""}const $t=this.activeItemPath().filter(un=>un.parentKey!==U.parentKey);this.activeItemPath.set($t),Ue&&this.animate("left"),C.preventDefault()}onHomeKey(C){this.changeFocusedItemIndex(C,this.findFirstItemIndex()),C.preventDefault()}onEndKey(C){this.changeFocusedItemIndex(C,this.findLastItemIndex()),C.preventDefault()}onSpaceKey(C){this.onEnterKey(C)}onEscapeKey(C){if(this.popup){this.hide(C,!0);const U=this.focusedItemInfo();this.focusedItemInfo.set({...U,index:this.findLastFocusedItemIndex(),item:null}),C.preventDefault()}}onTabKey(C){"none"!==this.backwardViewChild.nativeElement.style.display&&this.backwardViewChild.nativeElement.focus(),this.popup&&!this.containerViewChild.nativeElement.contains(C.target)&&this.hide(),C.preventDefault()}onEnterKey(C){if(-1!==this.focusedItemInfo().index){const U=this.visibleItems[this.focusedItemInfo().index];if(this.isProccessedItemGroup(U))this.onArrowRightKey(C);else{const Ue=Te.findSingle(this.rootmenu.el.nativeElement,`li[id="${this.focusedItemId}"]`),ht=Ue&&Te.findSingle(Ue,'a[data-pc-section="action"]');ht?ht.click():Ue&&Ue.click();const $t=this.focusedItemInfo();this.focusedItemInfo.set({...$t,index:U.index,item:U.item})}}C.preventDefault()}onItemChange(C){const{processedItem:U,isFocus:he}=C;if(ye.isEmpty(U))return;const{index:Ue,key:ht,level:$t,parentKey:un,items:me,item:jn}=U,pe=ye.isNotEmpty(me),Ye=this.activeItemPath().filter(Vt=>Vt.parentKey!==un&&Vt.parentKey!==ht);pe&&Ye.push(U),this.focusedItemInfo.set({index:Ue,level:$t,parentKey:un,item:jn}),this.activeItemPath.set(Ye),he&&Te.focus(this.rootmenu.sublistViewChild.nativeElement)}onMenuFocus(){this.focused=!0,this.bindOutsideClickListener(),this.bindTransitionListeners(),!this.left&&this.focusedItemInfo().level>0&&this.focusedItemInfo.set({index:0,level:0,parentKey:"",item:this.findVisibleItem(0).item}),-1===this.focusedItemInfo().index&&this.left<0&&this.focusedItemInfo.set({...this.focusedItemInfo(),index:0}),-1===this.focusedItemInfo().index&&!this.left&&this.focusedItemInfo.set({index:0,level:0,parentKey:"",item:this.findVisibleItem(0).item})}onMenuBlur(){this.focused=!1,this.popup&&this.focusedItemInfo.set({index:-1,level:0,parentKey:"",item:null}),this.popup||this.focusedItemInfo.set({...this.focusedItemInfo(),index:-1,item:null}),this.searchValue="",!this.popup&&this.unbindOutsideClickListener()}activeLevel=(0,m.vPA)(0);
1bindTransitionListeners(){this.transitionStartListener||(this.transitionStartListener=this.renderer.listen(this.rootmenu.sublistViewChild.nativeElement,"transitionstart",C=>{this.transition=!0,C.preventDefault()})),this.transitionEndListener||(this.transitionEndListener=this.renderer.listen(this.rootmenu.sublistViewChild.nativeElement,"transitionend",C=>{const U=Te.findSingle(this.rootmenu.el.nativeElement,'ul[data-pc-state="active"]'),he=Te.getAttribute(U.firstElementChild,"aria-level")-1;if(this.activeLevel.set(he),this.left){const Ue=Te.getAttribute(U.firstElementChild,"aria-level")-1;if(this.activeLevel.set(Ue),this.focusedItemInfo().level>this.activeLevel()){let ht=this.activeItemPath().slice(0,this.activeItemPath().length-1),$t=ht[ht.length-1];this.focusedItemInfo.set({index:-1,level:this.activeLevel(),parentKey:$t.key}),this.activeItemPath.set(ht)}}else this.rootmenu.sublistViewChild.nativeElement.focus();this.transition=!1,C.preventDefault()}))}unbindTransitionListeners(){this.transitionEndListener&&(this.transitionEndListener(),this.transitionEndListener=null),this.transitionStartListener&&(this.transitionStartListener(),this.transitionStartListener=null)}onOverlayAnimationStart(C){switch(C.toState){case"visible":this.popup&&(this.container=C.element,this.moveOnTop(),this.onShow.emit({}),this.appendOverlay(),this.alignOverlay(),this.bindOutsideClickListener(),this.bindResizeListener(),Te.focus(this.rootmenu.sublistViewChild.nativeElement),this.scrollInView());break;case"void":this.onOverlayHide(),this.onHide.emit({})}}alignOverlay(){this.relativeAlign?Te.relativePosition(this.container,this.target):Te.absolutePosition(this.container,this.target)}onOverlayAnimationEnd(C){"void"===C.toState&&ft.clear(C.element)}appendOverlay(){this.appendTo&&("body"===this.appendTo?this.renderer.appendChild(this.document.body,this.containerViewChild.nativeElement):Te.appendChild(this.container,this.appendTo))}restoreOverlayAppend(){this.containerViewChild&&this.appendTo&&this.renderer.appendChild(this.el.nativeElement,this.container)}moveOnTop(){this.autoZIndex&&ft.set("menu",this.container,this.baseZIndex+this.config.zIndex.menu)}hide(C,U){this.popup&&(this.onHide.emit({}),this.visible=!1),U&&Te.focus(this.target||this.rootmenu.sublistViewChild.nativeElement)}toggle(C){this.visible?this.hide(C,!0):this.show(C)}show(C,U){this.popup&&(this.visible=!0,this.target=C.currentTarget),this.focusedItemInfo.set({index:this.findFirstFocusedItemIndex(),level:0,parentKey:""}),this.popup||U&&Te.focus(this.rootmenu.sublistViewChild.nativeElement),this.cd.markForCheck()}searchItems(C,U){this.searchValue=(this.searchValue||"")+U;let he=-1,Ue=!1;return-1!==this.focusedItemInfo().index?(he=this.visibleItems.slice(this.focusedItemInfo().index).findIndex(ht=>this.isItemMatched(ht)),he=-1===he?this.visibleItems.slice(0,this.focusedItemInfo().index).findIndex(ht=>this.isItemMatched(ht)):he+this.focusedItemInfo().index):he=this.visibleItems.findIndex(ht=>this.isItemMatched(ht)),-1!==he&&(Ue=!0),-1===he&&-1===this.focusedItemInfo().index&&(he=this.findFirstFocusedItemIndex()),-1!==he&&this.changeFocusedItemIndex(C,he),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(()=>{this.searchValue="",this.searchTimeout=null},500),Ue}findVisibleItem(C){return ye.isNotEmpty(this.visibleItems)?this.visibleItems[C]:null}findLastFocusedItemIndex(){const C=this.findSelectedItemIndex();return C<0?this.findLastItemIndex():C}findLastItemIndex(){return ye.findLastIndex(this.visibleItems,C=>this.isValidItem(C))}findPrevItemIndex(C){const U=C>0?ye.findLastIndex(this.visibleItems.slice(0,C),he=>this.isValidItem(he)):-1;return U>-1?U:C}findNextItemIndex(C){const U=C<this.visibleItems.length-1?this.visibleItems.slice(C+1).findIndex(he=>this.isValidItem(he)):-1;return U>-1?U+C+1:C}findFirstFocusedItemIndex(){const C=this.findSelectedItemIndex();return C<0?this.findFirstItemIndex():C}findFirstItemIndex(){return this.visibleItems.findIndex(C=>this.isValidItem(C))}findSelectedItemIndex(){return this.visibleItems.findIndex(C=>this.isValidSelectedItem(C))}changeFocusedItemIndex(C,U){this.focusedItemInfo().index!==U&&(this.focusedItemInfo.set({...this.focusedItemInfo(),index:U}),this.scrollInView())}scrollInView(C=-1){const he=Te.findSingle(this.rootmenu.el.nativeElement,`li[id="${-1!==C?`${this.id}_${C}`:this.focusedItemId}"]`);he&&he.scrollIntoView&&he.scrollIntoView({block:"nearest",inline:"nearest"})}bindResizeListener(){(0,e.UE)(this.platformId)&&(this.resizeListener||(this.resizeListener=this.renderer.listen(this.document.defaultView,"resize",C=>{Te.isTouchDevice()||this.hide(C,!0)})))}bindOutsideClickListener(){(0,e.UE)(this.platformId)&&(this.outsideClickListener||(this.outsideClickListener=this.renderer.listen(this.document,"click",C=>{const U=this.containerViewChild&&!this.containerViewChild.nativeElement.contains(C.target),he=!this.popup||!(this.target&&(this.target===C.target||this.target.contains(C.target)));this.popup?U&&he&&(this.onMenuBlur(),this.hide()):U&&he&&this.focused&&this.onMenuBlur()})))}unbindOutsideClickListener(){this.outsideClickListener&&(this.outsideClickListener(),this.outsideClickListener=null)}unbindResizeListener(){this.resizeListener&&(this.resizeListener(),this.resizeListener=null)}onOverlayHide(){this.unbindOutsideClickListener(),this.unbindResizeListener(),this.left=0,this.cd.destroyed||(this.target=null),this.container&&(this.container=null)}ngOnDestroy(){this.popup&&(this.container&&this.autoZIndex&&ft.clear(this.container),this.restoreOverlayAppend(),this.onOverlayHide()),this.unbindTransitionListeners()}static \u0275fac=function(U){return new(U||Me)(m.rXU(e.qQ),m.rXU(m.Agw),m.rXU(m.aKT),m.rXU(m.sFG),m.rXU(m.gRc),m.rXU(se),m.rXU(ee))};
1static \u0275cmp=m.VBU({type:Me,selectors:[["p-slideMenu"]],contentQueries:function(U,he,Ue){if(1&U&&m.wni(Ue,ie,4),2&U){let ht;m.mGM(ht=m.lsd())&&(he.templates=ht)}},viewQuery:function(U,he){if(1&U&&(m.GBs(Yt,5),m.GBs(Oi,5),m.GBs(Yn,5),m.GBs(vi,5)),2&U){let Ue;m.mGM(Ue=m.lsd())&&(he.rootmenu=Ue.first),m.mGM(Ue=m.lsd())&&(he.containerViewChild=Ue.first),m.mGM(Ue=m.lsd())&&(he.backward=Ue.first),m.mGM(Ue=m.lsd())&&(he.slideMenuContentViewChild=Ue.first)}},hostAttrs:[1,"p-element"],inputs:{model:"model",menuWidth:"menuWidth",viewportHeight:"viewportHeight",effectDuration:"effectDuration",easing:"easing",backLabel:"backLabel",disabled:"disabled",tabindex:"tabindex",popup:"popup",style:"style",styleClass:"styleClass",appendTo:"appendTo",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",autoDisplay:"autoDisplay",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",id:"id",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy"},outputs:{onShow:"onShow",onHide:"onHide"},decls:1,vars:1,consts:[["container",""],["slideMenuContent",""],["rootmenu",""],["backward",""],[3,"id","ngClass","class","ngStyle","click",4,"ngIf"],[3,"click","id","ngClass","ngStyle"],[1,"p-slidemenu-wrapper"],[1,"p-slidemenu-content",3,"focus"],[3,"itemClick","menuFocus","menuKeydown","itemMouseEnter","root","items","menuId","tabindex","ariaLabel","ariaLabelledBy","baseZIndex","autoZIndex","autoDisplay","menuWidth","popup","effectDuration","easing","focusedItemId","activeItemPath"],["tabindex","0",1,"p-slidemenu-backward","p-menuitem-link",3,"click","keydown"],[3,"styleClass","ngStyle",4,"ngIf"],[4,"ngTemplateOutlet"],[3,"styleClass","ngStyle"]],template:function(U,he){1&U&&m.DNE(0,_n,13,41,"div",4),2&U&&m.Y8G("ngIf",!he.popup||he.visible)},dependencies:()=>[e.YU,e.bT,e.T3,e.B3,vt,Bi],styles:["@layer primeng{.p-slidemenu .p-slidemenu-root-list{position:relative;top:0}.p-slidemenu-overlay{position:absolute;top:0;left:0}.p-slidemenu .p-menuitem-active{position:static}.p-slidemenu .p-slidemenu-wrapper{position:relative}.p-slidemenu ul{margin:0;padding:0;list-style:none}.p-slidemenu .p-submenu-list{position:absolute;min-width:100%;z-index:1;display:none}.p-slidemenu .p-slidemenu-content{overflow-x:hidden;overflow-y:auto;position:relative;height:100%}.p-slidemenu .p-menuitem-link:not(.p-slidemenu-backward){cursor:pointer;display:flex;align-items:center;text-decoration:none;overflow:hidden;position:relative}.p-slidemenu .p-menuitem-text{line-height:1}.p-slidemenu .p-menuitem{position:relative}.p-slidemenu .p-menuitem-link .p-submenu-icon:not(svg){margin-left:auto}.p-slidemenu .p-menuitem-link .p-icon-wrapper{margin-left:auto}.p-slidemenu .p-menuitem-active>p-slidemenusub>.p-submenu-list{display:block;left:100%;top:0}.p-slidemenu .p-menuitem-active>.p-menuitem-content>.p-submenu>.p-submenu-list{display:block}.p-slidemenu ul:not(.p-active-submenu)>.p-menuitem:not(.p-menuitem-active),.p-slidemenu .p-active-submenu>.p-menuitem-active>.p-menuitem-content>.p-submenu>.p-submenu-list{display:none}.p-slidemenu .p-active-submenu>.p-menuitem-active~.p-menuitem{display:block}.p-slidemenu-backward{position:absolute;bottom:0;width:100%;cursor:pointer;display:none}.p-slidemenu-backward .p-slidemenu-backward-icon,.p-slidemenu-backward span{vertical-align:middle}}\n"],encapsulation:2,data:{animation:[(0,l.hZ)("overlayAnimation",[(0,l.kY)(":enter",[(0,l.iF)({opacity:0,transform:"scaleY(0.8)"}),(0,l.i0)("{{showTransitionParams}}")]),(0,l.kY)(":leave",[(0,l.i0)("{{hideTransitionParams}}",(0,l.iF)({opacity:0}))])])]},changeDetection:0})}return Me})(),Yi=(()=>{class Me{static \u0275fac=function(U){return new(U||Me)};static \u0275mod=m.$C({type:Me});static \u0275inj=m.G2t({imports:[e.MD,b.iI,et,ot,Rt,L,vt,b.iI,ot,L]})}return Me})()},7798:(We,Q,I)=>{"use strict";function Y(je,He,Ve,at){return new(Ve||(Ve=Promise))(function(wt,jt){function Tn(mt){try{re(at.next(mt))}catch(Ke){jt(Ke)}}function Ln(mt){try{re(at.throw(mt))}catch(Ke){jt(Ke)}}function re(mt){mt.done?wt(mt.value):function Tt(wt){return wt instanceof Ve?wt:new Ve(function(jt){jt(wt)})}(mt.value).then(Tn,Ln)}re((at=at.apply(je,He||[])).next())})}function K(je){return this instanceof K?(this.v=je,this):new K(je)}function _e(je,He,Ve){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Tt,at=Ve.apply(je,He||[]),wt=[];return Tt=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),Tn("next"),Tn("throw"),Tn("return",function jt(Ee){return function(qe){return Promise.resolve(qe).then(Ee,Ke)}}),Tt[Symbol.asyncIterator]=function(){return this},Tt;function Tn(Ee,qe){at[Ee]&&(Tt[Ee]=function(bt){return new Promise(function(Je,pt){wt.push([Ee,bt,Je,pt])>1||Ln(Ee,bt)})},qe&&(Tt[Ee]=qe(Tt[Ee])))}function Ln(Ee,qe){try{!function re(Ee){Ee.value instanceof K?Promise.resolve(Ee.value.v).then(mt,Ke):Ge(wt[0][2],Ee)}(at[Ee](qe))}catch(bt){Ge(wt[0][3],bt)}}function mt(Ee){Ln("next",Ee)}function Ke(Ee){Ln("throw",Ee)}function Ge(Ee,qe){Ee(qe),wt.shift(),wt.length&&Ln(wt[0][0],wt[0][1])}}function ct(je){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ve,He=je[Symbol.asyncIterator];return He?He.call(je):(je=function se(je){var He="function"==typeof Symbol&&Symbol.iterator,Ve=He&&je[He],at=0;if(Ve)return Ve.call(je);if(je&&"number"==typeof je.length)return{next:function(){return je&&at>=je.length&&(je=void 0),{value:je&&je[at++],done:!je}}};throw new TypeError(He?"Object is not iterable.":"Symbol.iterator is not defined.")}(je),Ve={},at("next"),at("throw"),at("return"),Ve[Symbol.asyncIterator]=function(){return this},Ve);function at(wt){Ve[wt]=je[wt]&&function(jt){return new Promise(function(Tn,Ln){!function Tt(wt,jt,Tn,Ln){Promise.resolve(Ln).then(function(re){wt({value:re,done:Tn})},jt)}(Tn,Ln,(jt=je[wt](jt)).done,jt.value)})}}}I.d(Q,{AQ:()=>_e,N3:()=>K,sH:()=>Y,xN:()=>ct}),"function"==typeof SuppressedError&&SuppressedError}},We=>{We(We.s=4019)}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.